/*
Theme Name: Lumino Magazine
Theme URI: https://lumino-magazine.com
Author: Lumino Team
Author URI: https://lumino-magazine.com
Description: A modern, editorial magazine & blog WordPress theme with a clean, typographic layout. Features a hero section, breaking news ticker, video stories, photo grid, tabbed content sections, and a full sidebar. Perfect for news, lifestyle, travel, culture, and multi-category publications.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumino
Tags: blog, news, magazine, two-columns, right-sidebar, custom-header, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready, wide-blocks

This theme, like WordPress, is licensed under the GPL.
*/

/* ── IMPORT GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --black: #0a0a0a;
  --white: #fafaf8;
  --cream: #f5f2eb;
  --red: #d63031;
  --red-dark: #b02525;
  --gray: #888;
  --gray-light: #e8e5de;
  --gray-mid: #ccc8bf;
  --serif: 'Playfair Display', Georgia, serif;
  --serif-display: 'DM Serif Display', serif;
  --sans: 'DM Sans', sans-serif;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* ── UTILITY ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 3px 9px;
  border-radius: 2px;
}
.tag.tag-outline {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
}
.tag.tag-dark {
  background: var(--black);
  color: var(--white);
}

.section-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-light);
}

/* ── TOP BAR ── */
.lumino-topbar {
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 8px 0;
}
.lumino-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-date { color: var(--gray); }
.topbar-nav { display: flex; gap: 20px; }
.topbar-nav a { color: #aaa; transition: color .2s; }
.topbar-nav a:hover { color: var(--white); }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { color: #aaa; font-size: 13px; transition: color .2s; }
.topbar-social a:hover { color: var(--red); }

/* ── HEADER ── */
#masthead {
  border-bottom: 1px solid var(--gray-light);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.site-branding .site-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--black);
  line-height: 1;
}
.site-branding .site-title span { color: var(--red); }
.site-branding .site-title a { color: inherit; }

/* Navigation */
#site-navigation { display: flex; align-items: center; }
#site-navigation ul { display: flex; gap: 4px; }
#site-navigation ul li { position: relative; }
#site-navigation ul li a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--black);
  padding: 6px 14px;
  border-radius: 3px;
  transition: all .2s;
  display: block;
}
#site-navigation ul li a:hover,
#site-navigation ul li.current-menu-item > a,
#site-navigation ul li.current-menu-ancestor > a { color: var(--red); background: var(--cream); }

/* Dropdown */
#site-navigation ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-light);
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  border-radius: 4px;
  padding: 8px 0;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 200;
}
#site-navigation ul li:hover > ul { display: flex; }
#site-navigation ul li ul li a { padding: 8px 16px; border-radius: 0; font-size: 12.5px; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-subscribe {
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 3px;
  transition: background .2s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-subscribe:hover { background: var(--red-dark); color: var(--white); }

