:root {
  --theme-background: #1676c2;
  --theme-background-soft: #0d8ac4;
  --theme-background-dark: #0a5f9b;
  --theme-accent: #0dc420;
  --theme-accent-dark: #0aa41a;
  --theme-text: #ffffff;
  --theme-text-soft: #e5f2fc;
  --theme-ink: #2c2c2c;
  --theme-muted: #65717c;
  --theme-white: #ffffff;
  --theme-line: rgba(255, 255, 255, .3);
  --theme-panel: rgba(9, 72, 124, .28);
  --theme-width: 700px;
  --theme-radius: 5px;
  --theme-shadow: 0 8px 24px rgba(4, 49, 85, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 280px;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  color: var(--theme-text);
  background: var(--theme-background);
  font-family: "Open Sans", Arial, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--theme-white);
  text-underline-offset: .15em;
}

a:hover {
  text-decoration: none;
}

img,
svg,
iframe {
  max-width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 13px;
  color: var(--theme-ink);
  background: var(--theme-white);
  border-radius: 3px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  width: min(var(--theme-width), calc(100% - 24px));
  margin: 0 auto;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 46px;
  margin: 0 auto 22px;
  padding: 2px 0;
  border-bottom: 1px solid var(--theme-accent);
}

.top-nav > a,
.language-switcher > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--theme-white);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
  touch-action: manipulation;
}

.top-nav > a:hover,
.top-nav > a:focus-visible,
.language-switcher > summary:hover,
.language-switcher > summary:focus-visible {
  color: var(--theme-white);
  text-decoration: underline;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
}

.language-switcher {
  position: relative;
}

.language-switcher > summary {
  cursor: pointer;
  list-style: none;
}

.language-switcher > summary::-webkit-details-marker {
  display: none;
}

.language-switcher > summary::after {
  content: " ▾";
  font-size: 11px;
}

.language-options {
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  right: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  width: min(340px, calc(100vw - 20px));
  max-height: min(68vh, 500px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px;
  color: var(--theme-ink);
  background: var(--theme-white);
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-shadow);
  text-align: left;
}

.language-options a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--theme-ink);
  font-size: 13.5px;
  border-radius: 4px;
  text-decoration: none;
  touch-action: manipulation;
}

.language-options a:hover,
.language-options a[aria-current="page"] {
  color: var(--theme-ink);
  background: #eef6fc;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--theme-white);
  direction: ltr;
  text-decoration: none;
}

.brand:hover {
  color: var(--theme-white);
}

.brand-logo {
  display: block;
  width: min(207px, 66vw);
  height: auto;
}

.site-content {
  width: min(var(--theme-width), calc(100% - 24px));
  min-height: 50vh;
  margin: 0 auto;
}

.search-panel {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 8px;
}

.search-panel form,
form#media-search {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 54px;
  width: 100%;
  min-height: 44px;
  margin: 0 auto 5px;
  background: var(--theme-white);
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 3px;
  box-shadow: var(--theme-shadow);
}

.search-panel form:focus-within,
form#media-search:focus-within {
  outline: 3px solid rgba(13, 196, 32, .38);
}

.search-panel form #query,
form#media-search #query {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  color: var(--theme-ink);
  background: transparent;
  border: 0;
  border-radius: 3px 0 0 3px;
  outline: 0;
  font-size: 16px;
}

.search-panel form #button,
form#media-search #button {
  display: grid;
  width: 54px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--theme-ink);
  background: transparent;
  border: 0;
  border-left: 1px solid #eeeeee;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}

.search-panel form #button:hover,
form#media-search #button:hover {
  color: var(--theme-background-dark);
  background: #f2f8fc;
}

.search-panel form #button svg,
form#media-search #button svg {
  fill: currentColor;
}

#suggestions {
  position: absolute;
  z-index: 20;
  top: 42px;
  left: 0;
  display: none;
  width: calc(100% - 54px);
  max-height: 280px;
  overflow-y: auto;
  color: var(--theme-ink);
  background: var(--theme-white);
  border-top: 1px solid #eeeeee;
  border-radius: 0 0 3px 3px;
  box-shadow: var(--theme-shadow);
  text-align: left;
}

