/* adolfojimenezrodriguez.com – estilos propios (menú, subpáginas de AJR Salud, páginas legales) */
:root {
  --ajr-red: #FA0046;
  --ajr-navy: #324A66;
  --ajr-green: #009980;
  --ajr-yellow: #FFC400;
  --ajr-gray: #F2F2F2;
  --ajr-text: #5b6472;
  --ajr-serif: "Young", Georgia, serif;
  --ajr-display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --ajr-sans: "Roboto", Arial, sans-serif;
}

.ajr-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ================================================================ MENÚ */
.elementor-64 .ajr-menu-logo {
  position: absolute; top: 22px; left: 28px; z-index: 20;
  display: block; width: 64px; height: 64px; border-radius: 14px;
  background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.elementor-64 .ajr-menu-logo:hover,
.elementor-64 .ajr-menu-logo:focus-visible { transform: translateY(-2px) rotate(-3deg); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.elementor-64 .ajr-menu-logo:focus-visible { outline: 3px solid var(--ajr-yellow); outline-offset: 3px; }
.elementor-64 .ajr-menu-logo svg { display: block; width: 100%; height: 100%; }
@media (max-width: 767px) {
  .elementor-64 .ajr-menu-logo { top: 16px; left: 18px; width: 52px; height: 52px; border-radius: 12px; }
}
#elementor-popup-modal-64 .dialog-message { overflow-y: auto !important; align-items: flex-start !important; -webkit-overflow-scrolling: touch; }
@media (max-width: 767px) {
  .elementor-64 #popupmenu { padding-top: 84px !important; }
  .elementor-64 .ajr-submenu a { font-size: 17px; }
}

.elementor-64 .ajr-has-sub .ajr-item-row { display: flex; align-items: center; justify-content: flex-end; gap: .25em; }
.elementor-64 .ajr-sub-toggle {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 1.6em; height: 1.6em; padding: 0; margin: 0; border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
  font-size: clamp(16px, 1.6vw, 24px); line-height: 1; transition: background .2s, transform .25s;
}
.elementor-64 .ajr-sub-toggle:hover,
.elementor-64 .ajr-sub-toggle:focus-visible { background: rgba(255, 255, 255, .18); outline: none; }
.elementor-64 .ajr-sub-toggle svg { width: .6em; height: .6em; fill: currentColor; transition: transform .25s; }
.elementor-64 .ajr-has-sub.is-open .ajr-sub-toggle svg { transform: rotate(180deg); }
.elementor-64 .ajr-submenu {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease;
  text-align: right;
}
.elementor-64 .ajr-submenu > div { overflow: hidden; visibility: hidden; transition: visibility .3s; }
.elementor-64 .ajr-has-sub.is-open .ajr-submenu > div { visibility: visible; }
.elementor-64 .ajr-has-sub.is-open .ajr-submenu { grid-template-rows: 1fr; }
.elementor-64 .ajr-submenu a {
  display: block; padding: .28em 0; color: #fff; opacity: .9;
  font-family: var(--ajr-serif); font-size: clamp(18px, 1.55vw, 26px); line-height: 1.25;
  text-decoration: none; transition: opacity .2s, transform .2s;
}
.elementor-64 .ajr-submenu a::before {
  content: ""; display: inline-block; width: .42em; height: .42em; margin-right: .55em;
  background: var(--ajr-yellow); vertical-align: .12em;
}
.elementor-64 .ajr-submenu a:hover,
.elementor-64 .ajr-submenu a:focus-visible { opacity: 1; transform: translateX(-6px); outline: none; text-decoration: underline; text-underline-offset: .2em; }
.elementor-64 .ajr-submenu a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: .2em; }
.elementor-64 .ajr-submenu .ajr-sub-wrap { padding: .35em 0 .6em; }

/* ================================================================ PÁGINAS PROPIAS */
.ajr-custom-page .site-main { max-width: none !important; width: 100%; margin: 0; padding-inline: 0 !important; }
.ajr-page { font-family: var(--ajr-sans); color: var(--ajr-text); font-weight: 300; overflow-x: hidden; }
.ajr-page *, .ajr-page *::before, .ajr-page *::after { box-sizing: border-box; }
.ajr-wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.ajr-page a { color: var(--ajr-red); }
.ajr-page p { margin: 0 0 1.05em; line-height: 1.7; }
.ajr-page strong, .ajr-page b { font-weight: 500; color: var(--ajr-navy); }

/* Migas */
.ajr-crumbs { padding-top: 92px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.ajr-crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: .4em; margin: 0; padding: 0; list-style: none; }
.ajr-crumbs li { display: flex; align-items: center; gap: .4em; color: #8a93a0; }
.ajr-crumbs li + li::before { content: "›"; color: var(--ajr-red); font-weight: 500; }
.ajr-crumbs a { color: var(--ajr-navy); text-decoration: none; font-weight: 400; }
.ajr-crumbs a:hover { color: var(--ajr-red); }

/* Cabecera tipo "dual header" del sitio */
.ajr-hero { position: relative; padding: 48px 0 90px; text-align: center; }
.ajr-hero h1 { margin: 0; line-height: 1; }
.ajr-hero-kicker {
  display: block; font-family: var(--ajr-serif); font-weight: 400; color: var(--ajr-red);
  font-size: clamp(26px, 3.4vw, 52px); line-height: 1.1; margin-bottom: .12em;
}
.ajr-hero-title {
  display: block; font-family: var(--ajr-display); font-weight: 700; color: var(--ajr-navy);
  text-transform: uppercase; font-size: clamp(52px, 10.5vw, 168px); line-height: .9; letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.ajr-hero-title.is-long { font-size: clamp(44px, 7.4vw, 118px); }
.ajr-hero::before, .ajr-hero::after { content: ""; position: absolute; z-index: -1; }
.ajr-hero::before { width: clamp(70px, 9vw, 130px); aspect-ratio: 1; background: var(--ajr-yellow); right: 6%; top: 4%; }
.ajr-hero::after { width: clamp(120px, 22vw, 330px); height: clamp(34px, 4vw, 60px); background: var(--ajr-green); left: 0; bottom: 34px; }
.ajr-hero.is-red::before { background: var(--ajr-red); }
.ajr-hero.is-navy::after { background: var(--ajr-navy); }

/* Introducción en dos columnas, como "Servicios" de AJR Salud */
.ajr-intro { border-top: 2px solid var(--ajr-navy); padding: 46px 0 70px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.ajr-intro h2 { margin: 0; font-family: var(--ajr-serif); font-weight: 400; color: var(--ajr-navy); font-size: clamp(34px, 4.4vw, 66px); line-height: 1.02; }
.ajr-intro .ajr-lead { font-size: clamp(17px, 1.35vw, 21px); }

/* Bloques de color */
.ajr-band { background: var(--ajr-gray); padding: clamp(56px, 7vw, 100px) 0; }
.ajr-band h2 { margin: 0 0 34px; font-family: var(--ajr-serif); font-weight: 400; color: var(--ajr-navy); font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
.ajr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 26px; align-items: start; }
.ajr-card { position: relative; padding: 34px 30px 32px; color: #fff; background: var(--ajr-navy); }
.ajr-card h3 { margin: 0 0 .55em; font-family: var(--ajr-serif); font-weight: 400; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.1; color: inherit; }
.ajr-card p { margin: 0; color: inherit; opacity: .95; font-weight: 300; }
.ajr-card::after { content: ""; position: absolute; width: 34px; height: 34px; top: -14px; right: 22px; background: var(--ajr-yellow); }
.ajr-card.c-red { background: var(--ajr-red); }
.ajr-card.c-green { background: var(--ajr-green); }
.ajr-card.c-navy { background: var(--ajr-navy); }
.ajr-card.c-yellow { background: var(--ajr-yellow); color: var(--ajr-navy); }
.ajr-card.c-yellow::after, .ajr-card.c-green::after { background: var(--ajr-red); }
.ajr-card.c-red::after { background: var(--ajr-navy); }
@media (min-width: 1025px) {
  .ajr-cards.is-staggered > .ajr-card:nth-child(2) { margin-top: 56px; }
  .ajr-cards.is-staggered > .ajr-card:nth-child(3) { margin-top: 18px; }
}

/* Texto largo */
.ajr-prose { padding: clamp(56px, 7vw, 96px) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); }
.ajr-prose h2 { margin: 0; font-family: var(--ajr-serif); font-weight: 400; color: var(--ajr-navy); font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
.ajr-prose .ajr-quote { margin-top: 26px; padding-left: 20px; border-left: 6px solid var(--ajr-yellow); font-family: var(--ajr-serif); color: var(--ajr-navy); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.3; }

/* Otros servicios */
.ajr-more { padding: clamp(48px, 6vw, 80px) 0 0; }
.ajr-more h2 { margin: 0 0 22px; font-family: var(--ajr-serif); font-weight: 400; color: var(--ajr-navy); font-size: clamp(24px, 2.4vw, 34px); }
.ajr-chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ajr-chips a {
  display: inline-flex; align-items: center; gap: .5em; padding: .75em 1.15em; border: 2px solid var(--ajr-navy);
  color: var(--ajr-navy); text-decoration: none; font-weight: 400; font-size: 16px; transition: background .2s, color .2s;
}
.ajr-chips a::after { content: "›"; color: var(--ajr-red); font-weight: 500; }
.ajr-chips a:hover, .ajr-chips a:focus-visible { background: var(--ajr-navy); color: #fff; }
.ajr-chips a:hover::after { color: var(--ajr-yellow); }

/* ================================================================ LEGALES */
.ajr-legal { padding: 10px 0 clamp(70px, 8vw, 120px); display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; border-top: 2px solid var(--ajr-navy); }
.ajr-toc { position: sticky; top: 30px; padding-top: 40px; }
.ajr-toc details > summary { list-style: none; cursor: default; font-family: var(--ajr-serif); color: var(--ajr-navy); font-size: 22px; margin-bottom: 14px; }
.ajr-toc details > summary::-webkit-details-marker { display: none; }
.ajr-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; border-left: 2px solid #e1e4e8; }
.ajr-toc li { counter-increment: toc; }
.ajr-toc a {
  display: flex; gap: .7em; padding: .42em 0 .42em 1em; margin-left: -2px; border-left: 2px solid transparent;
  color: #6b7480; text-decoration: none; font-size: 15px; line-height: 1.35; transition: color .2s, border-color .2s;
}
.ajr-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--ajr-display); font-weight: 700; color: #b5bcc6; }
.ajr-toc a:hover, .ajr-toc a.is-active { color: var(--ajr-navy); border-left-color: var(--ajr-red); }
.ajr-toc a.is-active::before, .ajr-toc a:hover::before { color: var(--ajr-red); }
.ajr-legal-body { padding-top: 40px; max-width: 820px; }
.ajr-legal-lead { font-size: clamp(18px, 1.4vw, 21px); color: var(--ajr-navy); font-weight: 300; }
.ajr-legal-section { padding: 38px 0 18px; border-bottom: 1px solid #e6e8eb; scroll-margin-top: 24px; }
.ajr-legal-section:last-child { border-bottom: 0; }
.ajr-legal-section > h2 { display: flex; align-items: baseline; gap: .6em; margin: 0 0 .7em; font-family: var(--ajr-serif); font-weight: 400; color: var(--ajr-navy); font-size: clamp(26px, 2.3vw, 34px); line-height: 1.15; }
.ajr-legal-section > h2 .n { font-family: var(--ajr-display); font-weight: 700; color: var(--ajr-red); font-size: .62em; letter-spacing: .02em; }
.ajr-legal-section h3 { font-family: var(--ajr-serif); font-weight: 400; color: var(--ajr-navy); font-size: 22px; margin: 1.3em 0 .5em; }
.ajr-legal-section ul, .ajr-legal-section ol { margin: 0 0 1.1em; padding: 0; list-style: none; }
.ajr-legal-section li { position: relative; padding-left: 1.6em; margin-bottom: .55em; line-height: 1.6; }
.ajr-legal-section li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55em; height: .55em; background: var(--ajr-green); }
.ajr-legal-section li:nth-child(4n+2)::before { background: var(--ajr-red); }
.ajr-legal-section li:nth-child(4n+3)::before { background: var(--ajr-yellow); }
.ajr-legal-section li:nth-child(4n+4)::before { background: var(--ajr-navy); }
.ajr-legal-section a { word-break: break-word; }
.ajr-legal-section table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; }
.ajr-legal-section th, .ajr-legal-section td { padding: .7em .8em; border-bottom: 1px solid #e6e8eb; text-align: left; vertical-align: top; }
.ajr-legal-section th { background: var(--ajr-gray); color: var(--ajr-navy); font-weight: 500; }
.ajr-table-scroll { overflow-x: auto; }

.ajr-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 2px; margin: 6px 0 22px; padding: 0; background: #e6e8eb; border-left: 6px solid var(--ajr-green); }
.ajr-datos > div { background: var(--ajr-gray); padding: 16px 18px; }
.ajr-datos dt { margin: 0 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #8a93a0; font-weight: 400; }
.ajr-datos dd { margin: 0; color: var(--ajr-navy); font-weight: 400; word-break: break-word; }

.ajr-legal-links { margin-top: 44px; padding: 26px 28px; background: var(--ajr-navy); color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.ajr-legal-links strong { color: #fff; font-family: var(--ajr-serif); font-weight: 400; font-size: 22px; margin-right: auto; }
.ajr-legal-links a { color: #fff; text-decoration: none; border-bottom: 2px solid var(--ajr-yellow); padding-bottom: 2px; font-weight: 400; }
.ajr-legal-links a:hover { color: var(--ajr-yellow); }

/* Botones */
.ajr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .8em 1.5em;
  font: 500 15px/1.2 var(--ajr-sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 2px solid var(--ajr-navy); background: transparent; color: var(--ajr-navy); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s; border-radius: 0;
}
.ajr-btn:hover, .ajr-btn:focus-visible { background: var(--ajr-navy); color: #fff; outline: none; }
.ajr-btn:active { transform: translateY(1px); }
.ajr-btn.is-primary { background: var(--ajr-red); border-color: var(--ajr-red); color: #fff; }
.ajr-btn.is-primary:hover, .ajr-btn.is-primary:focus-visible { background: #d8003c; border-color: #d8003c; }
.ajr-btn.is-dark { background: var(--ajr-navy); color: #fff; }
.ajr-btn.is-dark:hover, .ajr-btn.is-dark:focus-visible { background: #243850; border-color: #243850; }

/* Personalizar cookies */
.ajr-cookie-panel { padding-top: 40px; max-width: 900px; }
.ajr-status { display: flex; align-items: center; gap: 12px; padding: 16px 20px; margin: 0 0 30px; background: var(--ajr-gray); color: var(--ajr-navy); font-weight: 400; }
.ajr-status::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: #b5bcc6; }
.ajr-status[data-state="on"]::before { background: var(--ajr-green); }
.ajr-option { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 28px; align-items: start; padding: 26px 28px; margin-bottom: 16px; background: #fff; border: 2px solid #e6e8eb; border-left: 8px solid var(--ajr-green); }
.ajr-option.c-red { border-left-color: var(--ajr-red); }
.ajr-option.c-yellow { border-left-color: var(--ajr-yellow); }
.ajr-option h2 { margin: 0 0 .35em; font-family: var(--ajr-serif); font-weight: 400; color: var(--ajr-navy); font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.ajr-option p { margin: 0; font-size: 16px; }
.ajr-option .ajr-tag { display: inline-block; margin-top: 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8a93a0; }
.ajr-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--ajr-navy); font-weight: 400; user-select: none; }
.ajr-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ajr-switch .track { position: relative; width: 58px; height: 32px; border-radius: 32px; background: #c9ced6; transition: background .2s; flex: none; }
.ajr-switch .track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.ajr-switch input:checked + .track { background: var(--ajr-green); }
.ajr-switch input:checked + .track::after { transform: translateX(26px); }
.ajr-switch input:focus-visible + .track { outline: 3px solid var(--ajr-yellow); outline-offset: 2px; }
.ajr-switch input:disabled + .track { background: var(--ajr-navy); opacity: .55; cursor: not-allowed; }
.ajr-switch .lbl-on, .ajr-switch input:checked ~ .lbl-off { display: none; }
.ajr-switch input:checked ~ .lbl-on { display: inline; }
.ajr-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 10px; }
.ajr-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 9999; transform: translate(-50%, 140%);
  padding: 14px 22px; background: var(--ajr-navy); color: #fff; font: 400 16px/1.3 var(--ajr-sans);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); border-left: 6px solid var(--ajr-yellow);
  transition: transform .3s ease, opacity .3s ease, visibility .3s; pointer-events: none; max-width: calc(100% - 40px);
  opacity: 0; visibility: hidden;
}
.ajr-toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ================================================================ RESPONSIVE */
@media (max-width: 1024px) {
  .ajr-legal { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ajr-toc { position: static; padding-top: 28px; }
  .ajr-toc details { background: var(--ajr-gray); padding: 16px 20px; }
  .ajr-toc details > summary { cursor: pointer; margin: 0; display: flex; justify-content: space-between; align-items: center; }
  .ajr-toc details > summary::after { content: "+"; font-family: var(--ajr-display); font-size: 26px; color: var(--ajr-red); }
  .ajr-toc details[open] > summary::after { content: "–"; }
  .ajr-toc details[open] > summary { margin-bottom: 12px; }
  .ajr-legal-body { padding-top: 10px; }
}
@media (max-width: 767px) {
  .ajr-wrap { width: calc(100% - 36px); }
  .ajr-crumbs { padding-top: 74px; font-size: 12px; }
  .ajr-hero { padding: 30px 0 70px; }
  .ajr-hero::after { bottom: 24px; }
  .ajr-intro, .ajr-prose { grid-template-columns: minmax(0, 1fr); }
  .ajr-intro { padding: 34px 0 50px; }
  .ajr-card { padding: 28px 22px 26px; }
  .ajr-option { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .ajr-actions .ajr-btn { flex: 1 1 100%; }
  .ajr-legal-links { padding: 22px; }
  .ajr-legal-links strong { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ajr-page *, .elementor-64 .ajr-submenu, .elementor-64 .ajr-submenu a, .ajr-toast { transition: none !important; }
}

/* Cuadro decorativo de la cabecera en móvil: más pequeño y sin tapar el texto */
@media (max-width: 767px) {
  .ajr-hero::before { width: 46px; right: 0; top: -14px; }
}

/* ================================================================ 404 */
.ajr-404 { position: relative; padding: 96px 0 clamp(60px, 7vw, 110px); text-align: center; }
.ajr-page .ajr-404-code {
  position: relative; display: inline-flex; margin: 0; font-family: var(--ajr-display); font-weight: 700;
  font-size: clamp(150px, 27vw, 380px); line-height: .82; letter-spacing: -.02em; color: var(--ajr-navy);
}
.ajr-404-code span:nth-child(2) { color: var(--ajr-red); }
.ajr-404-code::before, .ajr-404-code::after { content: ""; position: absolute; z-index: -1; }
.ajr-404-code::before { width: 28%; aspect-ratio: 1; background: var(--ajr-yellow); right: -9%; top: -10%; }
.ajr-404-code::after { width: 46%; height: 18%; background: var(--ajr-green); left: -16%; bottom: 6%; }
.ajr-404 h1 { margin: 34px 0 12px; font-family: var(--ajr-serif); font-weight: 400; color: var(--ajr-red); font-size: clamp(30px, 3.6vw, 54px); line-height: 1.1; }
.ajr-404 .ajr-lead { max-width: 640px; margin: 0 auto 30px; font-size: clamp(17px, 1.35vw, 21px); }
.ajr-404 .ajr-actions { justify-content: center; margin: 0; }
.ajr-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.ajr-tiles a {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 150px;
  padding: 24px 24px 20px; color: #fff; text-decoration: none; background: var(--ajr-navy); transition: transform .2s, box-shadow .2s;
}
.ajr-tiles a strong { color: inherit; font-family: var(--ajr-serif); font-weight: 400; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.1; }
.ajr-tiles a span { font-size: 15px; opacity: .92; margin-top: 14px; }
.ajr-tiles a span::after { content: " ›"; font-weight: 500; }
.ajr-tiles a:hover, .ajr-tiles a:focus-visible { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(50, 74, 102, .25); outline: none; }
.ajr-tiles li:nth-child(6n+1) a { background: var(--ajr-red); }
.ajr-tiles li:nth-child(6n+2) a { background: var(--ajr-navy); }
.ajr-tiles li:nth-child(6n+3) a { background: var(--ajr-green); }
.ajr-tiles li:nth-child(6n+4) a { background: var(--ajr-yellow); color: var(--ajr-navy); }
.ajr-tiles li:nth-child(6n+5) a { background: var(--ajr-navy); }
.ajr-tiles li:nth-child(6n+6) a { background: var(--ajr-red); }
.ajr-404-more { padding: clamp(50px, 6vw, 90px) 0; }
.ajr-404-more h2 { margin: 0 0 26px; font-family: var(--ajr-serif); font-weight: 400; color: var(--ajr-navy); font-size: clamp(26px, 2.6vw, 38px); text-align: center; }
@media (max-width: 1024px) { .ajr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .ajr-tiles { grid-template-columns: minmax(0, 1fr); }
  .ajr-404 { padding-top: 80px; }
  .ajr-404 .ajr-actions .ajr-btn { flex: 1 1 100%; }
}
