/*
Theme Name: PalakkadNews
Theme URI: https://palakkadnews.com/blog/
Author: PalakkadNews.com
Author URI: https://palakkadnews.com
Description: Custom WordPress theme for PalakkadNews.com - matching the main site's premium editorial design. Dark masthead, gold accents, Playfair Display headings, DM Sans body text, cream background.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: palakkadnews
Tags: news, blog, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, one-column, two-columns
*/

/* ═══════════════════════════════════════
   DESIGN TOKENS  (from main site)
═══════════════════════════════════════ */
:root {
  --ink:        #0f0e0c;
  --gold:       #c9a84c;
  --gold-light: #f0d88a;
  --cream:      #faf7f0;
  --rust:       #b94a2c;
  --mid:        #5a5a4e;
  --light:      #e8e3d8;
  --max-width:  1120px;
}

/* ═══════════════════════════════════════
   RESET
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ═══════════════════════════════════════
   MASTHEAD
═══════════════════════════════════════ */
.pn-masthead {
  background: var(--ink);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pn-masthead-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pn-masthead-brand a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.pn-masthead-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #9a6f1e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 17px;
  color: var(--ink);
  flex-shrink: 0;
  letter-spacing: -0.5px;
}
.pn-masthead-text { line-height: 1.2; }
.pn-masthead-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 900;
  color: #fff;
}
.pn-masthead-title span { color: var(--gold); }
.pn-masthead-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 2px;
}
.pn-masthead-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
.pn-nav {
  background: linear-gradient(135deg, #1a1814 0%, var(--ink) 100%);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.pn-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  position: relative;
}
.pn-brand-link {
  display: none;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
}
.pn-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Desktop menu */
.pn-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.pn-links > li { position: relative; }
.pn-links > li > a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  padding: 16px 16px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.pn-links > li > a:hover,
.pn-links > li.current-menu-item > a,
.pn-links > li.current-menu-ancestor > a {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.pn-links ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 6px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.45);
  min-width: 230px;
  padding: 8px 0;
  z-index: 999;
  list-style: none;
}
.pn-links li:hover > ul.sub-menu { display: block; }
.pn-links ul.sub-menu li a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s, padding 0.2s, background 0.2s;
}
.pn-links ul.sub-menu li a:hover {
  color: var(--gold);
  background: rgba(201,168,76,0.07);
  padding-left: 26px;
}

/* Mobile drawer */
.pn-drawer {
  display: none;
  background: #111;
  border-top: 1px solid rgba(201,168,76,0.12);
}
.pn-drawer.open { display: block; }
.pn-drawer > ul { padding: 8px 0; list-style: none; }
.pn-drawer li { text-align: center; }
.pn-drawer a {
  display: block;
  padding: 11px 20px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.pn-drawer a:hover { color: var(--gold); }
.pn-drawer .sub-menu {
  display: none;
  background: #0a0a0a;
  list-style: none;
}
.pn-drawer li.open > .sub-menu { display: block; }
.pn-drawer button.subtoggle {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  padding: 11px 20px;
  font-family: 'DM Sans', sans-serif;
  width: 100%;
  transition: color 0.2s;
}
.pn-drawer button.subtoggle:hover { color: var(--gold); }

/* ═══════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════ */
.pn-breadcrumb {
  background: var(--cream);
  border-bottom: 1px solid var(--light);
  padding: 10px 40px;
  font-size: 12px;
  color: var(--mid);
}
.pn-breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}
.pn-breadcrumb a { color: var(--gold); transition: opacity 0.2s; }
.pn-breadcrumb a:hover { opacity: 0.75; }
.pn-breadcrumb .sep { color: var(--light); font-size: 14px; }

/* ═══════════════════════════════════════
   PAGE LAYOUT
═══════════════════════════════════════ */
.pn-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 52px 40px 72px;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--rust);
}
.pn-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--light);
}

