/* Antigua Ride theme
   Palette matches the WadadliTyme Ebike Tours Antigua plugin. Elementor pages take their colours and
   fonts from Elementor > Site Settings; these rules cover the theme chrome and non-Elementor pages. */

:root {
	--ar-ink: #10222B;
	--ar-ink-2: #2D4550;
	--ar-mute: #51666F;
	--ar-lagoon: #0A6E8A;
	--ar-lagoon-d: #064F63;
	--ar-sun: #FFC629;
	--ar-red: #D7263D;
	--ar-glass: #EAF4F3;
	--ar-line: #CFE0E0;
	--ar-footer: #06323F;
	--ar-display: "Unbounded", "Arial Black", system-ui, sans-serif;
	--ar-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ar-wrap: 1180px;
	--ar-text: 760px;
	--ar-header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ar-ink); font: 400 17px/1.6 var(--ar-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--ar-lagoon); text-underline-offset: 3px; }
a:hover { color: var(--ar-lagoon-d); }
h1, h2, h3, h4, h5, h6 { font-family: var(--ar-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--ar-ink); margin: 1.6em 0 .55em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 700; margin-top: 0; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; font-weight: 500; }
p { margin: 0 0 1.1em; }
blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--ar-sun); font-size: 1.15em; color: var(--ar-ink-2); }
hr { border: 0; border-top: 1px solid var(--ar-line); margin: 2.4em 0; }
code, kbd, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
pre { background: var(--ar-ink); color: #DDEDEF; padding: 18px; border-radius: 12px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--ar-line); text-align: left; }
:focus-visible { outline: 3px solid var(--ar-sun); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ar-skip:focus { position: fixed !important; left: 12px; top: 12px; z-index: 10000; width: auto; height: auto; clip: auto; clip-path: none; padding: 10px 16px; background: var(--ar-sun); color: var(--ar-ink); border-radius: 8px; }
.ar-ico { width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.2em; }

.ar-wrap { width: 100%; max-width: var(--ar-wrap); margin-inline: auto; padding-inline: 20px; }
.ar-wrap--text { max-width: calc(var(--ar-text) + 40px); }

/* ---------- buttons & forms ---------- */
.ar-btn, :where(.wp-block-button__link, .comment-form button[type="submit"], .comment-form input[type="submit"], .search-form button, .search-form input[type="submit"]) {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 22px;
	border: 2px solid var(--ar-lagoon); border-radius: 999px; background: var(--ar-lagoon); color: #fff;
	font: 600 1rem/1 var(--ar-body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s;
}
.ar-btn:hover, :where(.wp-block-button__link, .comment-form [type="submit"], .search-form [type="submit"]):hover { background: var(--ar-lagoon-d); border-color: var(--ar-lagoon-d); color: #fff; }
.ar-btn--sm { min-height: 40px; padding: 0 18px; font-size: .94rem; }
.ar-btn--ghost { background: transparent; color: var(--ar-lagoon); }
.ar-btn--ghost:hover { background: var(--ar-glass); color: var(--ar-lagoon-d); }
:where(input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="password"], input[type="number"], textarea, select) {
	width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--ar-line); border-radius: 12px; background: #fff; color: var(--ar-ink); font: 400 1rem var(--ar-body);
}
textarea { min-height: 120px; }
:where(input, textarea, select):focus { outline: none; border-color: var(--ar-lagoon); box-shadow: 0 0 0 4px rgba(10, 110, 138, .15); }
.search-form { display: flex; gap: 8px; max-width: 480px; }
.search-form label { flex: 1; }

/* ---------- header ---------- */
.ar-header { position: relative; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--ar-line); }
.ar-sticky .ar-header { position: sticky; top: 0; backdrop-filter: saturate(1.4) blur(10px); }
.admin-bar.ar-sticky .ar-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.ar-sticky .ar-header { top: 0; } }
.ar-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(6, 50, 63, .5); }
.ar-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--ar-header-h); }
.ar-header__brand { flex: none; }
.ar-logo, .custom-logo-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ar-ink); text-decoration: none; font: 600 1rem/1.1 var(--ar-display); }
.ar-logo img, .custom-logo { max-height: 48px; width: auto; display: block; }
.ar-logo__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--ar-lagoon); color: var(--ar-sun); }
.ar-logo__mark .ar-ico { width: 20px; height: 20px; }
.ar-logo__text { max-width: 13ch; }
.ar-nav { margin-left: auto; display: flex; align-items: center; }
.ar-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ar-menu li { position: relative; }
.ar-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ar-ink-2); text-decoration: none; font-weight: 500; }
.ar-menu a:hover { background: var(--ar-glass); color: var(--ar-ink); }
.ar-menu .current-menu-item > a, .ar-menu .current_page_item > a, .ar-menu a[aria-current="page"] { color: var(--ar-lagoon); box-shadow: inset 0 -3px 0 var(--ar-sun); border-radius: 10px 10px 0 0; }
.ar-menu .sub-menu { position: absolute; left: 0; top: 100%; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--ar-line); border-radius: 14px; box-shadow: 0 20px 40px -24px rgba(6, 50, 63, .45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.ar-menu li:hover > .sub-menu, .ar-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ar-menu .sub-menu a { padding: 9px 12px; }
.ar-nav__cta { display: none; }
.ar-header__actions { display: flex; align-items: center; gap: 10px; }
.ar-bag { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ar-ink); }
.ar-bag:hover { background: var(--ar-glass); color: var(--ar-ink); }
.ar-bag .ar-ico { width: 24px; height: 24px; }
.ar-bag__count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ar-sun); color: var(--ar-ink); font: 700 .72rem/20px var(--ar-body); text-align: center; }
.ar-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--ar-glass); color: var(--ar-ink); cursor: pointer; place-items: center; padding: 0; }
.ar-burger .ar-ico { width: 24px; height: 24px; }
.ar-burger__close { display: none; }
.ar-burger[aria-expanded="true"] .ar-burger__open { display: none; }
.ar-burger[aria-expanded="true"] .ar-burger__close { display: inline; }