#suggestions span {
  display: block;
  padding: 7px 10px;
  line-height: 1.45;
  cursor: pointer;
}

#suggestions span:hover {
  background: #eef6fc;
}

#form_text {
  margin: 6px auto 0;
  color: var(--theme-text-soft);
  font-size: 12px;
  line-height: 1.55;
}

#form_text a {
  color: var(--theme-white);
}

#load {
  display: none;
  width: 100%;
  min-height: 90px;
  margin: 35px auto;
  text-align: center;
}

.spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 4px solid rgba(255, 255, 255, .38);
  border-top-color: var(--theme-white);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.page-article {
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.page-intro {
  padding: 38px 0 25px;
  text-align: center;
}

.page-intro h1 {
  max-width: 660px;
  margin: 0 auto 14px;
  color: var(--theme-white);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.018em;
}

.eyebrow {
  margin: 0 0 6px;
  color: #bff9c5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-intro h1 + p:not(.reviewed) {
  max-width: 650px;
  margin: 0 auto 17px;
  color: var(--theme-white);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.75;
}

.reviewed {
  margin: 11px 0 0;
  color: #cfe5f6;
  font-size: 12px;
}

.page-article > p {
  margin: 0 0 17px;
  color: var(--theme-white);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.72;
}

.page-article > h2 {
  margin-top: 30px;
  padding-top: 0;
  margin-bottom: 13px;
  color: var(--theme-white);
  font-size: clamp(1.2rem, 2.7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.012em;
}

.trending-section {
  padding: 26px 0 28px;
  text-align: left;
}

.home-article .page-intro {
  padding-bottom: 8px;
}

.home-article .trending-section {
  padding: 8px 0 12px;
}

.home-article .pillar-section {
  padding: 12px 0;
}

.home-article .pillar-section + .pillar-section {
  padding-top: 0;
}

.trending-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

.trending-heading-group {
  min-width: 0;
}

.trending-heading-group h2 {
  margin: 0 0 7px;
  color: var(--theme-white);
  font-size: clamp(1.15rem, 2.6vw, 1.35rem);
  font-weight: 650;
  line-height: 1.25;
}

.trending-description {
  max-width: 520px;
  margin: 0;
  color: var(--theme-text-soft);
  font-size: 13px;
  line-height: 1.6;
}

.trending-country {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: var(--theme-white);
  background: rgba(13, 196, 32, .18);
  border: 1px solid rgba(120, 244, 133, .46);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.trending-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trending-item {
  min-width: 0;
}

.trending-link {
  display: grid;
  grid-template-columns: 25px 68px minmax(0, 1fr);
  grid-template-areas:
    "rank cover copy"
    "rank cover action";
  column-gap: 10px;
  min-height: 92px;
  padding: 11px;
  color: var(--theme-white);
  background: var(--theme-panel);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: var(--theme-radius);
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.trending-link:hover,
.trending-link:focus-visible {
  color: var(--theme-white);
  background: rgba(9, 72, 124, .5);
  border-color: rgba(255, 255, 255, .42);
  outline: none;
  transform: translateY(-2px);
}

.trending-rank {
  grid-area: rank;
  align-self: center;
  color: #bfe1f7;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  text-align: center;
}

.trending-cover-wrap {
  position: relative;
  grid-area: cover;
  align-self: center;
  width: 68px;
  height: 68px;
}

.trending-cover {
  display: block;
  width: 68px;
  height: 68px;
  background: var(--theme-background-dark);
  border-radius: 4px;
  object-fit: cover;
}

.trending-new {
  justify-self: start;
  max-width: 100%;
  margin-top: 5px;
  padding: 2px 5px;
  overflow: hidden;
  color: #06360c;
  background: #a8f4b1;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.trending-copy {
  display: grid;
  grid-area: copy;
  align-self: end;
  min-width: 0;
}

.trending-title,
.trending-artist {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trending-title {
  color: var(--theme-white);
  font-size: 13px;
  line-height: 1.35;
}

.trending-artist {
  margin-top: 3px;
  color: var(--theme-text-soft);
  font-size: 12px;
  line-height: 1.4;
}

.trending-action {
  grid-area: action;
  align-self: start;
  justify-self: start;
  margin-top: 5px;
  color: #bff9c5;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .trending-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
  }

  .trending-heading-group {
    width: 100%;
  }

  .trending-heading-group h2 {
    font-size: 1.25rem;
    margin-bottom: 5px;
  }

  .trending-description {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.55;
  }

  .trending-country {
    align-self: flex-start;
  }

  .trending-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trending-link {
    grid-template-columns: 24px 64px minmax(0, 1fr);
    column-gap: 12px;
    padding: 10px 12px;
    min-height: 86px;
  }

  .trending-cover-wrap,
  .trending-cover {
    width: 64px;
    height: 64px;
  }

  .trending-title {
    font-size: 13.5px;
  }

  .trending-artist {
    font-size: 12px;
  }

  .trending-action {
    font-size: 11.5px;
    margin-top: 4px;
  }
}

@media (max-width: 360px) {
  .trending-link {
    grid-template-columns: 20px 56px minmax(0, 1fr);
    column-gap: 8px;
    padding: 8px 10px;
  }

  .trending-cover-wrap,
  .trending-cover {
    width: 56px;
    height: 56px;
  }

  .trending-rank {
    font-size: 11px;
  }

  .trending-title {
    font-size: 13px;
  }
}

.trending-note {
  margin: 11px 0 0;
  color: #cfe5f6;
  font-size: 12px;
  text-align: right;
}

.steps-list,
.check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps-list {
  gap: 10px;
}

.check-list {
  gap: 3px;
}

.steps-list li {
  position: relative;
  min-height: 44px;
  padding: 10px 12px 10px 52px;
  background: var(--theme-panel);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--theme-radius);
  counter-increment: steps;
}

.steps-list li::before {
  position: absolute;
  top: 8px;
  left: 10px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--theme-white);
  background: var(--theme-accent);
  border-radius: 50%;
  content: counter(steps);
  font-size: 12px;
  font-weight: 700;
}

.check-list li {
  position: relative;
  padding: 6px 9px 6px 33px;
}

.check-list li::before {
  position: absolute;
  top: 7px;
  left: 4px;
  color: #78f485;
  content: "✓";
  font-weight: 800;
}

.steps-list + p,
.check-list + p {
  margin-top: 17px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Responsive Data Tables (MP3 vs MP4 Comparison) --- */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--theme-radius);
  margin: 16px 0 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  color: var(--theme-ink);
  background: var(--theme-white);
  text-align: left;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
  vertical-align: middle;
  font-size: 13.5px;
}

thead th {
  color: var(--theme-white);
  background: var(--theme-background-dark);
  font-weight: 700;
  border-bottom: 2px solid rgba(0, 0, 0, 0.12);
}

tbody th {
  font-weight: 700;
  color: var(--theme-ink);
  background: #f0f6fb;
}

tbody td {
  color: #333333;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.pillar-section {
  padding: 28px 0;
}

.pillar-section h2 {
  margin: 0 0 13px;
  color: var(--theme-white);
  font-size: clamp(1.2rem, 2.7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.012em;
}

.content-card {
  display: grid;
  gap: 8px;
  min-height: 124px;
  padding: 15px;
  color: var(--theme-white);
  background: var(--theme-panel);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--theme-radius);
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.content-card:hover {
  color: var(--theme-white);
  background: rgba(9, 72, 124, .48);
  border-color: rgba(255, 255, 255, .42);
  transform: translateY(-2px);
}

.content-card strong {
  color: var(--theme-white);
  font-size: 15px;
  line-height: 1.35;
}

.content-card span {
  color: var(--theme-text-soft);
  font-size: 12px;
  line-height: 1.55;
}

.compact-grid .content-card {
  min-height: 105px;
}

.tool-keyword-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool-keyword-grid .content-card {
  place-items: center;
  min-height: 72px;
  padding: 12px;
  text-align: center;
}

.tool-keyword-grid .content-card strong {
  font-size: 14px;
}

.faq-accordion {
  display: grid;
  gap: 10px;
}

.faq-accordion details {
  color: var(--theme-white);
  background: var(--theme-background-soft);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--theme-radius);
  overflow: hidden;
}

.faq-accordion summary {
  position: relative;
  padding: 14px 45px 14px 15px;
  color: var(--theme-white);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
}

.faq-accordion summary h3 {
  display: inline;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary::after {
  position: absolute;
  top: 50%;
  right: 15px;
  color: var(--theme-white);
  content: "+";
  font-size: 22px;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-accordion details[open] summary {
  background: rgba(0, 0, 0, .1);
}

.faq-accordion details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 15px 15px;
}

.faq-answer p {
  margin: 13px 0 0;
}

.site-footer {
  width: min(var(--theme-width), calc(100% - 24px));
  margin: 28px auto 0;
  padding: 8px 0 20px;
  color: var(--theme-text-soft);
  border-top: 1px solid var(--theme-accent);
  font-size: 12px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
  margin-bottom: 6px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 10px;
  color: var(--theme-text);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
  touch-action: manipulation;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #78f485;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-author-credit {
  font-size: 12px;
  color: var(--theme-text-soft);
  margin: 10px 0 4px;
}

.footer-author-credit a {
  color: #78f485;
  font-weight: 600;
  text-decoration: none;
}

.footer-author-credit a:hover {
  text-decoration: underline;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 4px 0 0;
}

/* Footer Columns */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
  margin-bottom: 22px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: #78f485;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}

.footer-col-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

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

.footer-col-links a {
  color: var(--theme-text);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.footer-col-links a:hover {
  color: #78f485;
  text-decoration: underline;
  text-underline-offset: 3px;
  transform: translateX(2px);
}

.footer-meta {
  padding-top: 16px;
  border-top: 1px solid var(--theme-line);
  text-align: center;
}

@media (max-width: 560px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }
  .footer-col-links a:hover {
    transform: none;
  }
}

@media (max-width: 520px) {
  .eeat-trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-links {
    gap: 8px 10px;
  }
  .footer-links a {
    font-size: 12.5px;
    padding: 8px 8px;
    min-height: 40px;
  }
}

/* Accessibility & Semantic SEO Utility */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}

/* Prevent iOS Safari auto-zoom on form inputs */
input[type="text"],
input[type="email"],
input[type="search"],
textarea,
select {
  font-size: 16px !important;
}

/* --- EEAT Trust Grid & Cards --- */
.eeat-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.eeat-trust-card {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--theme-radius);
  text-align: left;
}

