/* Тема FEMJOY: чёрная шапка, тёмно-серый фон, оранжевый акцент, узкие заглавные пункты меню.
   Подключается поверх frame.css, когда в настройках site_theme = femjoy. */
.theme-femjoy{--bg:#141414;--surface:#1c1c1c;--surface-2:#222;--line:#2b2b2b;--text:#fff;--muted:#9b9b9b;--accent:#e8961e;--accent-2:#f5a62f;--bar:#222}
.theme-femjoy{font-family:'Open Sans',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg)}
.theme-femjoy ::selection{background:var(--accent);color:#000}

/* шапка */
.theme-femjoy .topbar{background:#000;border-bottom:0}
.theme-femjoy .top-inner{min-height:78px;gap:30px}
.theme-femjoy .brand{font-family:'Open Sans',system-ui,sans-serif;font-weight:400;font-size:30px;letter-spacing:.2em;text-transform:uppercase;color:#fff;align-items:center}
.theme-femjoy .brand span{color:var(--accent)}
.theme-femjoy .brand i{display:none}
.theme-femjoy .brand:hover span{color:var(--accent-2)}
.theme-femjoy .nav{margin-inline:auto;gap:44px;font-family:'Bebas Neue','Oswald','Arial Narrow',Impact,sans-serif;font-size:25px;letter-spacing:.01em;color:#fff;text-transform:uppercase}
.theme-femjoy .nav a,.theme-femjoy .nav summary{padding-top:3px}
.theme-femjoy .nav a:hover,.theme-femjoy .nav summary:hover,.theme-femjoy .nav a[aria-current]{color:var(--accent)}
.theme-femjoy .channel-menu{font-family:'Open Sans',system-ui,sans-serif;text-transform:none;font-size:13px;background:#0b0b0bf7;border-color:#2e2e2e;border-radius:4px}
.theme-femjoy .channel-menu a{font-size:13px}
.theme-femjoy .channel-menu a:hover{background:#222}
.theme-femjoy .search{margin-left:0;width:min(290px,24vw);height:40px}
.theme-femjoy .search input{border:0;border-radius:20px 0 0 20px;background:#1e1e1e;padding-left:18px}
.theme-femjoy .search button{border:0;border-radius:0 20px 20px 0;background:#2a2a2a;width:46px}
.theme-femjoy .search button:hover{background:var(--accent);color:#000}

/* серые полосы под шапкой: фильтр/сортировка на списках, заголовок в галерее */
.theme-femjoy main.shell>.breadcrumb,.theme-femjoy main.shell>.intro,.theme-femjoy main.shell>.gallery-head{background:var(--bar);box-shadow:0 0 0 100vmax var(--bar);clip-path:inset(0 -100vmax)}
.theme-femjoy main.shell>.breadcrumb{margin:0;padding:16px 0 0;color:#8a8a8a}
.theme-femjoy main.shell>.breadcrumb+.intro,.theme-femjoy main.shell>.breadcrumb+.gallery-head{padding-top:10px}
.theme-femjoy main.shell>.intro{margin:0 0 34px;padding:24px 0 22px}
.theme-femjoy main.shell>.gallery-head{margin:0 0 22px;padding:10px 0 20px;align-items:center}
.theme-femjoy .breadcrumb a:hover{color:var(--accent)}
.theme-femjoy h1{font-weight:400;letter-spacing:0}
.theme-femjoy .gallery-head h1{font-size:clamp(26px,2.3vw,40px)}
.theme-femjoy .h1-models{color:var(--accent)}
.theme-femjoy .h1-in{color:#9b9b9b;font-size:.8em}
.theme-femjoy .intro h1{font-weight:600;font-size:clamp(22px,1.9vw,30px)}
.theme-femjoy .eyebrow{color:var(--accent);letter-spacing:.12em}
.theme-femjoy .gallery-count{color:#aaa}

/* сортировка — как фильтр «by Year» у femjoy: текстовые пункты, активный оранжевый */
.theme-femjoy .sort-links{border:0;background:transparent;padding:0;gap:2px}
.theme-femjoy .sort-links a{padding:6px 11px;color:#cfcfcf;font-size:15px;border-radius:0}
.theme-femjoy .sort-links a:hover{background:transparent;color:#fff}
.theme-femjoy .sort-links a[aria-current]{background:transparent;box-shadow:none;color:var(--accent);font-weight:600}
.theme-femjoy .sort-count{color:#fff;font-weight:600;font-size:14px}

/* карточки */
.theme-femjoy .grid{gap:34px 20px}
.theme-femjoy .related-grid{gap:30px 18px}
.theme-femjoy .frame,.theme-femjoy .thumb,.theme-femjoy .photo a{border-radius:0;background:#1f1f1f}
.theme-femjoy .card-meta{display:flex;justify-content:space-between;gap:8px;margin-top:9px;color:#9b9b9b;font-size:13px;line-height:1.3}
.theme-femjoy .card-count{display:inline-flex;align-items:center;gap:4px}
.theme-femjoy .caption{margin-top:5px;color:var(--accent);font-size:16px;font-weight:600}
.theme-femjoy .card a:hover .caption{color:var(--accent-2)}
.theme-femjoy .card-models{display:block;overflow:hidden;margin-top:4px;color:#fff;font-size:14px;white-space:nowrap;text-overflow:ellipsis}
.theme-femjoy .card-models a{display:inline;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.theme-femjoy .card-models a:hover{color:var(--accent)}

/* заголовки блоков — «YOU MAY ALSO LIKE» */
.theme-femjoy .related-head h2,.theme-femjoy .comments-head h2{font-size:22px;font-weight:600;text-transform:uppercase;letter-spacing:.01em}
.theme-femjoy .related,.theme-femjoy .comments,.theme-femjoy .details-wrap{border-top-color:var(--line)}
.theme-femjoy .related-head a{color:var(--accent)}

/* панели, факты, теги */
.theme-femjoy .panel{border-radius:0;border-color:var(--line);background:#1a1a1a}
.theme-femjoy .panel h2{font-weight:400;font-size:24px}
.theme-femjoy .facts dd a{color:var(--accent);text-decoration-color:#8a5a14}
.theme-femjoy .facts dd a:hover{color:var(--accent-2);text-decoration-color:var(--accent-2)}
.theme-femjoy .tags a,.theme-femjoy .tag-cloud a,.theme-femjoy .browse-strip a{border-color:#333;background:#1c1c1c;color:#ddd}
.theme-femjoy .tags a:hover,.theme-femjoy .tag-cloud a:hover,.theme-femjoy .browse-strip a:hover,.theme-femjoy .browse-strip a[aria-current]{border-color:var(--accent);color:#fff}
.theme-femjoy .rating-stars,.theme-femjoy .star-choice label:hover,.theme-femjoy .star-choice label:hover~label,.theme-femjoy .star-choice input:checked~label{color:#f7c23a}
.theme-femjoy .description,.theme-femjoy .prose p,.theme-femjoy .prose li{color:#c9c9c9}
.theme-femjoy .prose a{color:var(--accent)}

/* кнопки — оранжевые «пилюли» с обводкой */
.theme-femjoy .rate-button,.theme-femjoy .sponsor-link,.theme-femjoy .action-button,.theme-femjoy .wide-ad .ad-cta,.theme-femjoy .comments-more,.theme-femjoy .comment-form button{border:2px solid var(--accent);border-radius:999px;background:transparent;color:#fff;font-weight:600}
.theme-femjoy .rate-button:hover,.theme-femjoy .sponsor-link:hover,.theme-femjoy .action-button:hover,.theme-femjoy .action-button[aria-pressed="true"],.theme-femjoy .sponsor-banner .ad-cta:hover,.theme-femjoy .comments-more:hover,.theme-femjoy .comment-form button:hover{background:var(--accent);border-color:var(--accent);color:#000}
.theme-femjoy .contact-send{border-radius:999px;background:var(--accent);color:#000}
.theme-femjoy .slideshow-trigger{border-radius:999px;border-color:var(--accent)}
.theme-femjoy .sponsor-label{color:var(--accent)}
.theme-femjoy .wide-ad{border-radius:0;border-color:#2e2e2e;background:linear-gradient(115deg,#1a1a1a,#2a2013 55%,#1a1a1a)}

/* вкладки фото в галерее, пейджер, пагинация */
.theme-femjoy .gallery-tabs-wrap{background:#141414ee}
.theme-femjoy .gallery-tabs a.active,.theme-femjoy .gallery-tabs a:hover{background:#262626}
.theme-femjoy .pager-link{border-radius:0;background:#1a1a1a}
.theme-femjoy .pager-link small{color:var(--accent)}
.theme-femjoy .pager-link:hover{border-color:var(--accent)}
.theme-femjoy .pagination a,.theme-femjoy .pagination span{border-radius:0;border-color:#333}
.theme-femjoy .pagination a:hover{border-color:var(--accent);background:transparent;color:var(--accent)}
.theme-femjoy .pagination [aria-current]{border-color:var(--accent)!important;background:var(--accent)!important;color:#000!important;font-weight:600}
.theme-femjoy .directory-links a,.theme-femjoy .comment,.theme-femjoy .comment-compose{border-radius:0;background:#1a1a1a}
.theme-femjoy .directory-links a:hover{border-color:var(--accent)}

/* просмотрщик */
.theme-femjoy .viewer{background:#000000f0}
.theme-femjoy .viewer-arrow{border-color:transparent;background:transparent;color:var(--accent);font-size:40px}
.theme-femjoy .viewer-arrow:hover{background:#ffffff14}
.theme-femjoy .viewer-next-gallery small{color:var(--accent)}

/* подвал — чёрный, логотип по центру, ссылки подчёркнуты */
.theme-femjoy .footer{background:#000;border-top:0;padding:40px 0 44px;color:#8f8f8f;text-align:center}
.theme-femjoy .footer .shell{flex-direction:column;align-items:center;gap:18px}
.theme-femjoy .footer-brand{font-size:34px}
.theme-femjoy .footer nav{order:2;flex-wrap:wrap;justify-content:center;gap:10px 26px;font-size:14px;color:#fff}
.theme-femjoy .footer nav a{text-decoration:underline;text-underline-offset:3px}
.theme-femjoy .footer nav a:hover{color:var(--accent)}
.theme-femjoy .footer .shell>span{order:3;max-width:760px}
.theme-femjoy .back-top{border-color:var(--accent);background:#000d;color:var(--accent)}

/* мобильные */
@media(max-width:760px){
.theme-femjoy .top-inner{min-height:0}
.theme-femjoy .brand{font-size:21px;letter-spacing:.14em}
.theme-femjoy .nav{margin:0;font-size:22px;gap:0}
.theme-femjoy .nav>a,.theme-femjoy .nav-dropdown summary{border-bottom-color:#1c1c1c}
.theme-femjoy .menu-toggle,.theme-femjoy .mobile-search summary{border:0;border-radius:50%;background:#1e1e1e}
.theme-femjoy .menu-open .menu-toggle,.theme-femjoy .mobile-search[open] summary{background:var(--accent);color:#000}
.theme-femjoy .mobile-search form{border-radius:22px;background:#1c1c1c;border-color:#333}
.theme-femjoy .mobile-search button{background:var(--accent);color:#000;font-weight:600}
.theme-femjoy main.shell>.intro{margin-bottom:22px;padding:16px 0}
.theme-femjoy main.shell>.breadcrumb{margin:0;padding:12px 8px 0}
.theme-femjoy main.shell>.gallery-head{padding:6px 8px 14px;margin-inline:0}
.theme-femjoy .gallery-head h1{font-size:22px}
.theme-femjoy .grid{gap:24px 10px}
.theme-femjoy .caption{font-size:14px}
.theme-femjoy .card-meta{font-size:11.5px}
.theme-femjoy .card-models{font-size:12.5px}
.theme-femjoy .sort-links a{font-size:13px;padding:6px 8px}
.theme-femjoy .footer-brand{font-size:24px}
}
.theme-femjoy .gallery-head .gallery-summary{display:none}