/* ═══════════════════════════════════════
   NEWS / POST GRID  (Archive / Home)
═══════════════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: var(--light);
  border: 1px solid var(--light);
  border-radius: 10px;
  overflow: hidden;
}
.news-item {
  background: #fff;
  padding: 28px 26px;
  position: relative;
  transition: background 0.25s;
}
.news-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--gold), var(--rust));
  transition: height 0.35s ease;
}
.news-item:hover { background: #fffdf7; }
.news-item:hover::before { height: 100%; }

.news-item .post-thumbnail {
  margin-bottom: 16px;
  border-radius: 6px;
  overflow: hidden;
}
.news-item .post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.35s;
}
.news-item:hover .post-thumbnail img { transform: scale(1.03); }

.news-item time,
.news-item .entry-date {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.news-item h2,
.news-item .entry-title {
  font-family: 'Playfair Display', serif;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
  color: var(--ink);
}
.news-item h2 a,
.news-item .entry-title a {
  color: var(--ink);
  transition: color 0.2s;
}
.news-item h2 a:hover,
.news-item .entry-title a:hover { color: var(--rust); }

.news-item .entry-excerpt,
.news-item .entry-summary {
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 14px;
}
.news-item .entry-meta {
  font-size: 11px;
  color: var(--mid);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
.news-item .entry-meta a { color: var(--gold); }
.news-item .entry-meta a:hover { opacity: 0.75; }
.news-item .cat-links a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rust);
  background: rgba(185,74,44,0.08);
  padding: 3px 8px;
  border-radius: 3px;
}

/* Read More link */
.read-more {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.read-more:hover { border-color: var(--gold); }

/* ═══════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════ */
.single-post-header {
  margin-bottom: 36px;
}
.single-post-header .entry-categories {
  margin-bottom: 12px;
}
.single-post-header .entry-categories a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rust);
  background: rgba(185,74,44,0.08);
  padding: 4px 12px;
  border-radius: 3px;
  margin-right: 6px;
}
.single-post-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}
.single-post-meta {
  font-size: 13px;
  color: var(--mid);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--light);
}
.single-post-meta a { color: var(--gold); }

.single-featured-image {
  margin-bottom: 32px;
  border-radius: 10px;
  overflow: hidden;
}
.single-featured-image img {
  width: 100%;
  height: auto;
}

/* Article content */
.entry-content {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink);
  max-width: 780px;
}
.entry-content p { margin-bottom: 1.4em; }
.entry-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6em;
  font-weight: 700;
  margin: 1.8em 0 0.7em;
  color: var(--ink);
}
.entry-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3em;
  font-weight: 700;
  margin: 1.5em 0 0.6em;
  color: var(--ink);
}
.entry-content a { color: var(--rust); border-bottom: 1px solid rgba(185,74,44,0.3); transition: border-color 0.2s; }
.entry-content a:hover { border-color: var(--rust); }
.entry-content ul, .entry-content ol {
  margin: 0 0 1.4em 1.5em;
  list-style: disc;
}
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.5em; }
.entry-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 1.5em 0;
  background: rgba(201,168,76,0.06);
  font-style: italic;
  color: var(--mid);
}
.entry-content img {
  border-radius: 8px;
  margin: 1.5em 0;
}
.entry-content figure { margin: 1.5em 0; }
.entry-content figcaption {
  font-size: 12px;
  color: var(--mid);
  text-align: center;
  margin-top: 8px;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}
.entry-content th, .entry-content td {
  border: 1px solid var(--light);
  padding: 10px 14px;
  text-align: left;
  font-size: 14px;
}
.entry-content th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

/* Tags at bottom */
.post-tags {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--light);
}
.post-tags span { font-size: 12px; font-weight: 600; color: var(--mid); margin-right: 8px; }
.post-tags a {
  display: inline-block;
  font-size: 11px;
  color: var(--mid);
  border: 1px solid var(--light);
  padding: 4px 10px;
  border-radius: 100px;
  margin: 0 4px 6px 0;
  transition: border-color 0.2s, color 0.2s;
}
.post-tags a:hover { border-color: var(--gold); color: var(--gold); }

/* Author box */
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--light);
  border-radius: 10px;
  padding: 24px;
  margin-top: 36px;
}
.author-box .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
}
.author-box .author-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}
.author-box .author-name a { color: var(--ink); }
.author-box .author-bio { font-size: 13px; color: var(--mid); line-height: 1.6; }

