/*
Theme Name: Moto Film Club
Theme URI: https://example.com/
Author: Site Owner
Description: Fast, cinematic WordPress theme for a curated motorcycle travel documentary hub.
Version: 0.3.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: moto-film-club
*/

:root {
  --bg:#080b0d;
  --bg-soft:#0e1215;
  --panel:#13181c;
  --panel-2:#171d21;
  --text:#f4f4f1;
  --muted:#a6adb2;
  --line:rgba(255,255,255,.10);
  --line-strong:rgba(255,255,255,.18);
  --shadow:0 18px 50px rgba(0,0,0,.32);
  --radius:10px;
  --radius-lg:16px;
  --max:1500px;
  --pad:clamp(18px,3vw,48px);
}
*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.mfh-shell{width:min(100%,var(--max));margin:0 auto;padding-inline:var(--pad)}
.mfh-site-header{position:sticky;top:0;z-index:50;background:rgba(8,11,13,.88);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.mfh-header-inner{min-height:68px;display:flex;align-items:center;gap:30px}
.mfh-brand{font-weight:900;letter-spacing:-.045em;font-size:clamp(21px,2vw,30px);white-space:nowrap}
.mfh-brand-mark{display:inline-flex;align-items:center;gap:10px}
.mfh-brand-mark:before{content:"";width:22px;height:17px;display:inline-block;background:linear-gradient(145deg,transparent 42%,#fff 43% 54%,transparent 55%),linear-gradient(35deg,transparent 42%,#fff 43% 54%,transparent 55%);opacity:.95}
.mfh-nav{display:flex;align-items:center;gap:24px;font-size:14px;color:#d8dcde}
.mfh-nav a{transition:color .2s ease}
.mfh-nav a:hover{color:#fff}
.mfh-header-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.mfh-icon-button,.mfh-account-link{width:38px;height:38px;border-radius:999px;display:grid;place-items:center;border:1px solid var(--line);background:rgba(255,255,255,.04)}
.mfh-search{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:rgba(255,255,255,.04);border-radius:999px;padding:0 13px;height:38px;min-width:210px}
.mfh-search input{width:100%;background:transparent;border:0;outline:0;color:var(--text);font-size:13px}
.mfh-search svg,.mfh-icon-button svg{width:17px;height:17px}

.mfh-featured-shell>.mfh-shell{max-width:1380px}
.mfh-featured-shell{padding:clamp(24px,3vw,44px) 0 12px;background:radial-gradient(circle at 76% 12%,rgba(255,255,255,.035),transparent 32%),var(--bg)}
.mfh-featured-carousel{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,#101519,#0b0f12 58%,#11161a);box-shadow:0 24px 70px rgba(0,0,0,.28)}
.mfh-featured-track{display:flex;width:100%;transition:transform .62s cubic-bezier(.2,.75,.25,1);will-change:transform}
.mfh-featured-slide{flex:0 0 100%;min-width:0;display:grid;grid-template-columns:minmax(320px,.78fr) minmax(0,1.42fr);gap:clamp(24px,3vw,46px);align-items:center;padding:clamp(26px,3.4vw,52px);opacity:.72;transition:opacity .45s ease}
.mfh-featured-slide.is-active{opacity:1}
.mfh-featured-copy{max-width:470px;align-self:center;padding-left:clamp(0px,1vw,14px)}
.mfh-featured-meta{display:flex;gap:10px;align-items:center;margin:-3px 0 12px;color:#aeb6ba;font-size:12px;font-weight:650}
.mfh-featured-meta span+span:before{content:"•";margin-right:10px;color:#666f74}
.mfh-featured-copy h1{font-size:clamp(29px,2.85vw,43px);letter-spacing:-.045em;line-height:1.03;margin:0 0 16px;max-width:470px;text-wrap:balance;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mfh-featured-deck{font-size:clamp(14px,1vw,16px);line-height:1.65;color:#bbc2c5;margin:0 0 22px;max-width:450px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mfh-featured-media{position:relative;display:block;aspect-ratio:16/9;border-radius:13px;overflow:hidden;background:#050708;box-shadow:0 18px 52px rgba(0,0,0,.38);border:1px solid rgba(255,255,255,.09);isolation:isolate}
.mfh-featured-media img{width:100%;height:100%;object-fit:cover;transition:transform .55s cubic-bezier(.2,.75,.25,1),filter .35s ease}
.mfh-featured-media:hover img{transform:scale(1.018);filter:brightness(1.06)}
.mfh-featured-media-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,rgba(0,0,0,.34),transparent 42%)}
.mfh-featured-play{position:absolute;left:18px;bottom:17px;z-index:2;display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:rgba(7,10,12,.82);backdrop-filter:blur(12px);font-size:12px;font-weight:750;border:1px solid rgba(255,255,255,.16)}
.mfh-featured-play svg{width:15px;height:15px}
.mfh-featured-duration{position:absolute;right:15px;bottom:16px;z-index:2;padding:4px 7px;border-radius:5px;background:rgba(0,0,0,.78);font-size:11px;font-weight:750}
.mfh-featured-nav{position:absolute;left:clamp(26px,3.4vw,52px);bottom:18px;display:flex;gap:7px;z-index:5}
.mfh-featured-dot{appearance:none;border:0;background:transparent;padding:8px 0;width:34px}
.mfh-featured-dot span{display:block;height:2px;border-radius:99px;background:rgba(255,255,255,.28);transition:background .2s ease,transform .2s ease}
.mfh-featured-dot.is-active span{background:#fff;transform:scaleY(1.4)}
.mfh-featured-empty{min-height:340px;border:1px solid var(--line);border-radius:18px;display:flex;flex-direction:column;justify-content:center;padding:clamp(32px,5vw,72px);background:var(--panel)}
.mfh-featured-empty h1{font-size:clamp(38px,5vw,72px);letter-spacing:-.06em;line-height:.98;margin:0 0 16px;max-width:800px}
.mfh-featured-empty p:last-child{color:var(--muted);max-width:680px}
.mfh-eyebrow{font-size:10px;font-weight:800;letter-spacing:.17em;text-transform:uppercase;color:#d0d5d8;margin:0 0 12px}
.mfh-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.mfh-button{border-radius:7px;padding:10px 15px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:13px;border:1px solid var(--line-strong);background:rgba(23,29,33,.82);color:#fff;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.mfh-button:hover{transform:translateY(-1px);background:#22292e;border-color:rgba(255,255,255,.3)}
.mfh-button-primary{background:#fff;color:#0b0e10;border-color:#fff}
.mfh-button-primary:hover{background:#e7e7e3}
.mfh-button.is-active{background:#eff0ec;color:#0a0d0f;border-color:#eff0ec}

.mfh-home-content{position:relative;z-index:4;padding-top:30px;padding-bottom:90px}
.mfh-rail-section{margin:0 0 46px}
.mfh-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:15px}
.mfh-section-head h2{font-size:clamp(20px,1.7vw,27px);letter-spacing:-.035em;margin:0}
.mfh-section-link{font-size:12px;color:var(--muted)}
.mfh-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,1fr);grid-template-rows:1fr;gap:14px;overflow-x:auto;padding:2px 1px 14px;scroll-snap-type:x proximity;scrollbar-width:none}
.mfh-rail::-webkit-scrollbar{display:none}
.mfh-video-card{display:block;min-width:0;scroll-snap-align:start}
.mfh-card-image{position:relative;display:block;aspect-ratio:16/9;border-radius:9px;overflow:hidden;background:#151a1e;box-shadow:0 8px 24px rgba(0,0,0,.13);border:1px solid rgba(255,255,255,.055)}
.mfh-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .28s ease,filter .28s ease}
.mfh-video-card:hover img{transform:scale(1.025);filter:brightness(1.06)}
.mfh-card-title{font-weight:720;font-size:13px;line-height:1.32;margin:9px 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.64em}
.mfh-card-creator{font-size:12px;color:var(--muted)}
.mfh-duration{position:absolute;right:7px;bottom:7px;padding:2px 6px;background:rgba(0,0,0,.82);border-radius:4px;font-size:11px;font-weight:700}
.mfh-progress{position:absolute;left:0;bottom:0;height:3px;background:#fff;opacity:.95}

.mfh-creator-rail{display:flex;gap:25px;overflow-x:auto;padding:4px 0 14px;scrollbar-width:none}
.mfh-creator-rail::-webkit-scrollbar{display:none}
.mfh-creator-tile{display:grid;justify-items:center;gap:9px;min-width:104px;font-size:12px;font-weight:700;text-align:center}
.mfh-creator-tile img{width:76px;height:76px;object-fit:cover;border-radius:999px;border:1px solid rgba(255,255,255,.24)}
.mfh-creator-tile:hover img{border-color:#fff}

.mfh-seo-block{border-top:1px solid var(--line);padding:50px 0 0;margin-top:64px;display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);gap:clamp(30px,6vw,100px)}
.mfh-seo-block h2{font-size:clamp(28px,3.2vw,46px);letter-spacing:-.055em;line-height:.98;margin:0}
.mfh-seo-block p{color:#bcc2c5;font-size:16px;margin:0;max-width:780px}

.mfh-page-main{min-height:70vh;padding-top:clamp(44px,7vw,90px);padding-bottom:90px}
.mfh-page-header{margin-bottom:38px}
.mfh-page-header h1{font-size:clamp(44px,7vw,88px);line-height:.96;letter-spacing:-.06em;margin:0}
.mfh-lead{font-size:clamp(17px,1.7vw,22px);color:#c7cccf;max-width:820px}

.mfh-watch-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,360px);gap:clamp(24px,3vw,44px);align-items:start}
.mfh-player-wrap{aspect-ratio:16/9;background:#000;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow)}
.mfh-player-wrap iframe,.mfh-player-wrap>div{width:100%;height:100%}
.mfh-film-header{padding:24px 0 20px;border-bottom:1px solid var(--line)}
.mfh-film-header h1{font-size:clamp(28px,3.1vw,46px);line-height:1.05;letter-spacing:-.04em;margin:7px 0 15px;max-width:980px}
.mfh-film-meta{display:flex;flex-wrap:wrap;gap:8px 16px;color:var(--muted);font-size:13px}
.mfh-film-tools{display:flex;gap:9px;margin-top:20px;flex-wrap:wrap}
.mfh-film-story{padding:34px 0 18px}
.mfh-film-story>.mfh-eyebrow{margin-bottom:16px}
.mfh-editorial{font-family:inherit;font-size:16px;line-height:1.72;color:#cbd0d2;max-width:980px;padding:0}
.mfh-editorial .mfh-editorial-lead,.mfh-editorial>p:first-child{font-family:Georgia,"Times New Roman",serif;font-size:clamp(20px,1.7vw,26px);line-height:1.55;color:#f0f1ee;max-width:900px;margin:0 0 34px}
.mfh-copy-section{display:grid;grid-template-columns:minmax(145px,190px) minmax(0,760px);gap:clamp(22px,4vw,54px);padding:25px 0;border-top:1px solid var(--line)}
.mfh-copy-section h2{font-size:12px;line-height:1.3;letter-spacing:.13em;text-transform:uppercase;color:#f0f1ee;margin:4px 0 0}
.mfh-copy-section p{margin:0;color:#c5cbce}
.mfh-copy-highlights ul{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.mfh-copy-highlights li{border:1px solid var(--line);background:rgba(255,255,255,.025);border-radius:8px;padding:14px 15px;color:#d7dbdd;font-size:14px;line-height:1.5}
.mfh-watch-sidebar{position:sticky;top:92px}
.mfh-sidebar-title{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:#d7dcde;margin:0 0 13px}
.mfh-related-list{display:grid;gap:13px}
.mfh-related-item{display:grid;grid-template-columns:132px 1fr;gap:11px;align-items:start;padding:7px;border-radius:9px;transition:background .18s ease,transform .18s ease}
.mfh-related-item:hover{background:rgba(255,255,255,.035);transform:translateY(-1px)}
.mfh-related-item .mfh-card-image{border-radius:6px}
.mfh-related-item strong{font-size:12.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mfh-related-item small{display:block;color:var(--muted);margin-top:4px;font-size:11px}
.mfh-creator-box{padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);margin-top:25px}
.mfh-creator-box-head{display:flex;gap:12px;align-items:center}
.mfh-creator-box img{width:48px;height:48px;object-fit:cover;border-radius:50%}
.mfh-creator-box strong{display:block}
.mfh-creator-box p{font-size:13px;color:var(--muted);margin:12px 0 0}
.mfh-ad-slot{margin-top:22px;padding:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-height:120px;display:grid;place-items:center;overflow:hidden}
.mfh-ad-label{font-size:9px;text-transform:uppercase;letter-spacing:.16em;color:#70777c;text-align:center;margin-bottom:6px}

.mfh-creator-hero{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(22px,4vw,48px);align-items:center;padding-bottom:48px;border-bottom:1px solid var(--line)}
.mfh-creator-avatar{width:clamp(110px,14vw,190px);aspect-ratio:1;border-radius:50%;object-fit:cover;border:1px solid var(--line-strong)}
.mfh-creator-info h1{font-size:clamp(42px,6vw,76px);letter-spacing:-.055em;line-height:.96;margin:5px 0 16px}
.mfh-creator-deck{max-width:820px;color:#d4d8da;font-family:Georgia,"Times New Roman",serif;font-size:clamp(17px,1.4vw,21px);line-height:1.65;margin:0 0 22px}
.mfh-creator-story{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:clamp(34px,6vw,90px);align-items:start;padding:48px 0;border-bottom:1px solid var(--line)}
.mfh-creator-editorial{max-width:940px}
.mfh-creator-editorial .mfh-copy-section:first-child{border-top:0;padding-top:0}
.mfh-creator-stat{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:18px;display:grid;gap:2px}
.mfh-creator-stat span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#929a9e}
.mfh-creator-stat strong{font-size:34px;line-height:1.1;margin-top:9px}
.mfh-creator-stat small{color:var(--muted);font-size:12px}
.mfh-creator-films{padding-top:48px}
.mfh-load-more{display:flex;justify-content:center;padding-top:34px}
.mfh-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 14px}
.mfh-library-section{margin:0 0 50px}
.mfh-creator-grid{display:flex;gap:24px;flex-wrap:wrap}

.mfh-form{display:grid;gap:17px;max-width:760px;margin-top:34px}
.mfh-form label{display:grid;gap:7px;color:#d5d9db;font-weight:700;font-size:13px}
.mfh-form input,.mfh-form textarea,.mfh-form select{width:100%;background:var(--panel);border:1px solid var(--line-strong);color:var(--text);border-radius:7px;padding:12px 13px;outline:0}
.mfh-form input:focus,.mfh-form textarea:focus,.mfh-form select:focus{border-color:#fff}
.mfh-hp{position:absolute!important;left:-9999px!important}
.mfh-notice{padding:14px 16px;border:1px solid rgba(255,255,255,.22);background:var(--panel);border-radius:7px;max-width:760px}
.mfh-account-gate{padding:60px 0}

.mfh-site-footer{border-top:1px solid var(--line);padding:42px 0 55px;color:#8f979b;font-size:12px}
.mfh-footer-inner{display:flex;justify-content:space-between;gap:25px;align-items:flex-start}
.mfh-footer-links{display:flex;gap:18px;flex-wrap:wrap}
.mfh-footer-copy{max-width:560px}

@media(max-width:1180px){
  .mfh-featured-slide{grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);padding:32px}
  .mfh-featured-copy h1{font-size:clamp(28px,3.3vw,39px)}
  .mfh-featured-nav{left:32px}
}
@media(max-width:1000px){
  .mfh-search{display:none}
  .mfh-watch-layout{grid-template-columns:1fr}
  .mfh-watch-sidebar{position:static;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,.5fr);gap:24px}
  .mfh-creator-box,.mfh-ad-slot{margin-top:0}
  .mfh-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .mfh-header-inner{min-height:60px;gap:14px}
  .mfh-nav{display:none}
  .mfh-brand{font-size:21px}
  .mfh-featured-shell{padding-top:16px}
  .mfh-featured-slide{grid-template-columns:1fr;padding:18px 18px 48px;gap:18px}
  .mfh-featured-copy{max-width:none;padding:4px 2px 0;order:2}
  .mfh-featured-copy h1{font-size:clamp(27px,7.5vw,38px);max-width:640px;-webkit-line-clamp:3}
  .mfh-featured-deck{font-size:14px;max-width:620px;-webkit-line-clamp:2}
  .mfh-featured-media{order:1}
  .mfh-featured-nav{left:20px;bottom:11px}
  .mfh-home-content{padding-top:22px}
  .mfh-rail{grid-auto-columns:76vw;gap:10px}
  .mfh-seo-block{grid-template-columns:1fr;gap:18px}
  .mfh-watch-sidebar{grid-template-columns:1fr}
  .mfh-related-item{grid-template-columns:130px 1fr}
  .mfh-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mfh-creator-hero{grid-template-columns:1fr;justify-items:start}
  .mfh-creator-avatar{width:120px}
  .mfh-creator-story{grid-template-columns:1fr;gap:24px}
  .mfh-copy-section{grid-template-columns:1fr;gap:10px}
  .mfh-copy-highlights ul{grid-template-columns:1fr}
  .mfh-footer-inner{display:grid}
}
@media(max-width:480px){
  :root{--pad:16px}
  .mfh-rail{grid-auto-columns:84vw}
  .mfh-card-grid{grid-template-columns:1fr 1fr;gap:22px 8px}
  .mfh-card-title{font-size:12px}
  .mfh-card-creator{font-size:11px}
  .mfh-film-header h1{font-size:31px}
  .mfh-featured-slide{padding:12px 12px 46px}
  .mfh-featured-copy h1{font-size:28px}
  .mfh-featured-play span{display:none}
  .mfh-featured-play{width:38px;height:38px;padding:0;justify-content:center}
  .mfh-featured-nav{left:14px}
}