@media (max-width: 960px) {
	.ar-burger { display: grid; }
	.ar-header__cta { display: none; }
	.ar-header__actions { margin-left: auto; }
	.ar-nav { position: fixed; inset: var(--ar-header-h) 0 0 0; z-index: 49; margin: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px 20px 28px; background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
	.admin-bar .ar-nav { top: calc(var(--ar-header-h) + 46px); }
	.ar-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.ar-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.ar-menu a { padding: 15px 6px; font-size: 1.12rem; border-bottom: 1px solid var(--ar-glass); border-radius: 0; }
	.ar-menu .current-menu-item > a, .ar-menu a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--ar-sun); padding-left: 16px; border-radius: 0; }
	.ar-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.ar-nav__cta { display: inline-flex; min-height: 52px; }
	body.ar-nav-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .ar-nav, .ar-menu .sub-menu { transition: none; } }

/* ---------- content ---------- */
.ar-main { padding-bottom: 72px; }
.ar-main--full { padding-bottom: 0; }
.ar-page-head { background: var(--ar-glass); padding: 64px 0 44px; margin-bottom: 44px; }
.ar-page-head h1 { margin: 0; }
.ar-page-head__desc { color: var(--ar-mute); max-width: 640px; margin-top: 10px; }
.ar-page-head--post { background: none; padding-bottom: 20px; margin-bottom: 20px; }
.ar-meta { color: var(--ar-mute); font-size: .92rem; margin: 0 0 10px; }
.ar-meta__cats a { color: var(--ar-lagoon); }
.ar-meta__cats::before { content: "in "; }
.ar-feature { margin: 0 auto 36px; }
.ar-feature img { width: 100%; border-radius: 20px; display: block; }
.ar-entry > *:first-child { margin-top: 0; }
.ar-entry--full { max-width: none; padding: 0; }
.ar-entry .alignwide { max-width: var(--ar-wrap); margin-inline: auto; }
.ar-entry .alignfull { max-width: none; }
.ar-entry img { border-radius: 14px; }
.ar-entry figure { margin: 1.8em 0; }
.ar-entry figcaption { color: var(--ar-mute); font-size: .9rem; margin-top: 8px; }
.ar-entry ul, .ar-entry ol { padding-left: 1.3em; }
.ar-entry li { margin-bottom: .4em; }
.ar-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--ar-glass); text-decoration: none; font-size: .9rem; }
.ar-pages { margin: 24px 0; }

