/* ============================================================
   MangaloreDiary – Public Stylesheet
   ============================================================ */
:root {
  --color-primary:  #c0392b;
  --color-accent:   #e74c3c;
  --color-navy:     #1a1a2e;
  --color-dark:     #2c2c2c;
  --color-mid:      #6c757d;
  --color-border:   #e9ecef;
  --font-headline:  'Georgia', 'Times New Roman', serif;
  --font-body:      'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius:         8px;
  --shadow-sm:      0 2px 8px rgba(0,0,0,.08);
  --shadow-md:      0 4px 20px rgba(0,0,0,.12);
  --transition:     .18s ease;
}
* { box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--color-dark); background: #f5f3ee; margin: 0; }

/* Topbar */
.site-topbar { background: var(--color-navy); color: rgba(255,255,255,.75); font-size:.78rem; padding:.35rem 0; }
.topbar-date { display:flex;align-items:center; }
.topbar-rss { color:rgba(255,255,255,.75);text-decoration:none; }
.topbar-rss:hover { color:#fff; }

/* Header */
.site-header { background: var(--color-primary); padding:.5rem 0; position:sticky;top:0;z-index:1030; }
.site-header .navbar-brand { text-decoration:none; }
.brand-name { display:block;font-family:var(--font-headline);font-size:1.4rem;font-weight:900;color:#fff;line-height:1.1; }
.brand-tagline { display:block;font-size:.68rem;color:rgba(255,255,255,.75);text-transform:uppercase;letter-spacing:.08em; }
.site-header .nav-link { color:rgba(255,255,255,.88)!important;font-weight:600;font-size:.875rem;padding:.4rem .7rem!important; }
.site-header .nav-link:hover,.site-header .nav-link.active { color:#fff!important; }
.navbar-logo { max-height:44px;max-width:180px;width:auto;object-fit:contain;display:block; }
.navbar-toggler { border-color:rgba(255,255,255,.3); }
.navbar-toggler-icon { filter:invert(1); }
.search-form { gap:.25rem; }
.search-input { width:160px;border-radius:20px!important;font-size:.82rem;padding:.35rem .85rem;border:none;background:rgba(255,255,255,.15);color:#fff; }
.search-input::placeholder { color:rgba(255,255,255,.6); }
.search-input:focus { background:rgba(255,255,255,.25);outline:none;box-shadow:none; }
.search-btn { background:rgba(255,255,255,.2);border:none;color:#fff;border-radius:50%!important;width:34px;height:34px;padding:0;display:flex;align-items:center;justify-content:center; }
.search-btn:hover { background:rgba(255,255,255,.35);color:#fff; }

/* User nav */
.user-nav-avatar { width:28px;height:28px;background:rgba(255,255,255,.25);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;color:#fff;flex-shrink:0; }
.site-header .user-nav-items .nav-link { color:rgba(255,255,255,.88)!important; }
.notif-bell { position:relative; }
.notif-badge { position:absolute;top:-6px;right:-6px;background:var(--color-primary);color:#fff;font-size:.6rem;font-weight:700;width:17px;height:17px;border-radius:50%;display:flex;align-items:center;justify-content:center; }
.notif-dropdown { min-width:300px;max-height:340px;overflow-y:auto; }
.notif-item { padding:.65rem 1rem;border-bottom:1px solid #f0f0f0; }
.notif-item.unread { background:#fdf5f4; }
.notif-item-title { font-size:.85rem;font-weight:600;color:var(--color-navy); }
.notif-item-time { font-size:.7rem;color:var(--color-mid); }

/* Cards */
.card-post { background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden;transition:box-shadow var(--transition),transform var(--transition); }
.card-post:hover { box-shadow:var(--shadow-md);transform:translateY(-2px); }
.card-img-fixed { width:100%;height:180px;object-fit:cover;display:block; }
.card-body { padding:1rem; }
.card-title { font-family:var(--font-headline);font-size:.95rem;font-weight:700;line-height:1.3;margin-bottom:.4rem; }
.card-title a { color:var(--color-navy);text-decoration:none; }
.card-title a:hover { color:var(--color-primary); }

/* Hero */
.hero-section { background:#f5f3ee;padding:1.5rem 0; }
.hero-main { border-radius:var(--radius);overflow:hidden; }
.hero-img { width:100%;height:388px;object-fit:cover;display:block; }
.hero-body { padding:1.25rem; }
.hero-title { font-family:var(--font-headline);font-size:1.5rem;font-weight:900;line-height:1.25;margin:.5rem 0; }
.hero-title a { color:var(--color-navy);text-decoration:none; }
.hero-title a:hover { color:var(--color-primary); }
.hero-excerpt { font-size:.9rem;color:var(--color-mid);margin-bottom:.75rem; }

/* hc-grid (4 compact right cards) */
.hc-grid { display:flex;flex-direction:column;height:100%;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden; }
.hc-card { display:flex;flex-direction:row;flex:1;min-height:0;text-decoration:none;color:inherit;border-bottom:1px solid var(--color-border);overflow:hidden;transition:background var(--transition); }
.hc-card:last-child { border-bottom:none; }
.hc-card:hover { background:#fdf5f4; }
.hc-thumb { width:100px;flex-shrink:0;overflow:hidden;align-self:stretch; }
.hc-thumb img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .22s ease; }
.hc-card:hover .hc-thumb img { transform:scale(1.05); }
.hc-body { flex:1;padding:.65rem .75rem;display:flex;flex-direction:column;justify-content:center;gap:.18rem;min-width:0;overflow:hidden; }
.hc-cat { font-size:.62rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--color-primary);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.hc-title { font-family:var(--font-headline);font-size:.84rem;font-weight:700;line-height:1.3;color:var(--color-navy);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.hc-card:hover .hc-title { color:var(--color-primary); }
.hc-summary { font-size:.73rem;color:var(--color-mid);line-height:1.45;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.hc-time { font-size:.67rem;color:var(--color-mid);display:block;margin-top:auto;padding-top:.15rem; }
.hc-ad { flex:1;display:flex;align-items:center;justify-content:center;background:#f8f6f0;border-bottom:1px solid var(--color-border);padding:.4rem; }

/* Badges */
.cat-badge { display:inline-block;background:var(--color-primary);color:#fff;font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:.2rem .6rem;border-radius:3px;text-decoration:none;margin-bottom:.4rem; }
.cat-badge-sm { font-size:.62rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-primary);text-decoration:none;display:inline-block;margin-bottom:.2rem; }
.tag-badge { display:inline-block;background:#f0f0f0;color:var(--color-dark);border-radius:20px;padding:.2rem .65rem;font-size:.75rem;margin:.15rem;text-decoration:none;transition:background var(--transition); }
.tag-badge:hover { background:var(--color-primary);color:#fff; }

/* Post meta */
.post-meta { display:flex;align-items:center;flex-wrap:wrap;gap:.5rem .75rem;font-size:.78rem;color:var(--color-mid); }
.post-meta i { color:var(--color-primary);margin-right:.2rem; }

/* Section */
.section-title { font-family:var(--font-headline);font-size:1.2rem;font-weight:900;color:var(--color-navy);padding-bottom:.5rem;border-bottom:2px solid var(--color-primary);display:inline-block;margin:0; }
.section-header { margin-bottom:1rem; }
.section-more { font-size:.82rem;font-weight:700;color:var(--color-primary);text-decoration:none; }

/* List post */
.list-post { background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:.75rem;transition:box-shadow var(--transition); }
.list-post:hover { box-shadow:var(--shadow-md); }
.list-thumb { width:100%;height:90px;object-fit:cover;border-radius:5px;display:block; }
.list-title { font-family:var(--font-headline);font-size:.95rem;font-weight:700;line-height:1.3;margin:.3rem 0; }
.list-title a { color:var(--color-navy);text-decoration:none; }
.list-title a:hover { color:var(--color-primary); }
.list-excerpt { font-size:.8rem;color:var(--color-mid);margin:0; }

/* Article */
.single-article { background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:2rem; }
.article-title { font-family:var(--font-headline);font-size:2rem;font-weight:900;line-height:1.2;color:var(--color-navy);margin-bottom:.75rem; }
.article-meta { display:flex;align-items:center;flex-wrap:wrap;gap:.5rem .75rem;font-size:.82rem;color:var(--color-mid);padding-bottom:.75rem;border-bottom:1px solid var(--color-border);margin-bottom:1.25rem; }
.article-featured-img img { width:100%;max-height:480px;object-fit:cover;border-radius:var(--radius); }
.article-body { font-size:1.05rem;line-height:1.85;color:var(--color-dark); }
.article-body h2,.article-body h3 { font-family:var(--font-headline);color:var(--color-navy);margin:1.5rem 0 .75rem; }
.article-body p { margin-bottom:1.2rem; }
.article-body blockquote { border-left:4px solid var(--color-primary);background:#fff8f0;padding:1rem 1.25rem;font-style:italic;margin:1.5rem 0;border-radius:0 var(--radius) var(--radius) 0; }
.article-body img { max-width:100%;border-radius:var(--radius);margin:1rem 0; }

/* Share buttons */
.share-btn { display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;font-size:1rem;text-decoration:none;transition:opacity var(--transition); }
.share-btn:hover { opacity:.8; }
.share-fb { background:#1877f2;color:#fff; }
.share-tw { background:#000;color:#fff; }
.share-wa { background:#25d366;color:#fff; }

/* Comments */
.comment-item { display:flex;gap:1rem;margin-bottom:1.25rem;padding-bottom:1.25rem;border-bottom:1px solid var(--color-border); }
.comment-avatar { width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--color-primary),var(--color-accent));display:flex;align-items:center;justify-content:center;font-weight:900;color:#fff;flex-shrink:0;font-size:1rem; }
.comment-header { display:flex;justify-content:space-between;margin-bottom:.35rem; }
.comment-date { font-size:.72rem;color:var(--color-mid); }
.comment-text { font-size:.9rem;margin:0; }

/* Sidebar */
.sidebar-widget { background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:1.25rem;margin-bottom:1.25rem; }
.widget-title { font-family:var(--font-headline);font-size:1rem;font-weight:800;color:var(--color-navy);border-bottom:2px solid var(--color-primary);padding-bottom:.5rem;margin-bottom:1rem; }
.trending-item { display:flex;gap:.65rem;align-items:flex-start;padding:.5rem 0;border-bottom:1px solid var(--color-border);text-decoration:none;color:inherit;transition:padding-left var(--transition); }
.trending-item:last-child { border-bottom:none; }
.trending-item:hover { padding-left:.3rem; }
.trending-num { font-size:1.4rem;font-weight:900;color:var(--color-border);line-height:1;flex-shrink:0;width:24px; }
.trending-title { font-size:.83rem;font-weight:700;color:var(--color-navy);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.trending-meta { font-size:.7rem;color:var(--color-mid); }
.sidebar-cat-item { display:flex;justify-content:space-between;align-items:center;padding:.45rem 0;border-bottom:1px solid var(--color-border);text-decoration:none;color:var(--color-dark);font-size:.88rem; }
.sidebar-cat-item:last-child { border-bottom:none; }
.sidebar-cat-item:hover { color:var(--color-primary); }

/* Category page */
.cat-page-title { font-family:var(--font-headline);font-size:1.8rem;font-weight:900;color:var(--color-navy); }

/* Footer */
.site-footer { background:var(--color-navy);color:rgba(255,255,255,.75);margin-top:3rem; }
.footer-brand { font-family:var(--font-headline);font-size:1.2rem;font-weight:900;color:#fff;margin-bottom:.5rem; }
.footer-heading { font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.5);margin-bottom:.75rem; }
.footer-links { list-style:none;padding:0;margin:0; }
.footer-links li { margin-bottom:.35rem; }
.footer-links a { color:rgba(255,255,255,.65);text-decoration:none;font-size:.875rem;transition:color var(--transition); }
.footer-links a:hover { color:#fff; }
.footer-social { display:flex;gap:.5rem;margin-top:.75rem; }
.footer-social a { width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.75);text-decoration:none;transition:background var(--transition); }
.footer-social a:hover { background:var(--color-primary);color:#fff; }
.footer-newsletter .form-control { background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:#fff;border-radius:6px 0 0 6px; }
.footer-newsletter .form-control::placeholder { color:rgba(255,255,255,.5); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1);padding:1rem 0;text-align:center;font-size:.78rem;color:rgba(255,255,255,.45); }
.footer-bottom a { color:rgba(255,255,255,.55);text-decoration:none; }

/* Pagination */
.pagination .page-link { color:var(--color-primary);border-color:var(--color-border); }
.pagination .page-item.active .page-link { background:var(--color-primary);border-color:var(--color-primary);color:#fff; }

/* User contribution */
.user-contributed-badge { display:inline-flex;align-items:center;gap:.3rem;background:linear-gradient(135deg,#7e22ce,#9b59b6);color:#fff;font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:.18rem .6rem;border-radius:20px;vertical-align:middle; }
.user-content-disclaimer { display:flex;gap:.75rem;align-items:flex-start;background:#fffbeb;border:1px solid #fde68a;border-left:4px solid #f59e0b;border-radius:var(--radius);padding:1rem 1.1rem;margin:1.75rem 0;font-size:.875rem;color:#78350f; }
.author-role-label { font-size:.82rem;color:var(--color-mid);font-style:italic;font-weight:400; }
.badge-role { display:inline-flex;align-items:center;gap:.3rem;font-size:.75rem;font-weight:700;padding:.25rem .7rem;border-radius:20px;letter-spacing:.04em; }
.badge-role.journalist { background:#dbeafe;color:#1d4ed8; }
.badge-role.user { background:#f3e8ff;color:#7e22ce; }

/* User dashboard */
.user-welcome-bar { background:linear-gradient(135deg,var(--color-navy) 0%,#2d2d44 100%);color:#fff;border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow-md); }
.user-welcome-bar h1 { color:#fff; }
.user-avatar-lg { width:52px;height:52px;background:linear-gradient(135deg,var(--color-primary),var(--color-accent));border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.4rem;font-weight:900;color:#fff;flex-shrink:0; }
.user-stat-card { background:#fff;border:1.5px solid var(--color-border);border-radius:var(--radius);padding:1rem;text-align:center;transition:border-color var(--transition),box-shadow var(--transition);display:flex;flex-direction:column;gap:.3rem; }
.user-stat-card:hover,.user-stat-card.active { border-color:var(--color-primary);box-shadow:var(--shadow-sm); }
.user-stat-card .stat-num { font-size:1.6rem;font-weight:700;color:var(--color-navy); }
.user-stat-card .stat-label { font-size:.72rem;color:var(--color-mid);text-transform:uppercase;letter-spacing:.05em; }
.admin-card-public { background:#fff;border:1px solid var(--color-border);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden; }
.acp-header { padding:.75rem 1rem;border-bottom:1px solid var(--color-border);background:#fafbfc;font-weight:600;font-size:.875rem; }
.user-table { font-size:.875rem;margin:0; }
.user-table thead th { background:#fafbfc;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--color-mid);padding:.65rem 1rem;border-bottom:2px solid var(--color-border); }
.user-table tbody td { padding:.7rem 1rem;vertical-align:middle; }
.btn-xs { padding:.2rem .5rem;font-size:.75rem;border-radius:4px; }

/* Author profile */
.author-profile-card { background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:2rem;margin-bottom:1.5rem; }
.author-avatar-xl { width:90px;height:90px;background:linear-gradient(135deg,var(--color-primary),var(--color-accent));border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2.2rem;font-weight:900;color:#fff;flex-shrink:0; }
.author-name { font-family:var(--font-headline);font-size:1.6rem;font-weight:900; }
.author-location { font-size:.875rem;color:var(--color-mid); }
.author-bio { font-size:.95rem;line-height:1.7; }
.author-stats { display:flex;gap:2rem; }
.author-stat-item .num { display:block;font-size:1.5rem;font-weight:700;color:var(--color-navy); }
.author-stat-item .label { font-size:.78rem;color:var(--color-mid);text-transform:uppercase;letter-spacing:.05em; }

/* Events */
.events-page-title { font-family:var(--font-headline);font-size:1.8rem;font-weight:900;color:var(--color-navy);margin:0; }
.event-cat-pills { gap:.4rem; }
.event-cat-pill { display:inline-flex;align-items:center;gap:.3rem;padding:.3rem .8rem;border-radius:20px;font-size:.78rem;font-weight:600;background:#f0f0f0;color:var(--color-dark);text-decoration:none;border:1.5px solid transparent;transition:all var(--transition);white-space:nowrap; }
.event-cat-pill:hover,.event-cat-pill.active { background:var(--color-primary);color:#fff;border-color:var(--color-primary); }
.event-category-tag { display:inline-flex;align-items:center;gap:.25rem;font-size:.7rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--color-primary);background:#fdf0ee;padding:.15rem .55rem;border-radius:4px; }
.event-featured-card { background:#fff;border-radius:12px;box-shadow:var(--shadow-md);overflow:hidden;transition:box-shadow var(--transition),transform var(--transition);margin-bottom:2rem; }
.event-featured-card:hover { box-shadow:0 12px 40px rgba(0,0,0,.16);transform:translateY(-3px); }
.event-featured-img { position:relative;overflow:hidden; }
.event-featured-card--lead .event-featured-img { height:240px; }
.event-featured-card:not(.event-featured-card--lead) .event-featured-img { height:160px; }
.event-featured-img img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s; }
.event-featured-card:hover .event-featured-img img { transform:scale(1.04); }
.event-status-badge { position:absolute;top:.6rem;left:.6rem;font-size:.68rem;font-weight:700; }
.event-free-badge { position:absolute;top:.6rem;right:.6rem;background:#27ae60;color:#fff;font-size:.65rem;font-weight:800;letter-spacing:.08em;padding:.15rem .5rem;border-radius:3px; }
.event-featured-body { padding:1rem; }
.event-meta-top { display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-bottom:.5rem; }
.event-date-pill { display:inline-flex;align-items:center;gap:.25rem;font-size:.72rem;color:var(--color-mid);font-weight:600; }
.event-featured-title { font-family:var(--font-headline);font-size:1.05rem;font-weight:700;line-height:1.3;margin-bottom:.4rem; }
.event-featured-title a { color:var(--color-navy);text-decoration:none; }
.event-featured-title a:hover { color:var(--color-primary); }
.event-featured-desc { font-size:.83rem;color:var(--color-mid);margin-bottom:.6rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.event-meta-bottom { display:flex;flex-wrap:wrap;gap:.5rem .75rem;font-size:.75rem;color:var(--color-mid); }
.event-card { background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow var(--transition),transform var(--transition); }
.event-card:hover { box-shadow:var(--shadow-md);transform:translateY(-3px); }
.event-card-img-link { display:block;position:relative;height:160px;overflow:hidden; }
.event-card-img-link img { width:100%;height:100%;object-fit:cover;transition:transform .3s; }
.event-card:hover .event-card-img-link img { transform:scale(1.05); }
.event-card-status { position:absolute;top:.5rem;right:.5rem;font-size:.65rem; }
.event-card-body { display:flex;gap:.6rem;padding:.75rem;flex:1; }
.event-card-date-ribbon { display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background:var(--color-primary);color:#fff;border-radius:6px;padding:.4rem .5rem;flex-shrink:0;min-width:38px;text-align:center;line-height:1; }
.event-card-day { font-size:1.1rem;font-weight:900;display:block; }
.event-card-month { font-size:.58rem;font-weight:700;text-transform:uppercase;display:block;margin-top:.1rem; }
.event-card-content { flex:1;min-width:0; }
.event-card-title { font-family:var(--font-headline);font-size:.9rem;font-weight:700;line-height:1.3;margin-bottom:.35rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.event-card-title a { color:var(--color-navy);text-decoration:none; }
.event-card-title a:hover { color:var(--color-primary); }
.event-card-meta { font-size:.72rem;color:var(--color-mid);display:flex;flex-direction:column;gap:.15rem; }
.event-card-meta i { color:var(--color-primary);margin-right:.2rem; }
.event-detail-img { width:100%;max-height:500px;object-fit:cover;border-radius:var(--radius);display:block; }
.event-info-grid { display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem; }
.event-info-card { display:flex;align-items:flex-start;gap:.65rem;background:#f8f6f0;border-radius:var(--radius);padding:.85rem 1rem; }
.event-info-icon { font-size:1.3rem;color:var(--color-primary);flex-shrink:0;margin-top:.1rem; }
.event-info-label { font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-mid);margin-bottom:.15rem; }
.event-info-value { font-weight:700;font-size:.9rem;color:var(--color-navy); }
.event-info-sub { font-size:.78rem;color:var(--color-mid);margin-top:.1rem; }
.event-cta-box { background:linear-gradient(135deg,#fdf0ee,#fff5f0);border:1.5px solid #f8d5cc;border-radius:var(--radius);padding:1.1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap; }
.event-related-card { display:block;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden;transition:box-shadow var(--transition); }
.event-related-card:hover { box-shadow:var(--shadow-md); }
.event-related-card img { width:100%;height:100px;object-fit:cover;display:block; }
.event-mini-item { display:flex;gap:.65rem;align-items:flex-start;padding:.6rem 0;border-bottom:1px solid var(--color-border);text-decoration:none;color:inherit;transition:padding-left var(--transition); }
.event-mini-item:last-child { border-bottom:none; }
.event-mini-item:hover { padding-left:.3rem; }
.event-mini-date { display:flex;flex-direction:column;align-items:center;background:var(--color-primary);color:#fff;border-radius:6px;padding:.3rem .45rem;flex-shrink:0;min-width:36px;text-align:center;line-height:1.1; }
.event-mini-date span:first-child { font-size:.95rem;font-weight:900; }
.event-mini-date span:last-child { font-size:.55rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em; }
.event-mini-info { flex:1;min-width:0; }
.event-mini-title { font-size:.83rem;font-weight:600;color:var(--color-navy);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.event-mini-meta { font-size:.7rem;color:var(--color-mid);margin-top:.1rem; }
.event-mini-item:hover .event-mini-title { color:var(--color-primary); }

/* Calendar */
.event-calendar-widget { background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden;position:sticky;top:70px; }
.ecw-header { display:flex;align-items:center;justify-content:space-between;padding:.8rem 1rem;background:var(--color-primary);color:#fff; }
.ecw-month-label { font-weight:700;font-size:.95rem; }
.ecw-nav { color:rgba(255,255,255,.85);text-decoration:none;font-size:1.1rem;padding:.1rem .4rem;border-radius:4px;transition:background var(--transition); }
.ecw-nav:hover { background:rgba(255,255,255,.2);color:#fff; }
.ecw-grid { display:grid;grid-template-columns:repeat(7,1fr);gap:0;padding:.4rem .5rem .5rem; }
.ecw-day-header { text-align:center;font-size:.65rem;font-weight:700;color:var(--color-mid);padding:.3rem 0;text-transform:uppercase;letter-spacing:.04em; }
.ecw-cell { display:flex;align-items:center;justify-content:center;aspect-ratio:1; }
.ecw-day-num { width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:.78rem;color:var(--color-dark);border-radius:50%; }
.ecw-day-btn { width:28px;height:28px;border:none;border-radius:50%;font-size:.78rem;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;transition:background var(--transition);background:transparent;color:var(--color-dark); }
.ecw-day-btn.has-event { background:#fdf0ee;color:var(--color-primary);font-weight:700; }
.ecw-day-btn.has-event:hover { background:var(--color-primary);color:#fff; }
.ecw-dot { position:absolute;bottom:1px;left:50%;transform:translateX(-50%);width:4px;height:4px;background:var(--color-primary);border-radius:50%; }
.ecw-today .ecw-day-num,.ecw-today .ecw-day-btn { background:var(--color-navy);color:#fff;font-weight:700; }
.ecw-event-popup { border-top:1px solid var(--color-border);background:#fffbf0; }
.ecw-popup-header { display:flex;justify-content:space-between;align-items:center;padding:.5rem .75rem .3rem;font-size:.8rem;font-weight:700;color:var(--color-navy); }
.ecw-popup-close { background:none;border:none;font-size:1.1rem;cursor:pointer;color:var(--color-mid); }
.ecw-popup-item { display:block;padding:.4rem .75rem;text-decoration:none;border-top:1px solid #f0e8d0;transition:background var(--transition); }
.ecw-popup-item:hover { background:#fff3cd; }
.ecw-popup-item strong { display:block;font-size:.8rem;color:var(--color-navy); }
.ecw-popup-item span { font-size:.72rem;color:var(--color-mid); }
.ecw-footer { padding:.5rem .75rem;font-size:.72rem;color:var(--color-mid);text-align:center;border-top:1px solid var(--color-border);background:#fafbfc; }

/* Stories */
.stories-hero { background:linear-gradient(135deg,var(--color-navy) 0%,#2d2d44 100%);color:#fff;padding:3.5rem 0 2.5rem;margin-bottom:2.5rem;text-align:center;position:relative;overflow:hidden; }
.stories-hero-inner { position:relative;z-index:1; }
.stories-hero-tag { display:inline-block;background:var(--color-primary);color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:.25rem .8rem;border-radius:20px;margin-bottom:.9rem; }
.stories-hero h1 { font-family:var(--font-headline);font-size:2.6rem;font-weight:900;color:#fff;margin-bottom:.6rem; }
.stories-hero p { font-size:1.05rem;color:rgba(255,255,255,.75);max-width:560px;margin:0 auto; }
.stories-filter-bar { display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;margin-bottom:2.5rem; }
.stories-filter-pill { display:inline-flex;align-items:center;gap:.3rem;padding:.4rem 1rem;border-radius:25px;font-size:.82rem;font-weight:600;text-decoration:none;background:#fff;color:var(--color-dark);border:1.5px solid var(--color-border);transition:all var(--transition); }
.stories-filter-pill:hover,.stories-filter-pill.active { background:var(--color-primary);color:#fff;border-color:var(--color-primary); }
.story-featured-card { background:#fff;border-radius:12px;box-shadow:var(--shadow-md);overflow:hidden;display:grid;grid-template-columns:1fr 1fr;min-height:380px;transition:box-shadow var(--transition),transform var(--transition);margin-bottom:2rem; }
.story-featured-card:hover { box-shadow:0 12px 40px rgba(0,0,0,.16);transform:translateY(-3px); }
.story-featured-img { position:relative;overflow:hidden; }
.story-featured-img img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s; }
.story-featured-card:hover .story-featured-img img { transform:scale(1.05); }
.story-featured-body { padding:2.5rem 2rem;display:flex;flex-direction:column;justify-content:center; }
.story-cat-tag { display:inline-block;font-size:.68rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;padding:.22rem .7rem;border-radius:4px;margin-bottom:.75rem;color:#fff; }
.story-featured-title { font-family:var(--font-headline);font-size:1.5rem;font-weight:900;line-height:1.25;color:var(--color-navy);margin-bottom:.5rem;text-decoration:none;display:block; }
.story-featured-title:hover { color:var(--color-primary); }
.story-featured-subtitle { font-size:.9rem;color:var(--color-mid);line-height:1.55;margin-bottom:1.2rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.story-person-line { display:flex;align-items:center;gap:.6rem;margin-top:auto; }
.story-person-avatar-placeholder { width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--color-primary),var(--color-accent));display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:900;color:#fff;flex-shrink:0; }
.story-person-name { font-weight:700;font-size:.88rem;color:var(--color-navy); }
.story-person-title { font-size:.75rem;color:var(--color-mid); }
.story-read-link { display:inline-flex;align-items:center;gap:.35rem;font-size:.82rem;font-weight:700;color:var(--color-primary);text-decoration:none;margin-top:1rem;transition:gap var(--transition); }
.story-read-link:hover { gap:.6rem;color:var(--color-primary); }
.story-card { background:#fff;border-radius:10px;box-shadow:var(--shadow-sm);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow var(--transition),transform var(--transition);height:100%; }
.story-card:hover { box-shadow:var(--shadow-md);transform:translateY(-4px); }
.story-card-img { position:relative;height:200px;overflow:hidden;flex-shrink:0; }
.story-card-img img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s; }
.story-card:hover .story-card-img img { transform:scale(1.06); }
.story-card-cat { position:absolute;bottom:.6rem;left:.6rem;font-size:.62rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:.18rem .55rem;border-radius:4px;color:#fff; }
.story-card-body { padding:1.1rem;flex:1;display:flex;flex-direction:column; }
.story-card-title { font-family:var(--font-headline);font-size:1rem;font-weight:800;line-height:1.3;color:var(--color-navy);text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:.4rem; }
.story-card-title:hover { color:var(--color-primary); }
.story-card-excerpt { font-size:.8rem;color:var(--color-mid);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:.75rem; }
.story-card-person { display:flex;align-items:center;gap:.5rem;margin-top:auto;padding-top:.75rem;border-top:1px solid var(--color-border); }
.story-card-avatar { width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--color-primary),var(--color-accent));display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:900;color:#fff;flex-shrink:0; }
.story-card-person-name { font-size:.78rem;font-weight:700;color:var(--color-navy); }
.story-card-person-title { font-size:.68rem;color:var(--color-mid); }
.story-card-meta { display:flex;align-items:center;gap:.5rem;font-size:.68rem;color:var(--color-mid);margin-top:.4rem; }
.story-person-box { background:linear-gradient(135deg,#f8f6f0,#fff);border:1px solid var(--color-border);border-left:4px solid var(--color-primary);border-radius:var(--radius);padding:1.5rem;margin-bottom:2rem;display:flex;align-items:flex-start;gap:1.25rem; }
.story-person-photo { width:80px;height:80px;border-radius:50%;object-fit:cover;border:3px solid var(--color-primary);flex-shrink:0; }
.story-person-photo-placeholder { width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg,var(--color-primary),var(--color-accent));display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:900;color:#fff;flex-shrink:0; }
.story-person-box-name { font-family:var(--font-headline);font-size:1.25rem;font-weight:800;color:var(--color-navy); }
.story-person-box-title { font-size:.88rem;color:var(--color-primary);font-weight:600; }
.story-person-box-loc { font-size:.8rem;color:var(--color-mid); }
.story-body { font-size:1.05rem;line-height:1.85;color:#2c2c2c; }
.story-body h2 { font-family:var(--font-headline);font-size:1.5rem;font-weight:800;color:var(--color-navy);margin:2rem 0 .75rem;padding-bottom:.4rem;border-bottom:2px solid var(--color-border); }
.story-body h3 { font-family:var(--font-headline);font-size:1.2rem;font-weight:700;color:var(--color-navy);margin:1.5rem 0 .6rem; }
.story-body p { margin-bottom:1.2rem; }
.story-body blockquote { border-left:4px solid var(--color-primary);background:linear-gradient(135deg,#fff8f0,#fffaf5);padding:1.25rem 1.5rem;border-radius:0 var(--radius) var(--radius) 0;font-style:italic;font-size:1.1rem;color:var(--color-dark);margin:1.5rem 0; }
.story-body img { border-radius:var(--radius);margin:1rem 0;max-width:100%; }
.story-body figure { margin:1.5rem 0; }
.story-body figcaption { font-size:.82rem;color:var(--color-mid);text-align:center;margin-top:.4rem;font-style:italic; }
.story-body .video-embed { position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:var(--radius);margin:1.5rem 0; }
.story-body .video-embed iframe { position:absolute;top:0;left:0;width:100%;height:100%;border:none; }
.story-body strong { color:var(--color-navy); }
.story-read-progress { position:fixed;top:0;left:0;height:3px;background:var(--color-primary);z-index:9999;width:0;transition:width .1s linear; }
.story-mini-item { display:flex;gap:.6rem;padding:.6rem 0;border-bottom:1px solid var(--color-border);text-decoration:none;color:inherit;transition:padding-left var(--transition); }
.story-mini-item:last-child { border-bottom:none; }
.story-mini-item:hover { padding-left:.3rem; }
.story-mini-thumb { width:64px;height:50px;object-fit:cover;border-radius:5px;flex-shrink:0; }
.story-mini-title { font-size:.82rem;font-weight:700;color:var(--color-navy);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.story-mini-item:hover .story-mini-title { color:var(--color-primary); }
.story-mini-person { font-size:.68rem;color:var(--color-mid); }

/* Dropdown menus */
.site-header .dropdown-menu { background:#fff;border:none;border-radius:6px;box-shadow:0 8px 32px rgba(0,0,0,.14);padding:.35rem 0;min-width:200px;margin-top:4px!important; }
.site-header .dropdown-item { font-size:.875rem;font-weight:500;color:#2c2c2c;padding:.5rem 1.1rem;transition:background var(--transition); }
.site-header .dropdown-item:hover { background:#fdf5f4;color:var(--color-primary); }
.dropdown-submenu { position:relative; }
.dropdown-submenu-menu { display:none;position:absolute;left:100%;top:0;min-width:190px;background:#fff;border-radius:6px;box-shadow:0 8px 24px rgba(0,0,0,.13);padding:.35rem 0;z-index:1100; }
.dropdown-submenu:hover>.dropdown-submenu-menu { display:block; }

/* Stat cards (admin style on public pages) */
.stat-card { display:flex;align-items:center;gap:1rem;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:1.1rem 1.25rem; }
.stat-icon { font-size:1.6rem; }
.stat-num { display:block;font-size:1.5rem;font-weight:800;color:var(--color-navy); }
.stat-label { display:block;font-size:.75rem;color:var(--color-mid);text-transform:uppercase;letter-spacing:.04em; }
.stat-card--blue   .stat-icon { color:#2980b9; }
.stat-card--green  .stat-icon { color:#27ae60; }
.stat-card--orange .stat-icon { color:#e67e22; }
.stat-card--purple .stat-icon { color:#8e44ad; }

/* Logo */
.navbar-logo { max-height:44px;max-width:180px;width:auto;object-fit:contain;display:block; }

/* Responsive */
@media(max-width:991px){.hero-img{height:260px;}.hc-grid{flex-direction:row;flex-wrap:wrap;height:auto;}.hc-card{flex:0 0 100%;min-height:80px;}.hc-thumb{width:90px;}.story-featured-card{grid-template-columns:1fr;min-height:auto;}.story-featured-img{height:220px;}.stories-hero h1{font-size:1.8rem;}.event-info-grid{grid-template-columns:1fr;}}
@media(max-width:575px){.hero-img{height:200px;}.article-title{font-size:1.5rem;}.event-cta-box{flex-direction:column;}}


/* ============================================================
   EVENTS PAGE – COASTAL REDESIGN
   Append this to the BOTTOM of assets/css/style.css
   ============================================================ */
.ev-hero{background:linear-gradient(160deg,#0f4c75 0%,#1b6ca8 45%,#1e8bc3 100%);position:relative;overflow:hidden;padding:3rem 0 0;margin-bottom:0;}
.ev-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 20% 50%,rgba(255,255,255,.06) 0%,transparent 60%),radial-gradient(ellipse at 80% 20%,rgba(255,200,100,.08) 0%,transparent 50%);pointer-events:none;}
.ev-hero-waves{position:absolute;bottom:0;left:0;right:0;line-height:0;}
.ev-hero-waves svg{width:100%;height:60px;display:block;}
.ev-hero-inner{position:relative;z-index:1;text-align:center;padding-bottom:1.5rem;}
.ev-hero-icon{width:64px;height:64px;background:rgba(255,255,255,.15);backdrop-filter:blur(4px);border-radius:18px;display:inline-flex;align-items:center;justify-content:center;font-size:1.8rem;color:#fff;margin-bottom:1rem;}
.ev-hero-title{font-family:var(--font-headline);font-size:2.4rem;font-weight:900;color:#fff;margin-bottom:.4rem;line-height:1.15;}
.ev-hero-sub{font-size:1rem;color:rgba(255,255,255,.8);margin-bottom:1.5rem;}
.ev-tabs{display:inline-flex;background:rgba(0,0,0,.25);backdrop-filter:blur(6px);border-radius:50px;padding:.3rem;gap:.2rem;}
.ev-tab{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem 1.2rem;border-radius:40px;font-size:.85rem;font-weight:700;color:rgba(255,255,255,.78);text-decoration:none;transition:all .18s;white-space:nowrap;}
.ev-tab:hover{color:#fff;background:rgba(255,255,255,.1);}
.ev-tab.active{background:#fff;color:#0f4c75;box-shadow:0 2px 12px rgba(0,0,0,.18);}
.ev-tab-badge{background:var(--color-primary);color:#fff;font-size:.62rem;font-weight:800;padding:.1rem .4rem;border-radius:10px;line-height:1.4;}
.ev-tab.active .ev-tab-badge{background:#0f4c75;}
.ev-container{padding-top:2rem;padding-bottom:3rem;}
.ev-section-label{display:inline-flex;align-items:center;gap:.4rem;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#f59e0b;margin-bottom:1rem;}
.ev-featured-strip{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:.5rem;}
.ev-feat-card{display:block;border-radius:14px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.1);text-decoration:none;color:inherit;background:#fff;transition:transform .22s,box-shadow .22s;}
.ev-feat-card:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(0,0,0,.16);}
.ev-feat-card--lead{grid-column:1 / -1;display:flex;}
.ev-feat-card--lead .ev-feat-img{width:55%;flex-shrink:0;}
.ev-feat-card--lead .ev-feat-body{flex:1;}
.ev-feat-img{position:relative;overflow:hidden;height:200px;}
.ev-feat-card--lead .ev-feat-img{height:auto;min-height:240px;}
.ev-feat-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s;}
.ev-feat-card:hover .ev-feat-img img{transform:scale(1.05);}
.ev-feat-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.3) 0%,transparent 50%);}
.ev-feat-cat-badge{position:absolute;top:.7rem;left:.7rem;color:#fff;font-size:.65rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:.22rem .6rem;border-radius:20px;display:inline-flex;align-items:center;gap:.3rem;}
.ev-free-tag{position:absolute;top:.7rem;right:.7rem;background:#16a34a;color:#fff;font-size:.62rem;font-weight:900;letter-spacing:.1em;padding:.18rem .55rem;border-radius:4px;}
.ev-status-pill{display:inline-block;font-size:.65rem;font-weight:700;padding:.18rem .55rem;border-radius:20px;letter-spacing:.04em;}
.ev-status-primary{background:#dbeafe;color:#1d4ed8;}
.ev-status-success{background:#dcfce7;color:#166534;}
.ev-status-warning{background:#fef9c3;color:#854d0e;}
.ev-status-danger{background:#fee2e2;color:#dc2626;}
.ev-status-secondary{background:#f1f5f9;color:#475569;}
.ev-feat-img .ev-status-pill{position:absolute;bottom:.7rem;left:.7rem;}
.ev-feat-body{padding:1.1rem 1.25rem;}
.ev-feat-title{font-family:var(--font-headline);font-size:1rem;font-weight:800;color:var(--color-navy);line-height:1.3;margin-bottom:.5rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.ev-feat-card--lead .ev-feat-title{font-size:1.2rem;}
.ev-feat-card:hover .ev-feat-title{color:#0f4c75;}
.ev-feat-meta{display:flex;flex-wrap:wrap;gap:.3rem .65rem;font-size:.72rem;color:var(--color-mid);margin-bottom:.5rem;}
.ev-feat-meta i{color:#1b6ca8;}
.ev-feat-desc{font-size:.8rem;color:var(--color-mid);line-height:1.5;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.ev-cat-pills{display:flex;flex-wrap:wrap;gap:.4rem;}
.ev-cat-pill{display:inline-flex;align-items:center;gap:.3rem;padding:.35rem .85rem;border-radius:25px;font-size:.78rem;font-weight:600;text-decoration:none;background:#fff;color:#475569;border:1.5px solid #e2e8f0;transition:all .15s;white-space:nowrap;}
.ev-cat-pill:hover,.ev-cat-pill.active{background:#0f4c75;color:#fff;border-color:#0f4c75;}
.ev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;}
.ev-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.07);text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s;border:1px solid #f0f4f8;}
.ev-card:hover{transform:translateY(-4px);box-shadow:0 8px 28px rgba(0,0,0,.12);}
.ev-card--past{opacity:.75;}
.ev-card--past:hover{opacity:1;}
.ev-card-img{position:relative;height:150px;overflow:hidden;flex-shrink:0;}
.ev-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s;}
.ev-card:hover .ev-card-img img{transform:scale(1.06);}
.ev-card-status{position:absolute;top:.5rem;right:.5rem;font-size:.62rem;}
.ev-card-cat{position:absolute;bottom:.5rem;left:.5rem;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.78rem;color:#fff;}
.ev-card-body{display:flex;gap:.65rem;padding:.8rem;flex:1;}
.ev-card-date-block{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background:linear-gradient(135deg,#0f4c75,#1b6ca8);color:#fff;border-radius:8px;padding:.4rem .5rem;flex-shrink:0;min-width:40px;text-align:center;line-height:1;}
.ev-card-day{font-size:1.1rem;font-weight:900;display:block;}
.ev-card-mon{font-size:.55rem;font-weight:700;text-transform:uppercase;display:block;margin-top:.1rem;opacity:.85;}
.ev-card-info{flex:1;min-width:0;}
.ev-card-title{font-family:var(--font-headline);font-size:.88rem;font-weight:800;color:var(--color-navy);line-height:1.3;margin:0 0 .35rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.ev-card:hover .ev-card-title{color:#0f4c75;}
.ev-card-meta{display:flex;flex-direction:column;gap:.18rem;font-size:.7rem;color:#64748b;}
.ev-card-meta i{color:#1b6ca8;margin-right:.2rem;}
.ev-empty{text-align:center;padding:4rem 1rem;color:#94a3b8;}
.ev-empty i{font-size:3.5rem;display:block;margin-bottom:1rem;opacity:.35;}
.ev-empty h4{color:#64748b;}
.ev-cal-widget{background:#fff;border-radius:14px;box-shadow:0 4px 20px rgba(15,76,117,.1);overflow:hidden;border:1px solid #e0eef7;}
.ev-cal-header{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1.1rem;background:linear-gradient(135deg,#0f4c75,#1b6ca8);color:#fff;}
.ev-cal-month{font-weight:800;font-size:.95rem;letter-spacing:.02em;}
.ev-cal-nav{color:rgba(255,255,255,.85);text-decoration:none;width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;transition:background .15s;font-size:1rem;}
.ev-cal-nav:hover{background:rgba(255,255,255,.2);color:#fff;}
.ev-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);padding:.5rem .6rem .6rem;gap:1px;}
.ev-cal-dh{text-align:center;font-size:.62rem;font-weight:800;color:#94a3b8;padding:.3rem 0;text-transform:uppercase;}
.ev-cal-cell{display:flex;align-items:center;justify-content:center;aspect-ratio:1;}
.ev-cal-num{width:30px;height:30px;display:flex;align-items:center;justify-content:center;font-size:.78rem;color:#334155;border-radius:50%;}
.ev-cal-btn{width:30px;height:30px;border:none;border-radius:50%;font-size:.78rem;font-weight:700;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;background:#dbeafe;color:#1d4ed8;transition:background .15s;}
.ev-cal-btn:hover{background:#1b6ca8;color:#fff;}
.ev-cal-dot{position:absolute;bottom:2px;left:50%;transform:translateX(-50%);width:4px;height:4px;background:#1d4ed8;border-radius:50%;}
.ev-cal-btn:hover .ev-cal-dot{background:#fff;}
.ev-cal-today .ev-cal-num,.ev-cal-today .ev-cal-btn{background:#0f4c75;color:#fff;font-weight:800;}
.ev-cal-today .ev-cal-dot{background:rgba(255,255,255,.7);}
.ev-cal-popup{border-top:1px solid #e0eef7;background:#f0f7ff;}
.ev-cal-popup-hdr{display:flex;justify-content:space-between;align-items:center;padding:.55rem .85rem .3rem;font-size:.8rem;font-weight:800;color:#0f4c75;}
.ev-cal-popup-close{background:none;border:none;font-size:1.2rem;cursor:pointer;color:#94a3b8;line-height:1;}
.ev-popup-item{display:block;padding:.45rem .85rem;text-decoration:none;border-top:1px solid #dbeafe;transition:background .12s;}
.ev-popup-item:hover{background:#dbeafe;}
.ev-popup-item strong{display:block;font-size:.8rem;color:#0f4c75;}
.ev-popup-item span{font-size:.7rem;color:#64748b;}
.ev-cal-footer{padding:.55rem .85rem;font-size:.72rem;color:#64748b;text-align:center;border-top:1px solid #e0eef7;background:#f8fbff;}
.ev-sidebar-widget{background:#fff;border-radius:14px;box-shadow:0 2px 10px rgba(15,76,117,.08);overflow:hidden;border:1px solid #e0eef7;padding:1rem;}
.ev-sidebar-title{font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#0f4c75;margin-bottom:.75rem;display:flex;align-items:center;gap:.4rem;}
.ev-mini-item{display:flex;gap:.65rem;align-items:flex-start;padding:.55rem 0;border-bottom:1px solid #f0f4f8;text-decoration:none;color:inherit;transition:padding-left .15s;}
.ev-mini-item:last-child{border-bottom:none;}
.ev-mini-item:hover{padding-left:.3rem;}
.ev-mini-date{display:flex;flex-direction:column;align-items:center;background:linear-gradient(135deg,#0f4c75,#1b6ca8);color:#fff;border-radius:8px;padding:.3rem .45rem;flex-shrink:0;min-width:36px;text-align:center;line-height:1.1;}
.ev-mini-date span:first-child{font-size:.95rem;font-weight:900;}
.ev-mini-date span:last-child{font-size:.55rem;font-weight:700;text-transform:uppercase;}
.ev-mini-info{flex:1;min-width:0;}
.ev-mini-title{font-size:.82rem;font-weight:700;color:var(--color-navy);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.ev-mini-meta{font-size:.68rem;color:#64748b;margin-top:.15rem;}
.ev-mini-item:hover .ev-mini-title{color:#0f4c75;}
@media(max-width:991px){.ev-grid{grid-template-columns:repeat(2,1fr);}.ev-hero-title{font-size:1.8rem;}.ev-featured-strip{grid-template-columns:1fr;}.ev-feat-card--lead{flex-direction:column;}.ev-feat-card--lead .ev-feat-img{width:100%;height:200px;}}
@media(max-width:575px){.ev-grid{grid-template-columns:1fr;}.ev-tabs{flex-wrap:wrap;justify-content:center;border-radius:14px;}.ev-hero-title{font-size:1.5rem;}.ev-hero{padding-top:2rem;}}


/* ============================================================
   STORY DETAIL PAGE – SEO/AI Structured Design
   Append to bottom of assets/css/style.css
   ============================================================ */

/* Reading progress bar */
.st-progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--color-primary), #e67e22);
  z-index: 9999; transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* Page layout */
.st-page { padding-top: 1.5rem; padding-bottom: 3rem; }

/* Breadcrumb */
.st-breadcrumb { margin-bottom: 1.25rem; }
.st-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; padding: 0; margin: 0; font-size: .78rem; color: #6c757d; }
.st-breadcrumb li::after { content: '›'; margin-left: .5rem; color: #ced4da; }
.st-breadcrumb li:last-child::after { display: none; }
.st-breadcrumb a { color: #6c757d; text-decoration: none; }
.st-breadcrumb a:hover { color: var(--color-primary); }

/* Article */
.st-article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 2rem; }

.st-cat-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem; }
.st-cat-tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .22rem .75rem; border-radius: 4px; color: #fff; }
.st-featured-badge { display: inline-flex; align-items: center; gap: .25rem; font-size: .7rem; font-weight: 700; color: #92400e; background: #fef3c7; padding: .2rem .65rem; border-radius: 20px; }

/* Headline */
.st-headline { font-family: var(--font-headline); font-size: 2rem; font-weight: 900; line-height: 1.2; color: var(--color-navy); margin-bottom: .65rem; }
.st-subtitle { font-size: 1.1rem; color: #475569; line-height: 1.6; margin-bottom: 1.1rem; font-style: italic; }

/* Meta bar */
.st-meta-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem .75rem; padding: .85rem 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); margin-bottom: 1.5rem; }
.st-byline { display: flex; align-items: center; gap: .65rem; }
.st-byline-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--color-border); flex-shrink: 0; }
.st-byline-initial { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 900; color: #fff; flex-shrink: 0; }
.st-byline-name { display: block; font-weight: 700; font-size: .9rem; color: var(--color-navy); line-height: 1.2; }
.st-byline-title { display: block; font-size: .75rem; color: #6c757d; }
.st-meta-right { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.st-meta-item { display: flex; align-items: center; gap: .3rem; font-size: .78rem; color: #6c757d; }
.st-meta-item i { color: var(--color-primary); }

/* Hero figure */
.st-hero-figure { margin: 0 0 1.75rem; border-radius: var(--radius); overflow: hidden; }
.st-hero-img { width: 100%; max-height: 500px; object-fit: cover; display: block; border-radius: var(--radius); }
.st-hero-caption { font-size: .78rem; color: #6c757d; text-align: center; padding: .5rem 0 0; font-style: italic; }

/* Person card */
.st-person-card {
  display: flex; align-items: flex-start; gap: 1.25rem;
  background: linear-gradient(135deg, #fdf6ee, #fff8f0);
  border: 1px solid #fde8cc; border-left: 4px solid var(--color-primary);
  border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.75rem;
}
.st-person-photo-wrap { flex-shrink: 0; }
.st-person-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--color-primary); display: block; }
.st-person-photo-placeholder { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 900; color: #fff; }
.st-person-details { flex: 1; min-width: 0; }
.st-person-label { font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary); margin-bottom: .3rem; }
.st-person-name { font-family: var(--font-headline); font-size: 1.2rem; font-weight: 900; color: var(--color-navy); margin: 0 0 .2rem; }
.st-person-role { font-size: .88rem; color: var(--color-primary); font-weight: 600; margin-bottom: .4rem; }
.st-person-meta { display: flex; flex-wrap: wrap; gap: .3rem .85rem; font-size: .78rem; color: #6c757d; }
.st-person-meta i { color: var(--color-primary); margin-right: .2rem; }
.st-cat-inline { font-weight: 700; }

/* Story body */
.st-body { font-size: 1.06rem; line-height: 1.88; color: #1e293b; }
.st-body h2 { font-family: var(--font-headline); font-size: 1.5rem; font-weight: 900; color: var(--color-navy); margin: 2.25rem 0 .75rem; padding-bottom: .4rem; border-bottom: 2px solid var(--color-border); scroll-margin-top: 80px; }
.st-body h3 { font-family: var(--font-headline); font-size: 1.2rem; font-weight: 800; color: var(--color-navy); margin: 1.75rem 0 .6rem; scroll-margin-top: 80px; }
.st-body h4 { font-family: var(--font-headline); font-size: 1.05rem; font-weight: 700; color: var(--color-navy); margin: 1.25rem 0 .4rem; }
.st-body p { margin-bottom: 1.25rem; }
.st-body a { color: var(--color-primary); border-bottom: 1px solid rgba(192,57,43,.3); text-decoration: none; }
.st-body a:hover { border-bottom-color: var(--color-primary); }
.st-body strong { color: var(--color-navy); font-weight: 700; }
.st-body blockquote { border-left: 4px solid var(--color-primary); background: linear-gradient(135deg, #fff8f0, #fffaf5); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; font-size: 1.12rem; color: var(--color-dark); margin: 1.75rem 0; position: relative; }
.st-body blockquote::before { content: '\201C'; position: absolute; top: -.2rem; left: .75rem; font-size: 3rem; color: var(--color-primary); opacity: .25; font-family: Georgia, serif; line-height: 1; }
.st-body ul, .st-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.st-body li { margin-bottom: .4rem; line-height: 1.7; }
.st-body img { max-width: 100%; border-radius: var(--radius); margin: 1rem 0; display: block; }
.st-body figure { margin: 1.75rem 0; }
.st-body figcaption { font-size: .8rem; color: #64748b; text-align: center; margin-top: .4rem; font-style: italic; }
.st-body .video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); margin: 1.75rem 0; background: #000; }
.st-body .video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.st-body code { background: #f1f5f9; padding: .15rem .4rem; border-radius: 4px; font-size: .88em; color: #dc2626; }
.st-body pre { background: #1e293b; color: #e2e8f0; padding: 1.25rem; border-radius: var(--radius); overflow-x: auto; font-size: .88rem; margin: 1.5rem 0; }

/* Tags footer */
.st-tags-footer { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; padding: 1.25rem 0; border-top: 1px solid var(--color-border); margin-top: 1.75rem; }
.st-tags-label { font-size: .8rem; font-weight: 700; color: #475569; margin-right: .25rem; }
.st-tag-chip { display: inline-flex; align-items: center; background: #f1f5f9; color: #334155; border-radius: 20px; padding: .22rem .75rem; font-size: .75rem; font-weight: 600; text-decoration: none; transition: all var(--transition); }
.st-tag-chip:hover { background: var(--color-primary); color: #fff; }

/* Share bar */
.st-share-bar { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding: 1.25rem 0 0; border-top: 1px solid var(--color-border); margin-top: 1.25rem; }
.st-share-label { font-size: .82rem; font-weight: 700; color: #475569; }
.st-share-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem 1rem; border-radius: 6px; font-size: .8rem; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: opacity var(--transition), transform .1s; }
.st-share-btn:hover { opacity: .88; transform: translateY(-1px); }
.st-share-btn:active { transform: scale(.97); }
.st-share-fb { background: #1877f2; color: #fff; }
.st-share-tw { background: #000; color: #fff; }
.st-share-wa { background: #25d366; color: #fff; }
.st-share-copy { background: #f1f5f9; color: #334155; }

/* Related stories */
.st-related { margin-top: 3rem; }
.st-related-title { font-family: var(--font-headline); font-size: 1.25rem; font-weight: 800; color: var(--color-navy); padding-bottom: .5rem; border-bottom: 2px solid var(--color-primary); display: inline-block; margin-bottom: 1.25rem; }
.st-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.st-related-card { display: block; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; text-decoration: none; color: inherit; transition: transform var(--transition), box-shadow var(--transition); }
.st-related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.st-related-img { position: relative; height: 140px; overflow: hidden; }
.st-related-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.st-related-card:hover .st-related-img img { transform: scale(1.05); }
.st-related-cat { position: absolute; top: .5rem; left: .5rem; font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 4px; color: #fff; }
.st-related-body { padding: .85rem; }
.st-related-card-title { font-family: var(--font-headline); font-size: .88rem; font-weight: 800; color: var(--color-navy); line-height: 1.3; margin: 0 0 .5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-related-card:hover .st-related-card-title { color: var(--color-primary); }
.st-related-person { display: flex; align-items: center; gap: .4rem; font-size: .72rem; color: #64748b; }
.st-related-avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 900; color: #fff; flex-shrink: 0; }

/* Sidebar */
.st-sidebar { position: relative; }
.st-toc-widget { position: sticky; top: 75px; }
.st-toc-list { padding-left: 0; margin: 0; list-style: none; }
.st-toc-item { margin-bottom: .1rem; }
.st-toc-h3 { padding-left: 1rem; }
.st-toc-link { display: block; padding: .3rem .5rem; font-size: .8rem; color: #64748b; text-decoration: none; border-left: 2px solid transparent; border-radius: 0 4px 4px 0; transition: all var(--transition); line-height: 1.4; }
.st-toc-link:hover { color: var(--color-primary); border-left-color: var(--color-primary); background: #fdf5f4; }
.st-toc-link.active { color: var(--color-primary); border-left-color: var(--color-primary); font-weight: 600; background: #fdf5f4; }
.st-sidebar-person { text-align: center; padding: .5rem 0; }
.st-sidebar-avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid var(--color-primary); display: block; margin: 0 auto 1rem; }
.st-sidebar-initial { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 900; color: #fff; margin: 0 auto 1rem; }

/* Responsive */
@media (max-width: 991px) {
  .st-article { padding: 1.25rem; }
  .st-headline { font-size: 1.6rem; }
  .st-related-grid { grid-template-columns: repeat(2, 1fr); }
  .st-person-card { flex-direction: column; align-items: center; text-align: center; }
  .st-person-meta { justify-content: center; }
}
@media (max-width: 575px) {
  .st-headline { font-size: 1.35rem; }
  .st-related-grid { grid-template-columns: 1fr; }
  .st-meta-bar { flex-direction: column; align-items: flex-start; }
  .st-share-bar { gap: .35rem; }
  .st-share-btn { padding: .4rem .7rem; font-size: .75rem; }
}

/* ── Story Ad Placements ────────────────────────────────── */
.story-ad-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
  text-align: center;
  margin-bottom: .35rem;
}
.story-ad-block {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  padding: .85rem;
  margin: 1.5rem 0;
  text-align: center;
}
.story-ad-inline {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  padding: .85rem;
  margin: 1.5rem 0;
  text-align: center;
}
.story-ad-inline::before {
  content: 'Advertisement';
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: .4rem;
}
.stories-ad-top {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  padding: .85rem;
  text-align: center;
}
.stories-ad-infeed {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.st-sticky-ad { position: sticky; top: 80px; }

/* ============================================================
   STORY PAGE – MOBILE FIXES
   (featured image, reading progress, link overflow)
   ============================================================ */

/* ── Featured image – fully responsive ─────────────────── */
.st-hero-figure {
  margin: 0 0 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
}
.st-hero-img {
  width: 100%;
  height: auto;           /* let image scale naturally */
  max-height: 480px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
@media (max-width: 575px) {
  .st-hero-img {
    max-height: 220px;
    border-radius: 0;     /* edge-to-edge on small screens */
  }
  .st-hero-figure {
    margin-left:  -1.25rem;  /* break out of article padding */
    margin-right: -1.25rem;
    border-radius: 0;
  }
}

/* ── Reading progress bar ───────────────────────────────── */
.st-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary), #e67e22);
  z-index: 99999;         /* above sticky navbar */
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* ── Links in story body – prevent overflow ─────────────── */
.st-body {
  overflow-wrap: break-word;   /* break long URLs */
  word-wrap:     break-word;
  word-break:    break-word;   /* last resort for very long strings */
  hyphens: auto;
}
.st-body a {
  color: var(--color-primary);
  border-bottom: 1px solid rgba(192,57,43,.3);
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: break-all;       /* break URLs at any character */
  max-width: 100%;
  display: inline;
}
.st-body a:hover {
  border-bottom-color: var(--color-primary);
}

/* ── Article container clamp ─────────────────────────────── */
.st-article {
  overflow: hidden;            /* nothing escapes the card */
  max-width: 100%;
}

/* ── Tables inside story body ────────────────────────────── */
.st-body table {
  width: 100%;
  overflow-x: auto;
  display: block;
  max-width: 100%;
}

/* ── Pre / code overflow ─────────────────────────────────── */
.st-body pre {
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ── Images inside story body ────────────────────────────── */
.st-body img,
.st-body figure img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Embedded iframes / videos ───────────────────────────── */
.st-body iframe {
  max-width: 100%;
}

/* ── Mobile article padding adjustment ──────────────────── */
@media (max-width: 575px) {
  .st-article {
    padding: 1rem;
  }
  .st-headline {
    font-size: 1.3rem;
    word-break: break-word;
  }
  .st-subtitle {
    font-size: .95rem;
  }
  .st-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }
  .st-meta-right {
    flex-wrap: wrap;
    gap: .35rem;
  }
  .st-person-card {
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
    padding: 1rem;
  }
  .st-share-bar {
    gap: .3rem;
  }
  .st-share-btn {
    font-size: .72rem;
    padding: .38rem .65rem;
  }
  .st-tags-footer {
    gap: .25rem;
  }
}

/* ============================================================
   STORY PAGE – TABLE FIX + SIDEBAR TOC FIX
   ============================================================ */

/* ── Responsive tables in story body ───────────────────── */
.st-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .9rem;
  display: table;          /* override previous display:block */
  overflow-x: auto;
}

/* Wrap table in a scrollable div — applied via JS below */
.st-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.st-table-wrap table {
  margin: 0;
  border: none;
  min-width: 500px;        /* force scroll before squishing */
  border-radius: 0;
}

.st-body table th,
.st-body table td {
  padding: .65rem .85rem;
  border: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
  white-space: normal;
  word-break: break-word;
}
.st-body table th {
  background: #f1f5f9;
  font-weight: 700;
  color: var(--color-navy);
  font-size: .82rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  border-bottom: 2px solid #cbd5e1;
}
.st-body table tr:nth-child(even) td {
  background: #f8fafc;
}
.st-body table tr:hover td {
  background: #f0f7ff;
}
.st-body table a {
  word-break: break-word;
}

/* ── Quill editor table fix ─────────────────────────────── */
/* Force Quill to render table cells correctly */
#storyEditor table,
#storyEditor .ql-editor table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
#storyEditor table td,
#storyEditor table th,
#storyEditor .ql-editor table td,
#storyEditor .ql-editor table th {
  border: 1px solid #dee2e6 !important;
  padding: .5rem .65rem !important;
  min-width: 80px;
  word-break: break-word;
  vertical-align: top;
  white-space: normal !important;
}
#storyEditor table tr:first-child td {
  background: #f8f9fa;
  font-weight: 600;
}

/* ── Sidebar TOC – does NOT push other widgets ──────────── */
.st-toc-widget {
  position: static !important; /* override sticky — it was pushing content below */
  top: auto !important;
}
/* Only sticky on large screens where there's space */
@media (min-width: 992px) {
  .st-toc-widget {
    position: sticky !important;
    top: 75px !important;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
}

/* TOC scroll styling */
.st-toc-widget::-webkit-scrollbar { width: 4px; }
.st-toc-widget::-webkit-scrollbar-track { background: transparent; }
.st-toc-widget::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 4px; }

/* ── Sidebar layout — always stacks correctly ───────────── */
.st-sidebar .sidebar-widget {
  position: relative;         /* never sticky unless explicitly set */
  top: auto;
}
.st-sticky-ad {
  position: sticky;
  top: 80px;
}

/* On tablet/mobile — TOC collapses and sidebar flows normally */
@media (max-width: 991px) {
  .st-toc-widget {
    position: static !important;
    top: auto !important;
    max-height: 280px;
    overflow-y: auto;
  }
  .st-sticky-ad {
    position: static;
    top: auto;
  }
}

/* ============================================================
   AUTHOR PROFILE PAGE
   ============================================================ */

/* ── Hero banner ────────────────────────────────────────── */
.author-profile-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}
.author-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #1b3a5c 100%);
  z-index: 0;
}
.author-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.author-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  padding: 2.5rem 2rem;
  flex-wrap: wrap;
}
.author-avatar-wrap { position: relative; flex-shrink: 0; }
.author-avatar-img {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,.3);
  display: block;
}
.author-avatar-placeholder {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; font-weight: 900; color: #fff;
}
.author-verified-badge {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #1d4ed8;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  border: 2px solid #fff;
}
.author-verified-badge--editor { background: #7c3aed; }

.author-hero-info { flex: 1; min-width: 220px; }
.author-hero-name {
  font-family: var(--font-headline);
  font-size: 1.8rem; font-weight: 900;
  color: #fff; line-height: 1.2;
}
.author-role-chip {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .72rem; font-weight: 700;
  padding: .22rem .7rem; border-radius: 20px;
}
.author-role-chip.journalist  { background: #1d4ed8; color: #fff; }
.author-role-chip.editor      { background: #7c3aed; color: #fff; }
.author-role-chip.contributor { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.author-speciality { font-size: .88rem; color: rgba(255,255,255,.75); margin: .4rem 0; }
.author-speciality i { color: var(--color-primary); }
.author-location { font-size: .82rem; color: rgba(255,255,255,.65); margin-bottom: .5rem; }
.author-bio { font-size: .9rem; color: rgba(255,255,255,.78); line-height: 1.65; margin: .75rem 0 1rem; max-width: 640px; }

/* Stats row */
.author-stats-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin-bottom: 1rem;
}
.author-stat { text-align: center; }
.author-stat-num { display: block; font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; }
.author-stat-label { display: block; font-size: .68rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; margin-top: .15rem; }

/* Social buttons */
.author-socials { display: flex; gap: .45rem; flex-wrap: wrap; }
.author-social-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
  border: 1px solid rgba(255,255,255,.1);
}
.author-social-btn:hover { background: rgba(255,255,255,.22); color: #fff; }
.author-social-btn.btn-sm { width: 30px; height: 30px; font-size: .85rem; }
.author-social-twitter  { background: rgba(0,0,0,.3); }
.author-social-facebook { background: rgba(24,119,242,.2); }
.author-social-instagram{ background: rgba(225,48,108,.2); }
.author-social-linkedin { background: rgba(10,102,194,.2); }

/* ── Article list rows ───────────────────────────────────── */
.author-article-row {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  margin-bottom: 1rem;
  transition: box-shadow var(--transition);
}
.author-article-row:hover { box-shadow: var(--shadow-md); }
.author-article-thumb {
  width: 110px; height: 80px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}
.author-article-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s;
}
.author-article-row:hover .author-article-thumb img { transform: scale(1.05); }
.author-article-body { flex: 1; min-width: 0; }
.author-article-title {
  font-family: var(--font-headline);
  font-size: .97rem; font-weight: 800;
  line-height: 1.3; margin: .25rem 0;
}
.author-article-title a { color: var(--color-navy); text-decoration: none; }
.author-article-title a:hover { color: var(--color-primary); }
.author-article-excerpt { font-size: .8rem; color: #64748b; margin: .25rem 0; line-height: 1.5; }
.author-article-meta {
  display: flex; flex-wrap: wrap; gap: .35rem .75rem;
  font-size: .72rem; color: #94a3b8; margin-top: .4rem;
}
.author-article-meta i { color: var(--color-primary); }

/* ── Sidebar ─────────────────────────────────────────────── */
.author-sidebar-card { text-align: center; }
.author-sidebar-avatar {
  width: 80px; height: 80px;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--color-primary);
  display: block; margin: 0 auto;
}
.author-sidebar-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 900; color: #fff;
  margin: 0 auto;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .author-hero-content { flex-direction: column; align-items: center; text-align: center; padding: 1.75rem 1.25rem; }
  .author-hero-name { font-size: 1.4rem; }
  .author-stats-row { justify-content: center; }
  .author-socials   { justify-content: center; }
  .author-article-thumb { width: 80px; height: 65px; }
  .author-bio { font-size: .84rem; }
}
@media (max-width: 575px) {
  .author-article-row { flex-direction: column; }
  .author-article-thumb { width: 100%; height: 160px; }
}

/* ============================================================
   NEW FOOTER – COASTAL DARK THEME
   ============================================================ */

/* Reset old footer */
.site-footer { display: none !important; }

/* ── Footer base ────────────────────────────────────────── */
.site-footer-new {
  background: #0d1b2e;
  color: rgba(255,255,255,.78);
  margin-top: 3rem;
  position: relative;
}

/* ── Wave divider ───────────────────────────────────────── */
.footer-wave {
  line-height: 0;
  overflow: hidden;
  margin-top: -2px;
}
.footer-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ── Body / Grid ────────────────────────────────────────── */
.footer-body { padding: 3rem 0 2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr 1.2fr 1fr;
  gap: 2.5rem;
}

/* ── Column title ───────────────────────────────────────── */
.footer-col-title {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.footer-col-title-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* ── Brand column ───────────────────────────────────────── */
.footer-brand-col { padding-right: 1rem; }
.footer-logo-link { display: inline-block; margin-bottom: .65rem; text-decoration: none; }
.footer-logo-img  { max-height: 48px; max-width: 180px; object-fit: contain; display: block; filter: brightness(1.1); }
.footer-logo-text .footer-logo-main {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.01em;
}
.footer-tagline {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .75rem;
  line-height: 1.4;
}
.footer-desc {
  font-size: .83rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* ── Social icons ───────────────────────────────────────── */
.footer-socials {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
}
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .18s, background .18s;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.1);
}
.footer-social:hover { transform: translateY(-3px); color: #fff; }
.footer-social--fb:hover { background: #1877f2; border-color: #1877f2; }
.footer-social--ig:hover { background: #e1306c; border-color: #e1306c; }
.footer-social--yt:hover { background: #ff0000; border-color: #ff0000; }
.footer-social--tw:hover { background: #000;    border-color: #333; }
.footer-social--wa:hover { background: #25d366; border-color: #25d366; }

/* ── Explore list ───────────────────────────────────────── */
.footer-explore-list,
.footer-discover-list,
.footer-trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-explore-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem 0;
  text-decoration: none;
  color: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .15s, padding-left .15s;
}
.footer-explore-list li:last-child .footer-explore-item { border-bottom: none; }
.footer-explore-item:hover { color: #fff; padding-left: .3rem; }
.footer-explore-icon {
  width: 34px;
  height: 34px;
  background: rgba(192,57,43,.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: background .15s;
}
.footer-explore-item:hover .footer-explore-icon { background: rgba(192,57,43,.35); }
.footer-explore-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.footer-explore-title {
  font-size: .88rem;
  font-weight: 600;
  color: inherit;
  line-height: 1.2;
}
.footer-explore-sub {
  font-size: .7rem;
  color: rgba(255,255,255,.45);
  line-height: 1.3;
  margin-top: .1rem;
}
.footer-explore-arrow {
  font-size: .7rem;
  color: rgba(255,255,255,.3);
  flex-shrink: 0;
  transition: transform .15s, color .15s;
}
.footer-explore-item:hover .footer-explore-arrow { transform: translateX(3px); color: var(--color-primary); }

/* ── Discover list ──────────────────────────────────────── */
.footer-discover-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem 0;
  text-decoration: none;
  color: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .88rem;
  font-weight: 500;
  transition: color .15s, padding-left .15s;
}
.footer-discover-list li:last-child .footer-discover-item { border-bottom: none; }
.footer-discover-item:hover { color: #fff; padding-left: .3rem; }
.footer-discover-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.footer-discover-title { flex: 1; }

/* ── Trending list ──────────────────────────────────────── */
.footer-trending-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .38rem 0;
  text-decoration: none;
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  font-weight: 500;
  transition: color .15s, padding-left .15s;
}
.footer-trending-item:hover { color: #fff; padding-left: .3rem; }
.footer-trending-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  opacity: .7;
  transition: opacity .15s;
}
.footer-trending-item:hover .footer-trending-dot { opacity: 1; }

/* ── Bottom bar ─────────────────────────────────────────── */
.footer-bottom-bar {
  background: rgba(0,0,0,.35);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.1rem 0;
}
.footer-bottom-inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 1rem;
}
.footer-bottom-left { font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-location { display: flex; align-items: center; gap: .35rem; }
.footer-bottom-center { text-align: center; }
.footer-copyright-text { font-size: .82rem; color: rgba(255,255,255,.65); margin: 0; }
.footer-copyright-year { font-size: .72rem; color: rgba(255,255,255,.38); margin: .2rem 0 0; }
.footer-bottom-right { text-align: right; }
.footer-legal-link {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .15s;
}
.footer-legal-link:hover { color: rgba(255,255,255,.9); }
.footer-legal-sep { color: rgba(255,255,255,.2); margin: 0 .3rem; font-size: .7rem; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1199px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-brand-col { padding-right: 0; }
  .footer-bottom-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: .75rem;
  }
  .footer-bottom-right { text-align: center; }
  .footer-bottom-left  { justify-content: center; display: flex; }
  .footer-socials { justify-content: center; }
}

/* ============================================================
   HOMEPAGE – COMPLETE REDESIGN
   ============================================================ */

/* ── Section base ───────────────────────────────────────── */
.hp-section { padding: 2.5rem 0; }

.hp-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.hp-section-header-left { display: flex; flex-direction: column; gap: .2rem; }
.hp-section-eyebrow {
  font-size: .65rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--color-primary);
}
.hp-section-title {
  font-family: var(--font-headline);
  font-size: 1.35rem; font-weight: 900;
  color: var(--color-navy); margin: 0;
  display: flex; align-items: center; gap: .5rem;
}
.hp-section-title-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--color-primary); flex-shrink: 0;
}
.hp-section-desc { font-size: .82rem; color: #64748b; margin: .15rem 0 0; }
.hp-section-more {
  font-size: .82rem; font-weight: 700;
  color: var(--color-primary); text-decoration: none;
  white-space: nowrap; display: flex; align-items: center; gap: .3rem;
  transition: gap .15s;
}
.hp-section-more:hover { gap: .5rem; color: var(--color-primary); }

/* ── Hero ───────────────────────────────────────────────── */
.hp-hero { background: #fff; padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
.hp-hero-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1rem;
  align-items: start;
}

/* Main hero */
.hp-hero-main { position: relative; border-radius: var(--radius); overflow: hidden; }
.hp-hero-main-img-link { display: block; position: relative; }
.hp-hero-main-img {
  width: 100%; height: 420px; object-fit: cover;
  display: block; transition: transform .35s;
}
.hp-hero-main:hover .hp-hero-main-img { transform: scale(1.02); }
.hp-hero-main-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 50%, transparent 100%);
}
.hp-hero-main-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
}
.hp-hero-cat {
  display: inline-block; background: var(--color-primary); color: #fff;
  font-size: .62rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: .18rem .6rem; border-radius: 3px;
  margin-bottom: .5rem; text-decoration: none;
}
.hp-hero-main-title {
  font-family: var(--font-headline); font-size: 1.5rem; font-weight: 900;
  line-height: 1.2; margin-bottom: .5rem;
}
.hp-hero-main-title a { color: #fff; text-decoration: none; }
.hp-hero-main-title a:hover { color: rgba(255,255,255,.85); }
.hp-hero-main-excerpt { font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: .5rem; line-height: 1.5; }
.hp-hero-meta { display: flex; gap: .75rem; font-size: .72rem; color: rgba(255,255,255,.65); }
.hp-hero-meta i { color: var(--color-primary); }

/* Hero compact grid */
.hp-hero-grid {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: .6rem;
  height: 420px;
}
.hp-hero-card {
  position: relative; border-radius: var(--radius);
  overflow: hidden; background: #000;
}
.hp-hero-card-img-link { display: block; height: 100%; }
.hp-hero-card-img-link img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; opacity: .8; transition: opacity .25s, transform .25s;
}
.hp-hero-card:hover .hp-hero-card-img-link img { opacity: .65; transform: scale(1.03); }
.hp-hero-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
}
.hp-hero-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: .6rem .75rem; }
.hp-hero-card-cat {
  display: inline-block; background: var(--color-primary); color: #fff;
  font-size: .55rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: .1rem .4rem; border-radius: 2px;
  margin-bottom: .25rem; text-decoration: none;
}
.hp-hero-card-title { font-family: var(--font-headline); font-size: .82rem; font-weight: 800; line-height: 1.25; margin: 0 0 .2rem; }
.hp-hero-card-title a { color: #fff; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-hero-card-meta { font-size: .65rem; color: rgba(255,255,255,.6); }

/* ── Breaking news ticker ────────────────────────────────── */
.hp-breaking {
  background: var(--color-navy); padding: .55rem 0;
  border-bottom: 2px solid var(--color-primary);
}
.hp-breaking-inner { display: flex; align-items: center; gap: .75rem; overflow: hidden; }
.hp-breaking-badge {
  background: var(--color-primary); color: #fff;
  font-size: .62rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: .25rem .7rem;
  border-radius: 3px; white-space: nowrap; flex-shrink: 0;
  display: flex; align-items: center; gap: .3rem;
}
.hp-breaking-ticker { flex: 1; overflow: hidden; position: relative; }
.hp-breaking-track { display: flex; gap: 0; white-space: nowrap; will-change: transform; }
.hp-breaking-item {
  color: rgba(255,255,255,.85); font-size: .78rem; font-weight: 500;
  text-decoration: none; padding: 0 .75rem; white-space: nowrap;
  transition: color .15s;
}
.hp-breaking-item:hover { color: #fff; }
.hp-breaking-sep { color: var(--color-primary); opacity: .6; font-size: .6rem; }

/* ── Ad slot ────────────────────────────────────────────── */
.hp-ad-slot { padding: 1rem 0; }
.hp-ad-wrap {
  background: #f8fafc; border: 1px dashed #cbd5e1;
  border-radius: var(--radius); padding: .85rem; text-align: center;
}
.hp-ad-label {
  display: block; font-size: .6rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #94a3b8; margin-bottom: .35rem;
}

/* ── Stories section ────────────────────────────────────── */
.hp-stories-section { background: #f8f6f0; }
.hp-stories-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.25rem;
}
.hp-story-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.hp-story-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hp-story-card-img-link { position: relative; display: block; height: 180px; overflow: hidden; }
.hp-story-card--lead .hp-story-card-img-link { height: 240px; }
.hp-story-card-img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hp-story-card:hover .hp-story-card-img-link img { transform: scale(1.05); }
.hp-story-cat {
  position: absolute; bottom: .5rem; left: .5rem;
  font-size: .62rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: .18rem .55rem;
  border-radius: 4px; color: #fff;
}
.hp-story-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.hp-story-title {
  font-family: var(--font-headline); font-size: .95rem; font-weight: 800;
  line-height: 1.3; margin-bottom: .5rem;
}
.hp-story-card--lead .hp-story-title { font-size: 1.1rem; }
.hp-story-title a { color: var(--color-navy); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-story-title a:hover { color: var(--color-primary); }
.hp-story-sub { font-size: .78rem; color: #64748b; line-height: 1.5; margin-bottom: .75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-story-person { display: flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--color-border); }
.hp-story-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,var(--color-primary),var(--color-accent)); display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 900; color: #fff; flex-shrink: 0; }
.hp-story-person-name { font-size: .78rem; font-weight: 700; color: var(--color-navy); }
.hp-story-person-role { font-size: .65rem; color: #64748b; }

/* ── Events section ─────────────────────────────────────── */
.hp-events-section { background: linear-gradient(135deg,#f0f7ff,#fff); }
.hp-events-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
}
.hp-event-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.hp-event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hp-event-card-img { position: relative; height: 150px; overflow: hidden; flex-shrink: 0; }
.hp-event-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.hp-event-card:hover .hp-event-card-img img { transform: scale(1.06); }
.hp-event-status { position: absolute; top: .5rem; right: .5rem; font-size: .62rem; font-weight: 700; padding: .18rem .5rem; border-radius: 20px; }
.hp-event-status--primary   { background: #dbeafe; color: #1d4ed8; }
.hp-event-status--success   { background: #dcfce7; color: #166534; }
.hp-event-status--warning   { background: #fef9c3; color: #854d0e; }
.hp-event-status--secondary { background: #f1f5f9; color: #475569; }
.hp-event-status--danger    { background: #fee2e2; color: #dc2626; }
.hp-event-cat-dot { position: absolute; top: .5rem; left: .5rem; width: 8px; height: 8px; border-radius: 50%; }
.hp-event-card-body { padding: .75rem; flex: 1; }
.hp-event-date-row { display: flex; gap: .6rem; align-items: flex-start; }
.hp-event-date-block { display: flex; flex-direction: column; align-items: center; background: linear-gradient(135deg,#0f4c75,#1b6ca8); color: #fff; border-radius: 6px; padding: .3rem .45rem; flex-shrink: 0; min-width: 36px; text-align: center; line-height: 1; }
.hp-event-day { font-size: .95rem; font-weight: 900; display: block; }
.hp-event-mon { font-size: .52rem; font-weight: 700; text-transform: uppercase; display: block; margin-top: .1rem; }
.hp-event-info { flex: 1; min-width: 0; }
.hp-event-title { font-family: var(--font-headline); font-size: .82rem; font-weight: 800; line-height: 1.3; margin: 0 0 .3rem; }
.hp-event-title a { color: var(--color-navy); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-event-title a:hover { color: #0f4c75; }
.hp-event-meta { display: flex; flex-direction: column; gap: .1rem; font-size: .67rem; color: #64748b; }
.hp-event-meta i { color: #1b6ca8; margin-right: .2rem; }

/* ── Category sections ──────────────────────────────────── */
.hp-category-section { background: #fff; border-top: 1px solid var(--color-border); }
.hp-category-section:nth-child(odd) { background: #f8f6f0; }

/* Grid layout */
.hp-cat-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: .85rem;
}
.hp-cat-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; }
.hp-cat-card--lead { grid-row: 1 / 3; }
.hp-cat-card-img-link { display: block; height: 100%; min-height: 180px; }
.hp-cat-card--lead .hp-cat-card-img-link { min-height: 360px; }
.hp-cat-card-img-link img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .25s, transform .3s; }
.hp-cat-card:hover .hp-cat-card-img-link img { opacity: .6; transform: scale(1.03); }
.hp-cat-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,.72) 0%,transparent 60%); }
.hp-cat-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: .85rem; }
.hp-cat-card-title { font-family: var(--font-headline); font-size: .88rem; font-weight: 800; line-height: 1.3; margin: 0 0 .25rem; }
.hp-cat-card--lead .hp-cat-card-title { font-size: 1.15rem; }
.hp-cat-card-title a { color: #fff; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-cat-card-meta { display: flex; gap: .5rem; font-size: .65rem; color: rgba(255,255,255,.65); }
.hp-cat-card-meta i { color: var(--color-primary); }

/* List layout */
.hp-list-grid { display: flex; flex-direction: column; gap: .65rem; }
.hp-list-item {
  display: flex; gap: .85rem; align-items: flex-start;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: .75rem;
  transition: box-shadow .18s;
}
.hp-list-item:hover { box-shadow: var(--shadow-md); }
.hp-list-thumb { width: 96px; height: 70px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.hp-list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.hp-list-item:hover .hp-list-thumb img { transform: scale(1.06); }
.hp-list-body { flex: 1; min-width: 0; }
.hp-list-title { font-family: var(--font-headline); font-size: .88rem; font-weight: 700; line-height: 1.35; margin: 0 0 .3rem; }
.hp-list-title a { color: var(--color-navy); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-list-title a:hover { color: var(--color-primary); }
.hp-list-meta { display: flex; flex-wrap: wrap; gap: .3rem .65rem; font-size: .7rem; color: #94a3b8; }
.hp-list-meta i { color: var(--color-primary); }

/* ── Responsive ─────────────────────────────────────────── */
@media(max-width:1199px) {
  .hp-hero-container { grid-template-columns: 1fr 320px; }
  .hp-stories-grid   { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media(max-width:991px) {
  .hp-hero-container { grid-template-columns: 1fr; }
  .hp-hero-main-img  { height: 300px; }
  .hp-hero-grid      { grid-template-rows: none; grid-template-columns: 1fr 1fr; height: auto; gap: .5rem; }
  .hp-hero-card-img-link { height: 130px; }
  .hp-stories-grid   { grid-template-columns: 1fr 1fr; }
  .hp-story-card--lead { grid-column: 1 / -1; }
  .hp-story-card--lead .hp-story-card-img-link { height: 220px; }
  .hp-events-row     { grid-template-columns: 1fr 1fr; }
  .hp-cat-grid       { grid-template-columns: 1fr 1fr; }
  .hp-cat-card--lead { grid-row: auto; grid-column: 1 / -1; }
  .hp-cat-card--lead .hp-cat-card-img-link { min-height: 220px; }
}
@media(max-width:767px) {
  .hp-hero-main-img  { height: 240px; }
  .hp-hero-main-title { font-size: 1.15rem; }
  .hp-hero-main-excerpt { display: none; }
  .hp-hero-grid      { grid-template-columns: 1fr 1fr; }
  .hp-hero-card-img-link { height: 110px; }
  .hp-hero-card-title { font-size: .75rem; }
  .hp-stories-grid   { grid-template-columns: 1fr; }
  .hp-story-card--lead .hp-story-card-img-link { height: 200px; }
  .hp-events-row     { grid-template-columns: 1fr 1fr; }
  .hp-cat-grid       { grid-template-columns: 1fr; }
  .hp-section { padding: 1.5rem 0; }
  .hp-section-title  { font-size: 1.1rem; }
}
@media(max-width:575px) {
  .hp-hero-grid      { grid-template-columns: 1fr; }
  .hp-hero-card-img-link { height: 130px; }
  .hp-events-row     { grid-template-columns: 1fr; }
  .hp-breaking-badge { font-size: .58rem; padding: .2rem .5rem; }
  .hp-breaking-item  { font-size: .72rem; }
}