.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  font-size: 18px;
  display: flex;
  padding: 6px;
  transition: color .2s;
}
.search-toggle:hover { color: var(--red); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--gray-light);
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 14px;
  color: var(--black);
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}
.search-overlay.open { display: flex; }
.search-overlay form {
  width: 600px;
  max-width: 90vw;
  display: flex;
  border-bottom: 2px solid var(--white);
}
.search-overlay input[type="search"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 28px;
  font-family: var(--serif);
  padding: 12px 0;
}
.search-overlay input[type="search"]::placeholder { color: rgba(255,255,255,.4); }
.search-overlay .search-submit {
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 12px;
}
.search-close {
  position: absolute;
  top: 24px; right: 28px;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* ── BREAKING NEWS TICKER ── */
.breaking-bar {
  background: var(--black);
  color: var(--white);
  padding: 10px 0;
  overflow: hidden;
}
.breaking-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.breaking-label {
  background: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  flex-shrink: 0;
  white-space: nowrap;
}
.ticker-wrap { overflow: hidden; flex: 1; }
.ticker-track {
  display: flex;
  gap: 48px;
  animation: lumino-ticker 28s linear infinite;
  white-space: nowrap;
}
.ticker-track span { font-size: 13px; color: #ccc; }
.ticker-track span strong { color: var(--white); font-weight: 500; }
@keyframes lumino-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── HERO SECTION ── */
.lumino-hero {
  margin: 36px 0 48px;
}
.lumino-hero .container {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
}

/* Hero main card */
.hero-main {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.hero-main-thumb {
  height: 520px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.hero-main-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.hero-main:hover .hero-main-thumb img { transform: scale(1.03); }
.hero-main-thumb .no-thumb {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 50%, #2a5aa0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
  padding: 36px 32px 32px;
  color: var(--white);
}
.hero-overlay .tag { margin-bottom: 12px; }
.hero-main-title {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -.02em;
  color: var(--white);
}
.hero-main-title a { color: inherit; }
.hero-main-title a:hover { color: rgba(255,255,255,.85); }
.hero-meta {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-meta .sep { opacity: .5; }

/* Hero sidebar */
.hero-side { display: flex; flex-direction: column; gap: 0; }
.hero-side-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-light);
}
.hero-side-card:last-child { border-bottom: none; }
.hero-side-thumb {
  height: 80px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-side-thumb .no-thumb {
  width: 100%; height: 100%;
  background: var(--gray-light);
}
.hero-side-content .tag { margin-bottom: 7px; }
.hero-side-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  transition: color .2s;
}
.hero-side-card:hover .hero-side-title { color: var(--red); }
.hero-side-title a { color: inherit; }
.hero-side-meta { font-size: 11px; color: var(--gray); margin-top: 5px; }

/* ── MAIN CONTENT AREA ── */
#content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
#primary { display: grid; grid-template-columns: 1fr 300px; gap: 48px; }

/* Post list card */
article.post-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--gray-light);
  align-items: start;
}
article.post-card:last-of-type { border-bottom: none; }
.post-card-thumb {
  height: 180px;
  border-radius: 3px;
  overflow: hidden;
}
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
article.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-thumb .no-thumb { width: 100%; height: 100%; background: var(--gray-light); }

.post-card-body .tag { margin-bottom: 10px; }
.entry-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}
.entry-title a { color: var(--black); transition: color .2s; }
article.post-card:hover .entry-title a { color: var(--red); }

.entry-summary {
  font-size: 13.5px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.entry-meta {
  font-size: 11.5px;
  color: var(--gray);
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.entry-meta .author-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
}
.entry-meta .author-name { font-weight: 500; color: var(--black); }
.entry-meta a { color: inherit; transition: color .2s; }
.entry-meta a:hover { color: var(--red); }
.entry-meta .reading-time { white-space: nowrap; }

/* Grid layout for posts */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.grid-card-thumb {
  height: 200px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
}
.grid-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.grid-card:hover .grid-card-thumb img { transform: scale(1.05); }
.grid-card-thumb .no-thumb { width: 100%; height: 100%; background: var(--gray-light); }
.grid-card .tag { margin-bottom: 9px; }
.grid-card .entry-title { font-size: 17px; }
.grid-card .entry-meta { font-size: 11px; margin-top: 6px; }

/* Pagination */
.posts-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-light);
}
.posts-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--gray-light);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  transition: all .2s;
  color: var(--black);
}
.posts-pagination .page-numbers:hover,
.posts-pagination .page-numbers.current {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.posts-pagination .page-numbers.dots { border: none; }

/* ── SINGLE POST ── */
.single-post-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px 0;
}
.single-post-hero .post-tag { margin-bottom: 16px; }
.single-post-hero .post-title {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  max-width: 900px;
  margin-bottom: 20px;
}
.single-post-hero .post-meta-row {
  display: flex;
  gap: 24px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.author-block { display: flex; align-items: center; gap: 10px; }
.author-block img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.author-block .author-info { display: flex; flex-direction: column; }
.author-block .author-name { font-size: 14px; font-weight: 600; color: var(--black); }
.author-block .post-date { font-size: 12px; color: var(--gray); }
.post-read-time { font-size: 13px; color: var(--gray); }
.post-share { margin-left: auto; display: flex; gap: 8px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: white;
  border: none;
}
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #1da1f2; }

.single-featured-image {
  max-width: 1280px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.single-featured-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 4px;
}
.image-caption {
  font-size: 12.5px;
  color: var(--gray);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* Single content area */
.single-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
}
.post-content {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  color: #222;
}
.post-content h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  margin: 40px 0 16px;
  letter-spacing: -.01em;
}
.post-content h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
}
.post-content p { margin-bottom: 24px; }
.post-content blockquote {
  border-left: 4px solid var(--red);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--cream);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: var(--black);
}
.post-content ul, .post-content ol {
  margin: 0 0 24px 24px;
  list-style: disc;
}
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 8px; }
.post-content a { color: var(--red); text-decoration: underline; }
.post-content img { border-radius: 4px; margin: 32px 0; width: 100%; }
.post-content .wp-caption-text { font-size: 12.5px; color: var(--gray); font-style: italic; text-align: center; margin-top: -24px; margin-bottom: 32px; }

