/*
Theme Name: Bollywood Insider
Theme URI: https://bollywoodinsider.in/
Author: Bollywood Insider
Description: Dark, grid-heavy entertainment news theme for Bollywood Insider — bento hero, compact sections, uncropped images, share bar with Instagram post-card generator, contact page and mobile drawer menu.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bollywood-insider
Tags: news, blog, entertainment, dark, grid-layout, custom-logo, custom-menu, featured-images
*/

:root {
  --red: #e3061b;
  --red-dark: #a10414;
  --gold: #f5c518;
  --bg: #0b0b0f;
  --bg-2: #14141b;
  --text: #f2f2f5;
  --muted: #9a9aab;
  --line: #2a2a36;
  --radius: 10px;
  --gap: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: var(--gold); color: #000; padding: 8px 14px; z-index: 999; border-radius: 6px; }
#wpadminbar img { width: auto; height: auto; }

/* Breaking ticker */
.ticker { background: var(--red); font-size: 12px; font-weight: 600; overflow: hidden; }
.ticker .wrap { display: flex; align-items: center; gap: 14px; height: 30px; }
.ticker .label { background: #000; padding: 2px 10px; border-radius: 3px; letter-spacing: 1px; white-space: nowrap; font-family: 'Bebas Neue'; font-size: 15px; }
.ticker .track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker .items { display: inline-flex; gap: 40px; white-space: nowrap; animation: scroll 40s linear infinite; }
.ticker .items a::before { content: '★'; color: var(--gold); margin-right: 8px; }
.ticker .items a:hover { text-decoration: underline; }
.ticker:hover .items { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(11,11,15,.88); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.head { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 20px; }
.logo img { height: 34px; width: auto; object-fit: contain; }
.site-header nav ul, .drawer nav ul { display: flex; gap: 22px; list-style: none; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.site-header nav li { position: relative; }
.site-header nav a, .drawer nav a { color: var(--muted); transition: color .2s; position: relative; padding: 4px 0; }
.site-header nav a:hover, .site-header nav .current-menu-item > a, .site-header nav .current-cat > a, .site-header nav .current-menu-ancestor > a { color: var(--text); }
.site-header nav .current-menu-item > a::after, .site-header nav .current-cat > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); }
.site-header nav .sub-menu { display: none; position: absolute; top: 100%; left: -12px; min-width: 200px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 0; flex-direction: column; gap: 0; z-index: 60; }
.site-header nav li:hover > .sub-menu, .site-header nav li:focus-within > .sub-menu { display: flex; }
.site-header nav .sub-menu a { display: block; padding: 8px 14px; text-transform: none; }
.head-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); cursor: pointer; background: none; }
.icon-btn:hover { color: var(--text); border-color: var(--muted); }
.btn { background: var(--red); color: #fff; border: 0; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 13px; cursor: pointer; transition: background .2s; display: inline-block; }
.btn:hover { background: var(--red-dark); }

/* Header search */
.search-bar { display: none; border-top: 1px solid var(--line); padding: 12px 0; }
.search-bar.open { display: block; }
.search-form { display: flex; gap: 8px; }
.search-form input[type=search] { flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; color: var(--text); font: inherit; font-size: 14px; }
.search-form input[type=search]:focus { outline: none; border-color: var(--red); }

/* Tags */
.tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; background: var(--red); color: #fff; }
.tag.gold { background: var(--gold); color: #000; }
.tag.ghost { background: rgba(255,255,255,.1); }
.meta { color: var(--muted); font-size: 11px; font-weight: 500; }

/* Cards */
.card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); display: block; }
.card .img { overflow: hidden; }
.card .img img { transition: transform .5s ease; }
.overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.92) 100%); }
.tile .img { position: absolute; inset: 0; }
.tile .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; }
.tile h3 { font-family: 'Playfair Display', serif; font-size: 16px; line-height: 1.22; margin: 6px 0 4px; }

