/* wcr3 additions */

/* Academica style.css draws a focus ring on every a:focus (incl. Ctrl+click).
   Keep the ring for keyboard focus only. */
a:focus:not(:focus-visible) {
    outline: none;
}

/* Keep header controls and main column shell on the same horizontal box.
   Always pad so content never sits flush against the viewport edge. */
#wrap,
.header-inner {
    box-sizing: border-box;
    max-width: 1170px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
}

#content {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    align-items: flex-start;
}

/* clearfix ::before/::after would become flex items and add extra gaps */
#content::before,
#content::after {
    content: none;
    display: none;
}

#content .column-content {
    box-sizing: border-box;
    display: block;
    float: none;
    flex: 1 1 auto;
    margin-right: 0;
    min-width: 0;
    width: auto;
}

.column.column-narrow {
    box-sizing: border-box;
}

#content .column.column-narrow {
    display: block;
    float: none;
    flex: 0 0 250px;
    margin-right: 0;
    width: 250px;
}

.widget-ad .widget-title,
.widget-ad .ad-placeholder {
    display: none;
}

/* Desktop: right ad only; mobile (≤1024px): top ad only */
.site-ad-top {
    display: none;
}

.site-ad-top .ad-slot {
    margin-bottom: 16px;
}

/* Header sits outside #wrap — full width without 100vw scrollbar overflow */
#header {
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.header-inner {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 0;
}

#logo {
    margin: 0;
    min-width: 0;
    padding: 0;
}

#site-title {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 26px;
    font-weight: normal;
    letter-spacing: inherit;
    line-height: 1.15;
    margin: 0;
    padding: 0;
}

#site-title a {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.header-accent-bar {
    background-color: #B1CA54;
    border-top: 1px solid #B1DA54;
    display: block;
    margin-top: 8px;
    min-height: 6px;
    width: 100%;
}

.header-language {
    margin-left: 24px;
    margin-right: 0;
    padding: 0;
    align-self: center;
    flex-shrink: 0;
}

.header-language-picker {
    display: block;
    position: relative;
}

.header-language-picker summary {
    color: #fff;
    cursor: pointer;
    display: block;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    text-align: right;
    text-transform: uppercase;
    user-select: none;
}

.header-language-picker summary::-webkit-details-marker {
    display: none;
}

.header-language-picker summary:hover,
.header-language-picker summary:focus {
    opacity: 0.85;
}

.header-language-picker summary:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
}

.header-language-menu {
    background-color: #fff;
    border: 1px solid #d9d9d9;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    list-style: none;
    margin: 8px 0 0;
    min-width: 150px;
    padding: 6px 0;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 500;
    padding-left: 0;
}

.header-language-menu li {
    list-style: none;
    list-style-type: none;
    margin: 0;
}

.header-language-menu a,
.header-language-menu .is-current {
    color: #333;
    display: block;
    font-size: 15px;
    padding: 8px 14px;
    text-decoration: none;
    white-space: nowrap;
}

.header-language-menu a:hover,
.header-language-menu a:focus {
    background-color: #f2f0d5;
}

.header-language-menu .is-current {
    background-color: #f7f7f7;
    cursor: default;
    font-weight: 700;
}

/* ---- Adaptive layout ---- */

/* Override media-queries.css 96% width — gutters come from padding above. */
@media screen and (max-width: 1170px) {
    #wrap,
    .header-inner {
        width: 100%;
    }
}

/* Tablet / large phone: single column, content first */
@media screen and (max-width: 1024px) {
    #header {
        margin-bottom: 12px;
    }

    .header-inner {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    #site-title {
        font-size: 22px;
    }

    .header-accent-bar {
        margin-top: 6px;
        min-height: 4px;
    }

    .header-language {
        margin-left: 16px;
    }

    #content {
        flex-direction: column;
        gap: 0;
        margin-bottom: 28px;
    }

    #content .column,
    #content .column-content,
    #content .column.column-narrow {
        display: block;
        flex: none;
        float: none;
        margin-right: 0;
        width: 100%;
    }

    .site-ad-top {
        display: block;
    }

    #content .column.column-narrow.site-ad-right {
        display: none;
        margin-top: 0;
    }

    .widget-ad .ad-slot {
        min-height: 80px;
    }

    h1.entry-title {
        font-size: 24px;
    }

    .column-content.single .entry-content h2 {
        font-size: 20px;
    }

    .posts .post h2 {
        font-size: 1.25em;
    }

    .entry-content table,
    .entry-summary table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .entry-content iframe,
    .entry-summary iframe {
        max-width: 100%;
    }
}