/* Tags & social on single */
.post-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.post-tag-pill {
  padding: 5px 14px;
  border: 1px solid var(--gray-light);
  border-radius: 20px;
  font-size: 12px;
  color: var(--gray);
  transition: all .2s;
}
.post-tag-pill:hover { border-color: var(--red); color: var(--red); }

/* Author box */
.author-box {
  background: var(--cream);
  border-radius: 4px;
  padding: 28px;
  display: flex;
  gap: 20px;
  margin-top: 40px;
}
.author-box-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.author-box-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.author-box-bio { font-size: 13.5px; color: #555; line-height: 1.65; }

/* Related posts */
.related-posts {
  margin-top: 56px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── SIDEBAR ── */
.widget-area { }
.widget {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--gray-light);
}
.widget:last-child { border-bottom: none; }
.widget-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.widget-title::after { content: ''; flex: 1; height: 1px; background: var(--gray-light); }

/* Search widget */
.widget_search .search-form {
  display: flex;
  border: 1.5px solid var(--gray-light);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color .2s;
}
.widget_search .search-form:focus-within { border-color: var(--red); }
.widget_search .search-field {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 13px;
  background: var(--white);
  color: var(--black);
}
.widget_search .search-submit {
  background: var(--red);
  border: none;
  color: var(--white);
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background .2s;
}
.widget_search .search-submit:hover { background: var(--red-dark); }

/* Recent posts widget */
.widget_recent_entries ul { display: flex; flex-direction: column; gap: 0; }
.widget_recent_entries ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 13.5px;
}
.widget_recent_entries ul li:last-child { border-bottom: none; }
.widget_recent_entries ul li a { font-family: var(--serif); font-weight: 700; color: var(--black); transition: color .2s; }
.widget_recent_entries ul li a:hover { color: var(--red); }
.widget_recent_entries .post-date { display: block; font-size: 11px; color: var(--gray); margin-top: 3px; }

/* Categories widget */
.widget_categories ul, .widget_archive ul { display: flex; flex-direction: column; }
.widget_categories ul li, .widget_archive ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 13.5px;
}
.widget_categories ul li:last-child, .widget_archive ul li:last-child { border-bottom: none; }
.widget_categories ul li a, .widget_archive ul li a { color: var(--black); transition: color .2s; }
.widget_categories ul li a:hover, .widget_archive ul li a:hover { color: var(--red); }
.widget_categories ul li .post-count,
.widget_categories ul li .cat-count {
  background: var(--cream);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 20px;
  color: var(--gray);
}

/* Tag cloud */
.widget_tag_cloud .tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.widget_tag_cloud .tagcloud a {
  padding: 4px 12px;
  border: 1px solid var(--gray-light);
  border-radius: 20px;
  font-size: 12px !important;
  color: var(--gray);
  transition: all .2s;
}
.widget_tag_cloud .tagcloud a:hover { border-color: var(--red); color: var(--red); }

/* Newsletter widget */
.widget-newsletter {
  background: var(--black);
  color: var(--white);
  padding: 24px;
  border-radius: 4px;
  text-align: center;
  margin-bottom: 36px;
}
.widget-newsletter .tag { margin: 0 auto 12px; display: block; width: fit-content; }
.widget-newsletter h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.25;
}
.widget-newsletter p { font-size: 12.5px; color: #aaa; margin-bottom: 16px; line-height: 1.6; }
.widget-newsletter input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #333;
  background: #111;
  color: var(--white);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 13px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color .2s;
}
.widget-newsletter input[type="email"]:focus { border-color: var(--red); }
.widget-newsletter button {
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 10px;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.widget-newsletter button:hover { background: var(--red-dark); }

/* Popular posts widget (custom) */
.popular-posts-widget { display: flex; flex-direction: column; }
.popular-post-item {
  display: grid;
  grid-template-columns: 28px 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-light);
  cursor: pointer;
}
.popular-post-item:last-child { border-bottom: none; }
.popular-num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
  color: var(--gray-light);
  line-height: 1;
}
.popular-thumb { height: 54px; border-radius: 3px; overflow: hidden; }
.popular-thumb img { width: 100%; height: 100%; object-fit: cover; }
.popular-thumb .no-thumb { width: 100%; height: 100%; background: var(--gray-light); }
.popular-title {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
  transition: color .2s;
}
.popular-post-item:hover .popular-title { color: var(--red); }
.popular-title a { color: inherit; }
.popular-meta-text { font-size: 11px; color: var(--gray); margin-top: 3px; }

