File: /home/khabarnavis/web/khabarnavis.com/public_html/wp-content/themes/khabarnavis/style.css
/*
Theme Name: Khabarnavis
Theme URI: https://khabarnavis.com
Author: Khabarnavis Team
Author URI: https://khabarnavis.com
Description: A modern Hindi news portal theme for Khabarnavis with a clean, editorial design featuring a red primary palette, glassmorphism navbar, and premium typography.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: khabarnavis
Tags: news, blog, one-column, two-columns, right-sidebar, custom-colors, custom-menu, featured-images, post-thumbnails, rtl-language-support
*/
/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
--primary: #b90015;
--primary-dark: #93000f;
--primary-container: #e21e26;
--background: #f3faff;
--surface: #f3faff;
--surface-bright: #f3faff;
--surface-container-lowest: #ffffff;
--surface-container-low: #e6f6ff;
--surface-container: #dbf1fe;
--surface-container-high: #d5ecf8;
--surface-container-highest: #cfe6f2;
--on-surface: #071e27;
--on-surface-variant: #5d3f3c;
--outline-variant: #e7bdb8;
--inverse-surface: #1e333c;
--secondary: #405f91;
--secondary-container: #a6c5fe;
--on-secondary-container: #315182;
--text-muted: #64748b;
--font-headline: 'Newsreader', Georgia, serif;
--font-body: 'Hind', 'Inter', system-ui, sans-serif;
--font-label: 'Work Sans', system-ui, sans-serif;
--nav-height: 70px;
--radius: 2px;
--radius-lg: 4px;
--radius-xl: 8px;
--radius-2xl: 16px;
}
/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: var(--font-body);
background-color: var(--background);
color: var(--on-surface);
font-size: 16px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-headline);
line-height: 1.15;
color: var(--on-surface);
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,700;0,6..72,900;1,6..72,400;1,6..72,700&family=Inter:wght@300;400;500;600;700&family=Work+Sans:wght@400;500;600;700&display=swap');
/* ===== UTILITY ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.metadata { font-family: var(--font-label); }
/* ===== TOP BAR ===== */
.site-top-bar {
background: var(--primary);
color: white;
font-family: var(--font-label);
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
padding: 6px 0;
}
.site-top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.top-bar-date {}
.top-bar-links { display: flex; gap: 16px; }
.top-bar-links a { color: white; opacity: 0.85; }
.top-bar-links a:hover { opacity: 1; color: white; }
/* ===== HEADER / NAVBAR ===== */
.site-header {
position: sticky;
top: 0;
z-index: 100;
background: rgba(255, 255, 255, 0.75);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid rgba(231, 189, 184, 0.3);
box-shadow: 0 1px 8px rgba(7, 30, 39, 0.06);
transition: box-shadow 0.3s;
}
.header-inner {
display: flex;
align-items: center;
justify-content: space-between;
height: var(--nav-height);
gap: 24px;
}
/* Site Logo / Title */
.site-branding {
display: flex;
align-items: center;
flex-shrink: 0;
}
.custom-logo-link {
display: flex;
align-items: center;
line-height: 0;
}
.custom-logo {
height: 44px;
width: auto;
max-width: 200px;
object-fit: contain;
display: block;
}
.site-title {
font-family: var(--font-headline);
font-size: 1.75rem;
font-weight: 900;
font-style: italic;
color: var(--primary);
letter-spacing: -0.02em;
line-height: 1;
white-space: nowrap;
}
.site-title a { color: var(--primary); }
.site-title a:hover { color: var(--primary-dark); }
.site-description { font-family: var(--font-label); font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
/* Primary Navigation */
.primary-navigation { flex: 1; }
.main-menu {
display: flex;
align-items: center;
gap: 4px;
justify-content: center;
}
.main-menu li { position: relative; }
.main-menu a {
display: block;
padding: 8px 14px;
font-family: var(--font-label);
font-size: 0.875rem;
font-weight: 600;
color: var(--on-surface);
border-radius: var(--radius-lg);
transition: all 0.2s;
}
.main-menu a:hover,
.main-menu .current-menu-item > a,
.main-menu .current-menu-ancestor > a {
color: var(--primary);
background: var(--surface-container-low);
}
/* Dropdown */
.main-menu .sub-menu {
display: none;
position: absolute;
top: calc(100% + 4px);
left: 0;
min-width: 220px;
background: #fff;
border: 1px solid var(--outline-variant);
border-radius: var(--radius-xl);
box-shadow: 0 8px 24px rgba(7,30,39,0.12);
padding: 8px;
z-index: 200;
}
.main-menu li:hover > .sub-menu { display: block; }
.main-menu .sub-menu a { font-size: 0.8rem; padding: 10px 16px; border-radius: var(--radius-lg); }
/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-search-form { display: flex; align-items: center; }
.header-search-form input[type="search"] {
background: var(--surface-container-high);
border: none;
border-radius: 99px;
padding: 8px 18px;
font-size: 0.8rem;
font-family: var(--font-body);
color: var(--on-surface);
width: 180px;
outline: none;
transition: width 0.3s, box-shadow 0.2s;
}
.header-search-form input:focus { width: 220px; box-shadow: 0 0 0 2px rgba(185,0,21,0.15); }
.header-search-form button { display: none; }
.menu-toggle {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 8px;
color: var(--on-surface);
}
/* ===== LAYOUT ===== */
.site-content { padding: 40px 0; }
.content-area { width: 70%; }
.primary-sidebar { width: 28%; }
.has-sidebar .site-content .container { display: flex; gap: 40px; align-items: flex-start; }
/* ===== HERO SECTION ===== */
.hero-section {
display: grid;
grid-template-columns: 1fr 340px;
gap: 40px;
margin-bottom: 56px;
align-items: start;
}
.hero-featured {
position: relative;
overflow: hidden;
border-radius: var(--radius-xl);
background: var(--surface-container-low);
aspect-ratio: 16/9;
cursor: pointer;
}
.hero-featured img {
width: 100%; height: 100%;
object-fit: cover;
transition: transform 0.7s ease;
}
.hero-featured:hover img { transform: scale(1.04); }
.hero-overlay {
position: absolute; inset: 0;
background: linear-gradient(to top, rgba(7,30,39,0.92) 0%, rgba(7,30,39,0.2) 55%, transparent 100%);
}
.hero-content {
position: absolute; bottom: 0; left: 0; right: 0;
padding: 32px;
}
.category-badge {
display: inline-block;
background: var(--primary);
color: white;
font-family: var(--font-label);
font-size: 0.6rem;
font-weight: 700;
letter-spacing: 0.15em;
text-transform: uppercase;
padding: 4px 12px;
border-radius: 99px;
margin-bottom: 14px;
}
.hero-title {
font-size: clamp(1.75rem, 3.5vw, 2.75rem);
font-weight: 900;
color: #ffffff;
margin-bottom: 12px;
line-height: 1.15;
}
.hero-excerpt { color: rgba(255,255,255,0.85); font-size: 0.95rem; margin-bottom: 14px; line-height: 1.6; }
.hero-meta { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.7); font-family: var(--font-label); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-meta .separator { width: 3px; height: 3px; background: rgba(255,255,255,0.4); border-radius: 50%; }
/* Trending Sidebar */
.trending-panel {
border-left: 4px solid var(--primary);
padding-left: 24px;
}
.trending-panel h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 24px; }
.trending-list { display: flex; flex-direction: column; gap: 28px; }
.trending-item {}
.trending-item .cat-badge { font-family: var(--font-label); color: var(--primary); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.trending-item h3 { font-size: 1.05rem; font-weight: 700; margin-top: 4px; line-height: 1.35; }
.trending-item h3 a { color: var(--on-surface); }
.trending-item h3 a:hover { color: var(--primary); }
.trending-item p { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }
/* ===== SECTION HEADERS ===== */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.section-label { font-family: var(--font-label); color: var(--primary); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; display: block; margin-bottom: 6px; }
.section-title { font-size: 1.6rem; font-weight: 700; }
.view-all-link { font-family: var(--font-label); font-size: 0.8rem; font-weight: 600; color: var(--primary); }
.view-all-link:hover { text-decoration: underline; }
/* ===== LATEST STORIES GRID ===== */
.latest-stories { margin-bottom: 56px; }
.stories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
/* Featured card - 2 col */
.stories-grid .card-featured {
grid-column: span 2;
display: flex;
flex-direction: row;
background: var(--surface-container-low);
border-radius: var(--radius-xl);
overflow: hidden;
}
.stories-grid .card-featured .card-image { width: 50%; flex-shrink: 0; }
.stories-grid .card-featured .card-image img { width: 100%; height: 100%; object-fit: cover; }
.stories-grid .card-featured .card-body { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; }
/* Regular cards */
.post-card {
background: var(--surface-container-lowest);
border-radius: var(--radius-xl);
overflow: hidden;
box-shadow: 0 1px 4px rgba(7,30,39,0.06);
transition: box-shadow 0.25s, transform 0.25s;
display: flex;
flex-direction: column;
}
.post-card:hover { box-shadow: 0 6px 24px rgba(7,30,39,0.12); transform: translateY(-2px); }
.post-card .card-image { position: relative; overflow: hidden; }
.post-card .card-image img { height: 200px; width: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .card-image img { transform: scale(1.04); }
.post-card .card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
/* Card body common */
.card-category { font-family: var(--font-label); font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary); margin-bottom: 8px; }
.card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.card-title a { color: var(--on-surface); }
.card-title a:hover { color: var(--primary); }
.card-excerpt { font-size: 0.82rem; color: var(--text-muted); margin-top: 8px; line-height: 1.55; flex: 1; }
.card-meta { font-family: var(--font-label); font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.card-meta .dot { width: 2px; height: 2px; background: currentColor; border-radius: 50%; }
/* ===== CATEGORY SECTION (2-col) ===== */
.category-section { margin-bottom: 56px; }
.two-col-categories { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.cat-column h2 { font-size: 1.3rem; font-weight: 700; border-bottom: 2px solid var(--outline-variant); padding-bottom: 14px; margin-bottom: 28px; }
.cat-article-list { display: flex; flex-direction: column; gap: 28px; }
.cat-article-item { display: flex; gap: 16px; align-items: flex-start; }
.cat-article-item .thumb { width: 100px; height: 72px; flex-shrink: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-container); }
.cat-article-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-article-item .info {}
.cat-article-item .info h3 { font-size: 0.95rem; font-weight: 700; line-height: 1.35; }
.cat-article-item .info h3 a { color: var(--on-surface); }
.cat-article-item .info h3 a:hover { color: var(--primary); }
.cat-article-item .info p { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }
.cat-article-item .info .article-meta { font-family: var(--font-label); font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 8px; }
/* ===== NEWSLETTER CTA ===== */
.newsletter-section {
background: var(--surface-container);
border-radius: var(--radius-2xl);
padding: 56px 64px;
margin-bottom: 56px;
position: relative;
overflow: hidden;
}
.newsletter-section::after {
content: '';
position: absolute;
right: 0; top: 0;
width: 33%;
height: 100%;
background: rgba(185,0,21,0.05);
transform: skewX(-12deg) translateX(50%);
pointer-events: none;
}
.newsletter-badge { display: inline-block; background: white; color: var(--primary); font-family: var(--font-label); font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; padding: 4px 14px; border-radius: 99px; margin-bottom: 20px; }
.newsletter-title { font-size: 2.25rem; font-weight: 700; margin-bottom: 12px; max-width: 540px; }
.newsletter-desc { color: #374151; font-size: 1rem; margin-bottom: 28px; max-width: 520px; line-height: 1.65; }
.newsletter-form { display: flex; gap: 12px; max-width: 520px; }
.newsletter-form input[type="email"] {
flex: 1;
background: white;
border: none;
border-radius: var(--radius-xl);
padding: 14px 22px;
font-size: 0.9rem;
font-family: var(--font-body);
color: var(--on-surface);
outline: none;
box-shadow: 0 0 0 2px transparent;
transition: box-shadow 0.2s;
}
.newsletter-form input:focus { box-shadow: 0 0 0 2px rgba(185,0,21,0.2); }
.newsletter-form button {
background: var(--primary);
color: white;
border: none;
border-radius: var(--radius-xl);
padding: 14px 28px;
font-family: var(--font-label);
font-size: 0.875rem;
font-weight: 700;
cursor: pointer;
white-space: nowrap;
transition: background 0.2s, transform 0.15s;
}
.newsletter-form button:hover { background: var(--primary-dark); transform: translateY(-1px); }
.newsletter-fine-print { font-family: var(--font-label); font-size: 0.65rem; color: var(--text-muted); margin-top: 10px; }
/* ===== SIDEBAR ===== */
.primary-sidebar { flex-shrink: 0; }
.widget { background: var(--surface-container-lowest); border-radius: var(--radius-xl); padding: 24px; margin-bottom: 28px; border: 1px solid var(--outline-variant); }
.widget-title { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-label); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); color: var(--on-surface); }
.widget ul { display: flex; flex-direction: column; gap: 14px; }
.widget ul li a { font-size: 0.875rem; line-height: 1.4; color: var(--on-surface); }
.widget ul li a:hover { color: var(--primary); }
.widget_categories ul li { display: flex; justify-content: space-between; align-items: center; }
/* ===== SINGLE ARTICLE ===== */
.single-article-wrapper { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.article-breadcrumbs { display: flex; align-items: center; gap: 6px; font-family: var(--font-label); font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 32px; }
.article-breadcrumbs a:hover { color: var(--primary); }
.article-breadcrumbs .sep { opacity: 0.5; }
.article-header { margin-bottom: 40px; }
.article-header .category-badge { margin-bottom: 16px; }
.article-header h1 {
font-size: clamp(2rem, 4vw, 3.25rem);
font-weight: 900;
line-height: 1.1;
margin-bottom: 20px;
letter-spacing: -0.02em;
}
.article-deck { font-size: 1.2rem; color: var(--on-surface-variant); font-weight: 300; line-height: 1.6; margin-bottom: 28px; font-family: var(--font-body); }
.article-byline {
display: flex;
align-items: center;
justify-content: space-between;
border-top: 1px solid var(--outline-variant);
border-bottom: 1px solid var(--outline-variant);
padding: 18px 0;
}
.author-info { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-weight: 700; font-size: 0.875rem; }
.author-role { font-family: var(--font-label); font-size: 0.65rem; color: var(--text-muted); margin-top: 2px; }
.article-share-btns { display: flex; gap: 8px; }
.share-btn { background: var(--surface-container-low); border: none; border-radius: 99px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, color 0.2s; }
.share-btn:hover { background: var(--primary); color: white; }
.article-featured-image { margin-bottom: 40px; position: relative; }
.article-featured-image img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: 0 12px 40px rgba(7,30,39,0.15); }
.article-featured-image figcaption { font-family: var(--font-label); font-size: 0.7rem; color: var(--text-muted); font-style: italic; text-align: right; margin-top: 10px; }
.article-body { font-size: 1.1rem; line-height: 1.85; color: rgba(7,30,39,0.9); }
.article-body > * + * { margin-top: 28px; }
.article-body h2 { font-size: 1.75rem; font-weight: 700; margin-top: 48px; margin-bottom: 16px; }
.article-body h3 { font-size: 1.35rem; font-weight: 700; margin-top: 36px; margin-bottom: 12px; }
.article-body blockquote { border-left: 4px solid var(--primary); padding: 8px 32px; font-family: var(--font-headline); font-size: 1.4rem; font-style: italic; color: var(--on-surface); margin: 40px 0; }
.article-body p:first-of-type::first-letter {
font-family: var(--font-headline);
font-size: 4.5rem;
font-weight: 900;
color: var(--primary);
float: left;
line-height: 0.75;
margin-right: 8px;
margin-top: 8px;
}
.article-body ul { padding-left: 20px; list-style: disc; }
.article-body ol { padding-left: 20px; list-style: decimal; }
.article-body li { margin-top: 8px; }
.article-body a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(185,0,21,0.3); }
.article-body a:hover { text-decoration-color: var(--primary); }
.article-body img { border-radius: var(--radius-xl); }
/* Tags */
.article-tags { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--outline-variant); }
.article-tags h4 { font-family: var(--font-label); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
background: var(--surface-container);
color: var(--on-surface);
font-family: var(--font-label);
font-size: 0.72rem;
font-weight: 600;
padding: 6px 14px;
border-radius: 99px;
border: 1px solid var(--outline-variant);
transition: all 0.2s;
}
.tag-pill:hover { background: var(--primary); color: white; border-color: var(--primary); }
/* Article Sidebar */
.article-sidebar {}
.related-articles-widget {}
.related-articles-widget h4 { font-family: var(--font-label); font-size: 0.65rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.related-articles-widget h4::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }
.related-article-item { margin-bottom: 24px; }
.related-article-item .thumb { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 10px; }
.related-article-item .thumb img { width: 100%; height: 160px; object-fit: cover; transition: transform 0.5s; }
.related-article-item:hover .thumb img { transform: scale(1.04); }
.related-article-item h5 { font-family: var(--font-headline); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.related-article-item h5 a { color: var(--on-surface); }
.related-article-item h5 a:hover { color: var(--primary); }
.related-article-item .read-time { font-family: var(--font-label); font-size: 0.65rem; color: var(--text-muted); margin-top: 4px; }
/* Email signup in sidebar */
.sidebar-email-widget { background: var(--surface-container); border-radius: var(--radius-xl); padding: 28px; border: 1px solid var(--outline-variant); position: sticky; top: 90px; margin-top: 28px; }
.sidebar-email-widget h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.sidebar-email-widget p { font-size: 0.8rem; color: var(--on-secondary-container); margin-bottom: 18px; line-height: 1.6; }
.sidebar-email-widget input[type="email"] { width: 100%; background: rgba(255,255,255,0.5); border: 1px solid var(--outline-variant); border-radius: var(--radius-lg); padding: 10px 14px; font-size: 0.85rem; font-family: var(--font-body); margin-bottom: 10px; outline: none; }
.sidebar-email-widget input:focus { border-color: var(--primary); }
.sidebar-email-widget button { width: 100%; background: var(--on-surface); color: white; border: none; border-radius: var(--radius-lg); padding: 12px; font-family: var(--font-label); font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.sidebar-email-widget button:hover { background: var(--primary); }
/* ===== CATEGORY / ARCHIVE PAGE ===== */
.archive-header { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 3px solid var(--primary); }
.archive-header .archive-label { font-family: var(--font-label); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--primary); display: block; margin-bottom: 8px; }
.archive-title { font-size: 2.5rem; font-weight: 900; }
.archive-desc { font-size: 0.95rem; color: var(--text-muted); margin-top: 8px; }
.archive-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.archive-posts-grid .post-card .card-image img { height: 220px; }
/* ===== SEARCH RESULTS ===== */
.search-header { margin-bottom: 40px; }
.search-header h1 { font-size: 1.75rem; }
.search-header .search-count { font-size: 0.875rem; color: var(--text-muted); margin-top: 6px; font-family: var(--font-label); }
.search-results-list { display: flex; flex-direction: column; gap: 24px; }
.search-result-item { display: flex; gap: 20px; background: var(--surface-container-lowest); padding: 20px; border-radius: var(--radius-xl); border: 1px solid var(--outline-variant); transition: box-shadow 0.2s; }
.search-result-item:hover { box-shadow: 0 4px 16px rgba(7,30,39,0.1); }
.search-result-item .thumb { width: 140px; height: 100px; flex-shrink: 0; border-radius: var(--radius-lg); overflow: hidden; }
.search-result-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-result-item .info {}
.search-result-item .info h2 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.search-result-item .info h2 a { color: var(--on-surface); }
.search-result-item .info h2 a:hover { color: var(--primary); }
.search-result-item .info .excerpt { font-size: 0.82rem; color: var(--text-muted); margin-top: 8px; line-height: 1.55; }
/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: var(--radius-lg);
font-family: var(--font-label);
font-size: 0.875rem;
font-weight: 600;
color: var(--on-surface);
background: var(--surface-container);
border: 1px solid var(--outline-variant);
transition: all 0.2s;
}
.pagination a:hover, .pagination .current {
background: var(--primary);
color: white;
border-color: var(--primary);
}
/* ===== FOOTER ===== */
.site-footer { background: var(--inverse-surface); color: rgba(255,255,255,0.7); padding: 56px 0 0; margin-top: 56px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand {}
.footer-logo { font-family: var(--font-headline); font-size: 1.5rem; font-weight: 900; font-style: italic; color: white; margin-bottom: 12px; }
.footer-tagline { font-size: 0.82rem; line-height: 1.65; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.social-icon { width: 36px; height: 36px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.social-icon:hover { background: var(--primary); }
.social-icon svg { width: 16px; height: 16px; fill: white; }
.footer-col h4 { font-family: var(--font-label); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: white; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--primary); }
.footer-bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.72rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.72rem; transition: color 0.2s; }
.footer-bottom-links a:hover { color: white; }
/* ===== COMMENTS ===== */
.comments-area { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--outline-variant); }
.comments-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 32px; }
.comment-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 48px; }
.comment-item { display: flex; gap: 16px; }
.comment-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-container-highest); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; color: var(--primary); }
.comment-bubble { flex: 1; background: var(--surface-container-low); border-radius: var(--radius-2xl); padding: 20px; }
.comment-meta { display: flex; justify-content: space-between; margin-bottom: 10px; }
.comment-author { font-weight: 700; font-size: 0.875rem; }
.comment-time { font-family: var(--font-label); font-size: 0.65rem; opacity: 0.5; }
.comment-text { font-size: 0.875rem; line-height: 1.65; color: var(--on-surface-variant); }
.comment-reply-btn { color: var(--primary); font-family: var(--font-label); font-size: 0.7rem; font-weight: 700; background: none; border: none; cursor: pointer; margin-top: 12px; }
.comment-reply-btn:hover { text-decoration: underline; }
/* Comment Form */
.comment-respond { margin-top: 32px; }
.comment-respond h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 20px; }
.comment-form label { display: block; font-family: var(--font-label); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
width: 100%;
background: var(--surface-container-lowest);
border: 1px solid var(--outline-variant);
border-radius: var(--radius-xl);
padding: 14px 18px;
font-size: 0.9rem;
font-family: var(--font-body);
color: var(--on-surface);
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
margin-bottom: 16px;
}
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(185,0,21,0.1); }
.comment-form .submit {
background: var(--primary);
color: white;
border: none;
padding: 14px 32px;
border-radius: var(--radius-xl);
font-family: var(--font-label);
font-size: 0.875rem;
font-weight: 700;
cursor: pointer;
transition: background 0.2s, transform 0.15s;
}
.comment-form .submit:hover { background: var(--primary-dark); transform: translateY(-1px); }
/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
.hero-section { grid-template-columns: 1fr; }
.trending-panel { border-left: none; border-top: 4px solid var(--primary); padding-left: 0; padding-top: 24px; }
.trending-list { flex-direction: row; flex-wrap: wrap; gap: 20px; }
.trending-item { flex: 1; min-width: 200px; }
.stories-grid { grid-template-columns: repeat(2, 1fr); }
.stories-grid .card-featured { grid-column: span 2; }
.two-col-categories { grid-template-columns: 1fr; gap: 40px; }
.single-article-wrapper { grid-template-columns: 1fr; }
.archive-posts-grid { grid-template-columns: repeat(2, 1fr); }
.has-sidebar .site-content .container { flex-direction: column; }
.content-area, .primary-sidebar { width: 100%; }
.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
:root { --nav-height: 60px; }
.main-menu { display: none; }
.menu-toggle { display: flex; align-items: center; gap: 6px; font-family: var(--font-label); font-weight: 600; }
.main-menu.is-open {
display: flex;
flex-direction: column;
position: fixed;
top: var(--nav-height);
left: 0;
right: 0;
bottom: 0;
background: white;
z-index: 200;
overflow-y: auto;
padding: 24px;
gap: 4px;
animation: slideDown 0.25s ease;
}
.main-menu.is-open .sub-menu { position: static; box-shadow: none; border: none; padding-left: 16px; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.hero-title { font-size: 1.75rem; }
.hero-content { padding: 20px; }
.stories-grid { grid-template-columns: 1fr; }
.stories-grid .card-featured { grid-column: span 1; flex-direction: column; }
.stories-grid .card-featured .card-image { width: 100%; }
.newsletter-section { padding: 32px 24px; }
.newsletter-form { flex-direction: column; }
.article-body { font-size: 1rem; }
.archive-posts-grid { grid-template-columns: 1fr; }
.footer-grid { grid-template-columns: 1fr; }
.footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
.site-top-bar .top-bar-links { display: none; }
}
/* ===== WP DEFAULT CONTENT STYLES ===== */
.wp-caption { max-width: 100%; background: var(--surface-container); border-radius: var(--radius-lg); padding: 8px; }
.wp-caption img { display: block; width: 100%; }
.wp-caption-text { font-family: var(--font-label); font-size: 0.72rem; color: var(--text-muted); font-style: italic; padding: 6px 8px 2px; text-align: center; }
.alignleft { float: left; margin-right: 24px; margin-bottom: 16px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 16px; }
.aligncenter { margin: 16px auto; display: block; }
.wp-block-pullquote blockquote { border: none; padding: 0; font-size: 1.5rem; }