/*
Theme Name: Vyqon Energy News
Theme URI: https://example.com/vyqon-energy-news
Author: Vyqon
Author URI: https://example.com
Description: Custom editorial WordPress theme inspired by modern clean energy news portals.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: vyqon-energy-news
*/

:root {
  --color-bg: #ffffff;
  --color-surface: #f3f7fb;
  --color-text: #1d2f43;
  --color-muted: #657285;
  --color-border: #d6dfe7;
  --color-accent: #1da64a;
  --color-accent-dark: #13853a;
  --color-accent-soft: #e9f7ee;
  --color-heading: #0a4b95;
  --color-brand-blue: #0f82cb;
  --color-brand-yellow: #f6c30f;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 4px 16px rgba(14, 29, 47, 0.08);
  --container: 1650px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: "Inter", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-utility-bar {
  background: #0d1035;
  border-bottom: 1px solid #1e2655;
}

.site-utility-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 0.45rem 0 0.42rem;
}

.utility-social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.utility-social a {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  transition: all 0.2s ease;
}

.utility-social a:hover,
.utility-social a:focus {
  background: #fff;
  border-color: #fff;
  color: #0d1035;
}

.utility-navigation .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.utility-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.utility-navigation li {
  margin: 0;
}

.utility-navigation a {
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.9;
}

.utility-navigation a:hover,
.utility-navigation a:focus {
  color: #fff;
  opacity: 1;
}

.site-header {
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 94px;
  padding: 0.8rem 0;
}

.branding {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.custom-logo-link img {
  max-height: 58px;
  width: auto;
}

.site-title {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1;
  font-family: "Inter", sans-serif;
}

.site-title a {
  color: var(--color-heading);
}

.site-description {
  margin: 0.1rem 0 0;
  color: var(--color-muted);
  font-size: 1rem;
}

.primary-nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: space-between;
  min-width: 0;
  position: relative;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0.5rem 0.7rem;
  color: var(--color-text);
  cursor: pointer;
}

.main-navigation .menu,
.footer-navigation .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(1.1rem, 1.5vw, 2rem);
}

.main-navigation ul,
.footer-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(1.1rem, 1.5vw, 2rem);
}

.main-navigation li,
.footer-navigation li {
  margin: 0;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  color: #232d45;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.main-navigation .current-menu-item > a,
.main-navigation a:hover,
.main-navigation a:focus {
  color: #0b1a4d;
}

.main-navigation .sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  z-index: 60;
  min-width: 240px;
  display: grid;
  gap: 0;
  padding: 0.6rem 0.75rem 0.6rem 0.6rem;
  margin: 0;
  list-style: none;
  background: #f8f8fb;
  border: 1px solid #ececf2;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(13, 28, 52, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.main-navigation .menu > .menu-item-has-children > a {
  position: relative;
}

.main-navigation .menu > .menu-item-has-children > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.main-navigation .sub-menu::after {
  content: "";
  position: absolute;
  top: 0.65rem;
  bottom: 0.65rem;
  right: 0.3rem;
  width: 4px;
  border-radius: 999px;
  background: #10c14b;
}

.main-navigation .sub-menu li {
  margin: 0;
}

.main-navigation .sub-menu a {
  display: block;
  white-space: nowrap;
  padding: 0.42rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #595c73;
  border-radius: 6px;
  transition:
    color 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}

.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu a:focus {
  color: #10c14b;
  transform: translateX(6px);
  background-color: #ffffff;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  position: relative;
}

.search-icon-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5c6680;
  font-size: 1.08rem;
}

.search-icon-svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-icon-link:hover,
.search-icon-link:focus {
  color: #0b1a4d;
  background: #e8ecf3;
}

.search-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header-inline-search {
  position: absolute;
  right: calc(100% + 0.45rem);
  top: 50%;
  transform: translateY(-50%) scaleX(0.92);
  transform-origin: right center;
  width: min(42vw, 300px);
  display: flex;
  gap: 0.35rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}

.header-actions.search-open .header-inline-search {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) scaleX(1);
}

.header-inline-search input[type="search"] {
  min-width: 0;
  flex: 1;
  border: 1px solid #cfd8e8;
  border-radius: 8px;
  padding: 0.52rem 0.62rem;
  font: inherit;
  font-size: 0.82rem;
  color: #1f3047;
  background: #fff;
}

.header-inline-search button {
  border: 0;
  border-radius: 8px;
  background: #0a4b95;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.62rem;
  cursor: pointer;
}

.header-inline-search button:hover,
.header-inline-search button:focus {
  background: #08396f;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-accent);
  color: #fff;
  background: var(--color-accent);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn:hover,
.btn:focus {
  color: #fff;
  background: var(--color-accent-dark);
}

.primary-navigation {
  padding: 0;
  overflow: visible;
  scrollbar-width: none;
}

.primary-navigation::-webkit-scrollbar {
  display: none;
}

.primary-navigation .menu {
  flex-wrap: nowrap;
  min-width: max-content;
}

.primary-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(1.1rem, 1.5vw, 2rem);
  min-width: max-content;
}

.primary-navigation li {
  margin: 0;
}

.primary-navigation a {
  display: inline-flex;
  align-items: center;
  color: #232d45;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.1rem 0;
}

.primary-navigation .current-menu-item a,
.primary-navigation a:hover,
.primary-navigation a:focus {
  color: #0b1a4d;
}

.news-ticker {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.news-ticker-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0;
}

.ticker-label {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-brand-yellow);
  color: var(--color-heading);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.74rem;
  padding: 0.35rem 0.6rem;
}

.ticker-track {
  overflow: hidden;
  white-space: nowrap;
}

.ticker-items {
  display: inline-flex;
  gap: 2rem;
  animation: ticker-scroll 45s linear infinite;
}

