/*
Theme Name: Pokie Final
Author: Custom
Description: Pokie Final
Version: 8.3
Text Domain: pokie-final
*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(214,170,71,0.10), transparent 22%),
    linear-gradient(180deg,#f8f6f1 0%,#f1eee7 100%);
  color: #1a1d24;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: #111827;
  letter-spacing: -0.03em;
  font-weight: 800;
}

p {
  margin: 0 0 14px;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17,24,39,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  cursor: default;
}

.site-logo-img {
  width: auto;
  height: 58px;
  max-width: 260px;
  object-fit: contain;
}

/* HERO */

.hero-wrap {
  padding: 0 0 8px;
}

.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(135deg,#121a28,#1c2536);
  color: #fff;
  padding: 28px 0 20px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 25%,rgba(212,170,75,0.16),transparent 18%),
    radial-gradient(circle at 15% 10%,rgba(255,255,255,0.04),transparent 18%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: start;
  position: relative;
  z-index: 2;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color: #f6e8bf;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(2rem, 4.4vw, 3.55rem);
  line-height: 0.96;
  margin-bottom: 10px;
  color: #ffffff !important;
  letter-spacing: -0.045em;
  max-width: 720px;
}

.hero-text {
  max-width: 720px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 14px;
}

.hero-actions {
  margin-bottom: 12px;
}

.hero-disclosure {
  max-width: 720px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.78);
  font-size: 0.82rem;
  line-height: 1.5;
}


.hero-disclosure strong {
  display: block;
  color: #ffffff;
  margin-bottom: 4px;
}

.hero-disclosure p {
  margin: 0;
}

.hero-disclosure a {
  display: inline-block;
  margin-top: 6px;
  color: #f7e5af;
  font-weight: 800;
}

.btn-primary {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 14px;
  font-weight: 800;
  background: linear-gradient(135deg,#d4aa4b,#b98522);
  color: #111827;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(185,133,34,0.24);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.hero-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.70);
  font-size: 0.84rem;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 16px 18px;
}

.hero-card-title {
  font-size: 0.9rem;
  color: #f7e5af;
  margin-bottom: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}

.hero-stat:last-child {
  border-bottom: 0;
}

.hero-stat strong {
  color: #f7e5af;
  text-align: right;
}

.hero-author-side {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 14px 18px;
}

.hero-author-content {
  min-width: 0;
}

.hero-author-tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color: #f6e8bf;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


.eeat-author-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.eeat-author-main {
  min-width: 0;
}

.hero-author-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.hero-author-role {
  font-size: 0.84rem;
  font-weight: 700;
  color: #f0d898;
  margin-bottom: 4px;
}

.hero-author-bio {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.hero-author-bio p {
  margin: 0;
}


.eeat-card-intro {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.76);
}

.eeat-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}

.eeat-check-list li {
  position: relative;
  padding-left: 20px;
  color: rgba(255,255,255,0.86);
  font-size: 0.86rem;
  line-height: 1.35;
}

.eeat-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #f7e5af;
  font-weight: 900;
}

.eeat-author-image {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0;
  flex: 0 0 54px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
}

.eeat-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-author-name a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.eeat-review-lines {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.eeat-review-lines div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255,255,255,0.74);
  font-size: 0.82rem;
}

.eeat-review-lines strong {
  color: #f7e5af;
  text-align: right;
}

.responsible-box {
  margin: 24px 0;
  background: #fff;
  border: 1px solid #e7e5df;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

.responsible-box-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f7f0df;
  color: #8b6219;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.responsible-box h2 {
  margin-bottom: 8px;
}

.responsible-box p {
  margin-bottom: 10px;
  color: #4b5563;
}

.responsible-box a {
  font-weight: 800;
  color: #9a6a1e;
}

/* CONTENT WRAPPER */

.content-shell {
  padding: 14px 0 60px;
}

.content-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(17,24,39,0.07);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

/* CASINO LIST */

.casino-table {
  margin: 0 0 24px;
  background: #fff;
  border: 1px solid #e7e5df;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

.casino-table-title {
  font-size: 1.9rem;
  margin-bottom: 18px;
}

.casino-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.casino-item {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(190px, 1fr) minmax(220px, 1.15fr) auto;
  gap: 18px;
  padding: 18px;
  border: 1px solid #ece8de;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
  align-items: center;
  box-shadow: 0 10px 24px rgba(17,24,39,0.05);
}

.casino-rank-gold {
  border-color: rgba(212,170,75,0.55);
  box-shadow: 0 12px 28px rgba(185,133,34,0.12);
}

.casino-rank-silver {
  border-color: rgba(156,163,175,0.55);
}

.casino-rank-bronze {
  border-color: rgba(180,115,51,0.45);
}

.casino-rank-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-weight: 900;
  font-size: 0.82rem;
  color: #111827;
  border: 2px solid #fff;
  box-shadow: 0 8px 18px rgba(17,24,39,0.16);
}

