/* Sexgeschichten-Modul (öffentlich, alle Domains) v1 */

.sg-page {
    --mollig-peach: #FBB088;
    --mollig-beige: #D7BDA4;
    --mollig-sand: #F7F1EA;
    --mollig-ink: #2B2420;
    margin-bottom: 28px;
}

.sg-hero {
    background: var(--mollig-sand);
    border: 1px solid #e6ddd4;
    border-radius: 8px;
    padding: 22px 20px 20px;
    margin-bottom: 18px;
}

.sg-hero-title {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: none;
    color: var(--mollig-ink);
    margin: 0 0 10px 0;
}

.sg-lead {
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 8px 0;
    color: #333333;
}

.sg-intro {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 12px 0;
    color: #444444;
}

.sg-count {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 14px 0;
    color: #555555;
}

.sg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sg-btn-register {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    color: #333333;
    font-weight: 600;
}

.sg-btn-register:hover,
.sg-btn-register:focus {
    background-color: #f5f5f5;
    border-color: #bbbbbb;
    color: #222222;
}

.sg-btn-ghost {
    background-color: #ffffff;
    border-color: #cccccc;
    color: #333333;
}

.sg-filter {
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sg-chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-family: "Roboto Condensed", sans-serif;
    background: #f0f0f0;
    color: #333333;
    border: 1px solid #dddddd;
}

.sg-chip-active {
    background: var(--mollig-beige);
    border-color: #c9b39a;
    font-weight: 700;
}

.sg-card-col {
    display: flex;
    margin-bottom: 20px;
}

.sg-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.sg-card-meta {
    padding: 10px 12px;
    font-size: 13px;
    background: #f7f7f7;
    border-bottom: 1px solid #ececec;
    font-family: "Roboto Condensed", sans-serif;
    color: #555555;
}

.sg-meta-sep {
    margin: 0 6px;
    color: #aaaaaa;
}

.sg-card-profile {
    font-weight: 700;
}

.sg-reading-time {
    color: #666666;
}

.sg-card-cover-link {
    display: block;
    line-height: 0;
}

.sg-card-cover {
    width: 100%;
    height: 135px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.sg-card-cover-placeholder {
    height: 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8dfd6 0%, var(--mollig-sand) 100%);
    font-family: "Roboto Condensed", sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #8a7a6e;
}

.sg-card-body {
    padding: 12px 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sg-card-title {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    text-transform: none;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sg-card-title a {
    color: #222222;
    text-decoration: none;
}

.sg-card-title a:hover,
.sg-card-title a:focus {
    color: #2c5d8a;
    text-decoration: underline;
}

.sg-card-teaser {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #444444;
    margin: 0 0 10px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sg-card-more {
    margin: 0;
    font-weight: 600;
    font-family: "Roboto Condensed", sans-serif;
}

.sg-card-more a {
    color: #2c5d8a;
    text-decoration: none;
}

.sg-card-more a:hover,
.sg-card-more a:focus {
    text-decoration: underline;
}

.sg-cta-band {
    margin-top: 28px;
    padding: 22px 18px;
    background: var(--mollig-sand);
    border: 1px solid #e6ddd4;
    border-radius: 8px;
    text-align: center;
}

.sg-cta-band-compact {
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.sg-cta-title {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 22px;
    text-transform: none;
    margin: 0 0 8px 0;
    color: var(--mollig-ink);
}

.sg-cta-text {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    margin: 0 0 14px 0;
    color: #444444;
}

.sg-mollig-crosslink {
    margin-top: 20px;
    font-size: 14px;
}

/* Detail */
.sg-breadcrumb {
    margin: 0 0 12px 0;
    font-size: 14px;
}

.sg-detail-title {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: none;
    color: var(--mollig-ink);
    margin: 0 0 12px 0;
}

.sg-detail-meta {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 14px;
    color: #555555;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ececec;
}

.sg-detail-profile {
    font-weight: 700;
}

.sg-detail-media {
    margin-bottom: 14px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e4e4e4;
}

.sg-detail-img-link {
    display: block;
    cursor: zoom-in;
}

.sg-detail-img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}

.sg-author-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 12px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 8px;
}

.sg-author-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
}

.sg-author-avatar-img img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    display: block;
}

.sg-author-avatar-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8dfd6, var(--mollig-sand));
    font-family: "Roboto Condensed", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #7a6a5e;
}

.sg-author-label {
    display: block;
    font-size: 12px;
    color: #777777;
    font-family: "Roboto Condensed", sans-serif;
}

.sg-author-name {
    font-size: 16px;
    font-weight: 700;
}

.sg-detail-video {
    margin-bottom: 18px;
    background: #111111;
}

.sg-detail-prose {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    line-height: 1.72;
    color: #333333;
    max-width: 65ch;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.sg-detail-prose p {
    margin: 0 0 1em 0;
}

.sg-pager {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 65ch;
}

.sg-pager-link {
    display: block;
    padding: 12px 14px;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    background: #fafafa;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 15px;
}

.sg-pager-dir {
    display: block;
    font-size: 12px;
    color: #777777;
    font-weight: 400;
}

.sg-more-stories {
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid #ececec;
}

.sg-more-title {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 20px;
    text-transform: none;
    margin: 0 0 10px 0;
}

.sg-more-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
}

.sg-more-list li {
    margin: 0 0 8px 0;
}

.sg-inline-back {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 600;
}

@media (min-width: 768px) {
    .sg-hero-title {
        font-size: 36px;
    }

    .sg-card-cover,
    .sg-card-cover-placeholder {
        height: 160px;
    }

    .sg-pager {
        flex-direction: row;
    }

    .sg-pager-link {
        flex: 1;
    }
}

@media (max-width: 767px) {
    .sg-hero-title {
        font-size: 26px;
    }

    .sg-detail-title {
        font-size: 24px;
    }

    .sg-detail-img {
        max-height: 200px;
    }

    .sg-detail-prose {
        font-size: 17px;
    }
}