/* Small phones */
@media screen and (max-width: 480px) {
    #site-title {
        font-size: 20px;
    }

    .header-language-picker summary {
        padding: 10px 0;
    }

    .header-language-menu a,
    .header-language-menu .is-current {
        padding: 12px 16px;
    }

    h1.entry-title {
        font-size: 22px;
    }

    .column-content.single .entry-content h2 {
        font-size: 18px;
    }

    /* Avoid narrow floated images crushing text */
    .entry-content .alignleft,
    .entry-content .alignright,
    .entry-summary .alignleft,
    .entry-summary .alignright,
    .entry-content img.alignleft,
    .entry-content img.alignright,
    .entry-summary img.alignleft,
    .entry-summary img.alignright,
    .entry-content .wp-caption.alignleft,
    .entry-content .wp-caption.alignright,
    .entry-summary .wp-caption.alignleft,
    .entry-summary .wp-caption.alignright {
        display: block;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    .additional_materials {
        width: calc(50% - 8px);
    }

    .wp-pagenavi.pagination {
        gap: 10px 12px;
    }

    .wp-pagenavi.pagination a,
    .wp-pagenavi.pagination span {
        font-size: 16px;
        min-width: 1.25em;
        text-align: center;
    }
}

.posts .post h2 {
    line-height: 1.2;
    margin-bottom: 12px;
}

.entry-content div[align="center"] + p,
.entry-summary div[align="center"] + p {
    margin-top: 10px;
}

.posts .entry-meta.entry-preview-divider {
    box-sizing: border-box;
    clear: both;
    display: block;
    font-size: 0;
    height: 10px;
    line-height: 0;
    margin: 0;
    overflow: hidden;
    padding: 0 5px;
}
.widget-ad .ad-slot {
    background: #f5f5e8;
    border: 1px dashed #ccc;
    min-height: 120px;
    padding: 12px;
    text-align: center;
}

.ad-placeholder {
    color: #999;
    font-size: 14px;
    margin: 0;
}

.pagination {
    margin: 24px 0;
    padding: 12px 0;
    border-top: 1px solid #eee;
}

.wp-pagenavi.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 7px;
    line-height: 1.4;
}

.wp-pagenavi.pagination a,
.wp-pagenavi.pagination span {
    border: none;
    margin: 0;
    padding: 0;
}

.wp-pagenavi.pagination a:hover,
.wp-pagenavi.pagination span.current {
    border: none;
}

.wp-pagenavi.pagination span.inactive {
    color: #bbb;
    cursor: default;
}

.wp-pagenavi.pagination span.current {
    font-weight: bold;
}

.entry-content video,
.entry-summary video {
    display: block;
    height: auto;
    margin: 12px auto;
    max-width: 100%;
}

.entry-content img,
.entry-summary img {
    max-width: 100%;
    height: auto;
}

/* No underline on links (overrides Academica .entry-content / .entry-summary a) */
a,
a:link,
a:visited,
a:hover,
a:focus,
a:active,
.entry-summary a,
.entry-content a,
.entry-summary a:hover,
.entry-content a:hover,
.entry-summary a:focus,
.entry-content a:focus,
.entry-summary a:visited,
.entry-content a:visited,
#wrap a.highlight:hover,
#wrap h2.heading a:hover,
#wrap .entry-meta a:hover,
.commentlist a:hover {
    text-decoration: none;
}

/* Partner CTA: <ext-link … class="partner-link"> */
.entry-content a.partner-link,
.entry-summary a.partner-link {
    display: block;
    font-size: 14px;
    text-align: center;
}

.entry-content q,
.entry-summary q {
    color: #555;
    font-style: italic;
}

/* content/templates/elements/* */
.img-w220-2,
.img-w220-2-magnify,
.img-w440,
.video-w320 {
    margin-bottom: 10px;
    text-align: center;
}