.casino-rank-gold .casino-rank-badge {
  background: linear-gradient(135deg,#ffe8a3,#d4aa4b);
}

.casino-rank-silver .casino-rank-badge {
  background: linear-gradient(135deg,#f4f4f5,#a1a1aa);
}

.casino-rank-bronze .casino-rank-badge {
  background: linear-gradient(135deg,#f2c49b,#b87333);
}

.casino-rank-cup {
  font-size: 0.98rem;
  line-height: 1;
}

.casino-rank-number {
  line-height: 1;
}

.casino-logo {
  min-width: 0;
}

.casino-logo-frame {
  width: 116px;
  height: 76px;
  background: #111827;
  border: 1px solid rgba(212,170,75,0.35);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}

.casino-logo-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.casino-offer,
.casino-content {
  min-width: 0;
}

.casino-name {
  font-size: 1.1rem;
  font-weight: 900;
  color: #111827;
  margin-bottom: 8px;
}

.casino-bonus-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a5a0a;
  background: #fff7df;
  border: 1px solid #f0d89b;
  border-radius: 999px;
  padding: 5px 9px;
  margin-bottom: 8px;
}

.casino-bonus {
  font-weight: 900;
  color: #111827;
  line-height: 1.25;
}

.casino-desc {
  font-size: 0.94rem;
  color: #5b6473;
  margin: 0;
  line-height: 1.55;
}

.casino-cta {
  align-self: center;
}

.casino-cta a {
  display: inline-block;
  padding: 13px 22px;
  background: linear-gradient(135deg,#d4aa4b,#b98522);
  color: #111827;
  font-weight: 900;
  border-radius: 14px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(185,133,34,0.20);
}

.casino-cta a:hover {
  transform: translateY(-1px);
}

/* TOC */

.toc-box {
  margin: 0 0 28px;
  background: #ffffff;
  border: 1px solid #e7e5df;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

.toc-box summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  background: #fffdf9;
  border-bottom: 1px solid #efe9dc;
}

.toc-box summary::-webkit-details-marker {
  display: none;
}

.toc-box summary::after {
  content: "+";
  float: right;
  font-size: 1.2rem;
  color: #b98522;
  line-height: 1;
}

.toc-box[open] summary::after {
  content: "−";
}

.toc-inner {
  padding: 16px 20px 14px;
}

.toc-list {
  margin: 0;
  padding-left: 18px;
}

.toc-list li {
  margin-bottom: 8px;
  color: #374151;
}

.toc-list a {
  color: #374151;
  font-weight: 700;
  text-decoration: none;
}

/* ARTICLE */

.article-content h2 {
  font-size: 1.8rem;
  margin-top: 26px;
}

.article-content h3 {
  font-size: 1.4rem;
  margin-top: 20px;
}

/* FAQ */

.faq-section {
  margin-top: 30px;
  background: #fff;
  border: 1px solid #e7e5df;
  border-radius: 22px;
  padding: 24px;
}

.faq-item {
  border: 1px solid #ece8de;
  border-radius: 14px;
  margin-bottom: 12px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  padding: 15px;
  font-weight: 800;
  cursor: pointer;
}

.faq-answer {
  padding: 0 15px 15px;
  color: #5b6473;
}

/* FOOTER */

.site-footer {
  margin-top: 40px;
  padding: 34px 0;
  border-top: 1px solid rgba(17,24,39,0.08);
  background: rgba(255,255,255,0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #4b5563;
  font-weight: 700;
  text-decoration: none;
}

.footer-text {
  color: #4b5563;
  max-width: 760px;
  margin-top: 10px;
}

.footer-text p {
  margin: 0 0 8px;
}

.footer-copy {
  color: #6b7280;
}

.footer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #111827;
  color: #f7e5af;
  font-weight: 900;
}

/* RESPONSIVE */

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

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

  .casino-cta {
    margin-top: 10px;
  }

  .casino-cta a {
    width: 100%;
    text-align: center;
  }

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

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-stat {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stat strong {
    text-align: left;
  }

  .content-card {
    padding: 20px;
  }
}
/* MOBILE-FIRST FOCUS ON CASINO LIST */

/* LARGE PHONES / MODERN MOBILES */
@media (max-width: 768px) {
  .hero {
    padding: 22px 0 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.7rem);
    line-height: 0.97;
    margin-bottom: 8px;
    max-width: 100%;
  }

  .hero-text {
    font-size: 0.94rem;
    margin-bottom: 12px;
    max-width: 100%;
  }

  .hero-actions {
    margin-bottom: 10px;
  }

  .btn-primary {
    padding: 12px 20px;
    font-size: 0.96rem;
  }

  .hero-meta {
    gap: 10px;
    font-size: 0.8rem;
  }

  .hero-side {
    gap: 12px;
  }

  .hero-card,
  .hero-author-side {
    padding: 14px 16px;
    border-radius: 18px;
  }

  .hero-card-title {
    font-size: 0.82rem;
    margin-bottom: 6px;
  }

  .hero-stat {
    padding: 8px 0;
    font-size: 0.9rem;
  }

  .hero-author-tag {
    font-size: 0.64rem;
    padding: 3px 7px;
    margin-bottom: 5px;
  }


.hero-author-name {
    font-size: 0.94rem;
  }

  .hero-author-role {
    font-size: 0.8rem;
    margin-bottom: 2px;
  }

  .hero-author-bio {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .content-shell {
    padding: 10px 0 40px;
  }

  .content-card {
    padding: 18px;
    border-radius: 20px;
  }

  .casino-table {
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 20px;
  }

  .casino-table-title {
    font-size: 1.55rem;
    margin-bottom: 14px;
  }

  .casino-item {
    grid-template-columns: 40px 74px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    align-items: start;
  }

  .casino-position {
    width: 40px;
    height: 40px;
    font-size: 0.88rem;
  }

  .casino-logo {
    width: 74px;
  }

  .casino-logo-frame {
    width: 68px;
    height: 68px;
    padding: 7px;
    border-radius: 14px;
  }

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

  .casino-name {
    font-size: 1.02rem;
    line-height: 1.15;
    margin-bottom: 3px;
  }

  .casino-bonus {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 5px;
  }

  .casino-desc {
    font-size: 0.87rem;
    line-height: 1.45;
  }

  .casino-cta {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
  }

  .casino-cta a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.94rem;
  }

  .toc-box {
    margin-bottom: 20px;
    border-radius: 16px;
  }

  .toc-box summary {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .toc-inner {
    padding: 14px 16px 12px;
  }

  .article-content h2,
  .faq-section h2 {
    font-size: 1.5rem;
  }

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

/* SMALL PHONES ONLY */
@media (max-width: 480px) {
  .hero {
    padding: 18px 0 12px;
  }

  .hero-badge {
    margin-bottom: 8px;
    font-size: 0.74rem;
    padding: 5px 10px;
  }

  .hero-title {
    font-size: 1.95rem;
    line-height: 0.96;
  }

  .hero-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .hero-text p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-meta {
    display: none;
  }

  .hero-card {
    display: none;
  }

  .hero-author-side {
    display: none;
  }

  .content-card {
    padding: 16px;
    border-radius: 18px;
  }

  .casino-table {
    padding: 16px;
  }

  .casino-table-title {
    font-size: 1.42rem;
  }

  .casino-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .casino-logo {
    width: 100%;
    justify-self: start;
  }

  .casino-logo-frame {
    width: 64px;
    height: 64px;
  }

  .casino-position {
    width: 36px;
    height: 36px;
  }

  .casino-name {
    font-size: 1rem;
  }

  .casino-bonus {
    font-size: 0.88rem;
  }

  .casino-desc {
    font-size: 0.85rem;
  }

  .casino-cta a {
    font-size: 0.92rem;
  }
}


@media (max-width: 480px) {
  .hero-text.hero-text-toggle {
    cursor: pointer;
  }

  .hero-text.hero-text-toggle p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.2s ease;
  }

  .hero-text.hero-text-toggle.is-open p {
    display: block;
    overflow: visible;
  }
}
.eeat-review-lines a {
  color: #f7e5af;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}


@media (max-width: 768px) {
  .eeat-review-lines div {
    flex-direction: column;
    gap: 2px;
  }

  .eeat-review-lines strong {
    text-align: left;
  }

  .responsible-box {
    padding: 18px;
    border-radius: 18px;
  }
}

.affiliate-disclosure-box {
  margin-bottom: 18px;
}

.hero-disclosure.affiliate-disclosure-box {
  margin-bottom: 14px;
}

/* RESPONSIBLE GAMBLING BUTTON + MOBILE HERO COMPACTNESS */
.responsible-box .responsible-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: #111827;
  color: #f7e5af;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(17,24,39,0.14);
}

.responsible-box .responsible-button:hover {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .hero-wrap {
    padding-bottom: 4px;
  }

  .hero {
    padding: 16px 0 12px;
  }

  .hero-grid {
    gap: 0;
  }

  .hero-badge {
    margin-bottom: 6px;
    padding: 4px 9px;
    font-size: 0.72rem;
  }

  .hero-title {
    font-size: clamp(1.65rem, 7vw, 2.15rem);
    line-height: 1;
    margin-bottom: 7px;
    letter-spacing: -0.035em;
  }

  .hero-text {
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 9px;
  }

  .hero-text p {
    margin-bottom: 0;
  }

  .hero-actions {
    margin-bottom: 8px;
  }

  .hero-actions .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 0.93rem;
  }

  .hero-disclosure {
    padding: 9px 11px;
    border-radius: 14px;
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 0;
  }

  .hero-disclosure strong {
    margin-bottom: 2px;
  }

  .hero-disclosure a {
    margin-top: 4px;
  }

  /* Keep the first screen focused on the casino list on mobile. */
  .hero-side {
    display: none;
  }

  .content-shell {
    padding-top: 8px;
  }

  .casino-table {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 14px 0 10px;
  }

  .hero-title {
    font-size: 1.72rem;
    line-height: 1.02;
  }

  .hero-text {
    font-size: 0.84rem;
    margin-bottom: 8px;
  }

  .hero-disclosure {
    font-size: 0.72rem;
  }
}

/* Cookie notice */
.cookie-notice {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cookie-notice.is-hidden {
  opacity: 0;
  transform: translateY(12px);
}

.cookie-notice-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(246, 197, 90, 0.28);
  border-radius: 18px;
  background: rgba(13, 17, 28, 0.96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
}

.cookie-notice-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  line-height: 1.5;
}

.cookie-notice-text p {
  margin: 0;
}

.cookie-notice-link {
  display: inline-block;
  margin-left: 8px;
  color: #f6c55a;
  font-weight: 700;
  text-decoration: none;
}

.cookie-notice-link:hover {
  text-decoration: underline;
}

.cookie-notice-accept {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #f6c55a, #f09c2f);
  color: #15110a;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(240, 156, 47, 0.22);
}

.cookie-notice-accept:hover {
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .cookie-notice {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-notice-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .cookie-notice-text {
    font-size: 0.78rem;
  }

  .cookie-notice-link {
    margin-left: 0;
    margin-top: 4px;
  }

  .cookie-notice-accept {
    width: 100%;
    padding: 11px 16px;
  }
}

/* BOTTOM AUTHOR PROFILE BOX */
.author-profile-box {
  margin: 28px 0 24px;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid #e7e5df;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

.author-profile-image {
  width: 132px;
  height: 132px;
  border-radius: 22px;
  overflow: hidden;
  background: #f7f0df;
  border: 1px solid #eadfca;
}

.author-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-profile-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f7f0df;
  color: #8b6219;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.author-profile-title {
  margin: 0 0 4px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.author-profile-title a {
  color: inherit;
  text-decoration: none;
}

.author-profile-role {
  font-size: 0.94rem;
  font-weight: 800;
  color: #9a6a1e;
  margin-bottom: 10px;
}

.author-profile-bio {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .author-profile-box {
    grid-template-columns: 76px 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    align-items: start;
  }

  .author-profile-image {
    width: 76px;
    height: 76px;
    border-radius: 16px;
  }

  .author-profile-label {
    font-size: 0.64rem;
    padding: 4px 8px;
    margin-bottom: 6px;
  }

  .author-profile-title {
    font-size: 1.15rem;
  }

  .author-profile-role {
    font-size: 0.82rem;
    margin-bottom: 6px;
  }

  .author-profile-bio {
    grid-column: 1 / -1;
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* Casino list rich layout overrides */
@media (min-width: 961px) {
  .casino-item {
    grid-template-columns: 132px minmax(190px, 1fr) minmax(220px, 1.15fr) auto;
  }
}

@media (max-width: 960px) {
  .casino-item {
    grid-template-columns: 116px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
  }

  .casino-content {
    grid-column: 2 / -1;
  }

  .casino-cta {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0;
  }

  .casino-cta a {
    display: block;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .casino-item {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .casino-rank-badge {
    width: 34px;
    height: 34px;
    top: -8px;
    left: -8px;
    font-size: 0.72rem;
  }

  .casino-rank-cup {
    font-size: 0.82rem;
  }

  .casino-logo {
    width: auto;
  }

  .casino-logo-frame {
    width: 78px;
    height: 58px;
    border-radius: 14px;
    padding: 8px;
  }

  .casino-offer {
    align-self: center;
  }

  .casino-content,
  .casino-cta {
    grid-column: 1 / -1;
  }

  .casino-name {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .casino-bonus-label {
    font-size: 0.66rem;
    padding: 4px 7px;
    margin-bottom: 6px;
  }

  .casino-bonus {
    font-size: 0.91rem;
  }

  .casino-desc {
    font-size: 0.86rem;
    line-height: 1.45;
  }
}


/* CASINO LIST - richer layout update */
.casino-item {
  grid-template-columns: 190px minmax(210px, 0.95fr) minmax(240px, 1.15fr) 190px;
  gap: 0;
  padding: 16px 18px;
  align-items: stretch;
}

.casino-item > .casino-logo,
.casino-item > .casino-offer,
.casino-item > .casino-content,
.casino-item > .casino-cta {
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.casino-item > .casino-offer,
.casino-item > .casino-content,
.casino-item > .casino-cta {
  border-left: 1px solid #ece8de;
}

.casino-logo {
  align-items: center;
}

.casino-logo-frame {
  width: 100%;
  max-width: 170px;
  height: 96px;
  border-radius: 24px;
  margin: 0 auto;
}

.casino-logo-caption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
}

.casino-offer {
  text-align: center;
}

.casino-bonus-label {
  align-self: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 0 6px;
  color: #7a560f;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.casino-bonus-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff7df;
  border: 1px solid #efd690;
  font-size: 1rem;
}

.casino-bonus {
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  color: #0f7f46;
  line-height: 1.1;
}

.casino-content {
  text-align: center;
}

.casino-desc {
  font-size: 1rem;
  line-height: 1.45;
  color: #384152;
}

.casino-cta {
  align-items: center;
}

.casino-cta a {
  width: 100%;
  max-width: 170px;
  text-align: center;
  border-radius: 999px;
  font-size: 1rem;
}

@media (max-width: 991px) {
  .casino-item {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .casino-item > .casino-content,
  .casino-item > .casino-cta {
    border-top: 1px solid #ece8de;
  }

  .casino-item > .casino-content {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .casino-item {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .casino-item > .casino-logo,
  .casino-item > .casino-offer,
  .casino-item > .casino-content,
  .casino-item > .casino-cta {
    padding: 14px 10px;
  }

  .casino-item > .casino-offer,
  .casino-item > .casino-content,
  .casino-item > .casino-cta {
    border-left: 0;
    border-top: 1px solid #ece8de;
  }

  .casino-logo-frame {
    max-width: 180px;
    height: 92px;
  }

  .casino-cta a {
    max-width: none;
  }
}


/* CASINO LIST - final visual balance update */
.casino-item {
  grid-template-columns: 190px minmax(220px, 0.9fr) minmax(280px, 1.25fr) 200px;
}

.casino-bonus-label {
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
  color: #8a5a0a;
}

.casino-bonus-icon {
  width: 30px;
  height: 30px;
  font-size: 0.92rem;
}

.casino-bonus {
  font-size: clamp(1.02rem, 1.35vw, 1.28rem);
  line-height: 1.18;
  color: #118548;
  font-weight: 900;
}

.casino-desc {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.42;
  color: #242b38;
  font-weight: 650;
}

.casino-cta a {
  max-width: 180px;
  padding: 15px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #19d667 0%, #06b957 100%);
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 950;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 22px rgba(6, 185, 87, 0.28);
  border: 1px solid rgba(255,255,255,0.35);
}

.casino-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(6, 185, 87, 0.35);
}

.casino-logo-frame {
  max-width: 170px;
  height: 94px;
}

.casino-logo-caption {
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .casino-item {
    grid-template-columns: 1fr 1fr;
  }

  .casino-desc {
    font-size: 1rem;
  }

  .casino-bonus {
    font-size: 1.08rem;
  }
}

@media (max-width: 640px) {
  .casino-bonus {
    font-size: 1.05rem;
  }

  .casino-desc {
    font-size: 0.98rem;
  }

  .casino-cta a {
    max-width: none;
    font-size: 1.04rem;
    padding: 14px 20px;
  }

  .casino-logo-frame {
    max-width: 180px;
    height: 94px;
  }
}


/* CASINO LOGO - no forced background */
.casino-logo-frame {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.casino-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 22px;
}


/* CASINO LIST - header intro and no rank badges */
.casino-table-header {
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
}

.casino-table-title {
  margin-bottom: 8px;
  text-align: center;
}

.casino-table-intro {
  margin: 0 auto;
  max-width: 720px;
  color: #5b6473;
  font-size: 1rem;
  line-height: 1.6;
}

.casino-rank-badge {
  display: none !important;
}

.casino-rank-gold,
.casino-rank-silver,
.casino-rank-bronze {
  border-color: #ece8de;
  box-shadow: 0 10px 24px rgba(17,24,39,0.05);
}

@media (max-width: 640px) {
  .casino-table-header {
    margin-bottom: 16px;
  }

  .casino-table-title {
    font-size: 1.45rem;
  }

  .casino-table-intro {
    font-size: 0.95rem;
  }
}


/* FINAL MOBILE OPTIMIZATION */
@media (max-width: 768px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    padding: 10px 0;
  }

  .brand a {
    font-size: 1.15rem;
  }

  .hero {
    padding: 18px 0 14px;
  }

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

  .hero-side {
    display: none !important;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 4px 9px;
    margin-bottom: 7px;
  }

  .hero-title {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
    line-height: 1.02;
    margin-bottom: 8px;
    letter-spacing: -0.04em;
  }

  .hero-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .hero-actions {
    margin-bottom: 8px;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
    padding: 12px 18px;
    border-radius: 13px;
  }

  .hero-disclosure {
    margin-bottom: 0;
    padding: 9px 11px;
    border-radius: 13px;
    font-size: 0.76rem;
    line-height: 1.42;
  }

  .hero-disclosure strong {
    margin-bottom: 2px;
  }

  .hero-disclosure a {
    margin-top: 4px;
  }

  .content-shell {
    padding-top: 10px;
  }

  .content-card {
    padding: 14px;
    border-radius: 18px;
  }

  .casino-table {
    padding: 14px;
    border-radius: 18px;
    margin-bottom: 18px;
  }

  .casino-table-header {
    margin-bottom: 14px;
  }

  .casino-table-title {
    font-size: 1.35rem;
    line-height: 1.15;
    margin-bottom: 6px;
  }

  .casino-table-intro {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .casino-list {
    gap: 10px;
  }

  .casino-item {
    border-radius: 16px;
  }

  .casino-item > .casino-logo,
  .casino-item > .casino-offer,
  .casino-item > .casino-content,
  .casino-item > .casino-cta {
    padding: 10px 8px;
  }

  .casino-logo-frame {
    max-width: 158px;
    height: 88px;
  }

  .casino-logo-caption {
    margin-top: 6px;
    font-size: 0.86rem;
  }

  .casino-bonus-label {
    margin-bottom: 5px;
    font-size: 0.68rem;
  }

  .casino-bonus-icon {
    width: 26px;
    height: 26px;
    font-size: 0.82rem;
  }

  .casino-bonus {
    font-size: 1rem;
  }

  .casino-desc {
    font-size: 0.92rem;
    line-height: 1.38;
  }

  .casino-cta a {
    font-size: 1rem;
    padding: 13px 18px;
  }

  .toc-box {
    margin-bottom: 18px;
  }

  .article-content h2 {
    font-size: 1.35rem;
  }

  .responsible-box,
  .bottom-author-box,
  .faq-section {
    margin-top: 18px;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 1.58rem;
  }

  .hero-text {
    font-size: 0.86rem;
  }

  .casino-logo-frame {
    max-width: 150px;
    height: 84px;
  }
}


/* MOBILE TRUST PANEL */
.hero-trust-toggle {
  display: none;
}

@media (max-width: 768px) {
  .hero-trust-toggle {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.13);
    background: rgba(255,255,255,0.07);
    color: #ffffff;
    border-radius: 14px;
    padding: 10px 12px;
    margin-top: 8px;
    cursor: pointer;
  }

  .hero-trust-toggle span {
    display: block;
    color: #f7e5af;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 2px;
  }

  .hero-trust-toggle strong {
    display: block;
    color: rgba(255,255,255,0.86);
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .hero-trust-toggle::after {
    content: "+";
    float: right;
    margin-top: -24px;
    font-weight: 900;
    color: #f7e5af;
    font-size: 1.2rem;
  }

  .hero-trust-toggle[aria-expanded="true"]::after {
    content: "−";
  }

  .hero-side {
    display: none !important;
  }

  .hero-side.is-open {
    display: flex !important;
    gap: 10px;
    margin-top: 8px;
  }

  .hero-card,
  .hero-author-side {
    border-radius: 16px;
    padding: 12px 14px;
  }

  .hero-card-title,
  .hero-author-tag {
    font-size: 0.72rem;
  }

  .eeat-check-list {
    gap: 6px;
  }

  .eeat-check-list li,
  .eeat-review-lines div,
  .hero-author-role,
  .hero-author-name {
    font-size: 0.78rem;
  }

  .eeat-author-image {
    width: 44px;
    height: 44px;
  }
}


/* MOBILE TRUST PANEL - clearer expandable cue */
@media (max-width: 768px) {
  .hero-trust-toggle {
    padding: 14px 15px;
    margin-top: 10px;
    border-radius: 16px;
    min-height: 92px;
    position: relative;
  }

  .hero-trust-toggle span {
    font-size: 0.75rem;
    margin-bottom: 5px;
  }

  .hero-trust-toggle strong {
    max-width: calc(100% - 44px);
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .hero-trust-toggle em {
    display: inline-flex;
    margin-top: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(247,229,175,0.12);
    color: #f7e5af;
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.02em;
  }

  .hero-trust-toggle::after {
    content: "⌄";
    position: absolute;
    right: 15px;
    top: 50%;
    margin: 0;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(247,229,175,0.14);
    color: #f7e5af;
    font-size: 1.35rem;
    line-height: 1;
  }

  .hero-trust-toggle[aria-expanded="true"]::after {
    content: "⌃";
  }

  .hero-trust-toggle[aria-expanded="true"] em {
    color: rgba(255,255,255,0.78);
  }

  .hero-mobile-disclosure {
    display: block;
  }

  .hero-mobile-disclosure p {
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .hero-mobile-disclosure a {
    display: inline-block;
    margin-top: 7px;
    color: #f7e5af;
    font-weight: 900;
  }

  .hero-left .hero-disclosure {
    display: none;
  }
}

@media (min-width: 769px) {
  .hero-mobile-disclosure {
    display: none !important;
  }
}


/* MOBILE HERO TEXT - show more intro lines */
@media (max-width: 480px) {
  .hero-text,
  #heroIntro {
    max-height: none;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }
}

/* MOBILE REVIEW TRANSPARENCY - fixed content panel */
.hero-trust-mobile {
  display: none;
}

.hero-trust-mobile-panel {
  display: none;
}

@media (max-width: 768px) {
  .hero-trust-mobile {
    display: block;
  }

  .hero-trust-mobile-panel.is-open {
    display: block;
    margin-top: 8px;
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.13);
  }

  .hero-trust-mobile-section {
    padding: 0 0 12px;
    margin: 0 0 12px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }

  .hero-trust-mobile-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .hero-trust-mobile-section h3 {
    color: #f7e5af;
    font-size: 0.92rem;
    line-height: 1.25;
    margin: 0 0 7px;
    letter-spacing: -0.01em;
  }

  .hero-trust-mobile-section p {
    color: rgba(255,255,255,0.80);
    font-size: 0.82rem;
    line-height: 1.48;
    margin: 0 0 6px;
  }

  .hero-trust-mobile-section p:last-child {
    margin-bottom: 0;
  }

  .hero-trust-mobile-section strong {
    color: #ffffff;
  }

  .hero-trust-mobile-section a {
    color: #f7e5af;
    font-weight: 900;
  }

  .hero-trust-mobile-section ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: grid;
    gap: 6px;
  }

  .hero-trust-mobile-section li {
    position: relative;
    color: rgba(255,255,255,0.82);
    font-size: 0.8rem;
    line-height: 1.35;
    padding-left: 18px;
  }

  .hero-trust-mobile-section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #f7e5af;
    font-weight: 900;
  }

  .hero-side {
    display: none !important;
  }

  .hero-side.is-open {
    display: none !important;
  }
}


/* FINAL MOBILE ACCORDION FIX */
@media (max-width: 768px) {
  /*
   * Keep desktop trust cards hidden on mobile.
   * Only the compact Review transparency accordion should be visible before tap.
   */
  .hero-grid > .hero-side {
    display: none !important;
  }

  .hero-grid > .hero-side.is-open {
    display: none !important;
  }

  .hero-trust-mobile {
    display: block !important;
  }

  .hero-trust-mobile-panel {
    display: none !important;
  }

  .hero-trust-mobile-panel.is-open {
    display: block !important;
    margin-top: 8px;
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.13);
  }

  /*
   * Hero intro should still be expandable, but the initial preview is larger.
   * This shows around 5-6 lines instead of only 2.
   */
  .hero-text,
  #heroIntro {
    display: -webkit-box !important;
    -webkit-line-clamp: 6 !important;
    line-clamp: 6 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    max-height: none !important;
    cursor: pointer;
  }

  .hero-text.is-open,
  #heroIntro.is-open {
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    overflow: visible !important;
  }
}

@media (max-width: 420px) {
  .hero-text,
  #heroIntro {
    -webkit-line-clamp: 5 !important;
    line-clamp: 5 !important;
  }
}


/* HARD FIX - mobile trust accordion and hero intro */
.hero-trust-mobile {
  display: none;
}

.hero-trust-mobile-panel {
  display: none;
}

@media screen and (max-width: 768px) {
  .hero-side-desktop,
  .hero-grid .hero-side-desktop,
  #heroTrustPanel.hero-side-desktop {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .hero-trust-mobile {
    display: block !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  .hero-trust-mobile-panel {
    display: none !important;
  }

  .hero-trust-mobile-panel.is-open {
    display: block !important;
    margin-top: 8px !important;
    padding: 13px 14px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.075) !important;
    border: 1px solid rgba(255,255,255,0.13) !important;
  }

  .hero-trust-toggle {
    display: block !important;
    width: 100% !important;
    min-height: 96px !important;
    padding: 14px 52px 14px 15px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,0.13) !important;
    background: rgba(255,255,255,0.07) !important;
    color: #fff !important;
    text-align: left !important;
    position: relative !important;
  }

  .hero-trust-toggle span {
    display: block !important;
    color: #f7e5af !important;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    margin-bottom: 5px !important;
  }

  .hero-trust-toggle strong {
    display: block !important;
    max-width: 100% !important;
    color: rgba(255,255,255,0.88) !important;
    font-size: 0.94rem !important;
    line-height: 1.42 !important;
  }

  .hero-trust-toggle em {
    display: inline-flex !important;
    margin-top: 8px !important;
    padding: 4px 9px !important;
    border-radius: 999px !important;
    background: rgba(247,229,175,0.12) !important;
    color: #f7e5af !important;
    font-size: 0.74rem !important;
    font-style: normal !important;
    font-weight: 900 !important;
  }

  .hero-trust-toggle::after {
    content: "⌄" !important;
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    background: rgba(247,229,175,0.14) !important;
    color: #f7e5af !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.35rem !important;
    line-height: 1 !important;
  }

  .hero-trust-toggle[aria-expanded="true"]::after {
    content: "⌃" !important;
  }

  .hero-trust-mobile-section {
    padding: 0 0 12px !important;
    margin: 0 0 12px !important;
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
  }

  .hero-trust-mobile-section:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
  }

  .hero-trust-mobile-section h3 {
    color: #f7e5af !important;
    font-size: 0.92rem !important;
    line-height: 1.25 !important;
    margin: 0 0 7px !important;
  }

  .hero-trust-mobile-section p,
  .hero-trust-mobile-section li {
    color: rgba(255,255,255,0.82) !important;
    font-size: 0.82rem !important;
    line-height: 1.48 !important;
    margin: 0 0 6px !important;
  }

  .hero-trust-mobile-section strong,
  .hero-trust-mobile-section a {
    color: #f7e5af !important;
    font-weight: 900 !important;
  }

  .hero-trust-mobile-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 8px 0 0 !important;
    display: grid !important;
    gap: 6px !important;
  }

  .hero-trust-mobile-section li {
    position: relative !important;
    padding-left: 18px !important;
  }

  .hero-trust-mobile-section li::before {
    content: "✓" !important;
    position: absolute !important;
    left: 0 !important;
    color: #f7e5af !important;
    font-weight: 900 !important;
  }

  .hero-text,
  #heroIntro {
    display: -webkit-box !important;
    -webkit-line-clamp: 6 !important;
    line-clamp: 6 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    max-height: none !important;
    cursor: pointer !important;
  }

  .hero-text.is-open,
  #heroIntro.is-open {
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    overflow: visible !important;
  }
}

