/*
Theme Name: HamboFilm Cinema
Theme URI: https://hambo.film/
Author: Hambo.Film
Description: Charcoal and lime cinema theme with trailer discovery, accessible member navigation and search-friendly watch pages. Built for Hambo Movie Trailers & Previews.
Version: 1.1.3
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: hambo-film-cinema
Tags: entertainment, blog, custom-logo, custom-menu, featured-images, wide-blocks
*/
:root{--bg:#151515;--panel:#25271e;--lime:#dcff65;--ink:#f4eee3;--muted:#bdbcb5;--line:#42443b;--wide:1280px;--gutter:clamp(20px,4vw,64px)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:1rem;line-height:1.65}a{color:inherit;text-underline-offset:4px}a:hover{color:var(--lime)}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid var(--lime);outline-offset:5px}.shell{width:min(var(--wide),calc(100% - var(--gutter)*2));margin-inline:auto}.skip-link{position:fixed;top:-100px;left:20px;z-index:999;background:var(--lime);color:#000;padding:12px}.skip-link:focus{top:12px}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.site-header{position:relative;z-index:10;border-bottom:1px solid var(--line);background:var(--bg)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:100px}.brand{display:inline-flex;flex-shrink:0;width:215px}.brand img,.custom-logo{width:100%;height:auto;display:block}.custom-logo-link{display:block}.header-nav ul{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}.header-nav li{position:relative}.header-nav a{text-decoration:none;font-weight:700;font-size:.9375rem}.header-nav .current-menu-item>a{color:var(--lime)}.header-nav .sub-menu{position:absolute;display:none;min-width:200px;background:var(--panel);padding:18px;border:1px solid var(--line);top:100%;left:0;z-index:20}.header-nav li:hover>.sub-menu,.header-nav li:focus-within>.sub-menu{display:grid;gap:12px}.header-nav .sub-menu .sub-menu{left:100%;top:0}.menu-toggle{display:none}.button,.header-nav .hambo-auth-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 22px;border:1px solid var(--lime);border-radius:4px;background:var(--lime);color:#000!important;font-weight:700;text-decoration:none;line-height:1.3}.button:hover,.header-nav .hambo-auth-button:hover{background:#e7ff9c;border-color:#e7ff9c;color:#000}.button.secondary{background:transparent;color:var(--ink)!important;border-color:#8e9085}.button.secondary:hover{border-color:var(--lime);color:var(--lime)!important}.header-nav .hambo-auth-item{margin:0!important}.header-nav .hambo-auth-item>a.hambo-auth-button{background:var(--lime)!important;border-color:var(--lime)!important}.header-nav .hambo-auth-item>a.hambo-auth-button{color:#000!important;-webkit-text-fill-color:#000}.eyebrow{font-size:.8125rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--lime);margin:0 0 18px}.hero{position:relative;isolation:isolate;min-height:600px;display:grid;align-items:center;overflow:hidden}.hero-image{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:70% center}.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(21,21,21,.98),rgba(21,21,21,.82) 36%,rgba(21,21,21,.2) 80%),linear-gradient(0deg,#151515,transparent 45%)}.hero-copy{padding-block:88px;max-width:670px}h1,h2,h3{line-height:1.06;letter-spacing:-.045em;margin-top:0}h1{font-size:clamp(2.5rem,5.6vw,5rem);font-weight:800}.hero h1{font-size:clamp(3.25rem,6.9vw,6.2rem);margin-bottom:24px;max-width:10ch}.hero h1 span{color:var(--lime)}.hero-description{font-size:1.125rem;color:#d3d1c9;max-width:38ch;margin-bottom:30px}.actions{display:flex;flex-wrap:wrap;gap:12px}.hero-caption{font-size:.875rem;color:var(--muted);margin-top:26px}.discovery{padding-block:22px;border-block:1px solid var(--line);background:var(--panel)}.discovery-inner{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.discovery-label{font-size:.875rem;color:var(--muted);white-space:nowrap}.genre-links{display:flex;gap:10px;flex-wrap:wrap}.genre-link{font-size:.875rem;text-decoration:none;padding:7px 16px;border:1px solid #5f6155;border-radius:40px;min-height:40px;display:inline-flex;align-items:center}.genre-link:hover,.genre-link[aria-current=page]{background:var(--lime);color:#000;border-color:var(--lime)}.section{padding-block:64px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px}.section-head h2{font-size:clamp(2rem,3vw,2.8rem);margin:0}.section-head p{color:var(--muted);margin:12px 0 0;max-width:48ch}.text-link{color:var(--lime);font-weight:700;white-space:nowrap}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.video-card{min-width:0}.card-image{display:block;position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--panel);border:1px solid var(--line);border-radius:6px}.card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}.card-image:hover img{transform:scale(1.035)}.card-image .play{position:absolute;bottom:16px;left:16px;width:46px;height:46px;border-radius:50%;background:var(--lime);color:#000;display:grid;place-items:center;font-size:1.2rem}.card-placeholder{height:100%;display:grid;place-items:center;background:linear-gradient(125deg,#353a26,#161812);color:var(--lime);font-weight:800;font-size:1.5rem;letter-spacing:-.05em}.card-type{position:absolute;top:14px;left:14px;background:#151515e8;padding:4px 10px;font-size:.75rem;font-weight:700;border-radius:3px}.card-copy{padding-top:18px}.card-genres{color:var(--lime);font-size:.8125rem;margin-bottom:8px}.video-card h2,.video-card h3{font-size:1.45rem;line-height:1.18;margin:0 0 10px;letter-spacing:-.025em}.video-card h2 a,.video-card h3 a{text-decoration:none}.card-excerpt{font-size:.9375rem;color:var(--muted);margin:0 0 12px}.card-dates,.card-copy .hambo-video-dates{font-size:.8125rem;color:var(--muted);line-height:1.75}.feature-band{border-block:1px solid var(--line);background:var(--panel)}.feature-band-inner{padding-block:50px;display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:36px}.feature-band h2{font-size:clamp(2rem,3.4vw,3.2rem);max-width:18ch;margin-bottom:16px}.feature-band p{color:var(--muted);max-width:55ch}.feature-band .actions{justify-content:flex-end}.site-footer{border-top:1px solid var(--line);margin-top:48px;padding-block:48px 24px}.footer-top{display:flex;justify-content:space-between;gap:40px;padding-bottom:40px}.footer-tagline{color:var(--muted);max-width:32ch;font-size:.9375rem}.footer-menu{display:flex;gap:26px;list-style:none;flex-wrap:wrap;padding:0;margin:0}.footer-menu a{font-size:.9375rem;text-decoration:none}.footer-bottom{border-top:1px solid var(--line);padding-top:22px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:var(--muted);font-size:.8125rem}.footer-bottom a{color:var(--ink)}.page-head{padding-block:56px 36px}.page-head h1{max-width:1000px;margin-bottom:20px}.page-head .description{color:var(--muted);max-width:65ch}.breadcrumbs{font-size:.875rem;color:var(--muted);padding-top:30px}.breadcrumbs a{color:var(--ink)}.content-wrap{max-width:850px;margin-inline:auto;padding-bottom:50px}.content-wrap.wide{max-width:var(--wide)}.entry-content{overflow-wrap:anywhere}.entry-content p,.entry-content ul,.entry-content ol{margin-block:1.2em}.entry-content h2{font-size:2rem;margin-top:2em}.entry-content h3{font-size:1.5rem;margin-top:1.5em}.entry-content iframe{max-width:100%;width:100%;aspect-ratio:16/9;height:auto}.entry-content video{width:100%;height:auto}.entry-content .wp-block-embed__wrapper{position:relative}.entry-content .alignwide{width:100%;max-width:100%}.entry-content img{border-radius:4px}.entry-content a{color:var(--lime)}.entry-content .hambo-video-dates{padding:18px 0;border-block:1px solid var(--line);font-size:.9375rem;color:var(--muted);margin-top:30px}.entry-content pre{overflow:auto;padding:20px;background:var(--panel)}.entry-content table{border-collapse:collapse;width:100%}.entry-content td,.entry-content th{border:1px solid var(--line);padding:10px}.pagination{margin-block:40px;display:flex;justify-content:center;gap:10px}.pagination .nav-links{display:flex;flex-wrap:wrap;gap:10px}.page-numbers{min-width:44px;min-height:44px;display:grid;place-items:center;padding:8px 14px;border:1px solid var(--line);text-decoration:none}.page-numbers.current{background:var(--lime);color:#000}.search-form{display:flex;gap:12px;max-width:640px;align-items:end;flex-wrap:wrap}.search-form label{flex:1;min-width:180px}.search-field{width:100%;padding:12px 14px;min-height:48px;border:1px solid #727568;border-radius:4px;background:#202219;color:var(--ink)}.search-submit{cursor:pointer}.filter-form{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:36px}.filter-form label{display:grid;gap:6px;color:var(--muted);font-size:.875rem}.filter-form select,.filter-form input{min-height:46px;background:var(--panel);color:var(--ink);border:1px solid #727568;border-radius:4px;padding:9px 14px;max-width:100%}.empty-state{border:1px solid var(--line);border-radius:6px;padding:32px;background:var(--panel);color:var(--muted);grid-column:1/-1}.empty-state h2{color:var(--ink);font-size:1.8rem}.hambo-member-panel{background:var(--panel);border-color:var(--line)!important;margin:0 auto 40px!important;max-width:600px!important}.hambo-member-panel label{color:var(--ink)}.hambo-member-panel .hambo-member-button{background:var(--lime)!important;border-color:var(--lime)!important}.hambo-member-panel a{color:var(--lime)}.hambo-member-panel input:focus-visible{outline:3px solid var(--lime)!important;box-shadow:none!important}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{color:var(--muted);font-size:.875rem}.bypostauthor{border-left:2px solid var(--lime);padding-left:12px}.sticky{border-color:var(--lime)}.alignleft{float:left;margin:0 24px 20px 0}.alignright{float:right;margin:0 0 20px 24px}.aligncenter{display:block;margin-inline:auto}.entry-content:after{content:"";display:table;clear:both}.comment-list{padding-left:20px}.comment-body{border-top:1px solid var(--line);padding-block:20px}.comment-form input:not([type=checkbox]),.comment-form textarea{display:block;max-width:100%;background:var(--panel);color:var(--ink);border:1px solid var(--line);padding:12px}.comment-form .submit{background:var(--lime)!important;color:#000!important;font-weight:bold}.page-links{padding:20px 0}.post-navigation{padding-block:30px;border-top:1px solid var(--line)}
@media(min-width:1600px){.hero{min-height:680px}}@media(max-width:1100px){.header-inner{gap:20px}.brand{width:180px}.header-nav ul{gap:14px}.header-nav a{font-size:.875rem}.header-nav .hambo-auth-button{padding:10px 14px!important}.hero{min-height:540px}.card-grid{gap:24px}}
@media(max-width:850px){.header-inner{min-height:84px;flex-wrap:wrap;padding-block:18px}.menu-toggle{display:inline-flex;background:transparent;border:1px solid var(--line);padding:10px 16px;border-radius:4px;color:var(--ink);font-weight:700;min-height:44px;cursor:pointer}.header-nav{width:100%}.js .header-nav{display:none}.js .header-nav.is-open{display:block}.header-nav ul{align-items:stretch;flex-direction:column;gap:0}.header-nav li>a{display:block;padding:14px 4px}.header-nav .hambo-auth-item{margin-top:12px!important}.header-nav .hambo-auth-item>a{display:flex;width:100%}.header-nav .sub-menu,.header-nav li:hover>.sub-menu,.header-nav li:focus-within>.sub-menu{position:static;display:grid;border:0;border-left:1px solid var(--line);margin-left:14px;padding:0 0 0 14px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-copy{padding-block:64px}.hero:after{background:linear-gradient(90deg,#151515eb,#15151585),linear-gradient(0deg,#151515,transparent 55%)}.feature-band-inner{grid-template-columns:1fr}.feature-band .actions{justify-content:flex-start}.section{padding-block:46px}.footer-top{flex-direction:column}.hero h1{max-width:11ch}.section-head{align-items:start}.section-head .text-link{font-size:.875rem}}
@media(max-width:520px){.card-grid{grid-template-columns:1fr}.hero{min-height:550px}.hero-copy{padding-block:58px}.hero h1{font-size:3.25rem}.hero-description{font-size:1rem}.hero .button{padding:12px 16px}.section-head{flex-direction:column;gap:16px}.card-image{aspect-ratio:16/9}.page-head{padding-top:38px}.page-head h1{font-size:2.5rem}.footer-menu{gap:20px}.discovery-inner{gap:14px}.genre-links{gap:8px}.genre-link{padding:6px 12px}.hambo-member-panel{padding:20px!important}.filter-form label{width:100%}.filter-form select,.filter-form input{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
.site-header .custom-logo-link{width:215px;flex-shrink:0}.site-footer .custom-logo-link{width:215px}@media(max-width:1100px){.site-header .custom-logo-link{width:180px}}

.card-image{text-decoration:none}


/* Three editable footer columns with a full-width, centred credit row. */
.site-footer{padding-bottom:0}
.footer-widgets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;padding-bottom:40px}
.footer-widget-area{min-width:0;overflow-wrap:anywhere}
.footer-widget+.footer-widget{margin-top:28px}
.footer-widget-title,.footer-widget-area .wp-block-heading{font-size:1.125rem;line-height:1.3;letter-spacing:-.02em;margin:0 0 18px}
.footer-widgets .footer-menu{display:grid;gap:10px}
.footer-widgets ul,.footer-widgets ol{padding-left:1.2em}
.footer-widgets .footer-menu{padding-left:0}
.footer-widgets .wp-block-image{margin:0 0 18px}
.footer-widgets img{max-width:100%;height:auto}
.footer-widgets input,.footer-widgets select,.footer-widgets textarea{max-width:100%}
.footer-widgets .search-form label{min-width:0;flex-basis:100%}
.footer-bottom{display:block;width:100%;padding:22px 0;text-align:center}
.footer-copyright{margin-block:0;line-height:1.8;text-wrap:balance}
.footer-copyright a{white-space:normal}
@media(max-width:700px){.footer-widgets{grid-template-columns:1fr;gap:32px}}


/* Keep GeoDirectory studio cards readable within the dark cinema theme. */
.geodir-post.type-gd_studios .card{--bs-card-bg:#25271e;--bs-card-color:#f4eee3;--bs-card-border-color:#5f6155;background-color:#25271e!important;color:#f4eee3!important;border-color:#5f6155!important}
.geodir-post.type-gd_studios .card-body,.geodir-post.type-gd_studios .card-footer{background-color:#25271e!important;color:#f4eee3!important}
.geodir-post.type-gd_studios .card-footer{border-top-color:#5f6155!important}
.geodir-post.type-gd_studios .geodir-field-post_content,.geodir-post.type-gd_studios .card .text-muted,.geodir-post.type-gd_studios .card .text-body{color:#d3d1c9!important}
.geodir-post.type-gd_studios .geodir-entry-title a,.geodir-post.type-gd_studios .card a:not(.badge):not(.btn){color:#dcff65!important}
.geodir-post.type-gd_studios .geodir-entry-title a:hover,.geodir-post.type-gd_studios .card a:not(.badge):not(.btn):hover{color:#f4eee3!important}


/* Match trailer and review cards to the Studios card palette. */
.video-card.type-hambo_trailer,.video-card.type-hambo_review{background:#25271e;color:#f4eee3;border:1px solid #5f6155;border-radius:6px;overflow:hidden}
.video-card:is(.type-hambo_trailer,.type-hambo_review) .card-copy{background:#25271e;color:#f4eee3}
.video-card:is(.type-hambo_trailer,.type-hambo_review) h2 a{color:#dcff65}
.video-card:is(.type-hambo_trailer,.type-hambo_review) h2 a:hover{color:#f4eee3}
.video-card:is(.type-hambo_trailer,.type-hambo_review) :is(.card-excerpt,.hambo-video-dates,.card-meta){color:#d3d1c9}


/* One compact related review with its image beside the summary. */
.related-review-row{display:grid;grid-template-columns:140px minmax(0,1fr);gap:24px;align-items:start;background:#25271e;color:#f4eee3;border:1px solid #5f6155;border-radius:6px;padding:24px}
.related-review-image{display:block;aspect-ratio:1;overflow:hidden;border-radius:4px;background:#151515;text-decoration:none}
.related-review-image img{display:block;width:100%;height:100%;object-fit:cover}
.related-review-placeholder{display:grid;place-items:center;height:100%;color:#dcff65;font-weight:bold}
.related-review-copy{min-width:0}.related-review-copy h3{font-size:1.4rem;line-height:1.3;margin:0 0 12px}.related-review-copy h3 a{color:#dcff65}.related-review-copy p{margin:0;color:#d3d1c9}
@media(max-width:520px){.related-review-row{grid-template-columns:90px minmax(0,1fr);gap:16px;padding:16px}.related-review-copy h3{font-size:1.1rem}.related-review-copy p{font-size:.9rem}}

/* Readable bbPress forums, topics and replies on the cinema theme. */
#bbpress-forums{color:#f4eee3}
#bbpress-forums ul.bbp-forums,#bbpress-forums ul.bbp-topics,#bbpress-forums ul.bbp-replies,#bbpress-forums ul.bbp-search-results{border-color:#5f6155;background:#25271e;color:#f4eee3}
#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-footer{background:#1b1d17!important;color:#f4eee3;border-color:#5f6155}
#bbpress-forums li.bbp-body,#bbpress-forums li.bbp-body ul.forum,#bbpress-forums li.bbp-body ul.topic,#bbpress-forums div.odd,#bbpress-forums div.even,#bbpress-forums ul.odd,#bbpress-forums ul.even{background:#25271e!important;color:#f4eee3;border-color:#5f6155}
#bbpress-forums div.bbp-reply-header,#bbpress-forums div.bbp-topic-header,#bbpress-forums div.bbp-forum-header{background:#1b1d17!important;color:#d3d1c9;border-color:#5f6155}
#bbpress-forums a{color:#dcff65}#bbpress-forums a:hover,#bbpress-forums a:focus-visible{color:#f4eee3}
#bbpress-forums .bbp-forum-info .bbp-forum-content,#bbpress-forums .bbp-topic-meta,#bbpress-forums .bbp-reply-post-date,#bbpress-forums .bbp-author-role,#bbpress-forums .bbp-pagination,#bbpress-forums .bbp-admin-links,#bbpress-forums .bbp-admin-links a{color:#d3d1c9}
#bbpress-forums div.bbp-template-notice,#bbpress-forums div.bbp-template-notice.info{background:#25271e!important;color:#f4eee3;border-color:#dcff65}
#bbpress-forums div.bbp-template-notice p{color:#f4eee3}
#bbpress-forums fieldset.bbp-form{border-color:#5f6155;color:#f4eee3}
#bbpress-forums input:not([type=checkbox]):not([type=radio]):not([type=hidden]),#bbpress-forums textarea,#bbpress-forums select{background:#151515;color:#f4eee3;border:1px solid #727568;padding:10px;max-width:100%}
#bbpress-forums .quicktags-toolbar,#bbpress-forums .wp-editor-container{background:#1b1d17!important;border-color:#5f6155}
#bbpress-forums .quicktags-toolbar input.button{background:#25271e;color:#f4eee3;border-color:#727568}
#bbpress-forums button[type=submit]{background:#dcff65;color:#151515;border:0;border-radius:4px;padding:12px 20px;font-weight:700;cursor:pointer}

/* Keep forum controls and descriptions legible. */
#bbpress-forums{font-size:16px;line-height:1.65}
#bbpress-forums .bbp-forum-info .bbp-forum-content{font-size:.95rem;line-height:1.65}
#bbpress-forums .bbp-forum-title,#bbpress-forums .bbp-topic-permalink{font-size:1rem;font-weight:700}
#bbpress-forums div.bbp-template-notice p{font-size:.95rem}
#bbpress-forums button,#bbpress-forums input[type=submit]{background:#dcff65;color:#151515;border:0;border-radius:4px;padding:10px 16px;font-weight:700;cursor:pointer}

#bbpress-forums #bbp_search_submit{background:#dcff65!important;color:#151515!important;border:0;padding:10px 16px;font-weight:700;cursor:pointer}

#bbpress-forums .quicktags-toolbar input.button{background:#25271e!important;color:#f4eee3!important;border:1px solid #727568!important;font-size:.8rem}
#bbpress-forums div.bbp-reply-content,#bbpress-forums div.bbp-reply-content p{font-size:1rem;line-height:1.7}
