/*
Theme Name:   Twenty Fifteen Child
Description:  Twenty Fifteen Child Theme
Author:       Sven Brier
Author URI:   https://sven.show
Template:     twentyfifteen
Version:      1.0
Text Domain:  twenty-fifteen-child
*/

/* --- Fonts --- */

@font-face {
    font-family: 'Georgia';
    src: url('fonts/Georgia.woff2') format('woff2'),
         url('fonts/Georgia.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Inter Var';
    src: url('fonts/Inter-VariableFont_opsz,wght.woff2') format('woff2'),
         url('fonts/Inter-VariableFont_opsz,wght.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-VariableFont_wdth,wght.woff2') format('woff2'),
         url('fonts/OpenSans-VariableFont_wdth,wght.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('fonts/SourceSans3-VariableFont_wght.woff2') format('woff2'),
         url('fonts/SourceSans3-VariableFont_wght.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('fonts/source-sans-pro-v11-latin-regular.woff2') format('woff2'),
         url('fonts/source-sans-pro-v11-latin-regular.woff') format('woff');
    font-display: swap;
}

/* --- Font Awesome --- */

@font-face {
    font-family: 'fontawesome-solid';
    src: url('fonts/fa-solid-900.woff') format('woff'),
         url('fonts/fa-solid-900.woff2') format('woff2');
}

@font-face {
    font-family: 'fontawesome-brands';
    src: url('fonts/fa-brands-400.woff') format('woff'),
         url('fonts/fa-brands-400.woff2') format('woff2');
}

/* --- Social Media Icons --- */

.social-nav ul li a[href*="mastodon.social"]::before,
#colophon .social-nav ul li a[href*="mastodon.social"]::before {
    font-family: 'fontawesome-brands';
    content: '\f4f6';
}

.social-nav ul li a[href*="itunes.apple.com"]::before,
#colophon .social-nav ul li a[href*="itunes.apple.com"]::before {
    font-family: 'fontawesome-brands';
    content: '\f3b5';
}

.social-nav ul li a[href*="podcasts.google.com"]::before,
#colophon .social-nav ul li a[href*="podcasts.google.com"]::before {
    font-family: 'fontawesome-brands';
    content: '\f1a0';
}

/* --- General Fonts --- */

body, button, input, select, textarea,
.site-title, .site-description, .post-navigation, .post-title, 
span.post-title, .nav-links, .nav-previous, .widget-title,
.posted-on, .entry-date, .published, .edit-link {
    font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6, h7, h8, .page-title {
    font-family: "Source Sans 3", "Source Sans Pro", "Inter Var", Helvetica, Arial, sans-serif;
    font-weight: 500;
}

.site-title, .widget-title, .post-title, .wp-block-button, .wp-block-button__link {
    font-weight: 500;
}

b, strong {
    font-weight: 500;
}

/* Abstand zwischen Punkten in der Non-Negotiables-Liste */
ul.non-negotiables li {
  margin-bottom: 1em !important; /* sorgt für sichtbaren Abstand */
  line-height: 1.6;              /* etwas bessere Lesbarkeit */
}

/* optional: kleinen Einzug für sauberes Layout */
ul.non-negotiables {
  padding-left: 1.5em;
}

/* --- Discourse --- */

.wpdc-join-discussion {
    margin: 0 8.3333%;
    padding: 5% 0;
    text-align: center;
}

.wpdc-join-discussion-link {
    background-color: #fff;
    border: 2px solid #333;
    border-radius: 5px;
    color: #333;
    font-size: 1.4rem;
    font-weight: 500;
    padding: .8214em 1.5714em;
    text-transform: uppercase;
}

/* --- E-Mail Protection --- */

span.codedirection {
    unicode-bidi: bidi-override !important;
    direction: rtl !important;
}

span.displaynone {
    display: none !important;
}

/* --- Spacing Utilities --- */

.margin-top {
    margin-top: 2.0em;
}

.margin-bottom {
    margin-bottom: 2.0em;
}

/* --- List Styles --- */

#links ul {
    list-style: none;
    margin-left: 0;
}

#links ul li, .main-navigation a {
    border-top: 1px solid rgba(51,51,51,.1);
    padding: 0.8em 0;
}

#links ul li:first-child {
    border-top: none;
}

#links ul li a {
    border-bottom: none;
}

/* --- Letter Spacing --- */

.gesperrt {
    letter-spacing: .2em;
}

/* --- Player Styles --- */

#episode-summary {
    margin-bottom: 1.6em;
}

#episode-contributor-list {
    padding-bottom: 1.6em;
}

.entry-content a.podlove-contributors-card-services-service {
    border-bottom:  0px none !important;
}

.entry-content ul.shownotes li {
    list-style-type: '–  ';
    list-style-position: inside;
    padding: 0 0 0.8em 0;
}

.entry-content ul.shownotes li:last-child {
    padding: 0;
}