.eeat-trust-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--theme-white);
}

.eeat-trust-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--theme-text-soft);
  line-height: 1.5;
}

/* --- Author Box & Editorial Profile --- */
.author-box {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 18px 0;
  padding: 16px 20px;
  background: rgba(9, 72, 124, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  text-align: left;
}

.author-box-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0dc420, #0aa41a);
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.author-box-content {
  flex-grow: 1;
}

.author-box-content h3,
.author-box-content h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: var(--theme-white);
}

.author-box-content p {
  margin: 0 0 6px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--theme-text-soft);
}

.author-box-content a {
  color: #78f485;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
}

.author-profile-hero {
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 18px 0 22px;
  padding: 20px;
  background: rgba(9, 72, 124, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  text-align: left;
}

.author-profile-avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0dc420, #0aa41a);
  color: #fff;
  font-weight: 800;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-profile-info {
  flex-grow: 1;
}

.author-profile-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.author-profile-role {
  color: #78f485;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.author-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.author-badge {
  font-size: 12px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #cfe5f6;
}

@media (max-width: 640px) {
  .author-box {
    flex-direction: column;
    text-align: center;
  }
  .author-profile-hero {
    flex-direction: column;
    text-align: center;
  }
  .author-meta-badges {
    justify-content: center;
  }
}

/* --- Blog Image & Thumbnail Styles --- */
.content-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--theme-radius) - 2px);
  overflow: hidden;
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.content-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.content-card:hover .content-card-thumb img {
  transform: scale(1.04);
}