@media screen and (max-width: 420px) {
  .hero-text,
  #heroIntro {
    -webkit-line-clamp: 5 !important;
    line-clamp: 5 !important;
  }
}


/* FINAL MOBILE TRUST: tap opens the same desktop content, compacted */
@media screen and (max-width: 768px) {
  .hero-trust-mobile-panel,
  .hero-trust-mobile-panel.is-open,
  #heroTrustMobilePanel,
  #heroTrustMobilePanel.is-open {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  #heroTrustPanel.hero-side-desktop,
  .hero-grid #heroTrustPanel.hero-side-desktop {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #heroTrustPanel.hero-side-desktop.is-open,
  .hero-grid #heroTrustPanel.hero-side-desktop.is-open {
    display: flex !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  #heroTrustPanel .hero-card,
  #heroTrustPanel .hero-author-side {
    border-radius: 16px !important;
    padding: 13px 14px !important;
    margin: 0 !important;
  }

  #heroTrustPanel .hero-card-title,
  #heroTrustPanel .hero-author-tag {
    font-size: 0.72rem !important;
    margin-bottom: 8px !important;
  }

  #heroTrustPanel .eeat-check-list {
    gap: 7px !important;
    margin-top: 9px !important;
  }

  #heroTrustPanel .eeat-check-list li {
    font-size: 0.82rem !important;
    line-height: 1.42 !important;
  }

  #heroTrustPanel .eeat-author-header {
    gap: 10px !important;
    align-items: center !important;
  }

  #heroTrustPanel .eeat-author-image {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
  }

  #heroTrustPanel .hero-author-name {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
  }

  #heroTrustPanel .hero-author-role {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
  }

  #heroTrustPanel .eeat-review-lines {
    margin-top: 10px !important;
    padding-top: 10px !important;
    gap: 7px !important;
  }

  #heroTrustPanel .eeat-review-lines div {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    gap: 8px !important;
  }

  #heroTrustPanel .eeat-review-lines strong {
    max-width: 55% !important;
  }

  .hero-text,
  #heroIntro {
    display: -webkit-box !important;
    -webkit-line-clamp: 6 !important;
    line-clamp: 6 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    max-height: none !important;
    cursor: pointer !important;
  }

  .hero-text.is-open,
  #heroIntro.is-open {
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    overflow: visible !important;
  }
}

@media screen and (max-width: 420px) {
  .hero-text,
  #heroIntro {
    -webkit-line-clamp: 5 !important;
    line-clamp: 5 !important;
  }
}


/* FINAL MOBILE TRUST ACCORDION - single source of truth */
.mobile-trust-accordion {
  display: none;
}

.mobile-trust-content {
  display: none;
}

@media screen and (max-width: 768px) {
  /* Hero intro: show 5-6 lines by default, tap opens full text */
  .hero-text,
  #heroIntro {
    display: -webkit-box !important;
    -webkit-line-clamp: 6 !important;
    line-clamp: 6 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    max-height: none !important;
    cursor: pointer !important;
  }

  .hero-text.is-open,
  #heroIntro.is-open {
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    overflow: visible !important;
  }

  /* Hide desktop trust blocks on mobile. Mobile gets its own accordion below the hero button. */
  .hero-side,
  .hero-side-desktop,
  #heroTrustPanel,
  #heroTrustPanel.is-open {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mobile-trust-accordion {
    display: block !important;
    margin-top: 10px !important;
  }

  .mobile-trust-toggle {
    display: block !important;
    width: 100% !important;
    min-height: 100px !important;
    padding: 14px 54px 14px 15px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    background: rgba(255,255,255,0.075) !important;
    color: #fff !important;
    text-align: left !important;
    position: relative !important;
    cursor: pointer !important;
  }

  .mobile-trust-toggle::after {
    content: "⌄" !important;
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    background: rgba(247,229,175,0.14) !important;
    color: #f7e5af !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.35rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }

  .mobile-trust-toggle[aria-expanded="true"]::after {
    content: "⌃" !important;
  }

  .mobile-trust-kicker {
    display: block !important;
    color: #f7e5af !important;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    margin-bottom: 5px !important;
  }

  .mobile-trust-preview {
    display: block !important;
    color: rgba(255,255,255,0.88) !important;
    font-size: 0.94rem !important;
    line-height: 1.42 !important;
  }

  .mobile-trust-action {
    display: inline-flex !important;
    margin-top: 8px !important;
    padding: 4px 9px !important;
    border-radius: 999px !important;
    background: rgba(247,229,175,0.12) !important;
    color: #f7e5af !important;
    font-size: 0.74rem !important;
    font-weight: 900 !important;
  }

  .mobile-trust-content {
    display: none !important;
  }

  .mobile-trust-content.is-open {
    display: block !important;
    margin-top: 8px !important;
    padding: 13px 14px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.075) !important;
    border: 1px solid rgba(255,255,255,0.13) !important;
  }

  .mobile-trust-section {
    padding: 0 0 12px !important;
    margin: 0 0 12px !important;
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
  }

  .mobile-trust-section:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
  }

  .mobile-trust-section h3 {
    color: #f7e5af !important;
    font-size: 0.92rem !important;
    line-height: 1.25 !important;
    margin: 0 0 7px !important;
    letter-spacing: -0.01em !important;
  }

  .mobile-trust-section p,
  .mobile-trust-section li {
    color: rgba(255,255,255,0.82) !important;
    font-size: 0.82rem !important;
    line-height: 1.48 !important;
    margin: 0 0 6px !important;
  }

  .mobile-trust-section strong,
  .mobile-trust-section a {
    color: #f7e5af !important;
    font-weight: 900 !important;
  }

  .mobile-trust-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 8px 0 0 !important;
    display: grid !important;
    gap: 6px !important;
  }

  .mobile-trust-section li {
    position: relative !important;
    padding-left: 18px !important;
  }

  .mobile-trust-section li::before {
    content: "✓" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #f7e5af !important;
    font-weight: 900 !important;
  }

  .mobile-trust-author-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
  }

  .mobile-trust-author-row img {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex: 0 0 52px !important;
  }
}

@media screen and (max-width: 420px) {
  .hero-text,
  #heroIntro {
    -webkit-line-clamp: 5 !important;
    line-clamp: 5 !important;
  }
}


/* ABSOLUTE FINAL FIX - mobile hero intro and methodology display */
@media screen and (max-width: 768px) {
  body .hero-left #heroIntro.hero-text {
    display: block !important;
    max-height: 9.2em !important;
    min-height: 7.6em !important;
    overflow: hidden !important;
    line-height: 1.52 !important;
    cursor: pointer !important;
    position: relative !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: initial !important;
  }

  body .hero-left #heroIntro.hero-text.is-open,
  body .hero-left #heroIntro.hero-text.hero-intro-expanded {
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body .mobile-trust-accordion {
    display: block !important;
  }

  body .mobile-trust-content {
    display: none !important;
  }

  body .mobile-trust-content.is-open {
    display: block !important;
  }

  body .mobile-trust-section ul,
  body .mobile-trust-content.is-open ul {
    display: grid !important;
    visibility: visible !important;
    height: auto !important;
    opacity: 1 !important;
  }

  body .mobile-trust-section li,
  body .mobile-trust-content.is-open li {
    display: list-item !important;
    visibility: visible !important;
    height: auto !important;
    opacity: 1 !important;
  }
}

@media screen and (max-width: 420px) {
  body .hero-left #heroIntro.hero-text {
    max-height: 8.7em !important;
    min-height: 7.3em !important;
  }
}


/* FINAL: mobile uses the real desktop trust cards, opened by one tap */
.mobile-trust-main-toggle {
  display: none;
}