.img-w220-2-magnify {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.entry-content .img-w220-2 > img,
.entry-summary .img-w220-2 > img,
.entry-content .img-w220-2-magnify > img,
.entry-summary .img-w220-2-magnify > img {
    width: auto;
    height: auto;
    max-width: min(220px, 100%);
    max-height: 165px;
}

.entry-content .img-w220-2 > img,
.entry-summary .img-w220-2 > img {
    margin-left: 6px;
    margin-right: 6px;
}

.entry-content .img-w220-2-magnify > img,
.entry-summary .img-w220-2-magnify > img {
    margin-left: 6px;
    margin-right: 0;
}

.img-magnify {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-right: 6px;
}

.entry-content .img-w440 > img,
.entry-summary .img-w440 > img {
    display: inline-block;
    width: 440px;
    max-width: 100%;
    height: auto;
}

.entry-content .video-w320 > video,
.entry-summary .video-w320 > video {
    display: block;
    width: 320px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Screenshot gallery: one column; image on the left, caption wraps to the right */
.entry-content .screenshot,
.entry-summary .screenshot {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 15px;
    text-align: justify;
    word-wrap: break-word;
    overflow: hidden;
}

.entry-content .screenshot > img,
.entry-summary .screenshot > img {
    float: left;
    width: 220px;
    max-width: 220px;
    height: auto;
    margin: 0 10px 4px 0;
}

.entry-content pre,
.entry-summary pre {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

h1.entry-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 12px;
}

h1.entry-title .model-online-badge {
    display: inline-block;
    margin: 0 0.35em;
    padding: 0 7px;
    background: #1f8a3b;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 3px;
    vertical-align: middle;
}

h1.entry-title .model-online-badge[hidden] {
    display: none;
}

/* Match legacy div.column-content.single heading clears (floats from align=left images). */
.column-content.single h2,
.column-content.single h3,
.column-content.single h4,
.column-content.single h5,
.column-content.single h6 {
    clear: both;
}

.column-content.single .entry-content h2 {
    font-size: 24px;
}

/* Legacy float wrappers sometimes use a fixed height; unclosed ones collapse layout into the footer. */
.entry-content div[style*="height:110px"],
.entry-summary div[style*="height:110px"] {
    height: auto !important;
    min-height: 110px;
    overflow: hidden;
}

.additional_materials {
    display: inline-block;
    margin: 8px 12px 8px 0;
    vertical-align: top;
    width: 130px;
    font-size: 13px;
}

.additional_materials img {
    display: block;
    width: 115px;
    height: 92px;
    margin-bottom: 4px;
    object-fit: cover;
    object-position: center;
}

/* Age verification gate */
html.age-gate-pending {
    overflow: hidden;
}

html.age-gate-pending body {
    overflow: hidden;
}

.age-gate {
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    bottom: 0;
    box-sizing: border-box;
    display: none;
    justify-content: center;
    left: 0;
    outline: none;
    padding: 24px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10000;
}

html.age-gate-pending .age-gate {
    display: flex;
}

.age-gate__dialog {
    background: #FDFCDE;
    border: 1px solid #ccc;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
    max-width: 520px;
    padding: 28px 32px;
    text-align: center;
    width: 100%;
}

.age-gate__title {
    color: #333;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 16px;
}

.age-gate__text {
    color: #333;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 24px;
}

.age-gate__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.age-gate__btn {
    border: none;
    cursor: pointer;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    line-height: 1.3;
    padding: 12px 18px;
}

.age-gate__btn--enter {
    background-color: #8CAE24;
    color: #fff;
}

.age-gate__btn--enter:hover,
.age-gate__btn--enter:focus-visible {
    background-color: #333;
    color: #fff;
}

.age-gate__btn--enter:focus:not(:focus-visible) {
    background-color: #8CAE24;
    color: #fff;
}

.age-gate__btn--exit {
    background-color: #e8e8e8;
    color: #333;
}

.age-gate__btn--exit:hover,
.age-gate__btn--exit:focus-visible {
    background-color: #d0d0d0;
    color: #111;
}

.age-gate__btn--exit:focus:not(:focus-visible) {
    background-color: #e8e8e8;
    color: #333;
}

.age-gate__note {
    color: #777;
    font-size: 12px;
    line-height: 1.4;
    margin: 18px 0 0;
}

@media (max-width: 480px) {
    .age-gate {
        padding: 16px;
    }

    .age-gate__dialog {
        padding: 22px 18px;
    }

    .age-gate__title {
        font-size: 22px;
    }

    .age-gate__actions {
        flex-direction: column;
    }

    .age-gate__btn {
        width: 100%;
    }
}

#footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    align-items: baseline;
}

#footer::before,
#footer::after {
    content: none;
    display: none;
}

#footer p.copy {
    margin: 0;
    text-align: left;
}

#footer > ul.menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
}

#footer > ul.menu li {
    display: block;
    margin-right: 0;
    font-size: 14px;
}

.feedback-form {
    margin: 1.25rem 0 0;
    max-width: 40rem;
}