.article-featured-image {
  margin: 22px 0 30px;
  border-radius: var(--theme-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Homepage & Guides Showcase Section (Modern Glassmorphism)
   ========================================================================== */
.home-guides-section {
  margin: 44px 0 36px;
  text-align: left;
}

.home-guides-header {
  margin-bottom: 24px;
  text-align: center;
}

.home-guides-header .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #78f485;
  background: rgba(13, 196, 32, 0.15);
  border: 1px solid rgba(120, 244, 133, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.home-guides-header h2 {
  font-size: clamp(1.3rem, 3.2vw, 1.7rem);
  font-weight: 700;
  color: var(--theme-white);
  margin: 0 0 10px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.home-guides-header p {
  color: var(--theme-text-soft);
  font-size: 14px;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Guides Grid */
.home-guides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

/* Individual Guide Card */
.home-guide-card {
  display: flex;
  flex-direction: column;
  background: rgba(9, 72, 124, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--theme-white);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.home-guide-card:hover {
  transform: translateY(-4px);
  background: rgba(9, 72, 124, 0.72);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  color: var(--theme-white);
}

/* Thumbnail Container */
.home-guide-card .thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.home-guide-card .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.home-guide-card:hover .thumb-wrap img {
  transform: scale(1.06);
}

/* Floating badge on thumbnail */
.home-guide-card .thumb-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  background: rgba(9, 44, 76, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #78f485;
  border: 1px solid rgba(120, 244, 133, 0.35);
  border-radius: 4px;
}

.home-guide-card .thumb-readtime {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 3px;
  color: #cfe5f6;
}

/* Content Body */
.home-guide-card .content-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 15px;
  text-align: left;
}

.home-guide-card .guide-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--theme-white);
  margin: 0 0 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-guide-card .guide-excerpt {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--theme-text-soft);
  margin: 0 0 12px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read Action Footer */
.home-guide-card .guide-action {
  font-size: 12.5px;
  font-weight: 700;
  color: #78f485;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  transition: color 0.2s ease;
}

.home-guide-card .guide-action svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.home-guide-card:hover .guide-action svg {
  transform: translateX(4px);
}

/* Explore All Hub CTA Button */
.guides-cta-box {
  text-align: center;
  margin: 24px 0 10px;
}

.btn-guides-hub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 700;
  color: var(--theme-white);
  background: linear-gradient(135deg, rgba(13, 196, 32, 0.85), rgba(10, 164, 26, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(10, 164, 26, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-guides-hub:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(13, 196, 32, 1), rgba(10, 164, 26, 1));
  box-shadow: 0 10px 24px rgba(10, 164, 26, 0.5);
  color: var(--theme-white);
}

.btn-guides-hub svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.btn-guides-hub:hover svg {
  transform: translateX(3px);
}

@media (max-width: 600px) {
  .home-guides-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Legacy fallback styles for nz classes */
.nz-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 600px) {
  .nz-grid {
    grid-template-columns: 1fr;
  }
}
.nz-card {
  background: rgba(9, 72, 124, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px;
  text-align: left;
}
.nz-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #78f485;
  background: rgba(13, 196, 32, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.nz-more {
  color: #78f485;
  font-weight: 600;
  text-decoration: none;
}
.nz-more:hover {
  text-decoration: underline;
}
.nz-badge {
  color: var(--theme-white);
  background: rgba(9, 72, 124, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Contact Form Clean Styles */
.contact-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  max-width: 600px !important;
  margin: 24px 0 !important;
  padding: 24px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.contact-form label {
  display: block;
  color: var(--theme-white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px 14px !important;
  color: #ffffff !important;
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-family: inherit !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
}

.contact-form select option {
  background: #0f172a;
  color: #ffffff;
}

.contact-form .contact-submit-btn {
  align-self: flex-start;
  padding: 12px 32px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.4);
}

.contact-form .contact-submit-btn:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.6);
}