@media screen and (max-width: 768px) {
  .mobile-trust-accordion,
  .mobile-trust-content,
  .hero-trust-mobile,
  .hero-trust-mobile-panel,
  #mobileTrustContent,
  #heroTrustMobilePanel {
    display: none !important;
  }

  .mobile-trust-main-toggle {
    display: block !important;
    width: 100% !important;
    min-height: 98px !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    padding: 14px 54px 14px 15px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    background: rgba(255,255,255,0.075) !important;
    color: #fff !important;
    text-align: left !important;
    position: relative !important;
    cursor: pointer !important;
  }

  .mobile-trust-main-toggle::after {
    content: "⌄" !important;
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    background: rgba(247,229,175,0.14) !important;
    color: #f7e5af !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.35rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }

  .mobile-trust-main-toggle[aria-expanded="true"]::after {
    content: "⌃" !important;
  }

  .mobile-trust-main-toggle span {
    display: block !important;
    color: #f7e5af !important;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    margin-bottom: 5px !important;
  }

  .mobile-trust-main-toggle strong {
    display: block !important;
    color: rgba(255,255,255,0.88) !important;
    font-size: 0.94rem !important;
    line-height: 1.42 !important;
  }

  .mobile-trust-main-toggle em {
    display: inline-flex !important;
    margin-top: 8px !important;
    padding: 4px 9px !important;
    border-radius: 999px !important;
    background: rgba(247,229,175,0.12) !important;
    color: #f7e5af !important;
    font-size: 0.74rem !important;
    font-style: normal !important;
    font-weight: 900 !important;
  }

  #heroTrustPanel.hero-trust-panel {
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 8px !important;
    width: 100% !important;
  }

  #heroTrustPanel.hero-trust-panel .hero-card,
  #heroTrustPanel.hero-trust-panel .hero-author-side {
    border-radius: 16px !important;
    padding: 13px 14px !important;
    margin: 0 !important;
  }

  #heroTrustPanel.hero-trust-panel .hero-card-title,
  #heroTrustPanel.hero-trust-panel .hero-author-tag {
    font-size: 0.72rem !important;
    margin-bottom: 8px !important;
  }

  #heroTrustPanel.hero-trust-panel .eeat-check-list {
    gap: 7px !important;
    margin-top: 9px !important;
  }

  #heroTrustPanel.hero-trust-panel .eeat-check-list li {
    font-size: 0.82rem !important;
    line-height: 1.42 !important;
  }

  #heroTrustPanel.hero-trust-panel .eeat-author-header {
    gap: 10px !important;
    align-items: center !important;
  }

  #heroTrustPanel.hero-trust-panel .eeat-author-image {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
  }

  #heroTrustPanel.hero-trust-panel .hero-author-name {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
  }

  #heroTrustPanel.hero-trust-panel .hero-author-role {
    font-size: 0.8rem !important;
  }

  #heroTrustPanel.hero-trust-panel .eeat-review-lines div {
    font-size: 0.8rem !important;
  }

  body .hero-left #heroIntro.hero-text {
    max-height: 9.2em !important;
    overflow: hidden !important;
    line-height: 1.52 !important;
    cursor: pointer !important;
    display: block !important;
  }

  body .hero-left #heroIntro.hero-text.is-open {
    max-height: none !important;
    overflow: visible !important;
  }
}

@media screen and (max-width: 420px) {
  body .hero-left #heroIntro.hero-text {
    max-height: 8.9em !important;
  }
}


/* FINAL WORKING MOBILE TRUST - native details, no JS needed */
.mobile-trust-details {
  display: none;
}

@media screen and (max-width: 768px) {
  .mobile-trust-main-toggle,
  .mobile-trust-accordion,
  .mobile-trust-content,
  .hero-trust-mobile,
  .hero-trust-mobile-panel,
  #mobileTrustContent,
  #heroTrustMobilePanel {
    display: none !important;
  }

  .desktop-trust-panel,
  #heroTrustPanel.desktop-trust-panel {
    display: none !important;
  }

  .mobile-trust-details {
    display: block !important;
    margin-top: 10px !important;
  }

  .mobile-trust-details summary {
    list-style: none !important;
    min-height: 98px !important;
    padding: 14px 54px 14px 15px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    background: rgba(255,255,255,0.075) !important;
    color: #fff !important;
    text-align: left !important;
    position: relative !important;
    cursor: pointer !important;
  }

  .mobile-trust-details summary::-webkit-details-marker {
    display: none !important;
  }

  .mobile-trust-details summary::after {
    content: "⌄" !important;
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    background: rgba(247,229,175,0.14) !important;
    color: #f7e5af !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.35rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }

  .mobile-trust-details[open] summary::after {
    content: "⌃" !important;
  }

  .mobile-trust-kicker {
    display: block !important;
    color: #f7e5af !important;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    margin-bottom: 5px !important;
  }

  .mobile-trust-details summary strong {
    display: block !important;
    color: rgba(255,255,255,0.88) !important;
    font-size: 0.94rem !important;
    line-height: 1.42 !important;
  }

  .mobile-trust-details summary em {
    display: inline-flex !important;
    margin-top: 8px !important;
    padding: 4px 9px !important;
    border-radius: 999px !important;
    background: rgba(247,229,175,0.12) !important;
    color: #f7e5af !important;
    font-size: 0.74rem !important;
    font-style: normal !important;
    font-weight: 900 !important;
  }

  .mobile-trust-details-inner {
    display: grid !important;
    gap: 10px !important;
    margin-top: 8px !important;
  }

  .mobile-copy-card,
  .mobile-trust-details .hero-card,
  .mobile-trust-details .hero-author-side {
    border-radius: 16px !important;
    padding: 13px 14px !important;
    margin: 0 !important;
  }

  .mobile-trust-details .hero-card-title,
  .mobile-trust-details .hero-author-tag {
    font-size: 0.72rem !important;
    margin-bottom: 8px !important;
  }

  .mobile-trust-details .hero-card p {
    color: rgba(255,255,255,0.82) !important;
    font-size: 0.82rem !important;
    line-height: 1.48 !important;
    margin: 0 0 6px !important;
  }

  .mobile-trust-details .hero-card a,
  .mobile-trust-details .hero-author-side a {
    color: #f7e5af !important;
    font-weight: 900 !important;
  }

  .mobile-trust-details .eeat-check-list {
    gap: 7px !important;
    margin-top: 9px !important;
  }

  .mobile-trust-details .eeat-check-list li {
    font-size: 0.82rem !important;
    line-height: 1.42 !important;
  }

  .mobile-trust-details .eeat-author-header {
    gap: 10px !important;
    align-items: center !important;
  }

  .mobile-trust-details .eeat-author-image {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
  }

  .mobile-trust-details .hero-author-name {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
  }

  .mobile-trust-details .hero-author-role {
    font-size: 0.8rem !important;
  }

  .mobile-trust-details .eeat-review-lines div {
    font-size: 0.8rem !important;
  }

  .mobile-trust-details .eeat-review-lines strong {
    max-width: 55% !important;
  }

  body .hero-left #heroIntro.hero-text {
    max-height: 9.2em !important;
    overflow: hidden !important;
    line-height: 1.52 !important;
    cursor: pointer !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
  }

  body .hero-left #heroIntro.hero-text.is-open {
    max-height: none !important;
    overflow: visible !important;
  }
}

@media screen and (max-width: 420px) {
  body .hero-left #heroIntro.hero-text {
    max-height: 8.9em !important;
  }
}


/* POKIE FINAL MOBILE TRUST - clean final implementation */
.pf-mobile-trust {
  display: none;
}

@media screen and (min-width: 769px) {
  .pf-mobile-trust {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  /* Hide all older mobile trust attempts and desktop trust column */
  .mobile-trust-details,
  .mobile-trust-main-toggle,
  .mobile-trust-accordion,
  .mobile-trust-content,
  .hero-trust-mobile,
  .hero-trust-mobile-panel,
  #mobileTrustContent,
  #heroTrustMobilePanel,
  #heroTrustPanel,
  .desktop-trust-panel {
    display: none !important;
  }

  .pf-mobile-trust {
    display: block !important;
    margin-top: 10px !important;
  }

  .pf-mobile-trust summary {
    display: block !important;
    list-style: none !important;
    min-height: 100px !important;
    padding: 14px 54px 14px 15px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    background: rgba(255,255,255,0.075) !important;
    color: #fff !important;
    position: relative !important;
    cursor: pointer !important;
  }

  .pf-mobile-trust summary::-webkit-details-marker {
    display: none !important;
  }

  .pf-mobile-trust summary::after {
    content: "⌄" !important;
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    background: rgba(247,229,175,0.14) !important;
    color: #f7e5af !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.35rem !important;
    font-weight: 900 !important;
  }

  .pf-mobile-trust[open] summary::after {
    content: "⌃" !important;
  }

  .pf-mobile-trust summary span {
    display: block !important;
    color: #f7e5af !important;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    margin-bottom: 5px !important;
  }

  .pf-mobile-trust summary strong {
    display: block !important;
    color: rgba(255,255,255,0.88) !important;
    font-size: 0.94rem !important;
    line-height: 1.42 !important;
  }

  .pf-mobile-trust summary em {
    display: inline-flex !important;
    margin-top: 8px !important;
    padding: 4px 9px !important;
    border-radius: 999px !important;
    background: rgba(247,229,175,0.12) !important;
    color: #f7e5af !important;
    font-size: 0.74rem !important;
    font-style: normal !important;
    font-weight: 900 !important;
  }

  .pf-mobile-trust-inner {
    display: grid !important;
    gap: 10px !important;
    margin-top: 8px !important;
  }

  .pf-mobile-trust .hero-card,
  .pf-mobile-trust .hero-author-side {
    display: block !important;
    border-radius: 16px !important;
    padding: 13px 14px !important;
    margin: 0 !important;
  }

  .pf-mobile-trust .hero-card-title,
  .pf-mobile-trust .hero-author-tag {
    font-size: 0.72rem !important;
    margin-bottom: 8px !important;
  }

  .pf-mobile-trust .hero-card p {
    color: rgba(255,255,255,0.82) !important;
    font-size: 0.82rem !important;
    line-height: 1.48 !important;
    margin: 0 0 6px !important;
  }

  .pf-mobile-trust .hero-card a,
  .pf-mobile-trust .hero-author-side a {
    color: #f7e5af !important;
    font-weight: 900 !important;
  }

  .pf-mobile-trust .eeat-check-list {
    display: grid !important;
    gap: 7px !important;
    margin-top: 9px !important;
  }

  .pf-mobile-trust .eeat-check-list li {
    display: list-item !important;
    font-size: 0.82rem !important;
    line-height: 1.42 !important;
  }

  .pf-mobile-trust .eeat-author-header {
    gap: 10px !important;
    align-items: center !important;
  }

  .pf-mobile-trust .eeat-author-image {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
  }

  .pf-mobile-trust .hero-author-name {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
  }

  .pf-mobile-trust .hero-author-role {
    font-size: 0.8rem !important;
  }

  .pf-mobile-trust .eeat-review-lines div {
    font-size: 0.8rem !important;
  }

  .pf-mobile-trust .eeat-review-lines strong {
    max-width: 55% !important;
  }

  body .hero-left #heroIntro.hero-text {
    display: block !important;
    max-height: 9.2em !important;
    overflow: hidden !important;
    line-height: 1.52 !important;
    cursor: pointer !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
  }

  body .hero-left #heroIntro.hero-text.is-open {
    max-height: none !important;
    overflow: visible !important;
  }
}


/* HERO INTRO MOBILE - clean 5-6 line preview without cutting letters */
@media screen and (max-width: 768px) {
  body .hero-left #heroIntro.hero-text {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 6 !important;
    line-clamp: 6 !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: hidden !important;
    line-height: 1.58 !important;
    padding-bottom: 2px !important;
    cursor: pointer !important;
  }

  body .hero-left #heroIntro.hero-text.is-open {
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }
}

@media screen and (max-width: 420px) {
  body .hero-left #heroIntro.hero-text {
    -webkit-line-clamp: 5 !important;
    line-clamp: 5 !important;
  }
}


/* COOKIE NOTICE - final robust version */
.pf-cookie-notice {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999999;
  pointer-events: none;
}

.pf-cookie-notice-inner {
  width: min(720px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(18, 26, 40, 0.97);
  border: 1px solid rgba(212, 170, 75, 0.28);
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.84);
  pointer-events: auto;
}

.pf-cookie-notice-text {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.45;
}

.pf-cookie-notice-text a {
  color: #f7e5af;
  font-weight: 900;
  margin-left: 6px;
}

.pf-cookie-accept {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: linear-gradient(135deg,#d4aa4b,#b98522);
  color: #111827;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .pf-cookie-notice {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .pf-cookie-notice-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 13px;
    border-radius: 16px;
  }

  .pf-cookie-notice-text {
    font-size: 0.82rem;
  }

  .pf-cookie-accept {
    width: 100%;
    padding: 11px 16px;
  }
}


/* Desktop trust panel order */
@media (min-width: 769px) {
  .desktop-trust-panel {
    display: flex;
    flex-direction: column;
  }
  .desktop-trust-panel .eeat-author-card {
    order: 1;
  }
  .desktop-trust-panel .eeat-method-card {
    order: 2;
  }
}



/* Player reviews section - configurable */
.player-reviews-section {
  margin-top: 34px;
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(180deg, #f8f7f3 0%, #f3efe7 100%);
  border: 1px solid #ece6da;
}

.section-heading-center {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff3cf;
  color: #8a5a0a;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading-center h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  color: #111827;
}

.section-heading-center p {
  margin: 0;
  color: #5b6473;
  line-height: 1.65;
}

.player-reviews-wrap {
  position: relative;
}

.player-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.has-review-slider .player-reviews-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 18px;
  scrollbar-width: thin;
}

.has-review-slider .player-review-card {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
}

.player-review-card {
  background: #ffffff;
  border: 1px solid #ece8de;
  border-radius: 26px;
  padding: 22px 22px 20px;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.player-review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 38px rgba(17, 24, 39, 0.12);
  border-color: #d8c59a;
}

.player-review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.player-review-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.player-review-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  color: #ffffff;
  flex: 0 0 54px;
}