/* Bento hero */
.hero { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: var(--gap); margin: 20px auto; }
.hero-main { grid-row: span 2; }
.hero-main .body { padding: 24px; }
.hero-main h1, .hero-main h2 { font-family: 'Playfair Display', serif; font-size: 34px; line-height: 1.1; margin: 10px 0 8px; font-weight: 900; }
.hero-main p { color: #d0d0da; max-width: 600px; font-size: 14px; margin-bottom: 8px; }

/* Section headings */
.section { margin: 28px auto; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sec-head h2 { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1.2px; line-height: 1; display: flex; align-items: center; gap: 10px; font-weight: 400; }
.sec-head h2::before { content: ''; width: 5px; height: 22px; background: var(--red); border-radius: 2px; }
.sec-head a { color: var(--muted); font-size: 12px; font-weight: 600; }
.sec-head a:hover { color: var(--gold); }

/* Spotlight row (box-office style) */
.bo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.bo-item { display: flex; gap: 12px; align-items: center; background: linear-gradient(135deg, #1c0407, var(--bg-2)); border-radius: var(--radius); padding: 10px; border: 1px solid #36101a; }
.bo-item .img { width: 64px; height: 80px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.bo-item .num { font-family: 'Bebas Neue'; font-size: 26px; color: var(--gold); line-height: 1; }
.bo-item .num small { font-size: 13px; color: var(--muted); }
.bo-item h4 { font-size: 13px; margin: 4px 0 2px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bo-item:hover h4 { color: var(--gold); }

/* Latest + sidebar */
.two-col { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.post-card { background: var(--bg-2); border: 1px solid var(--line); }
.post-card .img { aspect-ratio: 16/10; }
.post-card .body { padding: 10px 12px 12px; }
.post-card h3 { font-family: 'Playfair Display', serif; font-size: 15px; line-height: 1.25; margin: 6px 0 4px; transition: color .2s; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card:hover h3 { color: var(--gold); }

.trending { background: var(--bg-2); border-radius: var(--radius); padding: 14px 16px; border: 1px solid var(--line); }
.trending h3.title { font-family: 'Bebas Neue'; font-size: 24px; letter-spacing: 1px; color: var(--gold); padding-bottom: 6px; border-bottom: 1px solid var(--line); font-weight: 400; }
.trend { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.trend:last-child { border-bottom: 0; padding-bottom: 0; }
.trend .rank { font-family: 'Bebas Neue'; font-size: 32px; line-height: .9; color: transparent; -webkit-text-stroke: 1.2px var(--red); min-width: 22px; }
.trend h4 { font-size: 13px; line-height: 1.3; font-weight: 600; margin-bottom: 2px; }
.trend:hover h4 { color: var(--gold); }

/* Poster row */
.stream-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); }
.poster { aspect-ratio: 2/3; }
.poster .body { padding: 12px; }
.poster h4 { font-family: 'Playfair Display', serif; font-size: 15px; line-height: 1.2; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.poster .platform { position: absolute; top: 10px; left: 10px; z-index: 2; }

/* Compact news grid */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.mini { display: flex; gap: 10px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.mini .img { width: 76px; height: 64px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.mini h4 { font-size: 12.5px; line-height: 1.3; font-weight: 600; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini:hover h4 { color: var(--gold); }

/* Newsletter / Instagram CTA */
.newsletter { background: radial-gradient(circle at 15% 0%, rgba(227,6,27,.35), transparent 55%), radial-gradient(circle at 95% 100%, rgba(245,197,24,.15), transparent 45%), var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.newsletter h2 { font-family: 'Playfair Display', serif; font-size: 24px; line-height: 1.2; }
.newsletter h2 em { color: var(--gold); }
.newsletter p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.newsletter form { display: flex; gap: 8px; }
.newsletter input { flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; color: var(--text); font-size: 14px; }
.newsletter input:focus { outline: none; border-color: var(--red); }
.newsletter .cta { justify-self: end; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 36px; padding: 28px 0 16px; background: #070709; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; }
.foot h5 { font-family: 'Bebas Neue'; font-size: 18px; letter-spacing: 1px; margin-bottom: 8px; font-weight: 400; }
.foot ul { list-style: none; display: grid; gap: 4px; color: var(--muted); font-size: 13px; }
.foot ul a:hover { color: var(--text); }
.foot .about img { height: 28px; width: auto; margin-bottom: 10px; }
.foot .about p { color: var(--muted); font-size: 13px; max-width: 320px; }
.socials { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.copy { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 14px; color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Article page */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--red), var(--gold)); z-index: 100; }
.crumbs { font-size: 12px; color: var(--muted); margin: 18px 0 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--gold); }
.crumbs span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
.article-head { max-width: 860px; }
.article-head h1 { font-family: 'Playfair Display', serif; font-size: 40px; line-height: 1.12; font-weight: 900; margin: 10px 0 12px; }
.article-head .dek { color: #c8c8d4; font-size: 17px; max-width: 780px; }
.byline { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author { display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; padding: 4px; flex-shrink: 0; }
.avatar img { object-fit: contain; }
.avatar.photo-avatar { padding: 0; }
.avatar.photo-avatar img { object-fit: cover; }
.author strong { font-size: 14px; display: block; }
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.share > span { font-size: 12px; color: var(--muted); margin-right: 4px; }
.share .icon-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.feature { border-radius: var(--radius); overflow: hidden; display: flex; justify-content: center; }
.feature img { width: auto; max-width: 100%; height: auto; max-height: 72vh; object-fit: contain; }
figcaption { font-size: 12px; color: var(--muted); margin: 6px 0 20px; font-style: italic; }
.single-figure { margin-bottom: 20px; }

/* Uncropped images: whole photo shown, gaps filled with a blurred copy */
.img, .feature { position: relative; background: #000; }
.tile .img { position: absolute; }
.img::before, .feature::before { content: ''; position: absolute; inset: -30px; background: var(--bg-img) center / cover no-repeat; filter: blur(22px) brightness(.5) saturate(1.2); }
.img img, .feature img { position: relative; object-fit: contain; }
.img.noimg { background: radial-gradient(circle at 30% 20%, rgba(227,6,27,.45), transparent 60%), radial-gradient(circle at 80% 90%, rgba(245,197,24,.18), transparent 50%), #1a0a0d; }
.img.noimg::before { display: none; }
.img.noimg img { padding: 0 18%; opacity: .55; }

.content { font-size: 17px; line-height: 1.75; color: #dcdce4; overflow-wrap: break-word; }
.content > * + * { margin-top: 18px; }
.content p:empty { display: none; }
.content > p:first-of-type::first-letter { font-family: 'Playfair Display', serif; float: left; font-size: 58px; line-height: .9; padding: 6px 10px 0 0; color: var(--red); font-weight: 900; }
.content h2, .content h3, .content h4 { font-family: 'Playfair Display', serif; color: var(--text); line-height: 1.25; margin-top: 30px; }
.content h2 { font-size: 25px; }
.content h3 { font-size: 21px; }
.content h4 { font-size: 18px; }
.content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.content a:hover { color: #fff; }
.content ul, .content ol { padding-left: 24px; }
.content li + li { margin-top: 6px; }
.content strong { color: var(--text); }
.content img { width: auto; height: auto; max-width: 100%; object-fit: contain; border-radius: 8px; margin: 0 auto; }
.content figure { max-width: 100%; }
.content .wp-caption, .content .wp-block-image { max-width: 100%; }
.content .wp-caption-text, .content .wp-element-caption { font-size: 12px; color: var(--muted); font-style: italic; text-align: center; margin-top: 6px; }
.content .alignleft { float: left; margin: 6px 20px 12px 0; max-width: 50%; }
.content .alignright { float: right; margin: 6px 0 12px 20px; max-width: 50%; }
.content .aligncenter { margin-left: auto; margin-right: auto; }
.content iframe, .content video, .content embed { max-width: 100%; border: 0; border-radius: 8px; }
.content .wp-block-embed__wrapper iframe { width: 100%; aspect-ratio: 16/9; height: auto; }
.content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.content th, .content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.content th { background: var(--bg-2); color: var(--text); }
.content blockquote { border-left: 4px solid var(--red); background: var(--bg-2); padding: 16px 20px; margin: 24px 0; border-radius: 0 var(--radius) var(--radius) 0; font-family: 'Playfair Display', serif; font-size: 20px; font-style: italic; color: var(--text); line-height: 1.45; }
.content blockquote p { margin: 0; }
.content blockquote cite { display: block; font-family: 'Inter'; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 8px; }
.content::after { content: ''; display: table; clear: both; }
.page-links { margin-top: 20px; font-weight: 600; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.tags a { font-size: 12px; font-weight: 600; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.tags a:hover { border-color: var(--red); color: var(--text); }
.author-box { display: flex; gap: 16px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.author-box .avatar { width: 60px; height: 60px; flex-shrink: 0; }
.author-box p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 18px; }
.prev-next a { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.prev-next .next { text-align: right; grid-column: 2; }
.prev-next a:hover h5 { color: var(--gold); }
.prev-next h5 { font-family: 'Playfair Display', serif; font-size: 15px; margin-top: 4px; line-height: 1.3; }

.sidebar { display: grid; gap: var(--gap); position: sticky; top: 76px; }
.admin-bar .sidebar { top: 108px; }
.ad { border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.side-box, .widget { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.side-box h3, .widget-title, .widget h2 { font-family: 'Bebas Neue'; font-size: 22px; letter-spacing: 1px; color: var(--gold); padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 6px; font-weight: 400; }
.side-box .mini { background: none; border: 0; padding: 8px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.side-box .mini:last-child { border-bottom: 0; padding-bottom: 0; }
.side-box .mini .img { width: 64px; height: 54px; }
.widget ul { list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--muted); padding: 0; }
.widget a:hover { color: var(--gold); }
.widget .wp-block-search__label { display: block; font-family: 'Bebas Neue'; font-size: 22px; letter-spacing: 1px; color: var(--gold); margin-bottom: 8px; font-weight: 400; }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.widget .wp-block-search__input { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: var(--text); font: inherit; font-size: 14px; }
.widget .wp-block-search__input:focus { outline: none; border-color: var(--red); }
.widget .wp-block-search__button { background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 0 16px; font-weight: 700; font-size: 13px; cursor: pointer; margin: 0; }
.widget .wp-block-group__inner-container > * + * { margin-top: 6px; }
.widget select { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px; }

/* Instagram */
.btn-insta { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(45deg, #f9ce34, #ee2a7b 45%, #6228d7); color: #fff; border: 0; cursor: pointer; border-radius: 999px; padding: 8px 16px 8px 12px; font-weight: 700; font-size: 13px; transition: transform .2s, box-shadow .2s; font-family: inherit; }
.btn-insta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(238,42,123,.35); }
.share .ig:hover { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); border-color: transparent; color: #fff; }
.share .dl { width: auto; padding: 0 14px; border-radius: 999px; gap: 6px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; color: var(--text); border-color: var(--gold); font-family: inherit; }
.share .dl:hover { background: var(--gold); border-color: var(--gold); color: #000; }

/* Share card strip in article */
.card-promo { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin: 22px 0; }
.card-promo canvas { width: 150px; border-radius: 6px; display: block; }
.card-promo h4 { font-family: 'Playfair Display', serif; font-size: 18px; }
.card-promo p { color: var(--muted); font-size: 13px; margin: 4px 0 10px; }
.card-promo .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-ghost { background: none; border: 1px solid var(--line); color: var(--text); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; font-family: inherit; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Share modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.8); backdrop-filter: blur(6px); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; grid-template-columns: auto 280px; gap: 22px; max-height: 92vh; position: relative; }
.modal-box canvas { height: min(78vh, 640px); width: auto; border-radius: 8px; display: block; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.modal-side h3 { font-family: 'Bebas Neue'; font-size: 28px; letter-spacing: 1px; font-weight: 400; }
.modal-side p { color: var(--muted); font-size: 13px; margin: 4px 0 16px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.seg button { background: none; border: 0; color: var(--muted); padding: 8px; border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer; font-family: inherit; }
.seg button.on { background: var(--red); color: #fff; }
.modal-side .stack { display: grid; gap: 10px; }
.modal-side .stack > * { justify-content: center; padding: 11px; }
.modal-side ol { color: var(--muted); font-size: 12px; margin: 18px 0 0 16px; display: grid; gap: 4px; }
.modal-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--text); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--gold); color: #000; font-weight: 700; font-size: 13px; padding: 10px 18px; border-radius: 999px; opacity: 0; transition: .3s; z-index: 300; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Archive / search */
.archive-head { margin: 20px 0 6px; padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(circle at 90% 10%, rgba(245,197,24,.14), transparent 40%), radial-gradient(circle at 5% 100%, rgba(227,6,27,.35), transparent 55%), var(--bg-2); }
.archive-head h1 { font-family: 'Bebas Neue'; font-weight: 400; font-size: 46px; letter-spacing: 1.5px; line-height: 1; margin-top: 8px; }
.archive-head p, .archive-head .desc { color: #c8c8d4; font-size: 14px; margin-top: 6px; max-width: 720px; }
.pagination { margin: 24px 0 0; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 38px; height: 38px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--red); border-color: var(--red); color: #fff; }
.empty-state { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 28px; text-align: center; }
.empty-state h2 { font-family: 'Playfair Display', serif; font-size: 26px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 16px; }
.empty-state .search-form { max-width: 480px; margin: 0 auto; }
.big-404 { font-family: 'Bebas Neue'; font-size: 140px; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--red); }

/* Page */
.page-body { max-width: 860px; }

/* Contact page */
.contact-hero { position: relative; border-radius: var(--radius); overflow: hidden; margin: 20px 0; padding: 40px 36px; background: radial-gradient(circle at 85% 20%, rgba(245,197,24,.18), transparent 40%), radial-gradient(circle at 10% 100%, rgba(227,6,27,.4), transparent 50%), var(--bg-2); border: 1px solid var(--line); }
.contact-hero h1 { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 900; line-height: 1.1; margin: 10px 0 8px; }
.contact-hero h1 em { color: var(--gold); }
.contact-hero p { color: #c8c8d4; max-width: 620px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-bottom: 24px; }
.c-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: border-color .2s, transform .2s; min-width: 0; }
.c-card:hover { border-color: var(--red); transform: translateY(-2px); }
.c-card .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(227,6,27,.15); color: var(--red); display: grid; place-items: center; margin-bottom: 10px; }
.c-card h4 { font-size: 15px; margin-bottom: 2px; }
.c-card p { color: var(--muted); font-size: 13px; }
.c-card a.link, .c-card span.link { color: var(--gold); font-size: 13px; font-weight: 600; display: inline-block; margin-top: 8px; overflow-wrap: anywhere; }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.form-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.form-box h2 { font-family: 'Bebas Neue'; font-size: 28px; letter-spacing: 1px; margin-bottom: 4px; font-weight: 400; }
.form-box > p { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.form-notice { border-radius: 8px; padding: 12px 14px; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.form-notice.ok { background: rgba(245,197,24,.12); border: 1px solid var(--gold); color: var(--gold); }
.form-notice.err { background: rgba(227,6,27,.12); border: 1px solid var(--red); color: #ff8a95; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: span 2; }
.field label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.field input, .field select, .field textarea { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; color: var(--text); font: inherit; font-size: 14px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 600; }
.chips input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--gold); }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--muted); grid-column: span 2; }
.hp-field { position: absolute; left: -9999px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 12px; flex-wrap: wrap; grid-column: 1 / -1; }
.form-foot .btn { padding: 11px 26px; font-size: 14px; }
.follow { background: linear-gradient(135deg, rgba(249,206,52,.12), rgba(238,42,123,.15), rgba(98,40,215,.18)), var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.follow h3, .faq h3 { font-family: 'Bebas Neue'; font-size: 24px; letter-spacing: 1px; color: var(--gold); margin-bottom: 10px; font-weight: 400; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0; }
.ig-grid a { aspect-ratio: 1; border-radius: 6px; overflow: hidden; position: relative; }
.ig-grid a::after { content: ''; position: absolute; inset: 0; background: rgba(238,42,123,.35); opacity: 0; transition: .2s; }
.ig-grid a:hover::after { opacity: 1; }
.ig-grid .img { width: 100%; height: 100%; }
.socials-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.socials-row a { display: flex; gap: 8px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; padding: 9px; font-size: 13px; font-weight: 600; }
.socials-row a:hover { border-color: var(--gold); color: var(--gold); }
.side-stack { display: grid; gap: var(--gap); }
.faq { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* Comments */
.comments-area { margin-top: 28px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.comments-area h2, .comment-reply-title { font-family: 'Bebas Neue'; font-weight: 400; font-size: 26px; letter-spacing: 1px; margin-bottom: 12px; }
.comment-list { list-style: none; display: grid; gap: 14px; margin-bottom: 18px; }
.comment-list .children { list-style: none; margin: 12px 0 0 24px; display: grid; gap: 12px; }
.comment-body { border-bottom: 1px solid var(--line); padding-bottom: 12px; font-size: 14px; color: #dcdce4; }
.comment-author { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.comment-author img { width: 32px; height: 32px; border-radius: 50%; }
.comment-metadata { font-size: 11px; color: var(--muted); margin: 2px 0 6px 40px; }
.comment-content { margin-left: 40px; }
.reply a { font-size: 12px; color: var(--gold); margin-left: 40px; }
.comment-form { display: grid; gap: 10px; }
.comment-form label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: var(--text); font: inherit; }
.comment-form .submit { background: var(--red); color: #fff; border: 0; padding: 10px 22px; border-radius: 999px; font-weight: 700; cursor: pointer; }

/* Mobile menu */
.menu-btn { display: none; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); z-index: 150; opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: var(--bg-2); border-left: 1px solid var(--line); z-index: 160; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; padding: 16px 20px 24px; overflow-y: auto; visibility: hidden; }
body.menu-open { overflow: hidden; }
body.menu-open .drawer { transform: none; visibility: visible; }
body.menu-open .drawer-overlay { opacity: 1; pointer-events: auto; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.drawer-top img { height: 28px; width: auto; }
.admin-bar .drawer { top: 32px; }
.drawer .search-form { margin: 16px 0 8px; }
.search-form input[type=search] { min-width: 0; }
.drawer .search-form .btn { padding: 8px 12px; flex-shrink: 0; }
.drawer nav { display: block; }
.drawer nav ul { flex-direction: column; gap: 0; font-size: 15px; }
.drawer nav .sub-menu { display: block; padding-left: 14px; font-size: 13px; }
.drawer nav a { display: flex; justify-content: space-between; padding: 13px 2px; border-bottom: 1px solid var(--line); color: var(--text); }
.drawer nav a::after { content: '›'; color: var(--muted); font-size: 18px; line-height: 1; }
.drawer nav .current-menu-item > a, .drawer nav .current-cat > a { color: var(--red); }
.drawer .btn-insta { justify-content: center; padding: 11px; margin-top: 20px; }
.drawer-foot { margin-top: auto; padding-top: 20px; font-size: 12px; color: var(--muted); }
.drawer-foot ul { list-style: none; display: flex; gap: 14px; flex-wrap: wrap; }
.drawer-foot a:hover { color: var(--text); }

@media (max-width: 1100px) {
  .site-header nav { display: none; }
  .menu-btn { display: grid; }
  .hero { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 200px 200px; }
  .hero-main { grid-column: span 2; grid-row: auto; }
  .two-col { grid-template-columns: 1fr; }
  .bo-grid, .news-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stream-row { grid-template-columns: repeat(3, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .article-layout, .contact-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .modal-box { grid-template-columns: 1fr; overflow-y: auto; justify-items: center; }
  .modal-box canvas { height: 52vh; }
  .sidebar { position: static; }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .drawer { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}
@media (max-width: 640px) {
  .hero { grid-template-rows: 320px 180px 180px; }
  .hero-main h1, .hero-main h2 { font-size: 24px; }
  .hero-main p { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .bo-grid, .news-grid, .newsletter, .grid-4 { grid-template-columns: 1fr; }
  .newsletter .cta { justify-self: start; }
  .head-actions > .btn-insta .txt { display: none; }
  .head-actions > .btn-insta { padding: 8px; }
  .contact-cards, .fgrid { grid-template-columns: 1fr; }
  .field.full, .consent { grid-column: auto; }
  .contact-hero h1 { font-size: 30px; }
  .card-promo { grid-template-columns: 100px 1fr; }
  .card-promo canvas { width: 100px; }
  .article-head h1 { font-size: 28px; }
  .archive-head h1 { font-size: 36px; }
  .content { font-size: 16px; }
  .prev-next { grid-template-columns: 1fr; }
  .prev-next .next { grid-column: auto; }
  .stream-row { grid-template-columns: repeat(2, 1fr); }
  .content .alignleft, .content .alignright { float: none; margin: 0 auto 12px; max-width: 100%; }
}