.ar-layout { display: block; }
.ar-has-sidebar .ar-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .ar-has-sidebar .ar-layout { grid-template-columns: 1fr; } }
.ar-widget { margin-bottom: 32px; }
.ar-widget__title { font-size: 1rem; margin: 0 0 12px; }

.ar-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.ar-card { display: flex; flex-direction: column; border: 1px solid var(--ar-line); border-radius: 18px; overflow: hidden; background: #fff; }
.ar-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ar-glass); }
.ar-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ar-card:hover .ar-card__media img { transform: scale(1.04); }
.ar-card__ph { display: block; width: 100%; height: 100%; background: linear-gradient(160deg, var(--ar-lagoon), var(--ar-footer)); }
.ar-card__body { padding: 20px 22px 24px; }
.ar-card__title { font-size: 1.2rem; margin: 0 0 8px; }
.ar-card__title a { color: var(--ar-ink); text-decoration: none; }
.ar-card__title a:hover { color: var(--ar-lagoon); }
.ar-card__excerpt { color: var(--ar-mute); font-size: .97rem; }
.ar-card__excerpt p { margin: 0; }
.ar-empty { padding: 40px; border: 2px dashed var(--ar-line); border-radius: 18px; text-align: center; color: var(--ar-mute); }
.ar-empty .search-form { margin: 16px auto 0; }

.nav-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.pagination .nav-links { justify-content: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--ar-line); text-decoration: none; color: var(--ar-ink); font-weight: 600; }
.page-numbers.current { background: var(--ar-ink); border-color: var(--ar-ink); color: #fff; }
.post-navigation a { display: grid; gap: 2px; text-decoration: none; font-weight: 600; color: var(--ar-ink); }
.post-navigation span { color: var(--ar-mute); font-weight: 400; font-size: .88rem; }

.ar-comments { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--ar-line); }
.ar-comments__list { list-style: none; padding: 0; }
.ar-comments__list .comment-body { padding: 18px 0; border-bottom: 1px solid var(--ar-glass); }
.ar-comments__list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.ar-comments__list .children { list-style: none; padding-left: 28px; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 4px; }

.ar-404 { text-align: center; padding: 80px 20px; max-width: 680px; }
.ar-404__code { font: 700 clamp(5rem, 18vw, 9rem)/1 var(--ar-display); color: var(--ar-sun); -webkit-text-stroke: 2px var(--ar-ink); margin: 0 0 12px; }
.ar-404__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 24px 0; }
.ar-404 .search-form { margin: 0 auto; }

/* ---------- footer ---------- */
.ar-footer { background: var(--ar-footer); color: #C6DCDE; padding: 60px 0 24px; font-size: .95rem; }
.ar-footer a { color: #fff; text-decoration: none; }
.ar-footer a:hover { color: var(--ar-sun); }
.ar-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ar-footer__brand { font: 600 1.2rem/1.2 var(--ar-display); color: #fff; margin: 0 0 8px; }
.ar-footer__h { color: var(--ar-sun); font-weight: 600; margin: 0 0 10px; }
.ar-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ar-footer__social { display: flex; gap: 14px; flex-wrap: wrap; }
.ar-footer__base { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 20px; font-size: .86rem; }
.ar-footer__base p { margin: 0; }
@media (max-width: 860px) { .ar-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ar-footer__grid { grid-template-columns: 1fr; } }

/* ---------- plugin pages inside the theme ---------- */
.ar .aet-page-head { margin-bottom: 40px; }
.ar.admin-bar .aet-book-card, .ar.admin-bar .aet-summary { top: calc(var(--ar-header-h) + 56px); }
.ar .aet-book-card, .ar .aet-summary { top: calc(var(--ar-header-h) + 24px); }

/* ---------- Elementor ---------- */
.elementor-page .ar-main { padding-bottom: 0; }
.ar-entry--full > .elementor { width: 100%; }

@media print {
	.ar-header, .ar-footer, .ar-burger { display: none !important; }
}
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; } .comment-form-cookies-consent label { font-weight: 400; margin: 0; } .comment-form-cookies-consent input { margin-top: 5px; }
@media (max-width: 960px) {
	/* backdrop-filter would trap the fixed menu panel inside the header box */
	.ar-header, .ar-sticky .ar-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}