.ticker-items a {
  color: var(--color-heading);
  font-weight: 600;
  font-size: 0.92rem;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.main-content {
  padding: 1.4rem 0 2.2rem;
}

.hero-layout-wrap {
  margin-bottom: 1.75rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(300px, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.hero-main {
  min-width: 0;
}

.hero-feature-article {
  border-bottom: 1px solid #d7ddea;
  padding-bottom: 1.3rem;
}

.hero-feature-media {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 16 / 9;
  max-height: 460px;
  box-shadow: var(--shadow-sm);
}

.hero-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-badge {
  position: absolute;
  left: 0;
  top: 0;
  background: #ff7a00;
  color: #fff;
  font-size: 0.67rem;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.52rem 0.72rem;
  z-index: 3;
}

.hero-feature-content {
  padding-top: 0.9rem;
}

.hero-meta-top {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: #8a94a8;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-meta-top .post-category {
  margin: 0;
  font-size: 0.67rem;
  letter-spacing: 0.05em;
}

.hero-meta-top span {
  position: relative;
  padding-left: 0.65rem;
}

.hero-meta-top span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 0.7rem;
  background: #cfd6e4;
  transform: translateY(-50%);
}

.hero-feature-title {
  margin: 0.55rem 0 0.6rem;
  font-size: clamp(1.35rem, 1.8vw, 1.875rem);
  line-height: 1.15;
  color: #0b1a4d;
  font-family: "Inter", sans-serif;
}

.hero-feature-title a {
  color: inherit;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.hero-feature-title a:hover,
.hero-feature-title a:focus {
  color: #0a4b95;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.hero-feature-excerpt {
  margin: 0;
  font-size: 1.02rem;
  color: #33415a;
  line-height: 1.5;
}

.hero-feature-byline {
  margin-top: 0.9rem;
  font-size: 0.73rem;
  color: #7e88a0;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.home-latest-news {
  margin-top: 1.2rem;
}

.home-latest-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 4px solid #2e2285;
}

.home-latest-heading h2 {
  margin: 0;
  background: #2e2285;
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
}

.home-latest-heading a {
  color: #9ca5b8;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.home-latest-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.home-latest-item .post-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 0.45rem;
}

.home-latest-item .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-latest-content h3 {
  margin: 0.52rem 0 0;
  color: #0b1a4d;
  line-height: 1.25;
  font-size: 1.25rem;
  font-family: "Inter", sans-serif;
}

.hero-rail {
  display: grid;
  gap: 1.25rem;
}

.briefing-card {
  background: #0a4b95;
  color: #fff;
  border-radius: 0;
  padding: 1.5rem 1.4rem;
  border: 1px solid #0a4b95;
}

.briefing-card h3 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 800;
}

.briefing-card p {
  margin: 0.85rem 0 1.1rem;
  color: #d9e8f7;
  font-size: 0.95rem;
  line-height: 1.5;
}

.briefing-notice {
  margin: 0 0 0.8rem;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 600;
}

.briefing-notice.is-success {
  background: rgba(29, 166, 74, 0.18);
  border: 1px solid rgba(29, 166, 74, 0.45);
  color: #d7ffe5;
}

.briefing-notice.is-info {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e0ebff;
}

.briefing-notice.is-error {
  background: rgba(255, 118, 118, 0.16);
  border: 1px solid rgba(255, 118, 118, 0.38);
  color: #ffe0e0;
}

.briefing-form {
  display: grid;
  gap: 0.7rem;
}

.briefing-form input {
  width: 100%;
  border: 1px solid #1f68b5;
  background: #0f5bab;
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
  padding: 0.78rem 0.8rem;
  outline: 0;
}

.briefing-form input::placeholder {
  color: #bcd8f3;
}

.briefing-form input:focus {
  border-color: #f6c30f;
}

.briefing-form button {
  width: 100%;
  border: 0;
  background: #1da64a;
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  padding: 0.8rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.briefing-form button:hover,
.briefing-form button:focus {
  background: #13853a;
}

.hero-rail-ad {
  min-height: 500px;
  display: grid;
  place-items: center;
}

.popular-list-numbered {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popular-list-numbered li {
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  gap: 0.7rem;
  align-items: start;
  border-top: 1px solid #d8deea;
  padding: 0.82rem 0;
}

.popular-list-numbered li:first-child {
  border-top: 0;
}

.popular-num {
  color: #cfd6e4 !important;
  font-size: 2rem !important;
  font-weight: 800;
  transition: color 0.2s ease;
  text-align: left;
  min-width: 2.3rem;
  transform: translateY(-0.16rem);
}

.popular-item-content a {
  display: block;
  color: #0c1a49;
  line-height: 1.28;
  font-weight: 600 !important;
  font-size: 1.1rem;
  margin-top: 0;
}

.popular-item-content span {
  display: block;
  margin-top: 0.28rem;
  color: #8d97ad;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  padding-left: 20px;
}

.popular-list-numbered li:hover .popular-num,
.popular-list-numbered li:focus-within .popular-num {
  color: #00b247 !important;
}

.lead-wrap {
  margin-bottom: 1.5rem;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.92fr) minmax(0, 2.55fr) minmax(
      250px,
      1fr
    );
  gap: 1.25rem;
  align-items: start;
}

.lead-headlines {
  border-top: 2px solid var(--color-heading);
  border-bottom: 1px solid var(--color-heading);
  padding-top: 0.6rem;
}

.lead-headlines h2 {
  margin: 0 0 0.55rem;
  color: var(--color-accent);
  font-size: 1.95rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.01em;
  font-family: "Inter", sans-serif;
}

.headline-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.headline-list li {
  border-top: 1px solid var(--color-heading);
  padding: 0.62rem 0;
}

.headline-list a {
  display: block;
  font-size: 0.99rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--color-heading);
}

.headline-list span {
  font-size: 0.84rem;
  color: #8696aa;
}

.lead-feature-main {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.38fr);
  gap: 1rem;
}

