/*
 * AdRank landing page — styles for the block-editor sections on the home page (The7 Classic, RTL Arabic).
 * Brand tokens below; layout uses logical properties so it mirrors correctly in RTL.
 */
:root {
	--ar-primary: #1467E8;
	--ar-accent: #129CF2;
	--ar-deep: #174EC0;
	--ar-navy: #14213D;
	--ar-light: #F7F9FC;
	--ar-text: #56627A;
	--ar-muted: #8A94A8;
	--ar-border: #E4EAF3;
	--ar-gradient: linear-gradient(135deg, #129CF2 0%, #1467E8 55%, #174EC0 100%);
	--ar-shadow: 0 18px 40px rgba(20, 33, 61, .08);
	--ar-radius: 18px;
}

html { scroll-behavior: smooth; overflow-x: clip; }
[id] { scroll-margin-top: 92px; }
body, button, input, select, textarea, .masthead, .footer { font-family: Rubik, sans-serif; }

/* Full-width sections break out of The7's content column (home page has no sidebar). */
.sidebar-none #content > .alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw) !important; margin-block: 0; }
#content > .alignfull + .alignfull { margin-top: 0; }
#content p, #content li { line-height: 1.9; }

/* ---------- Sections & headings ---------- */
.ar-section { padding: 96px 24px; background: #fff; }
.ar-section.is-light { background: var(--ar-light); }
.ar-heading { margin-bottom: 48px; }
.ar-heading.is-centered { max-width: 760px; margin-inline: auto; text-align: center; }
.ar-pill { display: inline-block; margin: 0 0 14px !important; padding: 6px 16px; border-radius: 999px; background: rgba(18, 156, 242, .1); color: var(--ar-primary) !important; font-size: 14px; font-weight: 500; line-height: 1.6 !important; }
.ar-pill.is-on-dark, .is-dark .ar-pill { background: rgba(255, 255, 255, .12); color: #fff !important; }
/* Section titles: sizes come from The7's H2 typography (48px / 40px tablet / 31px mobile), weight 800. */
.ar-title { margin-bottom: 16px !important; font-weight: 800 !important; text-wrap: balance; }
.ar-intro { font-size: 18px; color: var(--ar-text); margin: 0; }
.ar-section-cta { margin-top: 44px; }

/* ---------- Buttons ---------- */
.wp-block-button__link { border-radius: 12px; padding: 15px 30px; font-family: Rubik, sans-serif; font-size: 16px; font-weight: 500; line-height: 1.5; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.ar-btn-primary .wp-block-button__link, .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--ar-primary); color: #fff; box-shadow: 0 10px 24px rgba(20, 103, 232, .25); }
.ar-btn-primary .wp-block-button__link:hover, .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--ar-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(20, 103, 232, .32); }
.wp-block-button.is-style-outline .wp-block-button__link { background: #fff; color: var(--ar-navy); border: 2px solid var(--ar-border); box-shadow: none; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--ar-primary); color: var(--ar-primary); transform: translateY(-2px); }
.ar-btn-light .wp-block-button__link { background: #fff !important; color: var(--ar-navy) !important; box-shadow: none !important; }
.ar-btn-light .wp-block-button__link:hover { background: var(--ar-accent) !important; color: #fff !important; }

/* ---------- Checklists ---------- */
#content ul.ss-checklist { list-style: none; margin: 0; padding: 0; }
#content ul.ss-checklist > li { list-style: none; position: relative; padding-inline-start: 30px; margin-bottom: 10px; }
.ss-checklist li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 20px; height: 20px; border-radius: 50%; background: rgba(18, 156, 242, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231467E8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Icons & cards ---------- */
.ar-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(18, 156, 242, .1); color: var(--ar-primary); margin-bottom: 18px; transition: background .25s ease, color .25s ease; }
.ar-icon svg { width: 26px; height: 26px; }
.ar-why-item h3 { margin: 0 0 8px; font-size: 21px; font-weight: 700; line-height: 1.55; }
.ar-why-item p { margin: 0; font-size: 15.5px; color: var(--ar-text); }
.ar-grid { gap: 24px; }

/* ---------- Hero: the pitch beside the lead form ---------- */
.ar-hero, .ar-thanks { padding: 64px 24px 88px; background:
	radial-gradient(800px 480px at 12% 10%, rgba(18, 156, 242, .14), transparent 60%),
	radial-gradient(700px 520px at 90% 90%, rgba(20, 103, 232, .08), transparent 60%),
	linear-gradient(180deg, #fff 0%, var(--ar-light) 100%); border-bottom: 1px solid var(--ar-border); }
.ar-hero-cols { gap: 48px; }
/* The headline is a full sentence (about 20 words), so it is set smaller than a short slogan would be. */
.ar-hero-title { font-size: clamp(28px, 3vw, 44px) !important; font-weight: 800 !important; line-height: 1.45 !important; margin: 4px 0 18px; color: var(--ar-navy); text-wrap: balance; }
.ar-grad-text { background: var(--ar-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ar-hero-ctas { margin: 30px 0 0; gap: 12px; }

/* The form card floats on a soft brand glow (drawn by the column, so it sits behind the white card). */
.ar-hero-form { position: relative; isolation: isolate; }
.ar-hero-form::before { content: ""; position: absolute; z-index: -1; inset: 12% 8% -2%; border-radius: 40px; background: var(--ar-gradient); filter: blur(56px); opacity: .22; pointer-events: none; }
.ar-hero .ar-form-card { padding: 34px 28px 30px; border: 1px solid var(--ar-border); box-shadow: 0 30px 70px rgba(20, 33, 61, .12); }
.ar-hero .ar-form-title { margin-bottom: 6px !important; }
.ar-form-lead { margin: 0 0 22px !important; color: var(--ar-text); font-size: 15.5px; line-height: 1.75 !important; }

/* ---------- Services: the two core services as large typographic rows ---------- */
/* The H2 is the "03. الخدمات" pill; each row pairs the English service name (H3) with its Arabic pitch.
   Rows are grid-layout Groups, so they have no inner container; adrank.js adds .is-pending for the fade-up.
   Row anchors must not look like ad slots: ad blockers (EasyList "###google-ads") hide any #google-ads on any
   site, which is why the Google Ads row is #ppc. */
.ar-services-head { margin-bottom: 40px; }
.ar-services-label { margin-bottom: 0 !important; }
.ar-services-num { font-weight: 800; font-variant-numeric: tabular-nums; }
/* Under the label: who AdRank is, then three points side by side. */
.ar-services-intro { max-width: 760px; margin: 24px 0 0 !important; font-size: 19px; color: var(--ar-text); }
#content ul.ar-services-points { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 22px 0 0; }
#content ul.ar-services-points > li { margin: 0; font-size: 16px; font-weight: 500; color: var(--ar-navy); }
.ar-services .ar-service { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 72px; align-items: baseline; padding: 64px 0; border-top: 1px solid var(--ar-border); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.ar-services .ar-service:last-child { padding-bottom: 0; }
.ar-service::before { content: ""; position: absolute; top: -1px; inset-inline: 0; height: 2px; background: var(--ar-gradient); transform: scaleX(0); transform-origin: right; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.ar-service:dir(ltr)::before { transform-origin: left; }
.ar-service-name { margin: 0 !important; font-size: clamp(44px, 5.4vw, 78px) !important; font-weight: 800 !important; line-height: 1.1 !important; letter-spacing: -.02em; }
/* Navy text over the brand gradient: on hover the colour fades out and the gradient shows through. */
.ar-service-name span { white-space: nowrap; background: var(--ar-gradient); -webkit-background-clip: text; background-clip: text; color: var(--ar-navy); transition: color .5s ease; }
.ar-service-title { margin: 0 0 12px !important; color: var(--ar-navy) !important; font-size: clamp(23px, 2.3vw, 32px); font-weight: 800; line-height: 1.5 !important; text-wrap: balance; }
.ar-service-text { max-width: 620px; margin: 0 !important; font-size: 18px; line-height: 1.95 !important; color: var(--ar-text); }
.ar-service.is-pending { opacity: 0; transform: translateY(28px); }
@media (hover: hover) {
	.ar-service:hover::before { transform: scaleX(1); }
	.ar-service:hover .ar-service-name span { color: transparent; }
}

/* ---------- Why AdRank (dark) ---------- */
.ar-section.is-dark { background: radial-gradient(700px 400px at 90% 0%, rgba(18, 156, 242, .18), transparent 60%), var(--ar-navy); }
.is-dark h2, .is-dark h3 { color: #fff !important; }
.is-dark .ar-intro, .is-dark p { color: rgba(255, 255, 255, .72); }
.ar-why-cols { gap: 56px; }
.ar-why-intro .ar-heading { margin-bottom: 28px; }
.ar-why-item { height: 100%; padding: 24px; border-radius: var(--ar-radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: background .25s ease, transform .25s ease; }
.ar-why-item:hover { background: rgba(255, 255, 255, .07); transform: translateY(-3px); }
.ar-why-item .ar-icon { background: rgba(18, 156, 242, .16); color: #6cc6ff; width: 46px; height: 46px; margin-bottom: 14px; }

/* ---------- Package: one flagship package ("Ranking") ---------- */
/* One card whose items are placed with grid areas: on desktop a navy panel (name, price, CTA) sits beside the
   features; on tablets and phones the panel heads the card and the CTA follows the features. The navy panel
   is the card's own ::before, so it can span rows whichever layout is active. */
.ar-pricing .ar-pkg { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr auto; grid-template-areas: "head features" "price features" "action features"; gap: 0; overflow: hidden; border: 1px solid var(--ar-border); border-radius: 32px; background: #fff; box-shadow: 0 30px 70px rgba(20, 33, 61, .09); transition: transform .35s ease, box-shadow .35s ease;
	--ar-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 18l-6-6 6-6'/%3E%3C/svg%3E"); }
.ar-pkg::before { content: ""; grid-area: 1 / 1 / -1 / 2; background:
	radial-gradient(440px 320px at 100% 0%, rgba(18, 156, 242, .32), transparent 65%),
	radial-gradient(380px 300px at 0% 100%, rgba(20, 103, 232, .28), transparent 65%),
	var(--ar-navy); }
.ar-pkg:hover { transform: translateY(-4px); box-shadow: 0 40px 90px rgba(20, 33, 61, .13); }

.ar-pkg-head { grid-area: head; align-items: center !important; gap: 16px !important; padding: 52px 52px 0; }
.ar-pkg-head .ar-icon { flex: none; margin: 0; background: rgba(18, 156, 242, .16); color: #6cc6ff; }
.ar-pkg-name { margin: 0 !important; color: #fff !important; font-size: 52px !important; font-weight: 800 !important; line-height: 1.15 !important; letter-spacing: -.02em; }

.ar-pkg-prices { grid-area: price; align-self: center; padding: 28px 52px; }
.ar-pkg-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 !important; color: #fff; line-height: 1.1 !important; }
.ar-pkg-amount { font-size: clamp(64px, 6.4vw, 88px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ar-pkg-currency { font-size: 28px; font-weight: 700; }
.ar-pkg-period { font-size: 18px; color: rgba(255, 255, 255, .72); }
/* 3 months: the monthly equivalent and the saving under the price. */
.ar-pkg-equiv { display: flex; flex: 1 0 100%; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 1.6; }
.ar-pkg-save { padding: 1px 10px; border-radius: 999px; background: rgba(61, 220, 132, .14); color: #6EE7A8; font-size: 14.5px; font-weight: 700; }

/* Duration switch above the card: "1 month" / "3 months" radios drawn as a pill, with a gradient thumb sliding under
   the checked one. The page holds both prices (.is-monthly / .is-quarterly) and the checked radio shows its own with
   :has(), so it works without JS. Scoped to #content so the block editor shows both prices for editing. */
.ar-term { position: relative; box-sizing: border-box; display: grid; grid-template-columns: 1fr 1fr; width: max-content; margin-top: -16px; margin-bottom: 36px; padding: 6px; border: 1px solid var(--ar-border); border-radius: 999px; background: #fff; box-shadow: 0 10px 30px rgba(20, 33, 61, .06); }
.ar-term::before { content: ""; position: absolute; inset-block: 6px; inset-inline-start: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--ar-gradient); box-shadow: 0 8px 20px rgba(20, 103, 232, .3); transition: inset-inline-start .35s cubic-bezier(.2, .7, .2, 1); }
.ar-term:has([value="quarterly"]:checked)::before { inset-inline-start: 50%; }
.ar-term-opt { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin: 0; padding: 0 24px; border-radius: 999px; color: var(--ar-navy); font-size: 16px; font-weight: 500; line-height: 1.4; white-space: nowrap; cursor: pointer; transition: color .25s ease; }
.ar-term-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ar-term-opt:has(:checked) { color: #fff; }
.ar-term-opt:has(:focus-visible) { outline: 3px solid var(--ar-accent); outline-offset: 2px; }
.ar-term-save { padding: 1px 9px; border-radius: 999px; background: rgba(16, 185, 129, .12); color: #047857; font-size: 13px; font-weight: 700; transition: background-color .25s ease, color .25s ease; }
.ar-term-opt:has(:checked) .ar-term-save { background: rgba(255, 255, 255, .2); color: #fff; }
#content .ar-pricing:has(.ar-term [value="quarterly"]:checked) .is-monthly,
#content .ar-pricing:not(:has(.ar-term [value="quarterly"]:checked)) .is-quarterly { display: none; }
.ar-pkg-price, .ar-pkg-recap { animation: ar-price-in .35s ease; }
@keyframes ar-price-in { from { opacity: 0; transform: translateY(6px); } }
@supports not selector(:has(*)) { /* older browsers get the monthly price only */
	.ar-term, #content .ar-pricing .is-quarterly { display: none; }
}

/* Features: title + one line each; Google Ads and SEO (the core services) get a tinted tile and a solid check. */
:is(#content, .editor-styles-wrapper) ul.ar-pkg-features { grid-area: features; align-self: center; display: grid; gap: 14px; margin: 0; padding: 52px 48px; }
:is(#content, .editor-styles-wrapper) ul.ar-pkg-features > li { position: relative; list-style: none; margin: 0; padding: 18px 22px; padding-inline-start: 64px; border: 1px solid transparent; border-radius: 18px; color: var(--ar-text); font-size: 15.5px; line-height: 1.8; transition: border-color .25s ease, background-color .25s ease; }
.ar-pkg-features li strong { display: block; margin-bottom: 2px; color: var(--ar-navy); font-size: 17.5px; font-weight: 700; }
.ar-pkg-features li::before { top: 20px; inset-inline-start: 22px; width: 28px; height: 28px; background: rgba(18, 156, 242, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231467E8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
:is(#content, .editor-styles-wrapper) ul.ar-pkg-features > li:not(.is-core) { padding-block: 8px; }
.ar-pkg-features li:not(.is-core)::before { top: 10px; }
:is(#content, .editor-styles-wrapper) ul.ar-pkg-features > li.is-core { border-color: rgba(20, 103, 232, .14); background: linear-gradient(135deg, rgba(18, 156, 242, .08), rgba(20, 103, 232, .03)); }
:is(#content, .editor-styles-wrapper) ul.ar-pkg-features > li.is-core:hover { border-color: rgba(20, 103, 232, .34); }
.ar-pkg-features li.is-core strong { font-size: 19px; }
.ar-pkg-features li.is-core::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat, var(--ar-gradient); box-shadow: 0 6px 14px rgba(20, 103, 232, .3); }

/* CTA: full-width pill with an arrow that nudges forward on hover. The price recap shows where the CTA sits under the features. */
.ar-pkg-action { grid-area: action; padding: 0 52px 52px; }
.ar-pkg-recap { display: none; }
.ar-pkg-cta .wp-block-button { width: 100%; }
.ar-pkg-cta .wp-block-button .wp-block-button__link { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 62px; border-radius: 999px !important; font: 700 18px/1.5 Rubik, sans-serif; text-align: center; }
.ar-pkg-cta .wp-block-button .wp-block-button__link:hover { opacity: 1; } /* The7 fades every block button to .7 on hover */
.ar-pkg-cta .wp-block-button .wp-block-button__link:focus-visible { outline: 3px solid var(--ar-accent); outline-offset: 3px; }
@media (min-width: 1025px) { /* on the navy panel */
	.ar-pkg-cta .wp-block-button .wp-block-button__link:hover, .ar-pkg-cta .wp-block-button .wp-block-button__link:focus-visible { background: #fff; color: var(--ar-navy); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
}
.ar-pkg-cta .wp-block-button__link::after { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--ar-arrow) center / contain no-repeat; mask: var(--ar-arrow) center / contain no-repeat; transition: transform .25s ease; }
.ar-pkg-cta .wp-block-button__link:hover::after, .ar-pkg-cta .wp-block-button__link:focus-visible::after { transform: translateX(-4px); }
.ar-pkg-cta .wp-block-button__link:dir(ltr)::after { scale: -1 1; }
.ar-pkg-note { margin-top: 28px !important; font-size: 14.5px; color: var(--ar-muted) !important; }

/* ---------- Results: client screenshots, one section per channel ---------- */
/* Google Ads results (#ads-results) sit on navy (.is-dark), SEO results (#seo-results) on white; the colour variables
   below are the only difference. adrank.js adds the full-size lightbox and the scorecard count-up; without it images open as files. */
.ar-section.ar-proof { background: radial-gradient(900px 420px at 50% -8%, rgba(18, 156, 242, .08), transparent 62%), #fff; }
.ar-section.ar-proof.is-dark { background:
	radial-gradient(900px 460px at 50% -6%, rgba(20, 103, 232, .3), transparent 62%),
	radial-gradient(560px 420px at 100% 100%, rgba(18, 156, 242, .1), transparent 60%),
	var(--ar-navy); }
.ar-proof { --ar-glass: var(--ar-light); --ar-glass-line: var(--ar-border); --ar-ink: var(--ar-navy); --ar-ink-soft: var(--ar-text); --ar-ink-faint: var(--ar-text); --ar-up: #047857; --ar-up-bg: rgba(16, 185, 129, .12); --ar-focus: var(--ar-primary);
	--ar-zoom-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.35-4.35M11 8v6M8 11h6'/%3E%3C/svg%3E"); }
.ar-proof.is-dark { --ar-glass: rgba(255, 255, 255, .045); --ar-glass-line: rgba(255, 255, 255, .1); --ar-ink: #fff; --ar-ink-soft: rgba(255, 255, 255, .78); --ar-ink-faint: rgba(255, 255, 255, .62); --ar-up: #6EE7A8; --ar-up-bg: rgba(61, 220, 132, .14); --ar-focus: #7CC8FF; }

/* Scorecard: echoes the Google Ads metric tiles; the first tile is "selected" in the brand gradient. */
.ar-scorecard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 56px; padding: 0; border: 1px solid var(--ar-glass-line); border-radius: 22px; background: var(--ar-glass); overflow: hidden; }
.ar-score { display: flex; flex-direction: column; gap: 4px; padding: 24px 26px 26px; border-inline-start: 1px solid var(--ar-glass-line); }
.ar-score:first-child { border-inline-start: 0; }
.ar-score.is-selected { background: var(--ar-gradient); }
.ar-score dt, .ar-score dd { margin: 0; padding: 0; }
.ar-score dt { color: var(--ar-ink-soft); font-size: 15px; font-weight: 500; line-height: 1.6; }
.ar-score-value { color: var(--ar-ink); font-size: clamp(34px, 3.2vw, 46px); font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ar-score-note { color: var(--ar-ink-faint); font-size: 14px; line-height: 1.65; }
.ar-score.is-selected dt, .ar-score.is-selected .ar-score-note { color: rgba(255, 255, 255, .9); }
.ar-score.is-selected .ar-score-value { color: #fff; }

/* Screenshot groups: in the Google Ads section, the campaign dashboards and then the account totals. */
.ar-proof .ar-proof-subtitle { display: flex; align-items: center; gap: 16px; margin: 0 0 20px !important; color: var(--ar-ink) !important; font-size: 17px !important; font-weight: 700 !important; line-height: 1.6 !important; }
.ar-proof .ar-proof-subtitle::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--ar-glass-line); }
.ar-proof .ar-shots + .ar-proof-subtitle { margin-top: 48px !important; }

/* Screenshot cards: a fixed crop keeps rows even; the lightbox shows the whole image. */
.ar-proof .ar-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; }
.ar-proof .ar-shots.is-seo { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ar-proof .ar-shot { display: flex; flex-direction: column; margin: 0 !important; padding: 10px; border: 1px solid var(--ar-glass-line); border-radius: 20px; background: var(--ar-glass); }
.ar-proof .ar-shot > a { position: relative; display: block; overflow: hidden; border-radius: 12px; background: #fff; cursor: zoom-in; }
.ar-proof:not(.is-dark) .ar-shot > a { box-shadow: 0 0 0 1px var(--ar-border); } /* edges for white screenshots on the light card */
.ar-proof .ar-shot img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center top; transform: scale(var(--ar-zoom, 1)); transform-origin: var(--ar-zoom-origin, 50% 50%); transition: transform .4s ease; }
.ar-proof .ar-shot.is-pos-bottom img { object-position: center bottom; }
.ar-proof .ar-shot.is-pos-right img { object-position: right top; }
.ar-proof .ar-shot.is-zoom-card { --ar-zoom: 1.4; --ar-zoom-origin: 100% 96%; } /* full Search Console screen → its site card */
/* Account totals are wide strips: show the metric tiles large and fade out where the chart is cut. */
.ar-proof .ar-shots.is-accounts .ar-shot img { aspect-ratio: 3 / 1; object-position: left center; -webkit-mask-image: linear-gradient(to left, transparent, #000 22%); mask-image: linear-gradient(to left, transparent, #000 22%); }
.ar-proof .ar-shot > a::after { content: ""; position: absolute; inset: 0; width: 52px; height: 52px; margin: auto; border-radius: 50%; background: rgba(20, 33, 61, .8) var(--ar-zoom-icon) center / 22px no-repeat; box-shadow: 0 10px 24px rgba(10, 20, 45, .35); opacity: 0; transform: scale(.8); transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.ar-proof .ar-shot > a:hover::after, .ar-proof .ar-shot > a:focus-visible::after { opacity: 1; transform: none; }
.ar-proof .ar-shot > a:hover img, .ar-proof .ar-shot > a:focus-visible img { transform: scale(calc(var(--ar-zoom, 1) * 1.03)); }
.ar-proof .ar-shot > a:focus-visible { outline: 3px solid var(--ar-focus); outline-offset: 3px; }
.ar-proof .ar-shot figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 !important; padding: 14px 6px 6px; color: var(--ar-ink-faint); font-size: 14.5px; line-height: 1.6; text-align: start; }
.ar-proof .ar-shot figcaption strong { flex: 1 0 100%; color: var(--ar-ink); font-size: 16.5px; font-weight: 700; line-height: 1.55; }
/* The lightbox lives outside the sections, so its caption takes the fallbacks (the dark colours). */
.ar-proof .ar-shot figcaption em, .ar-lightbox__caption em { direction: ltr; unicode-bidi: isolate; padding: 1px 10px; border-radius: 999px; background: var(--ar-up-bg, rgba(61, 220, 132, .14)); color: var(--ar-up, #6EE7A8); font-size: 14.5px; font-style: normal; font-weight: 700; line-height: 1.7; }
.ar-proof .ar-section-cta { margin-top: 52px; }
.ar-proof .ar-proof-note { margin: 16px 0 0 !important; color: var(--ar-ink-faint) !important; font-size: 14px; }
@media (hover: none) {
	.ar-proof .ar-shot > a::after { inset: auto; bottom: 10px; inset-inline-end: 10px; width: 36px; height: 36px; margin: 0; background-size: 17px; opacity: 1; transform: none; }
}
@media (max-width: 1024px) {
	.ar-scorecard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ar-score:nth-child(odd) { border-inline-start: 0; }
	.ar-score:nth-child(n+3) { border-top: 1px solid var(--ar-glass-line); }
	.ar-proof .ar-shots.is-seo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ar-proof .ar-shots.is-accounts .ar-shot img { aspect-ratio: 2.4 / 1; }
}
/* Phones: each group becomes a swipeable row (the next card peeks in) instead of a long stack. */
@media (max-width: 781px) {
	.ar-scorecard { margin-bottom: 40px; border-radius: 18px; }
	.ar-score { padding: 18px 16px 20px; }
	.ar-score dt { font-size: 13.5px; line-height: 1.55; }
	.ar-score-value { font-size: 30px; }
	.ar-score-note { font-size: 12.5px; line-height: 1.6; }
	.ar-proof .ar-proof-subtitle { font-size: 15.5px !important; }
	.ar-proof .ar-shots + .ar-proof-subtitle { margin-top: 32px !important; }
	.ar-proof .ar-shots, .ar-proof .ar-shots.is-seo { display: flex; gap: 12px; margin-inline: -18px; padding: 2px 18px 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; scrollbar-width: none; }
	.ar-proof .ar-shots::-webkit-scrollbar { display: none; }
	.ar-proof .ar-shot { flex: 0 0 86%; padding: 8px; border-radius: 18px; scroll-snap-align: start; }
	.ar-proof .ar-shots.is-accounts .ar-shot img { aspect-ratio: 2.2 / 1; }
	.ar-proof .ar-shot figcaption { padding: 12px 4px 4px; font-size: 13.5px; }
	.ar-proof .ar-shot figcaption strong { font-size: 15.5px; }
	.ar-proof .ar-shot figcaption em { font-size: 13.5px; }
	.ar-proof .ar-section-cta { margin-top: 36px; }
}

/* ---------- Screenshot lightbox (built by adrank.js, appended to <body>) ---------- */
html.ar-lightbox-open { overflow: hidden; }
.ar-lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; font-family: Rubik, sans-serif; overflow: hidden; }
.ar-lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.ar-lightbox::backdrop { background: rgba(9, 16, 33, .95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ar-lightbox [hidden] { display: none !important; }
.ar-lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.ar-lightbox__count { color: rgba(255, 255, 255, .75); font-size: 15px; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.ar-lightbox__stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 0; margin: 0; padding: 0 88px 28px; }
/* Fit the stage (width and height), never upscaling a small screenshot more than 1.6×; dvh where supported. */
.ar-lightbox__img { display: block; width: min(100%, calc(var(--ar-lb-w, 1000) * 1.6px), calc((100vh - 210px) * var(--ar-lb-ratio, 1.5))); width: min(100%, calc(var(--ar-lb-w, 1000) * 1.6px), calc((100dvh - 210px) * var(--ar-lb-ratio, 1.5))); height: auto; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); transition: opacity .18s ease; }
.ar-lightbox__img.is-loading { opacity: 0; }
.ar-lightbox__caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; max-width: 760px; margin: 0; color: rgba(255, 255, 255, .7); font-size: 15px; line-height: 1.6; text-align: center; }
.ar-lightbox__caption strong { flex: 1 0 100%; color: #fff; font-size: 17px; font-weight: 700; }
.ar-lightbox .ar-lightbox__btn { display: grid; place-items: center; width: 48px; height: 48px; margin: 0; padding: 0; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; background: rgba(255, 255, 255, .08); box-shadow: none; color: #fff; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.ar-lightbox .ar-lightbox__btn:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .3); }
.ar-lightbox .ar-lightbox__btn:focus-visible { outline: 2px solid #7CC8FF; outline-offset: 2px; }
.ar-lightbox__btn svg { width: 22px; height: 22px; }
.ar-lightbox .ar-lightbox__nav { position: absolute; top: 50%; margin-top: -24px; }
.ar-lightbox__nav.is-prev { inset-inline-start: 22px; }
.ar-lightbox__nav.is-next { inset-inline-end: 22px; }
.ar-lightbox[open] .ar-lightbox__stage { animation: ar-lightbox-in .25s ease-out; }
@keyframes ar-lightbox-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 781px) {
	.ar-lightbox__bar { padding: 12px 14px; }
	.ar-lightbox__stage { padding: 8px 14px 96px; }
	.ar-lightbox__img { width: min(100%, calc(var(--ar-lb-w, 1000) * 1.6px), calc((100vh - 230px) * var(--ar-lb-ratio, 1.5))); width: min(100%, calc(var(--ar-lb-w, 1000) * 1.6px), calc((100dvh - 230px) * var(--ar-lb-ratio, 1.5))); border-radius: 10px; }
	.ar-lightbox__caption { font-size: 14px; }
	.ar-lightbox__caption strong { font-size: 16px; }
	.ar-lightbox .ar-lightbox__nav { top: auto; bottom: 24px; margin-top: 0; }
}

/* ---------- FAQ ---------- */
/* Beats WordPress's generated container max-width; the gap goes on the classic-theme inner wrapper too. */
.ar-section .ar-faq { max-width: 860px; margin-inline: auto; }
.ar-faq, .ar-faq > .wp-block-group__inner-container { display: grid; gap: 14px; }
.ar-faq-item { margin: 0 !important; border: 1px solid var(--ar-border); border-radius: 16px; background: #fff; transition: box-shadow .2s ease, border-color .2s ease; }
.ar-faq-item[open] { border-color: rgba(20, 103, 232, .3); box-shadow: 0 12px 30px rgba(20, 33, 61, .06); }
.ar-faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 20px 24px; padding-inline-end: 60px; font-weight: 500; font-size: 17px; color: var(--ar-navy); line-height: 1.7; }
.ar-faq-item summary::-webkit-details-marker { display: none; }
.ar-faq-item summary::after { content: "+"; position: absolute; inset-inline-end: 22px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(18, 156, 242, .1); color: var(--ar-primary); font-size: 20px; line-height: 1; transition: transform .2s ease; }
.ar-faq-item[open] summary::after { content: "−"; }
.ar-faq-item > p { margin: 0 !important; padding: 0 24px 22px; color: var(--ar-text); }
.ar-faq-item summary:focus-visible { outline: 2px solid var(--ar-accent); outline-offset: 2px; border-radius: 16px; }

/* ---------- Final CTA + lead form (the form card is shared with the hero) ---------- */
.ar-final-cta { background: radial-gradient(600px 400px at 85% 15%, rgba(255, 255, 255, .16), transparent 60%), var(--ar-gradient); color: #fff; }
.ar-cta-cols { gap: 56px; }
.ar-cta-title { color: #fff !important; font-size: clamp(32px, 3.9vw, 50px) !important; font-weight: 800 !important; line-height: 1.4 !important; margin: 0 0 12px !important; }
.ar-cta-text { color: rgba(255, 255, 255, .88) !important; font-size: 18px; }
.ar-final-cta .ss-checklist li { color: #fff; }
.ar-final-cta .ss-checklist li::before { background-color: rgba(255, 255, 255, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
.ar-cta-contact { margin-top: 22px !important; font-size: 17px; }
.ar-cta-contact a { color: #fff !important; text-decoration: none; font-weight: 500; }
.ar-cta-contact a:hover { text-decoration: underline; }
.ar-form-card { padding: 36px 34px; border-radius: 24px; background: #fff; box-shadow: 0 30px 70px rgba(10, 30, 80, .25); }
.ar-form-title { margin: 0 0 20px !important; font-size: 24px !important; font-weight: 800 !important; line-height: 1.45 !important; color: var(--ar-navy) !important; }
.ar-form-card .wpcf7-form > .wpcf7-submit, .ar-form-card .wpcf7-form > input[type=submit] { margin-top: 4px; }
.ar-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.ar-field { margin: 0 0 16px; }
.ar-form-card .ar-field > label { display: block; margin: 0 0 7px; font-size: 14.5px; font-weight: 500; line-height: 1.6; color: var(--ar-navy); cursor: pointer; }
.ar-form-card .wpcf7-form-control-wrap { display: block; }
.ar-form-card input:not([type=submit]), .ar-form-card select, .ar-form-card textarea { width: 100%; min-height: 50px; padding: 11px 16px; border: 1px solid var(--ar-border); border-radius: 12px; background: var(--ar-light); color: var(--ar-navy); font: 400 15.5px/1.5 Rubik, sans-serif; text-align: start; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.ar-form-card textarea { min-height: 100px; resize: vertical; }
.ar-form-card input:focus, .ar-form-card select:focus, .ar-form-card textarea:focus { outline: none; border-color: var(--ar-primary); background: #fff; box-shadow: 0 0 0 4px rgba(20, 103, 232, .12); }
.ar-form-card ::placeholder { color: #A3ACBD; opacity: 1; }
/* Phone numbers and emails are typed left-to-right but sit on the right edge like the other fields. */
.ar-form-card input[type=tel], .ar-form-card input[type=email] { direction: ltr; text-align: right; }

.ar-form-card .wpcf7-form .wpcf7-submit { width: 100%; min-height: 56px; border: 0; border-radius: 12px !important; background: var(--ar-gradient) !important; color: #fff !important; font: 500 17px/1 Rubik, sans-serif !important; cursor: pointer; box-shadow: 0 12px 26px rgba(20, 103, 232, .3); transition: transform .2s ease, box-shadow .2s ease; }
.ar-form-card .wpcf7-form .wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(20, 103, 232, .38); }
.ar-form-card .wpcf7-spinner { position: absolute; }
.ar-form-card .wpcf7-response-output { margin: 12px 0 0 !important; border-radius: 12px; font-size: 14.5px; }
.ar-form-card .wpcf7-not-valid-tip { font-size: 13px; }

/* ---------- Thank-you page (/thank-you/, where a sent lead form leads): one card on the hero background ---------- */
/* The card sits on the same soft brand glow as the hero form card (drawn behind it, inside the isolated section). */
.ar-thanks { position: relative; isolation: isolate; padding-block: 72px 96px; }
.ar-thanks-card { position: relative; max-width: 680px; margin-inline: auto; padding: 48px 40px 40px; border: 1px solid var(--ar-border); border-radius: 24px; background: #fff; box-shadow: 0 30px 70px rgba(20, 33, 61, .12); text-align: center; }
.ar-thanks-card::before { content: ""; position: absolute; z-index: -1; inset: 14% 6% -4%; border-radius: 40px; background: var(--ar-gradient); filter: blur(56px); opacity: .2; pointer-events: none; }
.ar-thanks-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 18px; border-radius: 50%; background: var(--ar-gradient); color: #fff; box-shadow: 0 14px 30px rgba(20, 103, 232, .3); }
.ar-thanks-icon svg { width: 38px; height: 38px; }
.ar-thanks-card .ar-pill { display: table; margin-inline: auto !important; }
.ar-thanks-title { margin: 0 0 12px !important; font-size: clamp(28px, 3.2vw, 40px) !important; font-weight: 800 !important; line-height: 1.4 !important; color: var(--ar-navy); text-wrap: balance; }
.ar-thanks-text { max-width: 540px; margin: 0 auto 24px !important; color: var(--ar-text); font-size: 17px; text-wrap: pretty; }
/* The steps keep their checks on the start edge, so the list is centred as a block and its lines start-aligned. */
#content ul.ar-thanks-steps { width: fit-content; max-width: 100%; margin: 0 auto 30px; text-align: start; color: var(--ar-navy); }
.wp-block-buttons.ar-thanks-ctas { justify-content: center; gap: 12px; }
@media (max-width: 781px) {
	.ar-thanks { padding: 40px 16px 72px; }
	.ar-thanks-card { padding: 36px 22px 28px; }
	.ar-thanks-ctas, .ar-thanks-ctas .wp-block-button, .ar-thanks-ctas .wp-block-button__link { width: 100%; }
}

/* ---------- Footer (The7 widgets; text sizes come from The7's widget typography: 20px titles, 16px text) ---------- */
.footer { border-top: 1px solid var(--ar-border); }
.ar-footer-logo { display: block; width: 210px; max-width: 100%; height: auto; margin-bottom: 16px; }
#footer .widget-title { margin-bottom: 18px; color: var(--ar-navy); }
#footer .textwidget p { margin: 0; }
#footer ul.ar-footer-links, #footer .widget_nav_menu ul.menu { margin: 0; padding: 0; list-style: none; }
#footer ul.ar-footer-links > li, #footer .widget_nav_menu ul.menu > li { margin: 0 0 10px; padding: 0; border: 0; list-style: none; }
#footer ul.ar-footer-links > li::before, #footer .widget_nav_menu ul.menu > li::before { content: none; }
/* Every footer link points into the one page, so WordPress marks them all "current": keep them one colour. */
#footer .widget a, #footer .widget_nav_menu .menu li > a { color: var(--ar-text); font-size: 16px; text-decoration: none; transition: color .2s ease; }
#footer .widget a:hover, #footer .widget_nav_menu .menu li > a:hover { color: var(--ar-primary); }
#footer .widget a.ar-footer-cta { color: var(--ar-primary); font-weight: 700; }
#bottom-bar { font-size: 15px; }

/* ---------- WhatsApp button (printed on every page by adrank-landing.php) ---------- */
/* Fixed at the bottom corner on the end side (left in RTL), clear of The7's scroll-to-top button (bottom right,
   z-index 109) and under its mobile menu (9601+). Desktop: a white pill with the label; phones: the round icon. */
a.ar-wa { position: fixed; z-index: 200; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); inset-inline-end: 24px; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 7px; padding-inline-end: 20px; border: 1px solid var(--ar-border); border-radius: 999px; background: #fff; box-shadow: 0 18px 40px rgba(20, 33, 61, .16); color: var(--ar-navy); font: 500 15.5px/1.4 Rubik, sans-serif; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; animation: ar-wa-in .5s cubic-bezier(.2, .7, .2, 1) .6s both; }
a.ar-wa:hover { transform: translateY(-2px); border-color: rgba(37, 211, 102, .5); box-shadow: 0 22px 48px rgba(20, 33, 61, .2); color: var(--ar-navy); }
a.ar-wa:focus-visible { outline: 3px solid var(--ar-accent); outline-offset: 3px; }
.ar-wa-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #25D366; color: #fff; }
.ar-wa-icon svg { width: 23px; height: 23px; }
@keyframes ar-wa-in { from { opacity: 0; transform: translateY(16px) scale(.92); } }
@media (max-width: 781px) {
	a.ar-wa { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); inset-inline-end: 16px; min-height: 0; padding: 0; border: 0; background: #25D366; box-shadow: 0 12px 28px rgba(18, 140, 64, .35); }
	.ar-wa-icon { width: 56px; height: 56px; }
	.ar-wa-icon svg { width: 30px; height: 30px; }
	.ar-wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* kept for screen readers */
}

/* ---------- Header menu: active state managed by adrank.js for in-page anchors ---------- */
.masthead .main-nav > li.ar-anchor > a, .masthead .microwidget-btn { white-space: nowrap; }
/* Small laptops: the logo lockup, six menu items and the CTA must share one row. */
@media (min-width: 993px) and (max-width: 1200px) {
	.masthead .branding img { height: 40px; width: auto; }
	.masthead .main-nav > li > a { margin-inline: 8px; }
	.masthead .microwidget-btn { padding-inline: 16px; }
}
@media (min-width: 993px) and (max-width: 1100px) {
	.masthead .main-nav > li > a { margin-inline: 5px; }
	.masthead .main-nav > li > a .menu-text { font-size: 15px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.ar-hero-cols, .ar-why-cols, .ar-cta-cols { gap: 36px; }
}
/* Below 1200px the hero form drops under the headline, so neither has to squeeze into half the width. */
@media (max-width: 1199px) {
	.wp-block-columns.ar-hero-cols { flex-wrap: wrap !important; }
	.ar-hero-cols > .wp-block-column { flex-basis: 100% !important; }
	.ar-hero-form { max-width: 680px; }
}
/* Tablets: the package card stacks (navy head with name and price, then features, then the CTA with a price recap). */
@media (max-width: 1024px) {
	.ar-services .ar-service { gap: 16px 44px; padding: 52px 0; }

	.ar-pricing .ar-pkg { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "price" "features" "action"; max-width: 640px; }
	.ar-pkg::before { grid-area: 1 / 1 / 3 / 2; }
	.ar-pkg-head { padding: 40px 40px 0; }
	.ar-pkg-prices { padding: 18px 40px 36px; }
	:is(#content, .editor-styles-wrapper) ul.ar-pkg-features { padding: 32px 28px 8px; }
	.ar-pkg-action { padding: 24px 28px 32px; }
	.ar-pkg-recap { display: block; margin: 0 0 14px !important; text-align: center; color: var(--ar-navy) !important; font-size: 16px; line-height: 1.6 !important; }
}
@media (max-width: 781px) {
	.ar-section { padding: 68px 18px; }
	.ar-hero { padding: 36px 18px 64px; }
	.ar-intro, .ar-cta-text, .ar-services-intro { font-size: 17px; }
	.ar-heading { margin-bottom: 34px; }
	.ar-form-card, .ar-hero .ar-form-card { padding: 26px 20px; }
	.ar-form-grid { grid-template-columns: minmax(0, 1fr); }
	.ar-faq-item summary { font-size: 16px; padding: 18px 18px; padding-inline-end: 54px; }

	/* Cards two per row */
	.ar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
	.ar-why-item { padding: 20px 16px; border-radius: 16px; }
	.ar-icon, .ar-why-item .ar-icon { width: 44px; height: 44px; border-radius: 12px; margin: 0 0 12px; }
	.ar-icon svg { width: 22px; height: 22px; }
	.ar-why-item h3 { margin: 0 0 6px !important; font-size: 16.5px !important; line-height: 1.55 !important; overflow-wrap: anywhere; }
	.ar-why-item p { font-size: 14px !important; line-height: 1.75 !important; }

	/* Services: one column, name above its pitch */
	.ar-services-head { margin-bottom: 24px; }
	#content ul.ar-services-points { display: grid; gap: 10px; }
	#content ul.ar-services-points > li { font-size: 15.5px; }
	.ar-services .ar-service { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 40px 0 44px; }
	.ar-service-title { margin-bottom: 8px !important; font-size: 22px; }
	.ar-service-text { font-size: 16.5px; line-height: 1.9 !important; }

	/* Package: compact so price, features and CTA read within about one screen */
	.ar-pricing .ar-pkg { border-radius: 24px; }
	.ar-pkg-head { gap: 12px !important; padding: 28px 22px 0; }
	.ar-pkg-name { font-size: 40px !important; }
	.ar-pkg-prices { padding: 12px 22px 26px; }
	.ar-pkg-amount { font-size: 56px; }
	.ar-pkg-currency { font-size: 22px; }
	.ar-pkg-period { font-size: 16px; }
	.ar-pkg-equiv { margin-top: 10px; font-size: 15px; }
	.ar-pkg-save { font-size: 13.5px; }
	/* The switch fills the column so both options fit side by side (the section beats WordPress's layout max-width). */
	.ar-pricing .ar-term { width: 100%; max-width: 420px; margin-top: -10px; margin-bottom: 24px; padding: 5px; }
	.ar-term::before { inset-block: 5px; inset-inline-start: 5px; width: calc(50% - 5px); }
	.ar-term-opt { gap: 6px; min-height: 46px; padding: 0 10px; font-size: 15px; }
	.ar-term-save { padding: 1px 7px; font-size: 12px; }
	:is(#content, .editor-styles-wrapper) ul.ar-pkg-features { gap: 10px; padding: 18px 14px 4px; }
	:is(#content, .editor-styles-wrapper) ul.ar-pkg-features > li { padding: 14px 16px; padding-inline-start: 54px; font-size: 14.5px; line-height: 1.75; }
	.ar-pkg-features li::before { top: 16px; inset-inline-start: 16px; width: 26px; height: 26px; }
	:is(#content, .editor-styles-wrapper) ul.ar-pkg-features > li:not(.is-core) { padding-block: 6px; }
	.ar-pkg-features li:not(.is-core)::before { top: 8px; }
	.ar-pkg-features li strong { font-size: 16px; }
	.ar-pkg-features li.is-core strong { font-size: 17px; }
	.ar-pkg-action { padding: 18px 16px 22px; }
	.ar-pkg-cta .wp-block-button .wp-block-button__link { min-height: 56px; font-size: 17px; }
}
@media (max-width: 380px) {
	.ar-grid { gap: 10px !important; }
	.ar-why-item { padding: 16px 12px; }
	.ar-why-item h3 { font-size: 15.5px !important; }
	.ar-why-item p { font-size: 13.5px !important; }
}
/* Footer on tablets and phones (The7 stacks its columns below 992px): centred, quick links and services side by side. */
@media (max-width: 992px) {
	#footer .wf-container-footer { text-align: center; }
	#footer .wf-container > .widget { width: 100%; }
	#footer #nav_menu-2, #footer #text-3 { width: 50%; padding-inline: 10px; vertical-align: top; } /* روابط سريعة + خدماتنا */
	#footer .widget_nav_menu ul.menu > li, #footer ul.ar-footer-links > li { margin-bottom: 8px; }
	#footer .widget a, #footer .widget_nav_menu .menu li > a { font-size: 15.5px; }
	.ar-footer-logo { margin-inline: auto; }
	#bottom-bar .wf-container-bottom, #bottom-bar .wf-float-left { justify-content: center; width: 100%; text-align: center; }
}
/* Keep short English terms (e.g. "Performance Max") on one line in narrow columns; very small phones may wrap them. */
@media (min-width: 360px) {
	.ar-nowrap { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ar-lightbox[open] .ar-lightbox__stage { animation: none; }
	.ar-pkg, .ar-pkg-features li, .ar-why-item, .wp-block-button__link, .ar-proof .ar-shot img, .ar-proof .ar-shot > a::after, .ar-lightbox__img { transition: none; }
	.ar-service, .ar-service::before, .ar-service-name span, .ar-pkg-cta .wp-block-button__link::after { transition: none; }
	.ar-proof .ar-shot > a:hover img, .ar-proof .ar-shot > a:focus-visible img { transform: scale(var(--ar-zoom, 1)); }
	.ar-pkg:hover { transform: none; }
	.ar-term::before, .ar-term-opt, .ar-term-save, a.ar-wa { transition: none; }
	.ar-pkg-price, .ar-pkg-recap, a.ar-wa { animation: none; }
	a.ar-wa:hover { transform: none; }
}
@media print {
	.ar-service.is-pending { opacity: 1; transform: none; }
	a.ar-wa { display: none; }
}