/* Social widget */
.social-counts-widget {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.social-count-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
  text-decoration: none;
}
.social-count-btn:hover { opacity: .85; }
.social-count-btn .sc-count { font-size: 15px; font-weight: 700; display: block; line-height: 1.1; }
.social-count-btn .sc-label { font-size: 10px; font-weight: 500; opacity: .8; letter-spacing: .04em; }
.social-count-btn.sc-fb { background: #1877f2; color: white; }
.social-count-btn.sc-tw { background: #1da1f2; color: white; }
.social-count-btn.sc-ig { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white; }
.social-count-btn.sc-yt { background: #ff0000; color: white; }

/* ── VIDEO SECTION ── */
.lumino-video-section { margin: 0 0 60px; }
.video-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
.video-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.video-thumb {
  height: 240px;
  position: relative;
  overflow: hidden;
}
.video-card.small .video-thumb { height: 160px; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform .2s, background .2s;
  font-size: 20px;
  padding-left: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.video-card.small .play-btn { width: 40px; height: 40px; font-size: 16px; }
.video-card:hover .play-btn { transform: translate(-50%,-50%) scale(1.1); background: var(--red); color: white; }
.video-card-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  z-index: 2;
}
.video-card-meta .tag { margin-bottom: 8px; }
.video-card-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}
.video-card.small .video-card-title { font-size: 14px; }
.video-duration {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,.7);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 2px;
  z-index: 3;
}

/* ── PHOTO SECTION ── */
.lumino-photo-section {
  background: var(--black);
  padding: 56px 0;
  margin-bottom: 60px;
}
.lumino-photo-section .section-title { color: #555; }
.lumino-photo-section .section-title::after { background: #333; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.photo-item {
  position: relative;
  height: 260px;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.photo-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  height: 100%;
  min-height: 536px;
}
.photo-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
}
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo-item:hover img { transform: scale(1.06); }
.photo-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px;
  z-index: 2;
  color: white;
}
.photo-label .tag { margin-bottom: 6px; }
.photo-caption {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: white;
}
.photo-item:first-child .photo-caption { font-size: 22px; }