.lead-feature-main .post-thumb {
  position: relative;
  min-height: 245px;
  border: 0;
}

.lead-feature-main .lead-badge {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.55rem 0.75rem;
  z-index: 3;
}

.lead-feature-main .post-thumb img,
.no-thumb-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-thumb-placeholder {
  min-height: 245px;
  background: linear-gradient(135deg, #d9ecfa 0%, #b6d8f2 100%);
}

.lead-feature-content {
  padding-right: 0.4rem;
}

.lead-title {
  margin: 0.35rem 0 0.45rem;
  font-family: "Inter", sans-serif;
  font-size: 2.05rem;
  line-height: 1.18;
  color: #10386b;
  font-weight: 800;
}

.lead-title a {
  color: inherit;
}

.lead-sub-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.lead-sub-story .post-category {
  font-size: 0.78rem;
}

.lead-sub-story h3 {
  margin: 0.15rem 0 0.25rem;
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
}

.lead-sub-story h3 a {
  color: var(--color-heading);
}

.lead-sub-story p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.88rem;
  line-height: 1.45;
}

.lead-sub-story span {
  display: block;
  margin-top: 0.4rem;
  color: #8696aa;
  font-size: 0.84rem;
}

.newsletter-dark {
  background: #0a0b0f;
  color: #fff;
}

.newsletter-dark h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-family: "Inter", sans-serif;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 700;
}

.newsletter-inline {
  display: flex;
  gap: 0.5rem;
}

.newsletter-inline input {
  flex: 1;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  padding: 0.45rem 0;
  font-size: 0.85rem;
}

.newsletter-inline button {
  border: 0;
  background: #fff;
  color: #111;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.popular-card {
  border-top: 2px solid var(--color-heading);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  padding-inline: 0;
  background: transparent;
}

.popular-card .widget-title {
  margin-bottom: 0.45rem;
  color: var(--color-accent);
  text-transform: uppercase;
  font-size: 1.9rem;
  font-weight: 600;
}

.popular-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popular-list li {
  border-top: 1px solid var(--color-heading);
  padding: 0.65rem 0;
}

.popular-list a {
  display: block;
  font-weight: 800;
  color: var(--color-heading);
  font-size: 0.98rem;
  line-height: 1.33;
  padding-left: 20px;
}

.popular-list span {
  color: #8696aa;
  font-size: 0.84rem;
}

.ad-slot-wide {
  margin-top: 1.4rem;
  min-height: 88px;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(300px, 1fr);
  gap: 1.3rem;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.featured-hero {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.post-thumb {
  display: block;
  overflow: hidden;
}

.post-thumb img {
  transition: transform 0.45s ease;
}

.post-thumb-fallback {
  display: block;
  width: 100%;
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(10, 75, 149, 0.08), rgba(29, 166, 74, 0.08)),
    repeating-linear-gradient(
      -45deg,
      #edf2f8,
      #edf2f8 10px,
      #e4ebf4 10px,
      #e4ebf4 20px
    );
  position: relative;
}

.post-thumb-fallback::before {
  content: "No Image";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #7d8aa0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.post-list-item .post-thumb {
  height: 100%;
}

.post-list-item .post-thumb-fallback {
  min-height: 100%;
  height: 100%;
}

.post-card:hover .post-thumb img,
.featured-hero:hover .post-thumb img {
  transform: scale(1.04);
}

.featured-body {
  padding: 1.15rem 1.25rem 1.4rem;
}

.mini-list {
  display: grid;
  gap: 0.85rem;
}

.mini-story {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.95rem;
  background: #fff;
}

.mini-story .post-title-md {
  font-size: 1.02rem;
  margin: 0.4rem 0;
}

.post-category {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  font-weight: 800;
}

.post-category-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.post-category-list .post-category + .post-category::before {
  content: "|";
  color: #a6b0c0;
  margin-right: 0.45rem;
}

.post-title {
  margin: 0.55rem 0;
  font-size: 2rem;
  line-height: 1.2;
  font-family: "Inter", sans-serif;
  color: var(--color-heading);
}

.post-title-md {
  margin: 0.55rem 0;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--color-heading);
  font-family: "Inter", sans-serif;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-muted);
  font-size: 0.86rem;
}

.post-excerpt {
  color: var(--color-muted);
  margin-top: 0.7rem;
}

.sidebar-stack {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.widget-card,
.rail-card,
.trend-card,
.newsletter-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 1rem;
}

/* Keep newsletter promo dark even after generic card styles */
.newsletter-card.newsletter-dark {
  background: #0a0b0f;
  color: #fff;
  border-color: #0a0b0f;
}

.newsletter-card.newsletter-dark h3 {
  color: #fff;
}

.newsletter-card.newsletter-dark .newsletter-inline input {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2ebf2;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--color-heading);
  font-family: "Inter", sans-serif;
}

.post-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.post-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.post-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.post-card .post-content {
  padding: 0.9rem 1rem 1rem;
}

.post-list-compact {
  margin: 0;
  padding: 0 0 0 1rem;
  display: grid;
  gap: 0.7rem;
}

.post-list-compact li {
  color: var(--color-muted);
  font-weight: 700;
}

.post-list-compact a {
  color: var(--color-heading);
  font-size: 0.95rem;
  line-height: 1.35;
}

.plain-list {
  list-style: none;
  padding-left: 0;
}

.ad-slot {
  margin-top: 1rem;
  min-height: 88px;
  border: 1px solid #d9e0e7;
  border-radius: 0;
  background: linear-gradient(130deg, #f0f4f8 0%, #dce4ef 100%);
  display: grid;
  place-items: center;
  color: #5f6f83;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.ad-slot-rail {
  min-height: 242px;
  margin-top: 0;
}

.archive-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

.page-layout {
  width: 100%;
}

.page-layout .single-main {
  max-width: 100%;
}

.about-page {
  width: 100%;
}

.about-page + .site-footer {
  margin-top: 0;
}

.contact-page + .site-footer {
  margin-top: 1rem;
}

.contact-page-shell {
  padding: 1rem;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(58, 30, 164, 0.05), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 10px 24px rgba(12, 24, 47, 0.05);
}

.contact-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid #e4eaf4;
}