.avatar-green { background: linear-gradient(135deg, #20d86d, #08bf5b); }
.avatar-gold { background: linear-gradient(135deg, #f7c21a, #f0ac00); color: #111827; }

.player-review-name {
  color: #111827;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.player-review-location {
  margin-top: 5px;
  color: #4b5563;
  font-size: 0.95rem;
}

.player-review-stars {
  color: #f0ac00;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.player-review-card h3 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 1.55rem;
  line-height: 1.15;
}

.player-review-card p {
  margin: 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.75;
  font-style: italic;
}

.player-review-date {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #ece8de;
  color: #6b7280;
  font-size: 0.98rem;
}

.player-review-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.player-review-nav:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.3);
}

.player-review-prev { left: -18px; }
.player-review-next { right: -18px; }

/* Admin repeaters */
.pokies-repeat-box {
  margin: 20px 0 28px;
  padding: 18px;
  border: 1px solid #dcdcde;
  background: #fff;
  border-radius: 8px;
}

.pokies-repeat-item {
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid #dcdcde;
  background: #f6f7f7;
  border-radius: 8px;
}

.pokies-repeat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

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

.pokies-repeat-item label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .player-reviews-grid {
    grid-template-columns: 1fr;
  }

  .has-review-slider .player-review-card {
    flex-basis: calc((100% - 22px) / 2);
  }
}

@media (max-width: 768px) {
  .player-reviews-section {
    margin-top: 24px;
    padding: 18px 16px;
    border-radius: 20px;
  }

  .section-heading-center {
    margin-bottom: 18px;
  }

  .player-reviews-grid {
    gap: 14px;
  }

  .has-review-slider .player-review-card {
    flex-basis: 86%;
  }

  .player-review-card {
    border-radius: 20px;
    padding: 18px;
  }

  .player-review-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 14px;
  }

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

  .player-review-card p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .player-review-prev {
    left: -6px;
  }

  .player-review-next {
    right: -6px;
  }

  .player-review-nav {
    width: 38px;
    height: 38px;
    font-size: 1.65rem;
  }

  .pokies-grid-2 {
    grid-template-columns: 1fr;
  }
}


/* PF content UX upgrade: tables, images, note boxes and reusable content cards */
.article-content {
  color: #1f2937;
}

.article-content p {
  line-height: 1.78;
  margin-bottom: 16px;
}

.article-content h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.article-content h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.article-content ul,
.article-content ol {
  margin: 14px 0 20px 22px;
}

.article-content li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.article-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0 30px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
}

.article-content table thead th,
.article-content table tr:first-child th {
  background: #10281f;
  color: #f7e5af;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.article-content table th,
.article-content table td {
  padding: 15px 16px;
  border-bottom: 1px solid #edf0f2;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.article-content table tbody tr:nth-child(even) td {
  background: #faf8f1;
}

.article-content table tbody tr:hover td {
  background: #f3f8ef;
}

.article-content table tr:last-child td,
.article-content table tr:last-child th {
  border-bottom: 0;
}

.article-content .wp-block-table {
  overflow-x: auto;
  margin: 24px 0 30px;
  border-radius: 18px;
}

.article-content .wp-block-table table {
  margin: 0;
  min-width: 720px;
}

.article-content figure.wp-block-image {
  margin: 30px 0;
}

.article-content figure.wp-block-image img,
.article-content .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.article-content figure.wp-block-image figcaption,
.article-content .wp-block-image figcaption,
.article-content figcaption {
  margin-top: 9px;
  color: #6b7280;
  font-size: 0.9rem;
  text-align: center;
}

.pf-note-box,
.pf-tip-box,
.pf-warning-box {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #f8fbf4;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.06);
}

.pf-note-box strong,
.pf-tip-box strong,
.pf-warning-box strong {
  display: block;
  margin-bottom: 6px;
  color: #10281f;
  font-size: 1.02rem;
}

.pf-warning-box {
  background: #fff8e7;
  border-color: #f3d28a;
}

.pf-tip-box {
  background: #eef9f0;
  border-color: #bfe5c6;
}

.pf-comparison-grid,
.pf-checklist-grid,
.pf-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 30px;
}

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

.pf-comparison-card,
.pf-check-item,
.pf-payment-card {
  background: #fff;
  border: 1px solid #e7e5df;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.pf-comparison-card h3,
.pf-check-item h3,
.pf-payment-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.pf-comparison-card ul,
.pf-payment-card ul,
.pf-check-item ul {
  margin: 10px 0 0 18px;
}

.pf-process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 30px;
}

.pf-process-step {
  position: relative;
  padding: 15px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e7e5df;
  text-align: center;
  font-weight: 900;
  color: #10281f;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
}

.pf-process-step:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: #9a6a1e;
  font-size: 1.5rem;
  z-index: 2;
}

.pf-pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 30px;
}

.pf-pros-card,
.pf-cons-card {
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e7e5df;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.pf-pros-card h3,
.pf-cons-card h3 {
  margin-top: 0;
}

.pf-pros-card li::marker {
  color: #118341;
}

.pf-cons-card li::marker {
  color: #b45309;
}

/* Modern Responsible Gambling block */
.pf-responsible-modern {
  padding: 26px;
  background: linear-gradient(135deg, #ffffff 0%, #fbf8ee 100%);
}

.pf-responsible-modern .responsible-intro,
.pf-responsible-modern .responsible-legacy-text p {
  max-width: 840px;
  color: #4b5563;
  line-height: 1.75;
}

.responsible-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 20px;
}

.responsible-mini-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid #e7e5df;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.05);
}

.responsible-mini-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: #10281f;
}

.responsible-mini-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
  color: #4b5563;
}

@media (max-width: 980px) {
  .pf-payment-grid,
  .responsible-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pf-process-flow {
    grid-template-columns: 1fr;
  }

  .pf-process-step:not(:last-child)::after {
    content: '⌄';
    right: auto;
    left: 50%;
    top: auto;
    bottom: -18px;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .article-content h2 {
    margin-top: 34px;
    font-size: 1.55rem;
  }

  .article-content h3 {
    font-size: 1.24rem;
  }

  .article-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 16px;
  }

  .article-content table th,
  .article-content table td {
    padding: 13px 14px;
  }

  .pf-comparison-grid,
  .pf-checklist-grid,
  .pf-payment-grid,
  .pf-pros-cons,
  .responsible-card-grid {
    grid-template-columns: 1fr;
  }

  .pf-note-box,
  .pf-tip-box,
  .pf-warning-box,
  .pf-comparison-card,
  .pf-check-item,
  .pf-payment-card,
  .pf-pros-card,
  .pf-cons-card {
    border-radius: 16px;
  }

  .pf-responsible-modern {
    padding: 18px;
  }
}

/* Enhanced PayID content block system v5.7 */
.article-content {
  --pf-ink: #10281f;
  --pf-muted: #5d6b62;
  --pf-soft: #f7f8f1;
  --pf-card: #ffffff;
  --pf-green: #118341;
  --pf-green-dark: #0c5f31;
  --pf-gold: #d99b26;
  --pf-gold-soft: #fff4d8;
  --pf-border: rgba(16, 40, 31, 0.12);
  --pf-shadow: 0 18px 42px rgba(16, 40, 31, 0.10);
  --pf-shadow-hover: 0 24px 58px rgba(16, 40, 31, 0.16);
}

.article-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  margin: 26px 0 34px;
  background: var(--pf-card);
  border: 1px solid var(--pf-border);
  border-radius: 22px;
  box-shadow: var(--pf-shadow);
}

.article-content table thead th,
.article-content table tr:first-child th {
  background: linear-gradient(135deg, #10281f 0%, #0d6f38 100%);
  color: #ffffff;
  border-color: rgba(255,255,255,0.10);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.article-content table th,
.article-content table td {
  padding: 17px 18px;
  border-right: 1px solid rgba(16, 40, 31, 0.08);
  border-bottom: 1px solid rgba(16, 40, 31, 0.08);
  vertical-align: top;
}

.article-content table th:last-child,
.article-content table td:last-child {
  border-right: 0;
}

.article-content table tbody tr:nth-child(even) td {
  background: #fbfcf8;
}

.article-content table tbody tr:hover td {
  background: #f2fbef;
}

.article-content figure.wp-block-image,
.article-content .wp-block-image {
  margin: 34px 0;
}

.article-content figure.wp-block-image img,
.article-content .wp-block-image img {
  border-radius: 26px;
  box-shadow: 0 24px 58px rgba(16, 40, 31, 0.16);
  border: 1px solid rgba(255,255,255,0.72);
  outline: 1px solid rgba(16, 40, 31, 0.08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.article-content figure.wp-block-image img:hover,
.article-content .wp-block-image img:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 70px rgba(16, 40, 31, 0.20);
}

.pf-note-box,
.pf-tip-box,
.pf-warning-box {
  position: relative;
  overflow: hidden;
  margin: 28px 0;
  padding: 22px 24px 22px 72px;
  border-radius: 24px;
  border: 1px solid var(--pf-border);
  background: linear-gradient(135deg, #ffffff 0%, #f3fbf0 100%);
  box-shadow: var(--pf-shadow);
  color: var(--pf-ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pf-note-box:hover,
.pf-tip-box:hover,
.pf-warning-box:hover,
.pf-comparison-card:hover,
.pf-check-item:hover,
.pf-payment-card:hover,
.pf-pros-card:hover,
.pf-cons-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pf-shadow-hover);
  border-color: rgba(17, 131, 65, 0.28);
}

.pf-note-box::before,
.pf-tip-box::before,
.pf-warning-box::before {
  position: absolute;
  left: 22px;
  top: 21px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pf-green) 0%, #51bd5b 100%);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(17, 131, 65, 0.24);
}

.pf-note-box::before { content: 'i'; }
.pf-tip-box::before { content: '✓'; }
.pf-warning-box::before { content: '!'; background: linear-gradient(135deg, #d99b26 0%, #f2c14f 100%); box-shadow: 0 10px 20px rgba(217, 155, 38, 0.25); }

.pf-note-box::after,
.pf-tip-box::after,
.pf-warning-box::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--pf-green), #8fd14f);
}

.pf-warning-box {
  background: linear-gradient(135deg, #ffffff 0%, #fff4d8 100%);
  border-color: rgba(217, 155, 38, 0.34);
}

.pf-warning-box::after {
  background: linear-gradient(180deg, #d99b26, #f2c14f);
}

.pf-tip-box {
  background: linear-gradient(135deg, #ffffff 0%, #edfbea 100%);
}

.pf-note-box p,
.pf-tip-box p,
.pf-warning-box p {
  margin: 0;
}

.pf-note-box strong,
.pf-tip-box strong,
.pf-warning-box strong {
  display: inline;
  margin: 0;
  color: var(--pf-ink);
  font-weight: 900;
}

.pf-comparison-grid,
.pf-checklist-grid,
.pf-payment-grid,
.pf-pros-cons {
  gap: 18px;
  margin: 30px 0 38px;
}

.pf-comparison-card,
.pf-check-item,
.pf-payment-card,
.pf-pros-card,
.pf-cons-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid var(--pf-border);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcf8 100%);
  box-shadow: var(--pf-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pf-comparison-card::before,
.pf-payment-card::before,
.pf-pros-card::before,
.pf-cons-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--pf-green), var(--pf-gold));
}

.pf-comparison-card h3,
.pf-check-item h3,
.pf-payment-card h3,
.pf-pros-card h3,
.pf-cons-card h3 {
  color: var(--pf-ink);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.pf-comparison-card ul,
.pf-payment-card ul,
.pf-pros-card ul,
.pf-cons-card ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.pf-comparison-card li,
.pf-payment-card li,
.pf-pros-card li,
.pf-cons-card li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  color: var(--pf-muted);
  line-height: 1.55;
}

.pf-comparison-card li::before,
.pf-payment-card li::before,
.pf-pros-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5f8e8;
  color: var(--pf-green-dark);
  font-size: .75rem;
  font-weight: 900;
}

.pf-cons-card li::before {
  content: '!';
  position: absolute;
  left: 0;
  top: 0;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff4d8;
  color: #9a6514;
  font-size: .72rem;
  font-weight: 900;
}

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

.pf-check-item {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  color: var(--pf-ink);
}

.pf-check-item::before {
  content: '✓';
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--pf-green) 0%, #54bd57 100%);
  box-shadow: 0 10px 18px rgba(17, 131, 65, 0.22);
}

.pf-check-item p {
  margin: 0;
}

.pf-process-flow {
  counter-reset: pfstep;
  padding: 18px;
  border: 1px solid var(--pf-border);
  border-radius: 28px;
  background: linear-gradient(135deg, #10281f 0%, #116b37 100%);
  box-shadow: var(--pf-shadow);
}

.pf-process-step {
  counter-increment: pfstep;
  padding: 18px 12px 16px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.96);
  color: var(--pf-ink);
  box-shadow: 0 12px 26px rgba(0,0,0,0.11);
}

.pf-process-step::before {
  content: counter(pfstep);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pf-gold), #f1c24d);
  color: #10281f;
  font-size: .9rem;
  font-weight: 950;
}

.pf-process-step:not(:last-child)::after {
  color: #f4d27c;
  font-weight: 900;
}

.pf-pros-card {
  background: linear-gradient(180deg, #ffffff 0%, #f2fbef 100%);
}

.pf-cons-card {
  background: linear-gradient(180deg, #ffffff 0%, #fff8e7 100%);
}

.pf-cons-card::before {
  background: linear-gradient(90deg, #d99b26, #f2c14f);
}

.pf-payment-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pf-payment-card {
  padding: 20px 18px;
}

.pf-payment-card h3::before {
  content: '◉';
  color: var(--pf-green);
  margin-right: 8px;
}

/* Editor-side preview support */
.wp-admin .editor-styles-wrapper .pf-note-box,
.wp-admin .editor-styles-wrapper .pf-tip-box,
.wp-admin .editor-styles-wrapper .pf-warning-box,
.wp-admin .editor-styles-wrapper .pf-comparison-card,
.wp-admin .editor-styles-wrapper .pf-check-item,
.wp-admin .editor-styles-wrapper .pf-payment-card,
.wp-admin .editor-styles-wrapper .pf-pros-card,
.wp-admin .editor-styles-wrapper .pf-cons-card {
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .pf-payment-grid,
  .pf-checklist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .article-content table {
    box-shadow: 0 14px 32px rgba(16, 40, 31, 0.10);
  }

  .pf-note-box,
  .pf-tip-box,
  .pf-warning-box {
    padding: 20px 18px 20px 60px;
    border-radius: 20px;
  }

  .pf-note-box::before,
  .pf-tip-box::before,
  .pf-warning-box::before {
    left: 17px;
    top: 19px;
    width: 30px;
    height: 30px;
  }

  .pf-payment-grid,
  .pf-checklist-grid {
    grid-template-columns: 1fr;
  }

  .pf-process-flow {
    padding: 14px;
  }

  .pf-process-step:not(:last-child)::after {
    bottom: -20px;
  }
}


/* PF content blocks stable redesign v5.8 - navy/gold palette, stronger editor/grid behavior */
.article-content,
.wp-admin .editor-styles-wrapper {
  --pf-ink: #111827;
  --pf-navy: #121a28;
  --pf-navy-2: #1c2536;
  --pf-muted: #4b5563;
  --pf-soft: #f8f6f1;
  --pf-card: #ffffff;
  --pf-gold: #d4aa4b;
  --pf-gold-2: #b98522;
  --pf-gold-soft: #fff7df;
  --pf-border: #e7e5df;
  --pf-shadow: 0 18px 44px rgba(17, 24, 39, 0.10);
  --pf-shadow-hover: 0 26px 66px rgba(17, 24, 39, 0.16);
}

/* Tables: no green, premium navy/gold card look */
.article-content .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 30px 0 38px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--pf-shadow);
  border: 1px solid var(--pf-border);
}

.article-content .wp-block-table table,
.article-content table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 0 0 34px;
  overflow: hidden;
  background: #ffffff !important;
  border: 1px solid var(--pf-border) !important;
  border-radius: 24px !important;
  box-shadow: var(--pf-shadow) !important;
}