/* ── TABBED SECTION ── */
.lumino-tabs-section { margin-bottom: 60px; }
.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-light);
  margin-bottom: 28px;
}
.tab-btn {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
}
.tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
.tab-btn:hover { color: var(--black); }
.tab-pane { display: none; }
.tab-pane.active { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── AD BANNER ── */
.lumino-ad-banner {
  background: var(--cream);
  padding: 36px 24px;
  margin-bottom: 48px;
  text-align: center;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}
.lumino-ad-banner p.ad-label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

/* ── FOOTER ── */
#colophon {
  background: var(--black);
  color: var(--white);
}
.footer-widgets {
  padding: 56px 0 0;
}
.footer-widgets .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #222;
}
.footer-brand-col .site-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 14px;
  display: block;
}
.footer-brand-col .site-title span { color: var(--red); }
.footer-brand-col .site-title a { color: var(--white); }
.footer-brand-col p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social-icons { display: flex; gap: 10px; }
.footer-social-icons a {
  width: 34px; height: 34px;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: #888;
  transition: all .2s;
}
.footer-social-icons a:hover { border-color: var(--red); color: var(--red); }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer-links-list { display: flex; flex-direction: column; gap: 10px; }
.footer-links-list a {
  font-size: 13px;
  color: #666;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links-list a::before { content: '›'; color: var(--red); font-size: 16px; }
.footer-links-list a:hover { color: var(--white); }

.footer-recent-post { display: flex; gap: 12px; align-items: start; margin-bottom: 14px; }
.footer-recent-post:last-child { margin-bottom: 0; }
.footer-recent-thumb { width: 60px; height: 48px; border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.footer-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.footer-recent-thumb .no-thumb { width: 100%; height: 100%; background: #222; }
.footer-recent-title {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  color: #bbb;
  line-height: 1.35;
  transition: color .2s;
}
.footer-recent-post:hover .footer-recent-title { color: white; }
.footer-recent-title a { color: inherit; }
.footer-recent-date { font-size: 11px; color: #555; margin-top: 4px; }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid #1a1a1a;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 12px;
  color: #555;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #555; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--red); }

/* ── COMMENTS ── */
.comments-area { margin-top: 56px; }
.comments-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 28px;
}
.comment-list { list-style: none; }
.comment-body {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-light);
}
.comment-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  float: left;
  margin-right: 14px;
}
.comment-author b a { font-weight: 600; color: var(--black); }
.comment-metadata { font-size: 12px; color: var(--gray); margin-bottom: 10px; }
.comment-content p { font-size: 14.5px; line-height: 1.7; }
.reply a {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  margin-top: 8px;
  display: inline-block;
}

.comment-respond { margin-top: 40px; }
.comment-reply-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}
.comment-form label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; letter-spacing: .05em; text-transform: uppercase; color: var(--gray); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 14px;
  margin-bottom: 16px;
  outline: none;
  transition: border-color .2s;
  background: var(--white);
  color: var(--black);
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--red); }
.comment-form textarea { height: 140px; resize: vertical; }
.comment-form .submit {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.comment-form .submit:hover { background: var(--red-dark); }

/* ── PAGE TEMPLATES ── */
.page-hero-header {
  background: var(--black);
  color: white;
  padding: 60px 24px;
  text-align: center;
}
.page-hero-header h1 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 12px;
}
.page-hero-header p { font-size: 15px; color: #aaa; max-width: 500px; margin: 0 auto; }

/* ── 404 PAGE ── */
.error-404 { text-align: center; padding: 80px 24px; }
.error-404 .error-num { font-family: var(--serif); font-size: 120px; font-weight: 900; color: var(--red); line-height: 1; }
.error-404 h2 { font-family: var(--serif); font-size: 32px; margin-bottom: 16px; }
.error-404 p { color: var(--gray); margin-bottom: 32px; }
.btn-home {
  display: inline-block;
  background: var(--red);
  color: white;
  padding: 12px 28px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.btn-home:hover { background: var(--red-dark); color: white; }

/* ── FADE IN ANIMATION ── */
@keyframes lumino-fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lumino-hero, #content, .lumino-video-section, .lumino-photo-section, .lumino-tabs-section {
  animation: lumino-fadeUp .7s ease both;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .lumino-hero .container { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  #primary { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-item:first-child { grid-column: span 3; min-height: 300px; }
  .tab-pane.active { grid-template-columns: 1fr 1fr; }
  .footer-widgets .container { grid-template-columns: 1fr 1fr; gap: 28px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .lumino-topbar .container { flex-direction: column; gap: 6px; text-align: center; }
  .topbar-nav { display: none; }
  #site-navigation { display: none; }
  #site-navigation.toggled { display: block; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-light); padding: 16px 24px; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
  #site-navigation.toggled ul { flex-direction: column; gap: 4px; }
  .menu-toggle { display: block; }
  .hero-main-title { font-size: 26px; }
  article.post-card { grid-template-columns: 1fr; }
  .post-card-thumb { height: 220px; }
  .posts-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-item:first-child { grid-column: span 2; min-height: 260px; }
  .tab-pane.active { grid-template-columns: 1fr; }
  .footer-widgets .container { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; gap: 12px; text-align: center; }
  .single-post-hero .post-title { font-size: 32px; }
  .single-layout { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .social-counts-widget { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-main-title { font-size: 22px; }
  .single-post-hero .post-title { font-size: 26px; }
  .post-share { display: none; }
  .posts-grid { grid-template-columns: 1fr; }
}

/* ── WORDPRESS CORE ALIGNMENT ── */
.alignleft { float: left; margin-right: 24px; margin-bottom: 16px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 16px; }
.aligncenter { display: block; margin: 0 auto 24px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12.5px; color: var(--gray); font-style: italic; text-align: center; margin-top: 4px; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
.sticky .entry-title::before { content: '📌 '; }
