/* ===== HOMEPAGE SECTIONS ===== */

/* Regulation explainer — 3-step */
.regulation-section { padding: 56px 0; }
.regulation-section .regulation-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.regulation-section .regulation-heading { font-size: 28px; font-weight: 700; color: #1A2332; text-align: center; margin-bottom: 8px; }
.regulation-section .regulation-sub { font-size: 14px; color: rgba(26, 35, 50, 0.55); text-align: center; max-width: 480px; margin: 0 auto 36px; }
.regulation-section .regulation-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 28px; }
.regulation-section .regulation-step { background: #FFFFFF; border: 1px solid rgba(26, 35, 50, 0.06); border-radius: 12px; padding: 28px 24px; text-align: center; transition: transform 0.2s, box-shadow 0.2s; }
.regulation-section .regulation-step:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26, 35, 50, 0.08); }
.regulation-section .regulation-step-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(200, 169, 81, 0.1); color: #C8A951; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.regulation-section .regulation-step-icon { display: flex; justify-content: center; margin-bottom: 12px; color: #1A2332; }
.regulation-section .regulation-step-title { font-size: 16px; font-weight: 700; color: #1A2332; margin-bottom: 6px; }
.regulation-section .regulation-step-text { font-size: 14px; color: rgba(26, 35, 50, 0.55); line-height: 1.6; }
.regulation-section .regulation-link { display: block; text-align: center; font-size: 14px; font-weight: 600; color: #C8A951; transition: color 0.2s; }
.regulation-section .regulation-link:hover { color: #A88B3D; }

/* Quick access grid */
.quick-access { padding: 0 0 56px; }
.quick-access .quick-access-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.quick-access .quick-access-heading { font-size: 28px; font-weight: 700; color: #1A2332; text-align: center; margin-bottom: 8px; }
.quick-access .quick-access-sub { font-size: 14px; color: rgba(26, 35, 50, 0.55); text-align: center; max-width: 480px; margin: 0 auto 32px; }
.quick-access .quick-access-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quick-access .quick-access-card { background: #FFFFFF; border: 1px solid rgba(26, 35, 50, 0.06); border-radius: 12px; padding: 28px 24px; transition: transform 0.2s, box-shadow 0.2s; }
.quick-access .quick-access-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26, 35, 50, 0.08); }
.quick-access .quick-access-card-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; background: rgba(200, 169, 81, 0.08); margin-bottom: 16px; color: #C8A951; }
.quick-access .quick-access-card-title { font-size: 18px; font-weight: 700; color: #1A2332; margin-bottom: 6px; }
.quick-access .quick-access-card-text { font-size: 14px; color: rgba(26, 35, 50, 0.55); line-height: 1.6; margin-bottom: 16px; }
.quick-access .quick-access-card-link { font-size: 13px; font-weight: 600; color: #C8A951; display: inline-flex; align-items: center; gap: 5px; transition: gap 0.2s, color 0.2s; }
.quick-access .quick-access-card-link:hover { gap: 9px; color: #A88B3D; }

/* Trust / about block */
.trust-block { padding: 0 0 64px; }
.trust-block .trust-block-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.trust-block .trust-block-card { background: #FFFFFF; border: 1px solid rgba(26, 35, 50, 0.06); border-radius: 12px; padding: 40px; max-width: 720px; margin: 0 auto; text-align: center; }
.trust-block .trust-block-heading { font-size: 22px; font-weight: 700; color: #1A2332; margin-bottom: 12px; }
.trust-block .trust-block-text { font-size: 15px; color: rgba(26, 35, 50, 0.55); line-height: 1.65; margin-bottom: 16px; }
.trust-block .trust-block-link { font-size: 14px; font-weight: 600; color: #C8A951; transition: color 0.2s; }
.trust-block .trust-block-link:hover { color: #A88B3D; }

/* ===== LEGISLATION PAGE ===== */

/* Article layout with sidebar TOC */
.article-layout { max-width: 1080px; margin: 0 auto; padding: 48px 24px 64px; display: grid; grid-template-columns: 220px 1fr; gap: 32px; }

/* Sidebar TOC */
.article-layout .toc { position: sticky; top: 24px; align-self: start; }
.article-layout .toc-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(26, 35, 50, 0.35); margin-bottom: 16px; }
.article-layout .toc-list { list-style: none; }
.article-layout .toc-list li { margin-bottom: 2px; }
.article-layout .toc-list a { display: block; font-size: 13px; color: rgba(26, 35, 50, 0.5); padding: 6px 12px; border-left: 2px solid transparent; transition: color 0.2s, border-color 0.2s; line-height: 1.4; }
.article-layout .toc-list a:hover { color: #1A2332; }
.article-layout .toc-list a.active { color: #C8A951; border-left-color: #C8A951; font-weight: 600; }

/* Mobile TOC toggle */
.article-layout .toc-mobile-toggle { display: none; width: 100%; padding: 14px 16px; background: #FFFFFF; border: 1px solid rgba(26, 35, 50, 0.08); border-radius: 8px; font-size: 14px; font-weight: 600; color: #1A2332; cursor: pointer; text-align: left; margin-bottom: 24px; }
.article-layout .toc-mobile-toggle .toc-toggle-arrow { float: right; transition: transform 0.3s; color: rgba(26, 35, 50, 0.3); }
.article-layout .toc-mobile-toggle.open .toc-toggle-arrow { transform: rotate(180deg); color: #C8A951; }
.article-layout .toc-mobile-list { display: none; background: #FFFFFF; border: 1px solid rgba(26, 35, 50, 0.08); border-radius: 8px; padding: 12px 0; margin-bottom: 24px; overflow: hidden; }
.article-layout .toc-mobile-list.open { display: block; }
.article-layout .toc-mobile-list a { display: block; font-size: 14px; color: rgba(26, 35, 50, 0.5); padding: 8px 20px; transition: color 0.2s, background 0.2s; }
.article-layout .toc-mobile-list a:hover { color: #1A2332; background: rgba(26, 35, 50, 0.02); }
.article-layout .toc-mobile-list a.active { color: #C8A951; font-weight: 600; }

/* Article body */
.article-layout .article-body { max-width: 100%; }
.article-layout .article-body h2 { font-size: 24px; font-weight: 700; color: #1A2332; margin: 48px 0 20px; padding-top: 8px; }
.article-layout .article-body h2:first-child { margin-top: 0; }
.article-layout .article-body h3 { font-size: 19px; font-weight: 700; color: #1A2332; margin: 28px 0 12px; }
.article-layout .article-body p { font-size: 16px; color: rgba(26, 35, 50, 0.75); line-height: 1.7; margin-bottom: 16px; }
.article-layout .article-body p strong { color: #1A2332; font-weight: 600; }
.article-layout .article-body ul { margin: 12px 0 20px 20px; }
.article-layout .article-body ul li { font-size: 15px; color: rgba(26, 35, 50, 0.75); line-height: 1.65; margin-bottom: 8px; padding-left: 8px; position: relative; list-style: none; }
.article-layout .article-body ul li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #C8A951; position: absolute; left: -14px; top: 9px; }
.article-layout .article-body .article-crosslink { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(26, 35, 50, 0.06); text-align: center; }
.article-layout .article-crosslink-text { font-size: 14px; color: rgba(26, 35, 50, 0.45); margin-bottom: 8px; }
.article-layout .article-crosslink a { font-size: 14px; font-weight: 600; color: #C8A951; transition: color 0.2s; margin-right: 16px; }
.article-layout .article-crosslink a:last-child { margin-right: 0; }
.article-layout .article-crosslink a:hover { color: #A88B3D; }

/* ===== LICENSED OPERATORS PAGE ===== */

/* Filter bar */
.filter-section { max-width: 1080px; margin: 0 auto; padding: 32px 24px 0; }
.filter-section .filter-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-section .filter-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-section .filter-btn { padding: 8px 18px; border-radius: 50px; border: 1px solid rgba(26, 35, 50, 0.12); background: transparent; color: #1A2332; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; font-family: inherit; }
.filter-section .filter-btn:hover { border-color: #C8A951; }
.filter-section .filter-btn.active { background: #1A2332; color: #FAFAF8; border-color: #1A2332; }
.filter-section .filter-search { flex: 1; min-width: 200px; }
.filter-section .filter-search-input { width: 100%; padding: 9px 16px 9px 38px; border: 1px solid rgba(26, 35, 50, 0.12); border-radius: 50px; font-size: 13px; font-family: inherit; color: #1A2332; background: #FFFFFF; transition: border-color 0.2s; outline: none; }
.filter-section .filter-search-input:focus { border-color: #C8A951; }
.filter-section .filter-search-wrap { position: relative; }
.filter-section .filter-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: rgba(26, 35, 50, 0.3); pointer-events: none; }

/* Operator registry table */
.registry-section { max-width: 1080px; margin: 0 auto; padding: 24px 24px 64px; }
.registry-section .registry-table { width: 100%; border-collapse: collapse; }
.registry-section .registry-table th { text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(26, 35, 50, 0.35); padding: 12px 16px; border-bottom: 2px solid rgba(26, 35, 50, 0.08); }
.registry-section .registry-table td { padding: 16px; border-bottom: 1px solid rgba(26, 35, 50, 0.06); vertical-align: middle; }
.registry-section .registry-table tr { transition: background 0.15s; }
.registry-section .registry-table tbody tr:hover { background: rgba(200, 169, 81, 0.03); }
.registry-section .registry-operator-name { font-size: 15px; font-weight: 600; color: #1A2332; }
.registry-section .registry-operator-name a { transition: color 0.2s; }
.registry-section .registry-operator-name a:hover { color: #C8A951; }
.registry-section .registry-verticals { display: flex; gap: 6px; flex-wrap: wrap; }
.registry-section .registry-vertical-pill { font-size: 10px; font-weight: 600; padding: 3px 10px; border-radius: 50px; background: rgba(26, 35, 50, 0.04); color: rgba(26, 35, 50, 0.5); text-transform: uppercase; letter-spacing: 0.5px; }
.registry-section .registry-date { font-size: 13px; color: rgba(26, 35, 50, 0.5); }
.registry-section .registry-status { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: #2A7D5F; text-transform: uppercase; letter-spacing: 0.5px; }
.registry-section .registry-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #2A7D5F; }
.registry-section .registry-empty { text-align: center; padding: 48px 16px; color: rgba(26, 35, 50, 0.45); font-size: 15px; }

/* ===== TRANSACTIONAL PAGES ===== */

/* Editorial intro */
.editorial-intro { max-width: 1080px; margin: 0 auto; padding: 48px 24px 0; }
.editorial-intro h2 { font-size: 24px; font-weight: 700; color: #1A2332; margin: 44px 0 18px; }
.editorial-intro h2:first-child { margin-top: 0; }
.editorial-intro h3 { font-size: 19px; font-weight: 700; color: #1A2332; margin: 32px 0 14px; }
.editorial-intro p { font-size: 16px; color: rgba(26, 35, 50, 0.75); line-height: 1.7; margin-bottom: 16px; max-width: 760px; }
.editorial-intro p strong { color: #1A2332; font-weight: 600; }
.editorial-intro a { color: #C8A951; text-decoration: underline; transition: color 0.2s; }
.editorial-intro a:hover { color: #A88B3D; }

/* Operator cards */
.operators-section { max-width: 1080px; margin: 0 auto; padding: 32px 24px 0; }
.operators-section .operators-heading { font-size: 22px; font-weight: 700; color: #1A2332; margin-bottom: 24px; }
.operators-section .operator-card { background: #FFFFFF; border: 1px solid rgba(26, 35, 50, 0.06); border-radius: 12px; padding: 24px 28px; margin-bottom: 16px; display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; transition: transform 0.2s, box-shadow 0.2s; }
.operators-section .operator-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26, 35, 50, 0.08); }
.operators-section .operator-info { min-width: 0; }
.operators-section .operator-name-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.operators-section .operator-name { font-size: 18px; font-weight: 700; color: #1A2332; }
.operators-section .operator-licensed { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 600; color: #2A7D5F; text-transform: uppercase; letter-spacing: 0.5px; }
.operators-section .operator-licensed svg { flex-shrink: 0; }
.operators-section .operator-desc { font-size: 14px; color: rgba(26, 35, 50, 0.55); margin-bottom: 6px; line-height: 1.5; }
.operators-section .operator-why { font-size: 13px; color: rgba(26, 35, 50, 0.45); font-style: italic; }
.operators-section .operator-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.operators-section .operator-pill { font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 50px; background: rgba(42, 125, 95, 0.08); color: #2A7D5F; white-space: nowrap; }
.operators-section .operator-cta { flex-shrink: 0; }
.operators-section .operator-cta-link { display: inline-flex; align-items: center; gap: 6px; padding: 11px 24px; border-radius: 50px; background: #C8A951; color: #FFFFFF; font-size: 13px; font-weight: 600; transition: background 0.2s, transform 0.2s; white-space: nowrap; }
.operators-section .operator-cta-link:hover { background: #A88B3D; transform: translateY(-2px); }
.operators-section .operator-cta-link:focus { outline: 2px solid #C8A951; outline-offset: 2px; }

/* How we review section */
.review-method { max-width: 1080px; margin: 0 auto; padding: 48px 24px 0; }
.review-method .review-method-card { background: #FFFFFF; border: 1px solid rgba(26, 35, 50, 0.06); border-radius: 12px; padding: 32px; max-width: 760px; }
.review-method .review-method-heading { font-size: 20px; font-weight: 700; color: #1A2332; margin-bottom: 12px; }
.review-method .review-method-text { font-size: 14px; color: rgba(26, 35, 50, 0.6); line-height: 1.7; }

/* FAQ accordion */
.faq-section { max-width: 1080px; margin: 0 auto; padding: 48px 24px 64px; }
.faq-section .faq-heading { font-size: 22px; font-weight: 700; color: #1A2332; margin-bottom: 24px; }
.faq-section .faq-list { max-width: 760px; }
.faq-section .faq-item { border-bottom: 1px solid rgba(26, 35, 50, 0.06); }
.faq-section .faq-item:first-child { border-top: 1px solid rgba(26, 35, 50, 0.06); }
.faq-section .faq-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 0; cursor: pointer; text-align: left; }
.faq-section .faq-trigger-text { font-size: 15px; font-weight: 600; color: #1A2332; flex: 1; padding-right: 16px; }
.faq-section .faq-trigger-arrow { color: rgba(26, 35, 50, 0.25); font-size: 16px; transition: transform 0.3s, color 0.2s; flex-shrink: 0; }
.faq-section .faq-trigger:hover .faq-trigger-arrow { color: #C8A951; }
.faq-section .faq-item.open .faq-trigger-arrow { transform: rotate(90deg); color: #C8A951; }
.faq-section .faq-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-section .faq-item.open .faq-body { max-height: 300px; padding-bottom: 18px; }
.faq-section .faq-body-text { font-size: 14px; color: rgba(26, 35, 50, 0.6); line-height: 1.7; }

/* Cross-links */
.cross-links { max-width: 1080px; margin: 0 auto; padding: 0 24px 64px; }
.cross-links .cross-links-inner { display: flex; gap: 12px; flex-wrap: wrap; }
.cross-links .cross-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 50px; border: 1px solid rgba(26, 35, 50, 0.08); font-size: 13px; font-weight: 600; color: rgba(26, 35, 50, 0.55); transition: border-color 0.2s, color 0.2s; }
.cross-links .cross-link:hover { border-color: #C8A951; color: #C8A951; }

/* ===== ABOUT / RESPONSIBLE GAMBLING — simple article ===== */

.simple-article { max-width: 720px; margin: 0 auto; padding: 48px 24px 64px; }
.simple-article h2 { font-size: 22px; font-weight: 700; color: #1A2332; margin: 40px 0 16px; }
.simple-article h2:first-child { margin-top: 0; }
.simple-article p { font-size: 16px; color: rgba(26, 35, 50, 0.75); line-height: 1.7; margin-bottom: 16px; }
.simple-article p strong { color: #1A2332; font-weight: 600; }
.simple-article ul { margin: 12px 0 20px 20px; }
.simple-article ul li { font-size: 15px; color: rgba(26, 35, 50, 0.75); line-height: 1.65; margin-bottom: 8px; padding-left: 8px; position: relative; list-style: none; }
.simple-article ul li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #C8A951; position: absolute; left: -14px; top: 9px; }
.simple-article a { color: #C8A951; text-decoration: underline; transition: color 0.2s; }
.simple-article a:hover { color: #A88B3D; }
.simple-article .resource-card { background: #FFFFFF; border: 1px solid rgba(26, 35, 50, 0.06); border-radius: 12px; padding: 24px; margin: 20px 0; }
.simple-article .resource-card-title { font-size: 16px; font-weight: 700; color: #1A2332; margin-bottom: 6px; }
.simple-article .resource-card-text { font-size: 14px; color: rgba(26, 35, 50, 0.6); line-height: 1.6; margin-bottom: 8px; }
.simple-article .resource-card-text--flush { margin-top: 8px; margin-bottom: 0; }
.simple-article .resource-card-text--no-margin { margin-bottom: 0; }
.simple-article .resource-card-link { font-size: 13px; font-weight: 600; color: #C8A951; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: gap 0.2s, color 0.2s; }
.simple-article .resource-card-link:hover { gap: 8px; color: #A88B3D; }

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .regulation-section .regulation-steps { grid-template-columns: 1fr; gap: 16px; }
  .quick-access .quick-access-grid { grid-template-columns: 1fr; gap: 16px; }
  .article-layout { grid-template-columns: 1fr; gap: 0; }
  .article-layout .toc { display: none; }
  .article-layout .toc-mobile-toggle { display: block; }
  .filter-section .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-section .filter-search { min-width: 100%; }
  .registry-section .registry-table thead { display: none; }
  .registry-section .registry-table tbody tr { display: flex; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid rgba(26, 35, 50, 0.06); gap: 8px; align-items: center; }
  .registry-section .registry-table td { padding: 0; border-bottom: none; }
  .registry-section .registry-table td:first-child { width: 100%; }
  .operators-section .operator-card { grid-template-columns: 1fr; gap: 16px; }
  .operators-section .operator-pills { margin-top: 4px; }
  .operators-section .operator-cta-link { width: 100%; justify-content: center; padding: 13px 24px; }
}

@media (max-width: 480px) {
  .regulation-section .regulation-heading { font-size: 22px; }
  .quick-access .quick-access-heading { font-size: 22px; }
  .faq-section .faq-heading { font-size: 20px; }
  .operators-section .operators-heading { font-size: 20px; }
  .editorial-intro { padding: 32px 16px 0; }
  .operators-section { padding: 24px 16px 0; }
  .review-method { padding: 32px 16px 0; }
  .faq-section { padding: 32px 16px 48px; }
  .cross-links { padding: 0 16px 48px; }
  .filter-section { padding: 24px 16px 0; }
  .registry-section { padding: 16px 16px 48px; }
  .simple-article { padding: 32px 16px 48px; }
  .article-layout { padding: 32px 16px 48px; }
  .trust-block .trust-block-card { padding: 28px 20px; }
}