.contact-eyebrow {
  margin: 0 0 0.3rem;
  color: #6d7ea0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 700;
}

.contact-page .entry-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #281f90;
  font-weight: 800;
}

.contact-page .entry-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 0.55rem;
  background: linear-gradient(90deg, #ff6a00, #ff8f2d);
  border-radius: 999px;
}

.contact-intro {
  margin: 0.8rem 0 0;
  color: #5f7191;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 56ch;
}

.contact-page-content > *:first-child {
  margin-top: 0;
}

.contact-page .entry-content > .wp-block-columns {
  gap: 1.2rem;
  align-items: start;
}

.contact-page .entry-content > .wp-block-columns > .wp-block-column {
  background: #fff;
  border: 1px solid #e5eaf3;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(15, 31, 59, 0.04);
}

.contact-page .entry-content h2,
.contact-page .entry-content h3 {
  color: #26238e;
  margin-top: 0;
  margin-bottom: 0.7rem;
  line-height: 1.1;
}

.contact-page .entry-content h2 {
  font-size: 1.15rem;
}

.contact-page .entry-content h3 {
  font-size: 1.05rem;
}

.contact-page .entry-content p {
  color: #3e5276;
  line-height: 1.55;
  font-size: 0.95rem;
}

.contact-page .entry-content a {
  color: #2d37a4;
}

.contact-page .entry-content form {
  display: grid;
  gap: 0.8rem;
}

.contact-page .entry-content label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #24375f;
  font-size: 0.9rem;
}