.article-content .wp-block-table table { margin: 0; border: 0 !important; box-shadow: none !important; }

.article-content table thead th,
.article-content table tr:first-child th {
  background: linear-gradient(135deg, var(--pf-navy) 0%, var(--pf-navy-2) 100%) !important;
  color: #f7e5af !important;
  font-weight: 900 !important;
  letter-spacing: .005em;
  border-color: rgba(255,255,255,0.10) !important;
}

.article-content table th,
.article-content table td {
  padding: 18px 20px !important;
  border-right: 1px solid #ece8de !important;
  border-bottom: 1px solid #ece8de !important;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
  color: #1f2937;
}

.article-content table th:last-child,
.article-content table td:last-child { border-right: 0 !important; }
.article-content table tbody tr:nth-child(even) td { background: #fffdf8 !important; }
.article-content table tbody tr:nth-child(odd) td { background: #ffffff !important; }
.article-content table tbody tr:hover td { background: var(--pf-gold-soft) !important; }
.article-content table tr:last-child td,
.article-content table tr:last-child th { border-bottom: 0 !important; }

/* Images: premium but neutral */
.article-content figure.wp-block-image img,
.article-content .wp-block-image img {
  border-radius: 24px !important;
  box-shadow: 0 24px 58px rgba(17,24,39,.14) !important;
  border: 1px solid rgba(17,24,39,.08) !important;
  outline: 0 !important;
}

/* Note boxes: navy/gold instead of green */
.article-content .pf-note-box,
.article-content .pf-tip-box,
.article-content .pf-warning-box,
.wp-admin .editor-styles-wrapper .pf-note-box,
.wp-admin .editor-styles-wrapper .pf-tip-box,
.wp-admin .editor-styles-wrapper .pf-warning-box {
  position: relative;
  overflow: hidden;
  margin: 30px 0 !important;
  padding: 22px 24px 22px 74px !important;
  border-radius: 24px !important;
  border: 1px solid var(--pf-border) !important;
  color: var(--pf-ink) !important;
  background: linear-gradient(135deg, #ffffff 0%, #fffaf0 100%) !important;
  box-shadow: var(--pf-shadow) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.article-content .pf-note-box:hover,
.article-content .pf-tip-box:hover,
.article-content .pf-warning-box:hover { transform: translateY(-2px); box-shadow: var(--pf-shadow-hover) !important; }
.article-content .pf-note-box::before,
.article-content .pf-tip-box::before,
.article-content .pf-warning-box::before,
.wp-admin .editor-styles-wrapper .pf-note-box::before,
.wp-admin .editor-styles-wrapper .pf-tip-box::before,
.wp-admin .editor-styles-wrapper .pf-warning-box::before {
  position: absolute;
  left: 22px;
  top: 21px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--pf-navy), var(--pf-navy-2)) !important;
  color: #f7e5af !important;
  font-weight: 950;
  box-shadow: 0 12px 22px rgba(17,24,39,.18);
}
.article-content .pf-note-box::before,.wp-admin .editor-styles-wrapper .pf-note-box::before { content: 'i'; }
.article-content .pf-tip-box::before,.wp-admin .editor-styles-wrapper .pf-tip-box::before { content: '✓'; }
.article-content .pf-warning-box::before,.wp-admin .editor-styles-wrapper .pf-warning-box::before { content: '!'; background: linear-gradient(135deg, var(--pf-gold), var(--pf-gold-2)) !important; color: #111827 !important; }
.article-content .pf-note-box::after,
.article-content .pf-tip-box::after,
.article-content .pf-warning-box::after,
.wp-admin .editor-styles-wrapper .pf-note-box::after,
.wp-admin .editor-styles-wrapper .pf-tip-box::after,
.wp-admin .editor-styles-wrapper .pf-warning-box::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--pf-gold), var(--pf-gold-2)) !important;
}
.article-content .pf-note-box p,
.article-content .pf-tip-box p,
.article-content .pf-warning-box p,
.wp-admin .editor-styles-wrapper .pf-note-box p,
.wp-admin .editor-styles-wrapper .pf-tip-box p,
.wp-admin .editor-styles-wrapper .pf-warning-box p { margin: 0 !important; }

/* Robust predefined pattern grids - force layout even inside Gutenberg editor */
.article-content .pf-comparison-grid,
.article-content .pf-checklist-grid,
.article-content .pf-payment-grid,
.article-content .pf-pros-cons,
.wp-admin .editor-styles-wrapper .pf-comparison-grid,
.wp-admin .editor-styles-wrapper .pf-checklist-grid,
.wp-admin .editor-styles-wrapper .pf-payment-grid,
.wp-admin .editor-styles-wrapper .pf-pros-cons {
  display: grid !important;
  gap: 18px !important;
  margin: 30px 0 38px !important;
  max-width: none !important;
  width: 100% !important;
  align-items: stretch !important;
}
.article-content .pf-comparison-grid,
.wp-admin .editor-styles-wrapper .pf-comparison-grid,
.article-content .pf-pros-cons,
.wp-admin .editor-styles-wrapper .pf-pros-cons { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
.article-content .pf-checklist-grid,
.wp-admin .editor-styles-wrapper .pf-checklist-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
.article-content .pf-payment-grid,
.wp-admin .editor-styles-wrapper .pf-payment-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }

.article-content .pf-comparison-grid > *,
.article-content .pf-checklist-grid > *,
.article-content .pf-payment-grid > *,
.article-content .pf-pros-cons > *,
.wp-admin .editor-styles-wrapper .pf-comparison-grid > *,
.wp-admin .editor-styles-wrapper .pf-checklist-grid > *,
.wp-admin .editor-styles-wrapper .pf-payment-grid > *,
.wp-admin .editor-styles-wrapper .pf-pros-cons > * {
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
}

.article-content .pf-comparison-card,
.article-content .pf-check-item,
.article-content .pf-payment-card,
.article-content .pf-pros-card,
.article-content .pf-cons-card,
.wp-admin .editor-styles-wrapper .pf-comparison-card,
.wp-admin .editor-styles-wrapper .pf-check-item,
.wp-admin .editor-styles-wrapper .pf-payment-card,
.wp-admin .editor-styles-wrapper .pf-pros-card,
.wp-admin .editor-styles-wrapper .pf-cons-card {
  position: relative;
  overflow: hidden;
  box-sizing: border-box !important;
  padding: 24px !important;
  border-radius: 24px !important;
  border: 1px solid var(--pf-border) !important;
  background: linear-gradient(180deg,#ffffff 0%,#fffdf8 100%) !important;
  box-shadow: var(--pf-shadow) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.article-content .pf-comparison-card:hover,
.article-content .pf-check-item:hover,
.article-content .pf-payment-card:hover,
.article-content .pf-pros-card:hover,
.article-content .pf-cons-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pf-shadow-hover) !important;
  border-color: rgba(212,170,75,.55) !important;
}
.article-content .pf-comparison-card::before,
.article-content .pf-payment-card::before,
.article-content .pf-pros-card::before,
.article-content .pf-cons-card::before,
.wp-admin .editor-styles-wrapper .pf-comparison-card::before,
.wp-admin .editor-styles-wrapper .pf-payment-card::before,
.wp-admin .editor-styles-wrapper .pf-pros-card::before,
.wp-admin .editor-styles-wrapper .pf-cons-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--pf-navy), var(--pf-gold)) !important;
}
.article-content .pf-comparison-card h3,
.article-content .pf-payment-card h3,
.article-content .pf-pros-card h3,
.article-content .pf-cons-card h3,
.wp-admin .editor-styles-wrapper .pf-comparison-card h3,
.wp-admin .editor-styles-wrapper .pf-payment-card h3,
.wp-admin .editor-styles-wrapper .pf-pros-card h3,
.wp-admin .editor-styles-wrapper .pf-cons-card h3 {
  margin: 0 0 12px !important;
  color: var(--pf-ink) !important;
  font-size: 1.16rem !important;
  letter-spacing: -.02em;
}
.article-content .pf-comparison-card ul,
.article-content .pf-payment-card ul,
.article-content .pf-pros-card ul,
.article-content .pf-cons-card ul,
.wp-admin .editor-styles-wrapper .pf-comparison-card ul,
.wp-admin .editor-styles-wrapper .pf-payment-card ul,
.wp-admin .editor-styles-wrapper .pf-pros-card ul,
.wp-admin .editor-styles-wrapper .pf-cons-card ul {
  list-style: none !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
}
.article-content .pf-comparison-card li,
.article-content .pf-payment-card li,
.article-content .pf-pros-card li,
.article-content .pf-cons-card li,
.wp-admin .editor-styles-wrapper .pf-comparison-card li,
.wp-admin .editor-styles-wrapper .pf-payment-card li,
.wp-admin .editor-styles-wrapper .pf-pros-card li,
.wp-admin .editor-styles-wrapper .pf-cons-card li {
  position: relative;
  padding-left: 28px !important;
  margin: 10px 0 !important;
  color: var(--pf-muted) !important;
  line-height: 1.55 !important;
}
.article-content .pf-comparison-card li::before,
.article-content .pf-payment-card li::before,
.article-content .pf-pros-card li::before,
.wp-admin .editor-styles-wrapper .pf-comparison-card li::before,
.wp-admin .editor-styles-wrapper .pf-payment-card li::before,
.wp-admin .editor-styles-wrapper .pf-pros-card li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 1px;
  width: 19px; height: 19px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--pf-gold-soft) !important;
  color: #8b6219 !important;
  font-size: .72rem;
  font-weight: 950;
}
.article-content .pf-cons-card li::before,
.wp-admin .editor-styles-wrapper .pf-cons-card li::before {
  content: '!';
  position: absolute;
  left: 0; top: 1px;
  width: 19px; height: 19px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff1d4 !important;
  color: #8b6219 !important;
  font-size: .72rem;
  font-weight: 950;
}

/* Checklist cards */
.article-content .pf-check-item,
.wp-admin .editor-styles-wrapper .pf-check-item {
  min-height: 88px;
  display: flex !important;
  align-items: center !important;
  gap: 13px !important;
  font-weight: 850;
  color: var(--pf-ink) !important;
}
.article-content .pf-check-item::before,
.wp-admin .editor-styles-wrapper .pf-check-item::before {
  content: '✓';
  flex: 0 0 auto;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: #111827;
  background: linear-gradient(135deg, var(--pf-gold), #f1d27c) !important;
  box-shadow: 0 10px 18px rgba(185,133,34,.22);
  font-weight: 950;
}
.article-content .pf-check-item p,
.wp-admin .editor-styles-wrapper .pf-check-item p { margin: 0 !important; }

/* Process flow: neutral background, stable layout, no full green panel */
.article-content .pf-process-flow,
.wp-admin .editor-styles-wrapper .pf-process-flow {
  counter-reset: pfstep;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0,1fr)) !important;
  gap: 14px !important;
  margin: 30px 0 38px !important;
  padding: 18px !important;
  border-radius: 28px !important;
  border: 1px solid var(--pf-border) !important;
  background: linear-gradient(135deg,#ffffff 0%,#f8f6f1 100%) !important;
  box-shadow: var(--pf-shadow) !important;
  max-width: none !important;
  width: 100% !important;
}
.article-content .pf-process-flow > *,
.wp-admin .editor-styles-wrapper .pf-process-flow > * {
  margin: 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
}
.article-content .pf-process-step,
.wp-admin .editor-styles-wrapper .pf-process-step {
  counter-increment: pfstep;
  position: relative;
  display: block !important;
  padding: 18px 12px 16px !important;
  border-radius: 18px !important;
  border: 1px solid #ece8de !important;
  background: #ffffff !important;
  color: var(--pf-ink) !important;
  text-align: center !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  box-shadow: 0 12px 26px rgba(17,24,39,.08) !important;
}
.article-content .pf-process-step::before,
.wp-admin .editor-styles-wrapper .pf-process-step::before {
  content: counter(pfstep);
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--pf-navy),var(--pf-navy-2)) !important;
  color: #f7e5af !important;
  font-size: .88rem;
  font-weight: 950;
}
.article-content .pf-process-step:not(:last-child)::after,
.wp-admin .editor-styles-wrapper .pf-process-step:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pf-gold) !important;
  font-size: 1.7rem;
  font-weight: 950;
  z-index: 2;
}

/* Payment cards: 2 columns desktop instead of cramped/deformed 5 columns */
.article-content .pf-payment-card h3::before,
.wp-admin .editor-styles-wrapper .pf-payment-card h3::before {
  content: '●';
  color: var(--pf-gold) !important;
  margin-right: 8px;
}

