/*
Theme Name: Review Egypt
Description: Arabic editorial site with a classic editor and an ACF Pro page builder.
Version: 1.1.0
Requires PHP: 8.0
Text Domain: review-egypt
*/
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("assets/fonts/noto-sans-arabic.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #241018;
  --wine: #a22a46;
  --gold: #f9c88c;
  --cream: #faf3eb;
  --edge: #f4e4db;
  --panel: #f0f0f0;
  --muted: #8f8f8f;
  --gutter: clamp(40px, 6.95vw, 100px);
  --section: 48px;
  --space: 26px;
  --radius: 15px;
  --line: 26px;
  font-family: "Noto Sans Arabic", Tahoma, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: white; font-weight: 500; line-height: var(--line); }
h1, h2, h3, h4, p, dl, dd, figure, ul { margin: 0; }
h1, h2 { font-weight: 600; }
h1 { font-size: 48px; line-height: 1.22; }
h2 { font-size: 36px; line-height: 46px; }
h3 { font-size: 28px; line-height: 1.2; font-weight: 500; }
h4 { font-size: 1rem; font-weight: 500; }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #386bb3; outline-offset: 3px; }
:where(section,article,aside,div,p)[id] { scroll-margin-top: 16px; }
.container { width: min(1240px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: var(--section); }
.skip-link { position: absolute; top: -100px; background: white; padding: 8px; z-index: 12; }
.skip-link:focus { top: 12px; }
.header-inner, .desktop-nav, .header-tools, .outline, .square, .icon-disc, .platforms,
.brand-title, .rating, .promo-code, .pager, .author-inner, .trust-marks { display: flex; align-items: center; }
.header-inner { justify-content: space-between; min-height: 78px; gap: 16px; }
.site-logo { display: block; width: 222px; flex: none; }
.site-logo img { width: 100%; }
.desktop-nav { gap: 20px; }
.desktop-nav a:hover, .footer-nav a:hover, .mobile-menu a:hover { color: var(--wine); text-decoration: underline; }
.header-tools { gap: 18px; }
.outline, .square {
  justify-content: center; border: 1px solid currentColor; border-radius: var(--radius);
  color: var(--wine); background: transparent; white-space: nowrap;
}
.outline { direction: ltr; gap: 8px; width: max-content; max-width: 100%; min-height: 42px; padding: 6px 13px; }
.outline:hover { background: #a22a460d; }
.square { width: 38px; height: 38px; padding: 0; }
.gift-link { background: var(--wine); border-color: var(--wine); }
.gift-link img { width: 18px; height: 18px; }
.icon-disc { justify-content: center; width: 26px; height: 26px; flex: none; border-radius: 50%; color: white; background: var(--wine); line-height: 1; }
.icon-disc img { width: 12px; height: 12px; }
.menu-toggle, .mobile-menu { display: none; }
.hero { display: grid; grid-template-columns: 650fr 548fr; align-items: center; gap: 3.38%; padding-block: 24px; }
.hero-copy { display: grid; gap: 46px; }
.hero :is(h1, h2) { max-width: 422px; }
.hero-art img { width: 100%; height: auto; }
.toc { display: flex; align-items: center; overflow-x: auto; padding-block: 17px; gap: 6px; scrollbar-width: none; }
.toc a { flex: none; background: var(--cream); border: 1px solid var(--edge); border-radius: 16px; padding: 3px 10px; }
.toc a:hover { border-color: var(--gold); }
.ranking-list { display: grid; gap: 18px; margin-top: var(--space); }
.bookmaker { border-radius: var(--radius); }
.bookmaker.is-open { background: var(--ink); padding-block: 4px; }
.card-summary { display: grid; grid-template-columns: minmax(0,234fr) minmax(0,282fr) minmax(0,414fr) minmax(0,304fr); grid-template-areas: 'brand identity bonus actions'; gap: 2px; min-height: 170px; }
.brand-tile, .dark { color: white; background: var(--ink); border-radius: var(--radius); }
.brand-tile { grid-area: brand; display: grid; place-items: center; min-width: 0; }
.brand-mark { width: min(74%, 144px); }
.brand-mark[src*="1xbet"] { width: min(74%, 138px); }
.panel { border: 1px solid var(--edge); background: var(--panel); border-radius: var(--radius); }
.identity, .bonus, .actions { display: flex; flex-direction: column; justify-content: center; }
.identity, .bonus { align-items: flex-start; padding: 20px clamp(14px, 2.23vw, 32px); gap: 10px; }
.identity { grid-area: identity; }
.brand-title { gap: 12px; }
.rank { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 5px; background: var(--ink); color: white; font-size: 14px; }
.rating { gap: 3px; }
.rating bdi span, small { color: var(--muted); }
.star { font-size: 23px; line-height: 1; color: var(--gold); }
.platforms { gap: 10px; }
.bonus { grid-area: bonus; }
.bonus p { max-width: 326px; }
small { font-size: 14px; line-height: 21px; display: block; }
.bonus small { margin-bottom: 2px; }
.promo-code { direction: ltr; gap: 10px; background: var(--ink); border: 0; border-radius: 15px; color: white; padding: 4px 18px; line-height: 26px; }
.promo-code img { width: 18px; height: 18px; }
.actions { grid-area: actions; align-items: center; gap: 26px; padding: 18px; }
.gold { color: var(--gold); }
.gold:hover { background: #f9c88c15; }
.gold .icon-disc { color: var(--ink); background: var(--gold); }
.gold img { filter: brightness(0.12); }
.more-info, .review-link { border: 0; border-bottom: 1px solid currentColor; background: none; padding: 0 0 2px; }
.more-info { direction: ltr; color: var(--cream); display: inline-flex; align-items: center; gap: 9px; }
.more-info:hover { color: var(--gold); }
.card-details { margin-top: 4px; display: grid; grid-template-columns: 298fr 630fr 304fr; gap: 4px; }
.card-details section { padding: 20px 32px; }
.card-details ul, .features { list-style: none; padding-inline-start: 0; }
.card-details ul, .mini-payments { margin-top: 6px; }
.card-details li, .features li { position: relative; padding-inline-start: 20px; }
.card-details li + li { margin-top: 6px; }
.card-details li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--gold); }
.card-details .detail-facts { padding-block: 16px; }
.mini-payments { display: flex; flex-wrap: wrap; gap: 10px; }
.mini-payments img { width: 40px; height: 28px; }
.show-more { margin: 24px auto 0; color: var(--ink); }
.show-more .icon-disc { background: var(--ink); }
.guide { display: grid; gap: var(--space); }
.featured { grid-template-columns: minmax(0,234fr) minmax(0,222fr) minmax(0,468fr) minmax(0,310fr); }
.features { grid-area: bonus; margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 20px 32px; }
.features li { padding-inline-start: 28px; }
.features li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 5px; border-radius: 5px; background: #00a444; color: white; font: bold 12px/17px sans-serif; height: 17px; width: 17px; text-align: center; }
.featured strong { font-size: 18px; font-weight: 700; line-height: 1.2; text-align: center; }
.review-link { color: var(--wine); }
.slide-track { --cols: 6; --gap: 14px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); gap: var(--gap); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.slide { min-width: 0; scroll-snap-align: start; }
.slide-art { aspect-ratio: 195/114; border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden; background: var(--panel); display: grid; place-items: center; }
.slide-art img { width: 100%; height: 100%; object-fit: cover; }
.payments .slide-art img { width: 70%; height: auto; max-height: 70%; object-fit: contain; }
figcaption { margin-top: 6px; }
.pager { justify-content: center; gap: 5px; margin-top: 20px; }
.pager button { position: relative; width: 14px; height: 14px; padding: 0; border-radius: 99px; background: var(--cream); border: 1px solid var(--edge); }
.pager button::after { content: ''; position: absolute; inset: -7px -2px; }
.pager button[aria-pressed="true"] { width: 38px; border: 3px solid var(--ink); background: white; }
.author { padding-block: 12px; }
.author-inner { min-height: 116px; padding: 14px 29px; gap: 26px; background: var(--cream); border: 1px solid var(--edge); border-radius: var(--radius); }
.author-inner img { border-radius: 50%; }
.author h3 { margin-block: 4px; }
.author p, .footer-about p, .fine-print { font-size: 14px; line-height: 21px; }
.faq dl { margin-top: var(--space); }
.faq-row { display: grid; grid-template-columns: 1fr 2.02fr; gap: 26px; border-block-start: 1px solid #2410181f; padding-block: 17px; }
.faq-row:last-child { border-block-end: 1px solid #2410181f; }
.faq dt, .footer-nav h4 { font-size: 18px; font-weight: 700; line-height: 1.2; }
.faq dd { min-width: 0; }
.faq-row { min-height: 88px; }
.site-footer { position: relative; background: var(--ink); color: var(--cream); padding: 46px 0; }
.footer-intro { display: flex; justify-content: space-between; gap: 4%; }
.footer-about { width: 28%; max-width: 342px; }
.footer-about p { margin-top: 18px; }
.footer-nav { display: flex; width: 64%; justify-content: space-between; gap: 18px; }
.footer-nav > div { display: grid; align-content: start; gap: 6px; }
.footer-nav h4 { margin-bottom: 8px; }
@media (min-width: 1101px) { .site-footer { min-height: 369px; } }
.footer-nav a:hover, .footer-nav a[href="#ranking-faq"] { color: var(--gold); text-decoration: underline; }
.trust-marks { margin: 26px 0; padding: 26px 0; border-block: 1px solid #ffffff12; flex-wrap: wrap; gap: 18px 36px; }
.fine-print { display: flex; justify-content: space-between; gap: 16px; }
.back-top { position: absolute; top: -26px; right: 16px; width: 26px; height: 48px; background: var(--wine); display: grid; place-items: center; color: white; font-size: 22px; }
.app-dialog { width: min(530px, calc(100% - 32px)); padding: 32px; border: 1px solid var(--edge); border-radius: var(--radius); color: var(--ink); }
.app-dialog::backdrop { background: #24101880; }
.dialog-close { float: left; border: none; color: white; background: var(--wine); border-radius: 10px; width: 32px; height: 32px; }
.dialog-content { display: grid; gap: 12px; margin-top: 18px; }
.dialog-content ul { padding-inline-start: 22px; }
.notice { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 12; background: var(--ink); color: white; border-radius: 12px; padding: 8px 16px; }
.notice:empty { display: none; }

@media (min-width: 1101px) and (max-width: 1300px) {
  .identity, .bonus, .features, .card-details section { padding-inline: 16px; }
  .platforms { gap: 6px; }
  .platforms .outline { padding-inline: 9px; }
}
@media (max-width: 1100px) {
  :root { --gutter: 40px; --section: 38px; --space: 20px; }
  h1 { font-size: 40px; line-height: 1.11; }
  h2 { font-size: 30px; line-height: 1.2; }
  h3 { font-size: 24px; }
  .header-inner { min-height: 74px; }
  .desktop-nav { display: none; }
  .header-tools .gift-link { order: -1; }
  .menu-toggle { display: grid; place-items: center; }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { width: 10px; height: 1.5px; border-radius: 2px; background: currentColor; }
  .menu-toggle span { position: relative; }
  .menu-toggle span::before, .menu-toggle span::after { position: absolute; content: ''; width: 5px; left: 2.5px; }
  .menu-toggle span::before { top: -4px; }
  .menu-toggle span::after { top: 4px; }
  .menu-toggle[aria-expanded="true"] { color: white; background: var(--wine); border-color: var(--wine); }
  .menu-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::before { inset: 0; width: 100%; transform: rotate(90deg); }
  .menu-toggle[aria-expanded="true"] span::after { display: none; }
  .masthead.menu-open { position: fixed; inset: 0; z-index: 10; overflow: auto; background: white; }
  body.menu-visible { overflow: hidden; }
  .mobile-menu { display: grid; gap: 12px; padding-block: 16px; }
  .mobile-menu a, .mobile-menu summary { padding: 2px 0; }
  .mobile-menu summary { list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu details[open] summary, .subnav a[href="#sports"] { color: var(--wine); text-decoration: underline; }
  .subnav { display: grid; gap: 8px; background: var(--cream); border: 1px solid var(--edge); padding: 12px 16px; margin-top: 6px; border-radius: 6px; }
  .hero { grid-template-columns: 404fr 274fr; align-items: start; gap: 10px; padding-block: 20px; }
  .hero-copy { gap: 18px; }
  .toc { padding-block: 13px; }
  .ranking-list { gap: 14px; }
  .card-summary { grid-template-columns: minmax(0,202fr) minmax(0,256fr) minmax(0,226fr); grid-template-areas: 'brand identity actions' 'bonus bonus bonus'; min-height: 0; }
  .brand-tile, .identity, .actions { min-height: 156px; }
  .brand-mark { max-width: 124px; }
  .brand-mark[src*="1xbet"] { max-width: 122px; }
  .identity { gap: 8px; padding-inline: clamp(18px, 4.16vw, 32px); }
  .bonus { flex-direction: row; justify-content: space-between; align-items: center; min-height: 94px; padding: 12px 32px; }
  .bonus p { max-width: none; }
  .card-details { grid-template-columns: 1fr; }
  .card-details section, .card-details .detail-facts { padding: 12px 32px; }
  .faq-row { grid-template-columns: 282fr 388fr; gap: 18px; min-height: 114px; }
  .show-more { margin-top: 20px; }
  .featured { grid-template-columns: minmax(0,202fr) minmax(0,198fr) minmax(0,284fr); }
  .featured .actions { gap: 12px; }
  .slide-track { --cols: 4; }
  .footer-intro { flex-direction: column; gap: 24px; }
  .footer-about { width: 100%; max-width: none; }
  .footer-nav { width: 100%; }
  .author { padding-block: 10px; }
  .author-inner { min-height: 108px; }
  .site-footer { padding-block: 38px; }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; --section: 28px; --space: 16px; --radius: 12px; --line: 21px; }
  body { font-size: 14px; }
  h1 { font-size: 32px; line-height: 1.1; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  h4 { font-size: 14px; }
  small { font-size: 12px; line-height: 18px; }
  .header-inner { min-height: 54px; }
  .site-logo { width: 170px; }
  .header-tools { gap: 12px; }
  .header-tools .gift-link { order: 0; }
  .header-tools .download { order: -1; width: 32px; height: 32px; padding: 0; min-height: 32px; }
  .download .icon-disc { background: none; }
  .download img { filter: brightness(0) saturate(100%) invert(26%) sepia(34%) saturate(2242%) hue-rotate(308deg); width: 14px; height: 14px; }
  .download-label { display: none; }
  .header-tools .square { width: 32px; height: 32px; }
  .gift-link img { width: 14px; height: 14px; }
  .hero { display: block; padding-block: 14px; }
  .hero-copy { gap: 10px; }
  .hero-copy p { word-spacing: .35px; }
  .hero :is(h1, h2) { max-width: 100%; }
  .hero-art { display: none; }
  .toc { padding-block: 9px; gap: 4px; }
  .toc a { padding: 3px 10px; border-radius: 12px; }
  .ranking-list { gap: 10px; }
  .card-summary { grid-template-columns: minmax(0,148fr) minmax(0,208fr); grid-template-areas: 'brand identity' 'bonus bonus' 'actions actions'; }
  .brand-tile, .identity { min-height: 124px; }
  .brand-mark, .brand-mark[src*="1xbet"] { max-width: 103px; }
  .identity { gap: 4px; padding: 8px 16px; }
  .rank { width: 24px; height: 24px; font-size: 12px; }
  .star { font-size: 20px; }
  .outline { min-height: 38px; padding: 6px 11px; }
  .icon-disc { width: 22px; height: 22px; }
  .icon-disc img { width: 10px; height: 10px; }
  .bonus { flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; min-height: 125px; padding: 9px 16px; }
  .promo-code { padding: 6px 16px; line-height: 21px; }
  .actions { min-height: 74px; flex-direction: row; justify-content: space-between; gap: 8px; padding: 16px; }
  .card-details section, .card-details .detail-facts { padding: 8px 16px; }
  .card-details li + li { margin-top: 4px; }
  .mini-payments { gap: 6px; }
  .mini-payments img { width: 34px; height: auto; }
  .show-more { margin-top: 16px; }
  .featured .actions strong { font-size: 16px; text-align: start; }
  .featured .actions { gap: 10px; }
  .features { padding: 8px 16px; gap: 4px; }
  .slide-track { --cols: 3; --gap: 8px; }
  .slide-art { aspect-ratio: 114/70; }
  .pager { margin-top: 10px; }
  .pager button { height: 12px; width: 12px; }
  .pager button[aria-pressed="true"] { width: 24px; }
  .author { padding-block: 8px; }
  .author-inner { min-height: 80px; padding: 8px 16px; gap: 12px; }
  .author-inner img { width: 56px; height: 56px; }
  .author h3 { margin-block: 2px; }
  .author p, .footer-about p, .fine-print { font-size: 12px; line-height: 18px; }
  .faq-row { grid-template-columns: 1fr; gap: 12px; padding-block: 14px; }
  .faq dt { font-size: 16px; }
  .faq dd { max-width: none; }
  .site-footer { padding-block: 28px; }
  .footer-nav > div { min-height: 122px; }
  .footer-intro { gap: 16px; }
  .footer-nav { flex-direction: column-reverse; gap: 24px; border-top: 1px solid #ffffff12; padding-block: 16px; }
  .footer-nav h4 { font-size: 16px; }
  .footer-about p { margin-top: 10px; }
  .trust-marks { gap: 12px 16px; padding: 16px 0; margin: 16px 0; }
  .trust-marks img { height: auto; object-fit: contain; }
  .trust-marks > :nth-child(1) { width: 107px; }
  .trust-marks > :nth-child(2) { width: 66px; }
  .trust-marks > :nth-child(3) { width: 116px; }
  .trust-marks > :nth-child(4) { width: 20px; }
  .trust-marks > :nth-child(5) { width: 84px; }
  .fine-print { flex-direction: column; }
  .fine-print p + p { padding-top: 14px; border-top: 1px solid #ffffff12; }
  .back-top { top: 150px; right: 0; }
}
@media (max-width: 370px) {
  .site-logo { width: 145px; }
  .header-tools { gap: 7px; }
  .identity { padding-inline: 9px; }
  .platforms { gap: 5px; }
  .platforms .outline { padding-inline: 6px; gap: 5px; }
}

/* Internal page layouts */
.crumb { display: flex; align-items: center; gap: 8px; padding-block: 4px; color: var(--muted); font-size: 14px; line-height: 21px; }
.crumb a { display: grid; place-items: center; min-height: 21px; }
.review-hero, .profile-hero, .policy-heading { padding-block: 24px; }
.review-hero { display: grid; grid-template-columns: 682fr 548fr; grid-template-areas: "intro logo"; gap: 10px; }
.review-logo { grid-area: logo; display: grid; place-items: center; border-radius: 32px; background: linear-gradient(145deg,#4a2535,#24111d); }
.review-logo img { width: 67.4%; max-width: 369px; }
.review-intro, .profile-box, .coupon-box { border: 1px solid var(--edge); background: var(--cream); }
.review-intro { grid-area: intro; display: grid; align-content: center; padding: 49px 27px; gap: 20px; border-radius: 32px; }
.review-rating { display: grid; gap: 10px; }
.review-rating strong, .profile-bio strong, .publication h3 { font-size: 18px; line-height: 1.2; font-weight: 700; }
.review-rating > div { display: flex; align-items: center; gap: 2px; }
.review-rating bdi span { color: var(--muted); }
.five-stars { color: var(--gold); font: 25px/1 sans-serif; letter-spacing: 2px; }
.welcome-offer { display: flex; align-items: center; gap: 12px; padding: 13px 19px; background: white; border: 1px solid var(--edge); border-radius: var(--radius); }
.review-downloads, .coupon-box h2 { display: flex; align-items: center; gap: 14px; }
.review-downloads a > span:last-child { direction: rtl; }
.review-data { display: grid; grid-template-columns: minmax(0,752fr) minmax(0,462fr); align-items: start; gap: 26px; padding-block: 20px; }
.facts-box, .policy-table { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius); padding: 27px; }
.fact-grid { margin-top: 24px; border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden; background: var(--edge); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; }
.fact-grid > div { background: white; padding: 13px 17px; display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 84px; }
.fact-grid dt, .publication-meta time { color: var(--muted); font-size: 14px; line-height: 21px; }
.fact-grid dd { font-weight: 700; }
.method-icons { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.method-icons img, .method-count { border: 1px solid var(--edge); border-radius: 4px; width: 32px; height: 24px; }
.method-count { display: grid; place-items: center; font-size: 14px; font-weight: 500; line-height: 1; color: var(--muted); }
.mobile-method, .method-count span:last-child { display: none; }
.coupon-box { border-radius: var(--radius); display: grid; justify-items: stretch; align-content: start; padding: 35px 27px 0; }
.coupon-box h2 { gap: 16px; }
.coupon-box p { margin-block: 18px; line-height: 1.5; }
.coupon-copy { display: flex; justify-content: space-between; align-items: center; background: white; border: 1px dashed var(--wine); border-radius: 15px; padding: 4px 24px; min-height: 60px; font-size: 18px; font-weight: 700; }
.coupon-copy img { filter: brightness(0) saturate(100%) invert(25%) sepia(21%) saturate(3180%) hue-rotate(307deg); }
.coupon-art { margin-inline: auto; width: min(334px,100%); height: auto; }
.inner-page .author { padding-bottom: var(--section); }
.author a:hover, .publication h3 a:hover { color: var(--wine); text-decoration: underline; }
.profile-box { display: grid; grid-template-columns: auto minmax(0,1fr); grid-template-areas: "photo title" "photo bio" "photo social"; gap: 18px 32px; align-items: start; padding: 49px 27px; border-radius: 32px; }
.profile-photo { grid-area: photo; height: auto; }
.profile-box :is(h1, h2) { grid-area: title; }
.profile-bio { grid-area: bio; display: grid; gap: 10px; }
.profile-bio strong { color: var(--wine); }
.profile-social { grid-area: social; margin-top: 2px; }
.profile-social:hover { background: transparent; }
.expertise, .publications, .policy-body { display: grid; gap: 24px; }
.expert-list, .policy-list { list-style: none; padding: 0; }
.expert-list { display: grid; gap: 22px; }
.expert-list h3, .policy-list li { position: relative; padding-inline-start: 28px; }
.expert-list h3 { font-size: inherit; font-weight: 700; line-height: inherit; margin-bottom: 10px; }
.expert-list h3::before, .policy-list li::before { content: ''; position: absolute; inset-inline-start: 0; top: 4px; width: 18px; height: 18px; background: url('assets/images/check-mark.svg') center/contain no-repeat; }
.author-stats, .publication-meta { display: flex; gap: 24px; align-items: center; }
.author-stats { flex-wrap: wrap; }
.author-stats div, .publication { border: 1px solid var(--edge); border-radius: var(--radius); }
.author-stats div { display: flex; flex-direction: column-reverse; padding: 17px 25px; gap: 4px; min-width: 149px; }
.author-stats dd { font-size: 28px; line-height: 1.2; }
.publication-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.publication { padding: 15px 17px; }
.publication-meta { gap: 12px; margin-bottom: 14px; }
.publication-meta span { border-radius: 5px; padding: 2px 6px; background: var(--cream); color: var(--wine); font-size: 14px; line-height: 21px; }
.publication p { font-size: 14px; line-height: 21px; margin-block: 8px 14px; }
.publication .review-link { display: inline-block; }
.policy-body section { display: grid; gap: 16px; }
.policy-body :is(h2,h3) { margin-block-end: 4px; }
.policy-list { display: grid; gap: 12px; counter-reset: policy-item; }
ol.policy-list li { counter-increment: policy-item; }
ol.policy-list li::before { content: counter(policy-item); background: var(--wine); border-radius: 5px; width: 20px; height: 20px; text-align: center; color: white; font-size: 14px; line-height: 20px; }
.policy-table { padding: 17px; min-width: 0; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--edge); }
.policy-table table { width: 100%; border-collapse: collapse; text-align: start; background: white; }
.policy-table :is(th,td) { padding: 15px 18px; text-align: start; border-inline-end: 1px solid var(--edge); border-block-end: 1px solid var(--edge); white-space: nowrap; }
.policy-table th { font-size: 14px; line-height: 21px; font-weight: 500; color: var(--muted); padding-block: 12px; }
.policy-table tr > :last-child { border-inline-end: none; }
.policy-table tbody tr:last-child td { border-block-end: none; }

@media (max-width: 1100px) {
  .review-hero, .profile-hero, .policy-heading { padding-block: 20px; }
  .review-hero { grid-template-columns: 1fr; grid-template-areas: "logo" "intro"; gap: 4px; }
  .review-logo { height: clamp(270px,47.14vw,362px); }
  .review-intro { padding: 31px 27px; }
  .review-data { grid-template-columns: 1fr; gap: 20px; }
  .facts-box { padding: 23px 19px; }
  .profile-box { grid-template-columns: 144px minmax(0,1fr); padding: 33px 23px; column-gap: 24px; }
  .profile-photo { width: 144px; }
  .expertise, .publications, .policy-body { gap: 20px; }
  .publication-grid { grid-template-columns: 1fr; gap: 14px; }
  .publication-meta { margin-bottom: 12px; }
  .publication p { margin-block: 6px 12px; }
  .policy-body section { min-width: 0; }
}
@media (max-width: 700px) {
  .crumb { gap: 4px; padding-block: 2px; font-size: 12px; line-height: 18px; }
  .crumb a { min-height: 18px; }
  .crumb img { width: 14px; height: 14px; }
  .profile-hero, .policy-heading { padding-block: 14px; }
  .review-hero { margin-block: 14px; padding: 17px 15px; border-radius: 26px; border: 1px solid var(--edge); background: var(--cream); grid-template-columns: minmax(88px,39%) 1fr; grid-template-areas: "logo heading" "rating rating" "bonus bonus" "links links"; align-items: center; gap: 12px; }
  .review-logo { height: 106px; border-radius: 24px; }
  .review-logo img { width: 74%; }
  .review-intro { display: contents; }
  .review-intro :is(h1, h2) { grid-area: heading; }
  .review-rating { grid-area: rating; gap: 6px; }
  .review-rating strong, .profile-bio strong, .publication h3 { font-size: 16px; }
  .welcome-offer { grid-area: bonus; padding: 9px 12px; }
  .welcome-offer img { width: 34px; height: 34px; }
  .review-downloads { grid-area: links; gap: 10px; }
  .review-downloads a { flex: 1; }
  .review-data { padding-block: 12px; gap: 16px; }
  .facts-box { padding: 17px 15px; }
  .fact-grid { margin-top: 16px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fact-grid > div { min-height: 70px; padding: 10px 8px; gap: 4px; }
  .fact-grid dt, .publication-meta time { font-size: 12px; line-height: 18px; }
  .fact-methods { grid-column: 1 / -1; }
  .method-icons img, .method-count { width: 31px; height: 22px; }
  .mobile-method, .method-count span:last-child { display: block; }
  .method-count span:first-child { display: none; }
  .coupon-box { padding: 17px 11px 0; }
  .coupon-box h2 { gap: 12px; }
  .coupon-box h2 img { width: 36px; height: 36px; }
  .coupon-box p { margin-block: 12px; }
  .coupon-copy { min-height: 46px; padding-inline: 18px; font-size: 16px; }
  .coupon-art { width: min(304px,100%); height: 127px; object-fit: cover; }
  .profile-box { padding: 19px 15px; grid-template-columns: 88px minmax(0,1fr); grid-template-areas: "photo title" "bio bio" "social social"; align-items: center; gap: 14px 20px; border-radius: 26px; }
  .profile-photo { width: 88px; }
  .profile-social { margin-top: 6px; }
  .profile-social img { width: 22px; height: 22px; }
  .expertise, .publications, .policy-body { gap: 16px; }
  .expert-list { gap: 18px; }
  .expert-list h3 { margin-bottom: 6px; }
  .author-stats { gap: 10px; max-width: 250px; }
  .author-stats div { min-width: 0; padding: 13px 19px; gap: 2px; }
  .author-stats dd { font-size: 20px; }
  .publication { padding: 12px; }
  .publication-grid { gap: 10px; }
  .policy-body section { gap: 12px; }
  .policy-table { padding: 9px; }
  .policy-table :is(td,th) { padding: 13px 14px; }
  .policy-table th { font-size: 12px; line-height: 18px; padding-block: 10px; }
}

.guide :where(p, li, nav, blockquote, td, th, h2, h3) a:not(.outline),
.policy-body :where(p, li, nav, blockquote, td, th, h2, h3) a,
.faq dd a, .ranking-review a, .rating-disclosure a, .cookie-notice a {
  color: #a22a46; text-decoration: underline; text-underline-offset: .15em;
}
.trust-marks > a { display: inline-flex; }
.trust-marks > a img { max-width: 100%; }
.rank-facts { margin-top: .5rem; }
.rank-facts > div { margin-block: .4rem; }
.rank-facts dt { font-weight: 700; }
.rank-facts dd { margin: 0; }
.ranking-review, .ranking-reviewer { display: flex; align-items: center; gap: .7rem; }
.ranking-review { margin-top: 1rem; flex-wrap: wrap; gap: .7rem 1.5rem; font-size: .9rem; }
.ranking-reviewer img { border-radius: 50%; object-fit: cover; }
.ranking-reviewer small { display: block; }
.rating-disclosure { flex-basis: auto; }
.rating-disclosure summary { cursor: pointer; color: var(--wine); }
.rating-disclosure[open] { flex-basis: 100%; }
.rating-disclosure > div { max-width: 46rem; background: var(--cream); padding: .8rem 1rem; border-radius: var(--radius); }
.visitor-notices { position: fixed; z-index: 20; inset-inline-end: max(12px,env(safe-area-inset-left)); bottom: max(12px,env(safe-area-inset-bottom)); width: min(390px,calc(100% - 24px)); display: grid; gap: 8px; max-height: 82dvh; overflow-y: auto; }
.cookie-notice, .timed-offer { border: 1px solid var(--edge); border-radius: var(--radius); padding: 14px 18px; box-shadow: 0 3px 20px #24101824; line-height: 1.5; }
.cookie-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: white; font-size: .9rem; }
.cookie-notice p { flex: 1 1 100%; }
.cookie-notice button, .offer-link { padding: .4rem 1.1rem; border-radius: .55rem; font-weight: 650; }
.cookie-accept { background: var(--wine); color: white; border: 1px solid var(--wine); }
.cookie-decline { background: white; color: var(--wine); border: 1px solid var(--edge); }
.timed-offer { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 70px; align-items: center; gap: 12px; color: white; background: var(--ink); }
.timed-offer-logo { grid-column: 2; grid-row: 1; width: 70px; }
.timed-offer > div { grid-column: 1; grid-row: 1; }
.timed-offer h2 { font-size: 1.08rem; margin-bottom: .35rem; }
.timed-offer .promo-code { border: 1px dashed var(--gold); margin-block: .45rem; }
.offer-link { display: inline-block; background: var(--gold); color: var(--ink); }
.dismiss-offer { position: absolute; inset-inline-end: 4px; top: 3px; border: 0; background: transparent; color: white; font: 1.45rem/1 system-ui; min-width: 32px; min-height: 32px; }