.contact-page .entry-content input[type="text"],
.contact-page .entry-content input[type="email"],
.contact-page .entry-content input[type="tel"],
.contact-page .entry-content input[type="url"],
.contact-page .entry-content input[type="number"],
.contact-page .entry-content select,
.contact-page .entry-content textarea {
  width: 100%;
  border: 1px solid #ccd7ea;
  border-radius: 10px;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  background: #fbfcff;
  color: #1f2e4d;
  font-size: 0.92rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.contact-page .entry-content textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-page .entry-content input:focus,
.contact-page .entry-content select:focus,
.contact-page .entry-content textarea:focus {
  outline: none;
  border-color: #3b2aa8;
  box-shadow: 0 0 0 3px rgba(59, 42, 168, 0.12);
  background: #fff;
}

.contact-page .entry-content input[type="submit"],
.contact-page .entry-content button[type="submit"],
.contact-page .entry-content .wpcf7-submit {
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff6a00, #ff7d1f);
  color: #fff;
  min-height: 42px;
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(255, 106, 0, 0.2);
  justify-self: start;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-page .entry-content input[type="submit"]:hover,
.contact-page .entry-content button[type="submit"]:hover,
.contact-page .entry-content .wpcf7-submit:hover,
.contact-page .entry-content input[type="submit"]:focus-visible,
.contact-page .entry-content button[type="submit"]:focus-visible,
.contact-page .entry-content .wpcf7-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(255, 106, 0, 0.24);
}

.contact-page .entry-content .wpcf7-form-control-wrap {
  display: block;
}

.contact-page .entry-content .wpcf7-not-valid-tip {
  font-size: 0.78rem;
  margin-top: 0.25rem;
}

.contact-page .entry-content .wpcf7-response-output {
  margin: 0.35rem 0 0 !important;
  border-radius: 10px;
  font-size: 0.85rem;
  padding: 0.7rem 0.9rem !important;
}

.contact-page .entry-content .wp-block-group,
.contact-page .entry-content .wp-block-cover,
.contact-page .entry-content .wp-block-media-text {
  border-radius: 14px;
  overflow: hidden;
}

.about-hero {
  margin-inline: calc(50% - 50vw);
  background:
    radial-gradient(
        circle at 1px 1px,
        rgba(255, 255, 255, 0.12) 1px,
        transparent 1.2px
      )
      0 0 / 16px 16px,
    linear-gradient(135deg, #2d1aa6 0%, #28159a 45%, #240f89 100%);
  color: #fff;
}

.about-hero-inner {
  width: min(100% - 2rem, 1650px);
  margin-inline: auto;
  min-height: 300px;
  display: grid;
  align-items: center;
  padding: 2rem 0;
}

.about-hero-copy {
  width: min(100%, 760px);
  margin-left: min(16vw, 260px);
}

.about-eyebrow {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.about-hero-title {
  margin: 0;
  display: grid;
  gap: 0.08em;
  font-size: clamp(1.7rem, 3.4vw, 3.45rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-weight: 800;
  font-style: italic;
}

.about-hero-title span {
  display: block;
}

.about-hero-title em {
  color: #ff6a00;
  font-style: inherit;
}

.about-hero-intro {
  margin: 1.2rem 0 0;
  color: rgba(235, 242, 255, 0.92);
  font-size: 1.1rem;
  line-height: 1.55;
  max-width: 58ch;
}

.about-story {
  padding: 1.8rem 0 1rem;
}

.about-metrics {
  padding: 1.8rem 0 0.8rem;
}

.about-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.about-metric-item {
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 12px;
  padding: 1rem 0.9rem;
  text-align: center;
  box-shadow: 0 8px 18px rgba(18, 34, 66, 0.04);
}

.about-metric-item strong {
  display: block;
  color: #31239e;
  font-size: clamp(1.6rem, 2vw, 2.25rem);
  line-height: 1;
  font-style: italic;
  font-weight: 800;
}

.about-metric-item span {
  display: block;
  margin-top: 0.35rem;
  color: #8794ac;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.62rem;
  font-weight: 700;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 1.15rem;
  align-items: center;
}

.about-story-copy {
  position: relative;
  padding-left: 1rem;
}

.about-story-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6a00, #ff7e1f);
}

.about-story-stack {
  display: grid;
  gap: 1rem;
}

.about-story-block h2 {
  margin: 0 0 0.45rem;
  color: #2b2290;
  text-transform: uppercase;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 800;
}

.about-story-block p {
  margin: 0;
  color: #2f4163;
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 40ch;
}

.about-visual {
  position: relative;
}

.about-visual-media {
  border-radius: 12px;
  overflow: hidden;
  min-height: 250px;
  max-height: 360px;
  aspect-ratio: 16 / 10;
  box-shadow: 0 12px 28px rgba(15, 31, 59, 0.1);
  background: #eef2f8;
}

.about-visual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-visual-fallback {
  background:
    linear-gradient(160deg, rgba(12, 23, 44, 0.22), rgba(12, 23, 44, 0.45)),
    radial-gradient(
      circle at 35% 30%,
      rgba(255, 255, 255, 0.35),
      transparent 45%
    ),
    linear-gradient(135deg, #d7dde8, #bfc9d9);
}

.about-visual-badge {
  position: absolute;
  right: 5.75rem;
  bottom: -1.25rem;
  background: #ff6a00;
  color: #fff;
  padding: 0.85rem 0.95rem;
  min-width: 125px;
  box-shadow: 0 12px 26px rgba(255, 106, 0, 0.25);
}

.about-visual-badge strong {
  display: block;
  font-size: 1.75rem;
  line-height: 0.95;
  font-weight: 800;
  font-style: italic;
}

.about-visual-badge span {
  display: block;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 700;
}

.about-content-wrap {
  margin: 1.5rem 0 0;
}

.about-content-card {
  padding: 1.5rem;
}

.about-content-heading {
  margin: 0 0 0.8rem;
  color: #152f66;
  font-size: 1.45rem;
  font-weight: 700;
}

.about-team {
  padding: 1.4rem 0 1.8rem;
}

.about-team-head {
  text-align: center;
  margin-bottom: 1.1rem;
}

.about-team-head h2 {
  margin: 0;
  color: #31239e;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  text-transform: uppercase;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.about-team-head::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  margin: 0.65rem auto 0;
  background: #ff6a00;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-team-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 12px;
  padding: 0.8rem;
  box-shadow: 0 8px 18px rgba(15, 31, 59, 0.04);
}

.about-team-media {
  border-radius: 10px;
  overflow: hidden;
  background: #edf1f6;
  aspect-ratio: 16 / 10;
  max-height: 185px;
  margin-bottom: 0.65rem;
}

.about-team-media img,
.about-team-media-fallback {
  width: 100%;
  height: 100%;
  display: block;
}

.about-team-media img {
  object-fit: contain;
  object-position: center top;
  background: #edf1f6;
}

.about-team-media-fallback {
  background:
    radial-gradient(
      circle at 35% 25%,
      rgba(255, 255, 255, 0.35),
      transparent 45%
    ),
    linear-gradient(145deg, #cfd6e2, #aebacc);
}

.about-team-card h3 {
  margin: 0;
  color: #2a2994;
  font-size: 0.9rem;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 800;
}

.about-team-role {
  margin: 0.1rem 0 0;
  color: #ff6a00;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.62rem;
  font-weight: 700;
}

.about-team-bio {
  margin: 0.4rem 0 0;
  color: #667894;
  font-size: 0.78rem;
  line-height: 1.35;
}

.about-cta {
  margin-inline: calc(50% - 50vw);
  background: linear-gradient(135deg, #3219a9 0%, #2b1595 100%);
  color: #fff;
  margin-top: 0.6rem;
}

.about-cta-inner {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
  padding: 2.6rem 0;
  text-align: center;
}

.about-cta-title {
  margin: 0;
  text-transform: uppercase;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.2rem, 2vw, 2rem);
  letter-spacing: -0.01em;
}

.about-cta-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 185px;
  min-height: 42px;
  padding: 0.7rem 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.about-cta-btn.is-primary {
  background: #ff6a00;
  color: #fff;
}

.about-cta-btn.is-secondary {
  background: #fff;
  color: #2b1e92;
}

.about-cta-btn:hover,
.about-cta-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(10, 16, 34, 0.18);
}

@media (max-width: 1080px) {
  .contact-page .entry-content > .wp-block-columns {
    gap: 0.9rem;
  }

  .about-hero-inner {
    min-height: 260px;
    padding: 1.6rem 0;
  }

  .about-hero-copy {
    margin-left: min(8vw, 80px);
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
  }

  .about-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-visual {
    max-width: 700px;
  }

  .about-visual-badge {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

@media (max-width: 700px) {
  .contact-page-shell {
    padding: 0.8rem;
    border-radius: 12px;
  }

  .contact-page-head {
    margin-bottom: 0.7rem;
    padding-bottom: 0.75rem;
  }

  .contact-page .entry-title {
    font-size: 1.6rem;
  }

  .contact-page .entry-content > .wp-block-columns > .wp-block-column {
    padding: 0.85rem;
  }

  .contact-page .entry-content h2 {
    font-size: 1rem;
  }

  .contact-page .entry-content p {
    font-size: 0.9rem;
  }

  .about-hero-inner {
    min-height: 0;
    padding: 1.3rem 0;
  }

  .about-hero-copy {
    margin-left: 0;
    width: 100%;
  }

  .about-hero-title {
    font-size: clamp(1.35rem, 7vw, 2rem);
    line-height: 0.98;
  }

  .about-hero-intro {
    font-size: 0.86rem;
    margin-top: 0.75rem;
  }

  .about-story {
    padding: 1.4rem 0 0.9rem;
  }

  .about-metrics {
    padding-top: 1.2rem;
  }

  .about-metrics-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .about-story-copy {
    padding-left: 0.85rem;
  }

  .about-story-copy::before {
    width: 3px;
  }

  .about-story-block h2 {
    font-size: 1.15rem;
  }

  .about-story-block p {
    font-size: 0.9rem;
  }

  .about-visual-media {
    min-height: 190px;
    max-height: 260px;
  }

  .about-visual-badge {
    min-width: 120px;
    padding: 0.8rem 0.9rem;
    right: 0.55rem;
    bottom: 0.55rem;
  }

  .about-visual-badge strong {
    font-size: 1.5rem;
  }

  .about-visual-badge span {
    font-size: 0.62rem;
  }

  .about-content-card {
    padding: 1rem;
  }

  .about-team {
    padding: 1.2rem 0 1.4rem;
  }

  .about-team-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .about-team-media {
    aspect-ratio: 16 / 9;
    max-height: 220px;
  }

  .about-cta-inner {
    padding: 2rem 0;
  }

  .about-cta-btn {
    width: 100%;
    min-width: 0;
  }
}

.post-list {
  display: grid;
  gap: 1rem;
}

.post-list-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 260px) 1fr;
}

.post-list-item .post-content {
  padding: 1rem;
}

.pagination-wrap {
  margin-top: 1.3rem;
}

.pagination-wrap .nav-links {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.pagination-wrap .page-numbers {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.7rem;
}

.pagination-wrap .page-numbers.current {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.single-main {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: 0 10px 24px rgba(12, 28, 52, 0.05);
}

.single-article {
  display: grid;
  gap: 1.1rem;
}

.single-header {
  padding-bottom: 1rem;
  border-bottom: 1px solid #e3e9f1;
}

.single-main .entry-title {
  margin: 0.55rem 0 0.75rem;
  font-size: clamp(1.54rem, 2.3vw, 2.38rem);
  line-height: 1.13;
  color: #132f69;
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.single-meta span {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d6deeb;
  border-radius: 999px;
  background: #f6f8fc;
  color: #64748d;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.34rem 0.58rem;
}

.single-audio-player {
  margin-top: 0.9rem;
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: #e7eaef;
  border: 1px solid #d7dde7;
}

.audio-play-toggle {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #d9dee6;
  color: #121723;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.audio-play-toggle:hover,
.audio-play-toggle:focus {
  background: #cfd6e2;
}

.audio-icon-play {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #111826;
  margin-left: 2px;
}

.audio-play-toggle.is-playing .audio-icon-play {
  width: 10px;
  height: 10px;
  border: 0;
  margin-left: 0;
  background:
    linear-gradient(#111826, #111826) left center / 3px 10px no-repeat,
    linear-gradient(#111826, #111826) right center / 3px 10px no-repeat;
}

.audio-time {
  color: #303748;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.audio-progress {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: #cfd5df;
  overflow: hidden;
}

.audio-progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: #2f374a;
  transition: width 0.15s linear;
}

.audio-volume-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2635;
}

.audio-volume-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.single-featured-media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d9e1ee;
  aspect-ratio: 16 / 9;
  max-height: 460px;
}

.single-featured-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.single-main .entry-content {
  color: #223142;
  font-size: 1.04rem;
  line-height: 1.85;
}

.single-main .entry-content p,
.single-main .entry-content ul,
.single-main .entry-content ol {
  margin: 0 0 1rem;
}

.single-main .entry-content ul,
.single-main .entry-content ol {
  padding-left: 1.2rem;
}

.single-main .entry-content blockquote {
  margin: 1.3rem 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid #0a4b95;
  background: #f4f8ff;
  color: #203a63;
}

.single-main .entry-content img {
  border-radius: 10px;
}

.single-main .entry-content h2,
.single-main .entry-content h3 {
  color: #153775;
  font-family: "Inter", sans-serif;
  margin: 1.4rem 0 0.7rem;
  line-height: 1.3;
}

.single-main .entry-content a {
  color: #0a4b95;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.single-post-nav {
  border-top: 1px solid #e3e9f1;
  padding-top: 1rem;
}

.single-post-nav .nav-links {
  display: grid;
  gap: 0.7rem;
}

.single-post-nav .nav-previous a,
.single-post-nav .nav-next a {
  display: inline-flex;
  color: #173b75;
  font-weight: 600;
  line-height: 1.35;
}

.sidebar-stack .widget {
  border: 1px solid #d5deea;
  border-radius: 10px;
  background: #fff;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.sidebar-stack .widget-title {
  margin: 0 0 0.95rem;
  color: #132e63;
  font-size: 2rem;
  font-weight: 700;
}

.sidebar-stack .widget ul li a {
  color: #1a3470;
  line-height: 1.45;
}

.sidebar-stack .widget ul li + li {
  margin-top: 0.45rem;
}

.sidebar-stack .widget_recent_entries ul {
  display: grid;
  gap: 0.7rem;
}

.sidebar-stack .widget_recent_entries ul li {
  margin: 0;
  padding: 0 0 0.7rem;
  border-bottom: 1px solid #e1e8f2;
}

.sidebar-stack .widget_recent_entries ul li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sidebar-stack .widget_recent_entries ul li a {
  display: block;
  font-size: 1.02rem;
  line-height: 1.4;
  font-weight: 600;
  color: #18366f;
}

.sidebar-stack .widget_recent_entries .post-date {
  display: block;
  margin-top: 0.26rem;
  color: #7d8ca7;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.single-recent-posts {
  border: 1px solid #d5deea;
  border-radius: 10px;
  background: #fff;
  padding: 1rem;
}

.single-recent-posts h3 {
  margin: 0;
  color: #2d2285;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid #2d2285;
}

.single-recent-posts ul {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.single-recent-posts li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0.8rem;
  align-items: start;
}

.single-recent-thumb {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  background: #ecf1f8;
}

.single-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-recent-thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #e8edf5 0%, #dbe4f0 100%);
}

.single-recent-content {
  min-width: 0;
}

.single-recent-title {
  display: block;
  color: #1f2c45;
  line-height: 1.28;
  font-size: 1.02rem;
  font-weight: 700;
}

.single-recent-title:hover,
.single-recent-title:focus {
  color: #0a4b95;
}

.single-recent-date {
  display: block;
  margin-top: 0.38rem;
  color: #8c98af;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.sidebar-stack .widget_recent_comments,
.sidebar-stack .widget_archive,
.sidebar-stack .widget_categories {
  display: none;
}

.sidebar-stack .wp-block-search__inside-wrapper,
.sidebar-stack .search-form {
  display: flex;
  gap: 0.55rem;
}

.sidebar-stack input[type="search"],
.sidebar-stack input[type="text"],
.sidebar-stack input[type="email"],
.sidebar-stack input[type="url"],
.sidebar-stack textarea {
  width: 100%;
  border: 1px solid #cfd8e8;
  border-radius: 8px;
  padding: 0.6rem 0.72rem;
  font: inherit;
  color: #1f3047;
  background: #fff;
}

.sidebar-stack button,
.sidebar-stack input[type="submit"] {
  border: 0;
  border-radius: 8px;
  background: #0a4b95;
  color: #fff;
  font-weight: 600;
  padding: 0.58rem 0.85rem;
  cursor: pointer;
}

.sidebar-stack button:hover,
.sidebar-stack button:focus,
.sidebar-stack input[type="submit"]:hover,
.sidebar-stack input[type="submit"]:focus {
  background: #08396f;
}

.sidebar-stack .briefing-card {
  align-self: start;
}

.sidebar-stack .briefing-form input {
  border: 1px solid #1f68b5;
  background: #0f5bab;
  color: #fff;
  border-radius: 0;
  padding: 0.78rem 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
  font-weight: 700;
}

.sidebar-stack .briefing-form input::placeholder {
  color: #bcd8f3;
}

.sidebar-stack .briefing-form button {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: #1da64a;
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  padding: 0.8rem 0.9rem;
}

.sidebar-stack .briefing-form button:hover,
.sidebar-stack .briefing-form button:focus {
  background: #13853a;
}

.discussion-section {
  margin-top: 1.7rem;
}

.discussion-title {
  margin: 0 0 1.15rem;
  color: #2d2285;
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 800;
}

.discussion-form-wrap {
  border: 1px solid #d3dcec;
  border-radius: 10px;
  background: #f8faff;
  padding: 1.2rem;
  margin-bottom: 1.3rem;
}

.discussion-form-wrap .comment-reply-title {
  margin: 0 0 0.6rem;
  color: #8a97b3;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.discussion-form-wrap .comment-form {
  display: grid;
  gap: 0.8rem;
}

.discussion-form-wrap .comment-form-comment {
  margin: 0;
}

.discussion-form-wrap .comment-form-comment > label {
  display: none;
}

.discussion-form-wrap .comment-form textarea {
  width: 100%;
  min-height: 118px;
  border: 1px solid #cad5e8;
  border-radius: 0;
  background: #fff;
  padding: 0.85rem;
  color: #20334f;
  font: inherit;
  font-size: 1.01rem;
  line-height: 1.55;
  resize: vertical;
}

.discussion-form-wrap .comment-form textarea::placeholder {
  color: #95a3bd;
}

.discussion-form-wrap .comment-form .submit {
  border: 0;
  border-radius: 0;
  background: #3b1ca4;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  padding: 0.72rem 1.2rem;
  min-width: 180px;
}

.discussion-form-wrap .comment-form .submit:hover,
.discussion-form-wrap .comment-form .submit:focus {
  background: #2d1484;
}

.discussion-form-wrap .comment-form-author,
.discussion-form-wrap .comment-form-email,
.discussion-form-wrap .comment-form-url {
  margin: 0;
}

.discussion-form-wrap .comment-form-author label,
.discussion-form-wrap .comment-form-email label,
.discussion-form-wrap .comment-form-url label {
  display: block;
  margin: 0 0 0.35rem;
  color: #344867;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.discussion-form-wrap .comment-form-author input,
.discussion-form-wrap .comment-form-email input,
.discussion-form-wrap .comment-form-url input {
  width: 100%;
  max-width: 420px;
  border: 1px solid #cad5e8;
  border-radius: 6px;
  background: #fff;
  padding: 0.6rem 0.7rem;
  color: #20334f;
  font: inherit;
  font-size: 0.92rem;
}

.discussion-form-wrap .comment-form-author input:focus,
.discussion-form-wrap .comment-form-email input:focus,
.discussion-form-wrap .comment-form-url input:focus,
.discussion-form-wrap .comment-form textarea:focus {
  outline: none;
  border-color: #7d8fe0;
  box-shadow: 0 0 0 3px rgba(61, 28, 164, 0.1);
}

.discussion-form-wrap .comment-form-cookies-consent {
  margin: 0.2rem 0 0;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #445778;
  font-size: 0.84rem;
  line-height: 1.45;
}

.discussion-form-wrap .comment-form-cookies-consent input[type="checkbox"] {
  margin: 0.15rem 0 0;
  width: 16px;
  height: 16px;
  accent-color: #3b1ca4;
  flex-shrink: 0;
}

.discussion-form-wrap .comment-form-cookies-consent label {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 500;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.discussion-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid #e0e6f1;
}

.discussion-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d8deea;
  color: #3d5789;
  font-weight: 700;
  text-transform: uppercase;
}

.discussion-content {
  min-width: 0;
}

.discussion-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.discussion-author {
  color: #1b2e4d;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.95rem;
}

.discussion-time {
  color: #8b99b4;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.discussion-text {
  margin-top: 0.35rem;
  color: #2d3f60;
  font-size: 1rem;
  line-height: 1.65;
}

.discussion-text p {
  margin: 0;
}

.widget {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: #fff;
  margin-bottom: 1rem;
}

.widget-title {
  margin-top: 0;
  font-size: 1rem;
  color: var(--color-heading);
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.site-footer {
  margin-top: 2.2rem;
  border-top: 4px solid #3a1ea4;
  background: #0b0f3a;
  color: #c9d4eb;
}

.site-footer-inner {
  padding: 3rem 0 2.4rem;
}

.site-footer a {
  color: #a9bad8;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(180px, 1fr));
  gap: 2rem;
  padding-bottom: 2.1rem;
  border-bottom: 1px solid rgba(151, 172, 214, 0.22);
}

.footer-brand-col .custom-logo-link img {
  max-height: 56px;
  filter: brightness(1.05);
}

.footer-brand-name {
  margin: 0;
  color: #fff;
  font-size: 1.65rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 800;
}

.footer-about {
  margin: 1rem 0 1.35rem;
  max-width: 34ch;
  color: #a6b7da;
  font-size: 0.8rem;
  line-height: 1.6;
  font-weight: 500;
}

.footer-social-text {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-social-text a {
  color: #9fb4dc;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-social-text a:hover,
.footer-social-text a:focus {
  color: #fff;
}

.footer-links-col h3 {
  margin: 0 0 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  font-weight: 800;
}

.footer-links-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.86rem;
}

.footer-links-col li {
  margin: 0;
}

.footer-links-col a,
.footer-links-col span {
  color: #9fb3d9;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  line-height: 1.35;
  font-weight: 500;
}

.footer-links-col a:hover,
.footer-links-col a:focus {
  color: #fff;
}

.footer-contact-col a,
.footer-contact-col span {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-bottom-row {
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #c7d3e0;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: all 0.24s ease;
}

.footer-social a:hover,
.footer-social a:focus {
  background: linear-gradient(
    135deg,
    var(--color-brand-blue),
    var(--color-accent)
  );
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 18px rgba(16, 98, 170, 0.24);
}

.copyright {
  color: #9bafd7;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.footer-navigation .menu,
.footer-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-navigation li {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.footer-navigation li + li::before {
  content: "";
  margin-right: 0;
}

.footer-navigation a {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9fb3d9;
}

.footer-navigation a:hover,
.footer-navigation a:focus {
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-feature-media {
    max-height: none;
  }

  .home-latest-grid {
    grid-template-columns: 1fr;
  }

  .hero-rail-ad {
    min-height: 260px;
  }

  .lead-grid {
    grid-template-columns: 1fr;
  }

  .lead-feature-main {
    grid-template-columns: 1fr;
  }

  .lead-sub-grid {
    grid-template-columns: 1fr;
  }

  .lead-title {
    font-size: 2.2rem;
  }

  .site-header-inner {
    min-height: 88px;
  }

  .primary-nav-wrap {
    gap: 0.8rem;
  }

  .home-grid,
  .archive-layout {
    grid-template-columns: 1fr;
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .post-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-main .entry-title {
    font-size: 1.46rem;
  }
}

@media (max-width: 860px) {
  .hero-feature-title {
    font-size: 1.35rem;
  }

  .home-latest-content h3 {
    font-size: 1.08rem;
  }

  .popular-num {
    font-size: 1.8rem;
  }

  .briefing-card {
    padding: 1.2rem 1rem;
  }

  .briefing-card h3 {
    font-size: 1.35rem;
  }

  .site-utility-inner {
    justify-content: space-between;
    padding: 0.35rem 0;
  }

  .utility-navigation {
    display: none;
  }

  .site-header-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.7rem 0;
  }

  .primary-nav-wrap {
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-navigation {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.4rem);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    padding: 0.8rem;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 45;
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation .menu {
    flex-direction: column;
    gap: 0.7rem;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0.7rem;
  }

  .main-navigation .sub-menu {
    position: static;
    top: auto;
    left: auto;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    border: 0;
    box-shadow: none;
    padding: 0.2rem 0 0 0.85rem;
    background: transparent;
  }

  .primary-navigation {
    overflow-x: auto;
    overflow-y: visible;
  }

  .main-navigation .sub-menu a {
    padding: 0.28rem 0;
    font-size: 0.72rem;
  }

  .search-icon-link {
    width: 32px;
    height: 32px;
  }

  .header-inline-search {
    width: min(72vw, 250px);
    right: calc(100% + 0.3rem);
  }

  .post-list-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding-bottom: 1.5rem;
  }

  .footer-bottom-row {
    align-items: flex-start;
  }

  .footer-navigation .menu,
  .footer-navigation ul {
    justify-content: flex-start;
    gap: 0.95rem;
  }

  .footer-navigation a {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }

  .hero-feature-media {
    aspect-ratio: 4 / 3;
  }

  .single-featured-media {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .hero-feature-title {
    font-size: 1.15rem;
  }

  .hero-feature-excerpt {
    font-size: 0.88rem;
  }

  .home-latest-heading h2 {
    font-size: 0.82rem;
    padding: 0.45rem 0.7rem;
  }

  .home-latest-heading a {
    font-size: 0.6rem;
  }

  .briefing-card h3 {
    font-size: 1.18rem;
  }

  .briefing-card p {
    font-size: 0.88rem;
  }

  .site-footer-inner {
    padding: 2.3rem 0 2.5rem;
  }

  .lead-headlines h2,
  .popular-card .widget-title {
    font-size: 1.35rem;
  }

  .headline-list a,
  .popular-list a {
    font-size: 1rem;
  }

  .lead-sub-story h3 {
    font-size: 1.4rem;
  }

  .post-grid-3,
  .post-grid-2 {
    grid-template-columns: 1fr;
  }

  .site-title {
    font-size: 1.45rem;
  }

  .post-title,
  .single-main .entry-title {
    font-size: 1.19rem;
  }

  .ticker-items {
    animation-duration: 30s;
  }
}