.feedback-form label {
    display: block;
    margin: 0 0 0.4rem;
    font-weight: 600;
}

.feedback-form textarea,
.feedback-form input[type="text"] {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.1rem;
    border: 1px solid #ccc;
    color: #333;
    background: #fff;
}

.feedback-form textarea {
    min-height: 12rem;
    resize: vertical;
}

.feedback-captcha input[type="text"] {
    max-width: 8rem;
}

.feedback-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.feedback-status {
    margin: 0;
    padding: 0.7rem 0.85rem;
}

.entry-content > p + .feedback-status {
    margin: 0 0 1rem;
}

.feedback-status--ok {
    background: #eef6d8;
    border: 1px solid #8CAE24;
}

.feedback-status--error {
    background: #f8e8e8;
    border: 1px solid #c44;
    color: #722;
}

.model-featured {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0 0 1.5rem;
}

.model-featured-card {
    flex: 1 1 20rem;
    background: #fffef5;
    border: 1px solid #e5e0c8;
    padding: 0.9rem 1rem 1rem;
}

.model-featured-title {
    margin: 0 0 0.75rem;
    color: #222;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
}

.model-featured-card .empty {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.model-featured-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.model-featured-photo {
    position: relative;
    flex: 0 0 140px;
    width: 140px;
    height: 140px;
    max-width: 140px;
    overflow: hidden;
    background: #f4f1dc;
}

.model-featured-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.model-featured-body {
    min-width: 0;
    flex: 1 1 auto;
}

.model-featured-name {
    margin: 0 0 0.55rem;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.25;
}

.model-featured-name a {
    font-weight: normal;
    text-decoration: none;
}

.model-featured-facts p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.45;
}

.model-list-thumb img {
    display: block;
    max-width: 2.5rem;
    max-height: 2.5rem;
    width: auto;
    height: auto;
    object-fit: contain;
}

.model-list-item .entry-summary {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.model-list-thumb {
    flex: 0 0 auto;
}

.online-models {
    margin: 0 0 0.75rem;
}

.all-models-link {
    margin: 0 0 1.5rem;
    text-align: left;
}

.online-models-heading,
.all-models-heading {
    margin: 0 0 1rem;
    font-size: 24px;
    font-weight: normal;
    line-height: 1.25;
    text-transform: none;
}

.online-models-status {
    margin: 0;
    color: #666;
}

.online-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    gap: 1rem 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.online-models-grid > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.online-models-tile {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e0c8;
    border-radius: 6px;
    background: #fffef5;
    text-decoration: none;
}

.online-models-name {
    margin: 0;
    padding: 0.35rem 0.45rem 0.3rem;
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none;
}

.online-models-photo {
    display: block;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f4f1dc;
}

.online-models-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.online-models-live {
    z-index: 1;
    opacity: 0;
}

.online-models-photo.is-live .online-models-live {
    opacity: 1;
}

.model-profile {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem 1.25rem;
    margin: 0 0 1.5rem;
}

.model-profile-frame {
    position: relative;
    display: inline-block;
    max-width: 100%;
    line-height: 0;
}

.model-profile-photo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

.model-profile-frame .model-profile-live {
    margin: 0;
}

.model-profile-frame .model-profile-live[hidden] {
    display: none !important;
}

.model-profile-frame.is-live img {
    visibility: hidden;
}

.model-profile-frame.is-live .model-profile-live {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.model-view-online {
    margin: 7px 0 0;
    text-align: center;
}

.model-footer-links p {
    margin: 0 0 5px;
}

.model-footer-links p:last-child {
    margin-bottom: 0;
}

.model-profile-facts p {
    margin: 0 0 0.2rem;
}

.model-profile-facts span {
    color: #666;
}

.model-section {
    margin: 0 0 1.5rem;
}

.model-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.model-photos figure {
    margin: 0;
}

.model-photos img {
    display: block;
    width: 160px;
    height: 120px;
    object-fit: contain;
    background: #f4f1dc;
    border: 1px solid #e5e0c8;
}

.model-photos figcaption {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.3rem;
}

.model-facts {
    width: 100%;
    border-collapse: collapse;
}

.model-facts th,
.model-facts td {
    padding: 0.35rem 0.5rem 0.35rem 0;
    vertical-align: top;
    border-bottom: 1px solid #eee6c8;
}

.model-facts th {
    width: 12rem;
    font-weight: 400;
    color: #666;
}

.model-text-body {
    white-space: pre-wrap;
    word-break: break-word;
}