@media (max-width: 1100px) {
  .article-content .pf-process-flow,
  .wp-admin .editor-styles-wrapper .pf-process-flow { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  .article-content .pf-checklist-grid,
  .wp-admin .editor-styles-wrapper .pf-checklist-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 768px) {
  .article-content .wp-block-table table,
  .article-content table { min-width: 720px; }
  .article-content .pf-comparison-grid,
  .article-content .pf-checklist-grid,
  .article-content .pf-payment-grid,
  .article-content .pf-pros-cons,
  .wp-admin .editor-styles-wrapper .pf-comparison-grid,
  .wp-admin .editor-styles-wrapper .pf-checklist-grid,
  .wp-admin .editor-styles-wrapper .pf-payment-grid,
  .wp-admin .editor-styles-wrapper .pf-pros-cons { grid-template-columns: 1fr !important; }
  .article-content .pf-process-flow,
  .wp-admin .editor-styles-wrapper .pf-process-flow { grid-template-columns: 1fr !important; }
  .article-content .pf-process-step:not(:last-child)::after,
  .wp-admin .editor-styles-wrapper .pf-process-step:not(:last-child)::after {
    content: '⌄';
    right: auto;
    left: 50%;
    top: auto;
    bottom: -22px;
    transform: translateX(-50%);
  }
  .article-content .pf-note-box,
  .article-content .pf-tip-box,
  .article-content .pf-warning-box,
  .wp-admin .editor-styles-wrapper .pf-note-box,
  .wp-admin .editor-styles-wrapper .pf-tip-box,
  .wp-admin .editor-styles-wrapper .pf-warning-box {
    padding: 20px 18px 20px 62px !important;
  }
}


/* PF content blocks alignment fix v5.9 - horizontal desktop layout + neutral table polish */
.article-content,
.wp-admin .editor-styles-wrapper {
  --pf-ink: #121826;
  --pf-navy: #121826;
  --pf-navy-2: #1e293b;
  --pf-muted: #4b5563;
  --pf-cream: #fbf7ed;
  --pf-cream-2: #fffdf8;
  --pf-gold: #d4aa4b;
  --pf-gold-2: #a87317;
  --pf-border: #e8e1d2;
  --pf-shadow: 0 16px 40px rgba(18,24,38,.10);
  --pf-shadow-hover: 0 24px 64px rgba(18,24,38,.16);
}

/* Tables: premium neutral look, no green */
.article-content .wp-block-table,
.wp-admin .editor-styles-wrapper .wp-block-table {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  margin: 30px 0 40px !important;
  border: 1px solid var(--pf-border) !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: var(--pf-shadow) !important;
}
.article-content table,
.wp-admin .editor-styles-wrapper table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #fff !important;
  border: 1px solid var(--pf-border) !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: var(--pf-shadow) !important;
}
.article-content .wp-block-table table,
.wp-admin .editor-styles-wrapper .wp-block-table table {
  min-width: 760px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.article-content table thead th,
.article-content table tr:first-child th,
.wp-admin .editor-styles-wrapper table thead th,
.wp-admin .editor-styles-wrapper table tr:first-child th {
  background: linear-gradient(135deg, var(--pf-navy) 0%, var(--pf-navy-2) 100%) !important;
  color: #f4d98d !important;
  font-weight: 900 !important;
  border-color: rgba(255,255,255,.10) !important;
}
.article-content table th,
.article-content table td,
.wp-admin .editor-styles-wrapper table th,
.wp-admin .editor-styles-wrapper table td {
  padding: 18px 20px !important;
  border-right: 1px solid #eee8dc !important;
  border-bottom: 1px solid #eee8dc !important;
  color: #1f2937 !important;
  line-height: 1.55 !important;
  vertical-align: top !important;
}
.article-content table tbody tr:nth-child(even) td,
.wp-admin .editor-styles-wrapper table tbody tr:nth-child(even) td { background: #fffdf8 !important; }
.article-content table tbody tr:hover td,
.wp-admin .editor-styles-wrapper table tbody tr:hover td { background: #fff7df !important; }

/* Force predefined pattern blocks to stay side-by-side on desktop. */
.article-content .pf-comparison-grid,
.article-content .pf-checklist-grid,
.article-content .pf-payment-grid,
.article-content .pf-pros-cons,
.article-content .pf-process-flow,
.wp-admin .editor-styles-wrapper .pf-comparison-grid,
.wp-admin .editor-styles-wrapper .pf-checklist-grid,
.wp-admin .editor-styles-wrapper .pf-payment-grid,
.wp-admin .editor-styles-wrapper .pf-pros-cons,
.wp-admin .editor-styles-wrapper .pf-process-flow {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  gap: 18px !important;
  align-items: stretch !important;
  margin: 30px 0 40px !important;
  box-sizing: border-box !important;
}
.article-content .pf-comparison-grid,
.wp-admin .editor-styles-wrapper .pf-comparison-grid,
.article-content .pf-pros-cons,
.wp-admin .editor-styles-wrapper .pf-pros-cons {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.article-content .pf-checklist-grid,
.wp-admin .editor-styles-wrapper .pf-checklist-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.article-content .pf-payment-grid,
.wp-admin .editor-styles-wrapper .pf-payment-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}
.article-content .pf-process-flow,
.wp-admin .editor-styles-wrapper .pf-process-flow {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  padding: 18px !important;
  border-radius: 26px !important;
  border: 1px solid var(--pf-border) !important;
  background: linear-gradient(135deg, #fff 0%, var(--pf-cream) 100%) !important;
  box-shadow: var(--pf-shadow) !important;
}
.article-content .pf-comparison-grid > *,
.article-content .pf-checklist-grid > *,
.article-content .pf-payment-grid > *,
.article-content .pf-pros-cons > *,
.article-content .pf-process-flow > *,
.wp-admin .editor-styles-wrapper .pf-comparison-grid > *,
.wp-admin .editor-styles-wrapper .pf-checklist-grid > *,
.wp-admin .editor-styles-wrapper .pf-payment-grid > *,
.wp-admin .editor-styles-wrapper .pf-pros-cons > *,
.wp-admin .editor-styles-wrapper .pf-process-flow > * {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
.article-content .pf-comparison-card,
.article-content .pf-check-item,
.article-content .pf-payment-card,
.article-content .pf-pros-card,
.article-content .pf-cons-card,
.wp-admin .editor-styles-wrapper .pf-comparison-card,
.wp-admin .editor-styles-wrapper .pf-check-item,
.wp-admin .editor-styles-wrapper .pf-payment-card,
.wp-admin .editor-styles-wrapper .pf-pros-card,
.wp-admin .editor-styles-wrapper .pf-cons-card {
  position: relative !important;
  overflow: hidden !important;
  padding: 22px !important;
  border-radius: 22px !important;
  border: 1px solid var(--pf-border) !important;
  background: linear-gradient(180deg, #ffffff 0%, var(--pf-cream-2) 100%) !important;
  box-shadow: var(--pf-shadow) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
.article-content .pf-comparison-card:hover,
.article-content .pf-check-item:hover,
.article-content .pf-payment-card:hover,
.article-content .pf-pros-card:hover,
.article-content .pf-cons-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--pf-shadow-hover) !important;
  border-color: rgba(212,170,75,.7) !important;
}
.article-content .pf-comparison-card::before,
.article-content .pf-payment-card::before,
.article-content .pf-pros-card::before,
.article-content .pf-cons-card::before,
.wp-admin .editor-styles-wrapper .pf-comparison-card::before,
.wp-admin .editor-styles-wrapper .pf-payment-card::before,
.wp-admin .editor-styles-wrapper .pf-pros-card::before,
.wp-admin .editor-styles-wrapper .pf-cons-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 6px !important;
  background: linear-gradient(90deg, var(--pf-navy), var(--pf-gold)) !important;
}
.article-content .pf-payment-card,
.wp-admin .editor-styles-wrapper .pf-payment-card { padding: 20px 16px !important; }
.article-content .pf-payment-card h3,
.wp-admin .editor-styles-wrapper .pf-payment-card h3 { font-size: 1.05rem !important; }
.article-content .pf-payment-card li,
.wp-admin .editor-styles-wrapper .pf-payment-card li { font-size: .94rem !important; }
.article-content .pf-payment-card h3::before,
.wp-admin .editor-styles-wrapper .pf-payment-card h3::before {
  content: '●' !important;
  color: var(--pf-gold) !important;
  margin-right: 8px !important;
}
.article-content .pf-process-step,
.wp-admin .editor-styles-wrapper .pf-process-step {
  position: relative !important;
  display: block !important;
  padding: 18px 10px 16px !important;
  border-radius: 18px !important;
  border: 1px solid #eee8dc !important;
  background: #ffffff !important;
  text-align: center !important;
  font-weight: 900 !important;
  color: var(--pf-ink) !important;
  line-height: 1.35 !important;
  box-shadow: 0 12px 26px rgba(18,24,38,.08) !important;
}
.article-content .pf-process-step:not(:last-child)::after,
.wp-admin .editor-styles-wrapper .pf-process-step:not(:last-child)::after {
  content: '›' !important;
  position: absolute !important;
  right: -13px !important;
  top: 50% !important;
  bottom: auto !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  color: var(--pf-gold) !important;
  font-size: 1.7rem !important;
  font-weight: 950 !important;
  z-index: 4 !important;
}
@media (max-width: 1280px) {
  .article-content .pf-payment-grid,
  .wp-admin .editor-styles-wrapper .pf-payment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 980px) {
  .article-content .pf-payment-grid,
  .article-content .pf-checklist-grid,
  .article-content .pf-process-flow,
  .wp-admin .editor-styles-wrapper .pf-payment-grid,
  .wp-admin .editor-styles-wrapper .pf-checklist-grid,
  .wp-admin .editor-styles-wrapper .pf-process-flow { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  .article-content .pf-comparison-grid,
  .article-content .pf-checklist-grid,
  .article-content .pf-payment-grid,
  .article-content .pf-pros-cons,
  .article-content .pf-process-flow,
  .wp-admin .editor-styles-wrapper .pf-comparison-grid,
  .wp-admin .editor-styles-wrapper .pf-checklist-grid,
  .wp-admin .editor-styles-wrapper .pf-payment-grid,
  .wp-admin .editor-styles-wrapper .pf-pros-cons,
  .wp-admin .editor-styles-wrapper .pf-process-flow { grid-template-columns: 1fr !important; }
  .article-content .pf-process-step:not(:last-child)::after,
  .wp-admin .editor-styles-wrapper .pf-process-step:not(:last-child)::after {
    content: '⌄' !important;
    right: auto !important;
    left: 50% !important;
    top: auto !important;
    bottom: -22px !important;
    transform: translateX(-50%) !important;
  }
}


/* PF editor hard fix v6.0 - Gutenberg wraps Group children in inner editor containers.
   The grid must be applied to the inner block-list layout in the editor, not only the outer group. */
.editor-styles-wrapper .pf-comparison-grid > .block-editor-inner-blocks,
.editor-styles-wrapper .pf-checklist-grid > .block-editor-inner-blocks,
.editor-styles-wrapper .pf-payment-grid > .block-editor-inner-blocks,
.editor-styles-wrapper .pf-pros-cons > .block-editor-inner-blocks,
.editor-styles-wrapper .pf-process-flow > .block-editor-inner-blocks {
  display: contents !important;
}
.editor-styles-wrapper .pf-comparison-grid > .block-editor-inner-blocks > .block-editor-block-list__layout,
.editor-styles-wrapper .pf-checklist-grid > .block-editor-inner-blocks > .block-editor-block-list__layout,
.editor-styles-wrapper .pf-payment-grid > .block-editor-inner-blocks > .block-editor-block-list__layout,
.editor-styles-wrapper .pf-pros-cons > .block-editor-inner-blocks > .block-editor-block-list__layout,
.editor-styles-wrapper .pf-process-flow > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  gap: 18px !important;
  align-items: stretch !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
.editor-styles-wrapper .pf-comparison-grid > .block-editor-inner-blocks > .block-editor-block-list__layout,
.editor-styles-wrapper .pf-pros-cons > .block-editor-inner-blocks > .block-editor-block-list__layout {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.editor-styles-wrapper .pf-checklist-grid > .block-editor-inner-blocks > .block-editor-block-list__layout {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.editor-styles-wrapper .pf-payment-grid > .block-editor-inner-blocks > .block-editor-block-list__layout,
.editor-styles-wrapper .pf-process-flow > .block-editor-inner-blocks > .block-editor-block-list__layout {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}
.editor-styles-wrapper .pf-comparison-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > *,
.editor-styles-wrapper .pf-checklist-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > *,
.editor-styles-wrapper .pf-payment-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > *,
.editor-styles-wrapper .pf-pros-cons > .block-editor-inner-blocks > .block-editor-block-list__layout > *,
.editor-styles-wrapper .pf-process-flow > .block-editor-inner-blocks > .block-editor-block-list__layout > * {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* Frontend extra hardening if WordPress layout classes try to constrain block widths. */
.article-content .pf-comparison-grid.is-layout-constrained > *,
.article-content .pf-checklist-grid.is-layout-constrained > *,
.article-content .pf-payment-grid.is-layout-constrained > *,
.article-content .pf-pros-cons.is-layout-constrained > *,
.article-content .pf-process-flow.is-layout-constrained > *,
.article-content .pf-comparison-grid.is-layout-flow > *,
.article-content .pf-checklist-grid.is-layout-flow > *,
.article-content .pf-payment-grid.is-layout-flow > *,
.article-content .pf-pros-cons.is-layout-flow > *,
.article-content .pf-process-flow.is-layout-flow > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
}

@media (max-width: 1280px) {
  .editor-styles-wrapper .pf-payment-grid > .block-editor-inner-blocks > .block-editor-block-list__layout {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 980px) {
  .editor-styles-wrapper .pf-payment-grid > .block-editor-inner-blocks > .block-editor-block-list__layout,
  .editor-styles-wrapper .pf-checklist-grid > .block-editor-inner-blocks > .block-editor-block-list__layout,
  .editor-styles-wrapper .pf-process-flow > .block-editor-inner-blocks > .block-editor-block-list__layout {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  .editor-styles-wrapper .pf-comparison-grid > .block-editor-inner-blocks > .block-editor-block-list__layout,
  .editor-styles-wrapper .pf-checklist-grid > .block-editor-inner-blocks > .block-editor-block-list__layout,
  .editor-styles-wrapper .pf-payment-grid > .block-editor-inner-blocks > .block-editor-block-list__layout,
  .editor-styles-wrapper .pf-pros-cons > .block-editor-inner-blocks > .block-editor-block-list__layout,
  .editor-styles-wrapper .pf-process-flow > .block-editor-inner-blocks > .block-editor-block-list__layout {
    grid-template-columns: 1fr !important;
  }
}

/* PF shortcode block hard reset v7.0 - reliable predefined blocks. */
.article-content .pf-shortcode-block,
.pf-shortcode-block {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin: 30px 0 42px !important;
}

.article-content .pf-comparison-grid.pf-shortcode-block,
.article-content .pf-pros-cons.pf-shortcode-block,
.pf-comparison-grid.pf-shortcode-block,
.pf-pros-cons.pf-shortcode-block {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

.article-content .pf-checklist-grid.pf-shortcode-block,
.pf-checklist-grid.pf-shortcode-block {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

.article-content .pf-payment-grid.pf-shortcode-block,
.pf-payment-grid.pf-shortcode-block {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.article-content .pf-process-flow.pf-shortcode-block,
.pf-process-flow.pf-shortcode-block {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
  padding: 18px !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #ffffff 0%, #fff8e9 100%) !important;
  border: 1px solid #eadfca !important;
  box-shadow: 0 18px 45px rgba(12, 22, 40, .10) !important;
}

.article-content .pf-shortcode-block > *,
.pf-shortcode-block > * {
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.article-content .pf-shortcode-block .pf-comparison-card,
.article-content .pf-shortcode-block .pf-payment-card,
.article-content .pf-shortcode-block .pf-pros-card,
.article-content .pf-shortcode-block .pf-cons-card,
.article-content .pf-shortcode-block .pf-check-item,
.pf-shortcode-block .pf-comparison-card,
.pf-shortcode-block .pf-payment-card,
.pf-shortcode-block .pf-pros-card,
.pf-shortcode-block .pf-cons-card,
.pf-shortcode-block .pf-check-item {
  position: relative !important;
  overflow: hidden !important;
  padding: 22px !important;
  border-radius: 22px !important;
  border: 1px solid #eadfca !important;
  background: linear-gradient(180deg, #fff 0%, #fffaf0 100%) !important;
  box-shadow: 0 14px 34px rgba(12,22,40,.08) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.article-content .pf-shortcode-block .pf-payment-card,
.pf-shortcode-block .pf-payment-card {
  padding: 20px 15px !important;
}

.article-content .pf-shortcode-block .pf-comparison-card:hover,
.article-content .pf-shortcode-block .pf-payment-card:hover,
.article-content .pf-shortcode-block .pf-pros-card:hover,
.article-content .pf-shortcode-block .pf-cons-card:hover,
.article-content .pf-shortcode-block .pf-check-item:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(206, 157, 55, .85) !important;
  box-shadow: 0 20px 46px rgba(12,22,40,.14) !important;
}

.article-content .pf-shortcode-block .pf-comparison-card::before,
.article-content .pf-shortcode-block .pf-payment-card::before,
.article-content .pf-shortcode-block .pf-pros-card::before,
.article-content .pf-shortcode-block .pf-cons-card::before,
.pf-shortcode-block .pf-comparison-card::before,
.pf-shortcode-block .pf-payment-card::before,
.pf-shortcode-block .pf-pros-card::before,
.pf-shortcode-block .pf-cons-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 6px !important;
  background: linear-gradient(90deg, #13213a, #d4aa4b) !important;
}

.article-content .pf-shortcode-block h3,
.pf-shortcode-block h3 {
  margin: 0 0 12px !important;
  font-size: 1.06rem !important;
  line-height: 1.25 !important;
  color: #13213a !important;
}

.article-content .pf-shortcode-block ul,
.pf-shortcode-block ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.article-content .pf-shortcode-block li,
.pf-shortcode-block li {
  position: relative !important;
  margin: 9px 0 0 !important;
  padding-left: 20px !important;
  font-size: .94rem !important;
  line-height: 1.45 !important;
  color: #334155 !important;
}

.article-content .pf-shortcode-block li::before,
.pf-shortcode-block li::before {
  content: '✓' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  color: #d4aa4b !important;
  font-weight: 900 !important;
}

.article-content .pf-shortcode-block .pf-process-step,
.pf-shortcode-block .pf-process-step {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 88px !important;
  padding: 18px 10px !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  border: 1px solid #eadfca !important;
  box-shadow: 0 10px 24px rgba(12,22,40,.08) !important;
  text-align: center !important;
  font-weight: 900 !important;
  color: #13213a !important;
  line-height: 1.25 !important;
}

.article-content .pf-shortcode-block .pf-process-step:not(:last-child)::after,
.pf-shortcode-block .pf-process-step:not(:last-child)::after {
  content: '›' !important;
  position: absolute !important;
  right: -12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 3 !important;
  color: #d4aa4b !important;
  font-size: 1.65rem !important;
  font-weight: 950 !important;
}

/* Stronger table redesign: neutral navy/gold, no green. */
.article-content table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 28px 0 38px !important;
  overflow: hidden !important;
  border: 1px solid #eadfca !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 18px 45px rgba(12,22,40,.09) !important;
}
.article-content table thead th {
  background: linear-gradient(135deg, #13213a 0%, #22385e 100%) !important;
  color: #fff7df !important;
  border: 0 !important;
  padding: 16px 18px !important;
  font-size: .92rem !important;
  letter-spacing: .01em !important;
}
.article-content table tbody td {
  border: 0 !important;
  border-bottom: 1px solid #f0e7d8 !important;
  padding: 16px 18px !important;
  color: #334155 !important;
  background: #fff !important;
  vertical-align: top !important;
}
.article-content table tbody tr:nth-child(even) td { background: #fffaf0 !important; }
.article-content table tbody tr:hover td { background: #fff3cf !important; }
.article-content table tbody tr:last-child td { border-bottom: 0 !important; }

@media (max-width: 1200px) {
  .article-content .pf-payment-grid.pf-shortcode-block,
  .pf-payment-grid.pf-shortcode-block { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px) {
  .article-content .pf-payment-grid.pf-shortcode-block,
  .article-content .pf-checklist-grid.pf-shortcode-block,
  .article-content .pf-process-flow.pf-shortcode-block,
  .pf-payment-grid.pf-shortcode-block,
  .pf-checklist-grid.pf-shortcode-block,
  .pf-process-flow.pf-shortcode-block { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  .article-content .pf-comparison-grid.pf-shortcode-block,
  .article-content .pf-payment-grid.pf-shortcode-block,
  .article-content .pf-checklist-grid.pf-shortcode-block,
  .article-content .pf-pros-cons.pf-shortcode-block,
  .article-content .pf-process-flow.pf-shortcode-block,
  .pf-comparison-grid.pf-shortcode-block,
  .pf-payment-grid.pf-shortcode-block,
  .pf-checklist-grid.pf-shortcode-block,
  .pf-pros-cons.pf-shortcode-block,
  .pf-process-flow.pf-shortcode-block { grid-template-columns: 1fr !important; }
  .article-content .pf-shortcode-block .pf-process-step:not(:last-child)::after,
  .pf-shortcode-block .pf-process-step:not(:last-child)::after {
    content: '⌄' !important;
    right: auto !important;
    left: 50% !important;
    top: auto !important;
    bottom: -22px !important;
    transform: translateX(-50%) !important;
  }
}

/* Editable Content Blocks Library admin UI */
.pf-content-blocks-admin h3 {
  margin: 28px 0 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(15,23,42,.12);
  color: #10243f;
}
.pf-admin-repeater {
  display: grid;
  gap: 14px;
}
.pf-admin-block-row {
  background: #fff;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(15,23,42,.06);
}
.pf-admin-row-head {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.pf-admin-grid-2,
.pf-admin-grid-4 {
  display: grid;
  gap: 12px;
}
.pf-admin-grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.pf-admin-grid-4 { grid-template-columns: 1fr 160px 2fr; }
.pf-admin-wide { grid-column: auto; }
.pf-content-blocks-admin label {
  display: block;
  font-weight: 700;
  color: #10243f;
  margin-bottom: 5px;
}
.pf-content-blocks-admin input[type="text"],
.pf-content-blocks-admin select,
.pf-content-blocks-admin textarea {
  width: 100%;
  max-width: 100%;
}
.pf-admin-shortcode-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.pf-admin-shortcode-copy input {
  width: 260px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  background: #f8fafc;
}
.pf-block-title {
  margin: 24px 0 12px !important;
  font-size: 1.2rem !important;
  color: #10243f !important;
}
@media (max-width: 900px) {
  .pf-admin-grid-2,
  .pf-admin-grid-4 { grid-template-columns: 1fr; }
  .pf-admin-shortcode-copy { width: 100%; margin-left: 0; }
  .pf-admin-shortcode-copy input { width: 100% !important; }
}

/* CUSTOM 404 PAGE */
.pf-404-page {
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 9vw, 110px) 18px;
}

.pf-404-section {
  width: min(860px, 100%);
  display: grid;
  place-items: center;
}

.pf-404-card {
  position: relative;
  width: min(620px, 92vw);
  aspect-ratio: 1.95 / 1;
  display: grid;
  place-items: center;
}

.pf-404-card::before,
.pf-404-card::after {
  content: "";
  position: absolute;
  border-radius: 28px;
  border: 1px solid rgba(185,133,34,0.25);
  background: linear-gradient(135deg, rgba(255,255,255,0.78), rgba(247,229,175,0.20));
  box-shadow: 0 22px 55px rgba(21,28,43,0.14);
  transform: rotate(-8deg);
}

.pf-404-card::before {
  inset: 10% 14% 13% 14%;
}

.pf-404-card::after {
  inset: 15% 10% 8% 18%;
  transform: rotate(7deg);
}

.pf-404-number {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(6rem, 18vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.12em;
  color: #d4aa4b;
  text-shadow:
    0 3px 0 #8a611a,
    0 12px 28px rgba(21,28,43,0.24),
    0 0 28px rgba(212,170,75,0.22);
}

.pf-404-number::before,
.pf-404-number::after {
  position: absolute;
  font-size: clamp(1.05rem, 2.8vw, 2rem);
  line-height: 1;
  letter-spacing: 0;
  color: rgba(17,24,39,0.62);
  text-shadow: none;
}

.pf-404-number::before {
  content: "♠";
  left: 8%;
  top: -20%;
}

.pf-404-number::after {
  content: "♦";
  right: 4%;
  bottom: -22%;
  color: rgba(185,133,34,0.82);
}

@media (max-width: 640px) {
  .pf-404-page {
    min-height: 48vh;
    padding: 44px 14px;
  }

  .pf-404-card {
    width: 94vw;
    aspect-ratio: 1.35 / 1;
  }

  .pf-404-card::before {
    inset: 13% 10%;
  }

  .pf-404-card::after {
    inset: 19% 7% 9% 14%;
  }
}

/* COMPACT AFFILIATE DISCLOSURE ACCORDION */
.affiliate-disclosure-accordion.hero-disclosure {
  max-width: 720px;
  margin: 0 0 12px;
  padding: 0;
  border: 1px solid rgba(247,229,175,0.14);
  border-radius: 13px;
  background: rgba(255,255,255,0.045);
  color: rgba(255,255,255,0.76);
  overflow: hidden;
}

.affiliate-disclosure-accordion summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  max-width: 100%;
  min-height: 34px;
  padding: 7px 12px;
  color: rgba(255,255,255,0.78);
  font-size: 0.76rem;
  line-height: 1.2;
  user-select: none;
}

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

.affiliate-disclosure-accordion summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  margin-left: 2px;
  background: rgba(247,229,175,0.10);
  color: #f7e5af;
  font-weight: 900;
  font-size: 0.85rem;
}

.affiliate-disclosure-accordion[open] summary::after {
  content: "−";
}

.affiliate-disclosure-kicker {
  color: #f7e5af;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.64rem;
}

.affiliate-disclosure-title {
  color: rgba(255,255,255,0.82);
  font-weight: 750;
}

.affiliate-disclosure-content {
  padding: 0 12px 10px;
}

.affiliate-disclosure-content p {
  margin: 0;
  color: rgba(255,255,255,0.76);
  font-size: 0.78rem;
  line-height: 1.45;
}

.affiliate-disclosure-content a {
  display: inline-block;
  margin-top: 6px;
  color: #f7e5af;
  font-weight: 800;
  font-size: 0.76rem;
}

@media (max-width: 768px) {
  .affiliate-disclosure-accordion.hero-disclosure {
    display: none !important;
  }
}



@media (max-width: 600px) {
  .site-logo-img {
    height: 46px;
    max-width: 210px;
  }
}

/* AUTHORS PAGE */
.authors-page-block {
  display: grid;
  gap: 26px;
}

.authors-page-intro {
  max-width: 980px;
  font-size: 1.04rem;
  color: #374151;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(247,241,225,0.78));
  border: 1px solid rgba(212,170,75,0.24);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.authors-team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.authors-team-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 34%) 1fr;
  align-items: center;
  column-gap: 28px;
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 24px;
  padding: 24px 28px;
  background:
    radial-gradient(circle at top right, rgba(212,170,75,0.12), transparent 36%),
    linear-gradient(180deg, #ffffff, #fbfaf7);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.08);
}

.authors-team-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #d4aa4b, #91b7ff);
  opacity: .85;
}

.authors-card-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 0;
  min-width: 0;
}

.authors-avatar {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #111827, #25324a);
  color: #f7e5af;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .04em;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .16);
}

.authors-avatar-img {
  overflow: hidden;
  background: #eef2f7;
  color: transparent;
}

.authors-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.authors-card-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(212,170,75,.14);
  color: #85601b;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.authors-card-name {
  margin: 0 0 4px;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.authors-card-name a {
  color: inherit;
  text-decoration: none;
}

.authors-card-name a:hover {
  text-decoration: underline;
}

.authors-card-role {
  color: #667085;
  font-size: .98rem;
  font-weight: 900;
}

.authors-card-bio {
  color: #344054;
  font-size: 1rem;
  line-height: 1.72;
  padding-left: 28px;
  border-left: 1px solid rgba(17,24,39,0.08);
}

.authors-card-bio p:last-child,
.authors-page-intro p:last-child,
.authors-process-box p:last-child,
.authors-corrections-box p:last-child {
  margin-bottom: 0;
}

.authors-process-box,
.authors-corrections-box {
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(17,24,39,0.08);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.authors-process-box h2,
.authors-corrections-box h2 {
  margin-bottom: 12px;
}

.authors-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
}

.authors-contact-link:hover {
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .authors-team-card {
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding: 22px;
  }

  .authors-card-bio {
    padding-left: 0;
    border-left: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(17,24,39,0.08);
  }
}

@media (max-width: 560px) {
  .authors-card-top {
    align-items: flex-start;
  }

  .authors-avatar {
    flex-basis: 62px;
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }
}