/* Post navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--light);
  border: 1px solid var(--light);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 36px;
}
.post-navigation a {
  background: #fff;
  padding: 20px 24px;
  transition: background 0.2s;
}
.post-navigation a:hover { background: #fffdf7; }
.post-navigation .nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.post-navigation .nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.post-navigation .nav-next { text-align: right; }

/* ═══════════════════════════════════════
   COMMENTS
═══════════════════════════════════════ */
.comments-area {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--light);
}
.comments-area h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}
.comment-list { list-style: none; padding: 0; }
.comment-list li { margin-bottom: 24px; }
.comment-body {
  background: #fff;
  border: 1px solid var(--light);
  border-radius: 8px;
  padding: 20px;
}
.comment-author { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.comment-author img { border-radius: 50%; margin-right: 10px; float: left; }
.comment-metadata { font-size: 11px; color: var(--mid); margin-bottom: 10px; }
.comment-metadata a { color: var(--mid); }
.comment-content { font-size: 14px; line-height: 1.65; clear: both; }
.comment-reply-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}
.comment-respond { margin-top: 32px; }
.comment-respond label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--mid); }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--light);
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  background: #fff;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}
.comment-respond input:focus,
.comment-respond textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.comment-respond .submit {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.comment-respond .submit:hover { background: var(--rust); }

/* ═══════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════ */
.pn-sidebar {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--light);
}
.pn-sidebar .widget {
  background: #fff;
  border: 1px solid var(--light);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
}
.pn-sidebar .widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--light);
  color: var(--ink);
}
.pn-sidebar .widget ul { list-style: none; padding: 0; }
.pn-sidebar .widget li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(232,227,216,0.5);
  font-size: 13.5px;
}
.pn-sidebar .widget li:last-child { border-bottom: none; }
.pn-sidebar .widget a { color: var(--ink); transition: color 0.2s; }
.pn-sidebar .widget a:hover { color: var(--rust); }

/* ═══════════════════════════════════════
   PAGINATION
═══════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--light);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  transition: all 0.2s;
}
.pagination a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.pagination .current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.pn-footer {
  background: var(--ink);
  border-top: 1px solid rgba(201,168,76,0.18);
  padding: 52px 40px 36px;
}
.pn-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.pn-footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}
.pn-footer-brand span { color: var(--gold); }
.pn-footer-copy p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.42);
  line-height: 1.75;
  margin-bottom: 5px;
}
.pn-footer-copy a { color: var(--gold); transition: opacity 0.2s; }
.pn-footer-copy a:hover { opacity: 0.75; }
.pn-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 12px;
}
.pn-footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  transition: color 0.2s;
}
.pn-footer-links a:hover { color: var(--gold); }
.pn-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.pn-social-pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 6px 14px;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.pn-social-pill:hover {
  background: var(--gold);
  color: var(--ink);
}
.pn-social-wa {
  border-color: rgba(37,211,102,0.5) !important;
  color: #25D366 !important;
}
.pn-social-wa:hover {
  background: #25D366 !important;
  color: #fff !important;
}

/* WhatsApp floating button */
.pn-wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 9998;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pn-wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

/* ═══════════════════════════════════════
   404 PAGE
═══════════════════════════════════════ */
.pn-404 {
  text-align: center;
  padding: 80px 20px;
}
.pn-404 h1 {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 900;
  color: var(--light);
  margin-bottom: 16px;
}
.pn-404 p { font-size: 16px; color: var(--mid); margin-bottom: 24px; }
.pn-404 a {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s;
}
.pn-404 a:hover { background: var(--rust); }

/* ═══════════════════════════════════════
   SEARCH
═══════════════════════════════════════ */
.search-form {
  display: flex;
  gap: 0;
}
.search-form .search-field {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--light);
  border-right: none;
  border-radius: 6px 0 0 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
}
.search-form .search-field:focus { outline: none; border-color: var(--gold); }
.search-form .search-submit {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 0 6px 6px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 768px) {
  .pn-masthead { padding: 14px 18px; }
  .pn-masthead-title { font-size: 1.25rem; }
  .pn-masthead-tagline { display: none; }
  .pn-brand-link { display: block; }
  .pn-toggle { display: flex; }
  .pn-links { display: none; }
  .pn-breadcrumb { padding: 8px 16px; }
  .pn-page { padding: 28px 16px 48px; }
  .pn-footer { padding: 36px 18px 28px; }
  .pn-footer-inner { flex-direction: column; gap: 24px; }
  .post-navigation { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .entry-content { font-size: 15px; }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* WordPress core alignment */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 1em auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--mid); text-align: center; margin-top: 6px; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
