/* ==========================================================================
   Adl Core — section styles (shared by Gutenberg blocks and Elementor widgets)
   Colours come from the theme palette variables, with fallbacks so the
   sections also look right under another theme.
   ========================================================================== */

.adl-section, .adl-logos, .adl-marquee, .adl-cta, .adl-header, .adl-footer {
	--adl-accent: var(--wp--preset--color--accent, #cc9b6a);
	--adl-accent-soft: var(--wp--preset--color--accent-soft, #ead8c4);
	--adl-accent-tint: var(--wp--preset--color--accent-tint, #f8efe8);
	--adl-ink: var(--wp--preset--color--ink, #2c2827);
	--adl-muted: var(--wp--preset--color--muted, #8a8483);
	--adl-dark: var(--wp--preset--color--dark, #322c2c);
	--adl-dark-pill: var(--wp--preset--color--dark-pill, #54504f);
	--adl-surface: var(--wp--preset--color--surface, #f0f0f0);
	--adl-base: var(--wp--preset--color--base, #fff);
	--adl-line: var(--wp--preset--color--line, #e8e6e5);
	--adl-pad: var(--wp--style--root--padding-right, clamp(1rem, 5vw, 6rem));
	--adl-wide: var(--wp--style--global--wide-size, 1680px);
	--adl-y: clamp(4rem, 8vw, 8rem);
	--adl-ease: cubic-bezier(.2, .7, .2, 1);
	box-sizing: border-box;
	position: relative;
}
.adl-section *, .adl-logos *, .adl-marquee *, .adl-cta *, .adl-header *, .adl-footer *,
.adl-section *::before, .adl-section *::after { box-sizing: border-box; }
.adl-section { padding-block: var(--adl-y); color: var(--adl-ink); }
.adl-section img, .adl-logos img { display: block; max-width: 100%; height: auto; }
.adl-section h2, .adl-section h3, .adl-section p { margin: 0; }
.adl-section ul, .adl-section ol { list-style: none; margin: 0; padding: 0; }

/* Full-width sections touch each other (beat the block layout gap). */
:is(.adl-section, .adl-logos, .adl-marquee, .adl-cta, .adl-header, .adl-footer)[class] { margin-block: 0; }
:is(.adl-marquee)[class] { margin-top: -1.2rem; }

/* Elementor sections are not inside a block-theme container: keep the same width. */
.adl-wrap { width: 100%; max-width: calc(var(--adl-wide) + 2 * var(--adl-pad)); margin-inline: auto; padding-inline: var(--adl-pad); }

.adl-hl { color: var(--adl-accent); }
.adl-title { font-size: clamp(1.75rem, 2.6vw, 2.6rem); font-weight: 800; line-height: 1.4; color: var(--adl-accent); }
.adl-title--ink { color: var(--adl-ink); }
.adl-title--light { color: #fff; }
.adl-subtitle { margin-top: .5rem !important; font-size: clamp(1rem, 1.2vw, 1.2rem); font-weight: 500; color: var(--adl-ink); }
.adl-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.adl-empty { padding: 2rem; border: 1px dashed var(--adl-line); border-radius: 12px; color: var(--adl-muted); text-align: center; }

/* Buttons */
.adl-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.adl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: var(--adl-btn-h, 3.6rem); padding: .5em var(--adl-btn-px, 2.4em); border-radius: var(--adl-btn-r, 999px);
	background: var(--adl-btn-bg, var(--adl-accent)); color: var(--adl-btn-fg, #fff); text-decoration: none;
	font-weight: 700; font-size: var(--adl-btn-fs, 1rem); line-height: 1.2; border: 0; cursor: pointer;
	transition: background-color .25s, transform .3s var(--adl-ease), box-shadow .3s;
}
:is(a, button).adl-btn:hover, :is(a, button).adl-btn:focus-visible {
	background: var(--adl-btn-hbg, var(--adl-dark)); color: var(--adl-btn-hfg, #fff);
	transform: translateY(-2px); box-shadow: 0 10px 24px rgba(50, 44, 44, .18);
}
:is(a, button).adl-btn:visited { color: var(--adl-btn-fg, #fff); }
.adl-btn--dark { background: var(--adl-btn-bg, var(--adl-dark)); }
:is(a, button).adl-btn--dark:hover, :is(a, button).adl-btn--dark:focus-visible { background: var(--adl-btn-hbg, var(--adl-accent)); }
html[data-theme="dark"] .adl-btn--dark { background: var(--adl-btn-bg, #3a3433); }

.adl-btn--sm { min-height: var(--adl-btn-h, 3.2rem); padding-inline: var(--adl-btn-px, 2em); font-size: var(--adl-btn-fs, .95rem); }
.adl-btn--block { display: flex; width: 100%; min-height: var(--adl-btn-h, 2.9rem); }
.adl-pill {
	flex: none; padding: .75em 2em; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 600;
	background: var(--adl-base); color: var(--adl-ink); white-space: nowrap; transition: background-color .25s, color .25s;
}
.adl-pill:hover { color: var(--adl-accent); }
.adl-pill { background: var(--adl-tab-bg, var(--adl-base)); }
.adl-pill.is-active { background: var(--adl-tab-on, var(--adl-accent)); color: #fff; }

/* Sparkles */
.adl-spark { position: absolute; color: var(--adl-accent); line-height: 0; pointer-events: none; animation: adl-twinkle 3.4s ease-in-out infinite; }
.adl-spark svg { display: block; }
@keyframes adl-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.75) rotate(20deg); opacity: .7; } }

/* Scroll reveal (only when JS is running) */
.adl-anim .adl-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--adl-ease), transform .8s var(--adl-ease); }
.adl-anim .adl-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.adl-hero { padding-block: clamp(2rem, 4vw, 4rem) clamp(3rem, 6vw, 6rem); overflow: hidden; }
.adl-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2rem, 4vw, 5rem); }
.adl-hero__title { font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 800; line-height: 1.3; margin: 0 0 1.4rem; color: var(--adl-ink); }
.adl-hero__text { font-size: clamp(1rem, 1.05vw, 1.1rem); font-weight: 500; line-height: 2.2; margin-bottom: 2.4rem !important; max-width: 52rem; }

.adl-hero__visual { container-type: inline-size; max-width: 640px; width: 100%; justify-self: center; }
.adl-hero__stage { position: relative; aspect-ratio: 640 / 620; }
.adl-hero__oval {
	position: absolute; left: 17%; width: 66%; top: 0; bottom: 0; border-radius: 999px;
	background: var(--adl-oval, var(--adl-accent)); transition: transform .6s var(--adl-ease);
}
.adl-hero__figure { position: absolute; left: 17%; width: 66%; top: 0; bottom: 0; border-radius: 999px; overflow: hidden; z-index: 1; }
.adl-hero__figure img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* Cut-out portrait: the head may rise above the oval, the legs are clipped by its round bottom. */
.adl-hero.is-cutout .adl-hero__figure {
	left: 5%; width: 90%; top: -2%; border-radius: 0; overflow: visible;
	-webkit-mask: linear-gradient(#000 0 0) top / 100% 66.7% no-repeat, radial-gradient(closest-side, #000 99%, transparent 100%) 50% 100% / 73.4% 66.8% no-repeat;
	mask: linear-gradient(#000 0 0) top / 100% 66.7% no-repeat, radial-gradient(closest-side, #000 99%, transparent 100%) 50% 100% / 73.4% 66.8% no-repeat;
}
.adl-hero.is-cutout .adl-hero__figure img { object-fit: contain; object-position: bottom center; }
.adl-hero.is-grayscale .adl-hero__figure img { filter: grayscale(1); }
.adl-hero.no-oval .adl-hero__oval { display: none; }
.adl-hero.no-oval .adl-hero__figure { -webkit-mask: none; mask: none; left: 5%; width: 90%; top: 0; border-radius: 0; }
.adl-hero.no-oval:not(.is-cutout) .adl-hero__figure { border-radius: 24px; overflow: hidden; }
.adl-hero__orbit { position: absolute; left: -2%; width: 104%; top: 37%; height: 40%; color: var(--adl-accent); overflow: visible; pointer-events: none; filter: brightness(.82); }
.adl-hero__orbit--back { z-index: 0; }
.adl-hero__orbit--front { z-index: 2; }
.adl-hero .adl-spark { z-index: 3; }
.adl-hero .adl-spark--lg { left: 0; top: 37%; }
.adl-hero .adl-spark--sm { left: 76%; top: 4%; animation-delay: -1.6s; }
.adl-hero__visual:hover .adl-hero__oval { transform: scale(1.02); }

/* ---------- Logos (static row, slider when > 7, 3-up carousel on mobile) ---------- */
.adl-logos { background: var(--adl-surface); padding-block: clamp(1.5rem, 2.5vw, 2rem); }
.adl-logos__wrap { position: relative; display: flex; align-items: center; gap: 1rem; }
.adl-logos__list { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; display: flex; align-items: center; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.adl-logos__list::-webkit-scrollbar { display: none; }
.adl-logos__item { flex: 0 0 calc(100% / 7); display: flex; justify-content: center; scroll-snap-align: start; padding-inline: .8rem; }
.adl-logos__item a { display: block; }
.adl-logos__item img { max-height: 120px; width: auto; transition: filter .3s, opacity .3s, transform .3s; }
.adl-logos.is-grayscale img { filter: grayscale(1); opacity: .45; }
.adl-logos.is-grayscale .adl-logos__item:hover img { filter: none; opacity: 1; transform: scale(1.05); }
html[data-theme="dark"] .adl-logos__item img { filter: grayscale(1) invert(1); opacity: .6; }
.adl-arrow {
	flex: none; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--adl-base); color: var(--adl-ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .08); transition: background-color .2s, color .2s;
}
.adl-arrow:hover { background: var(--adl-accent); color: #fff; }
.adl-arrow--prev svg { transform: scaleX(-1); }
@media (max-width: 782px) {
	.adl-logos__item { flex-basis: calc(100% / 3); }
	.adl-logos__item img { max-height: 70px; }
	.adl-logos .adl-arrow { display: none; }
}

/* ---------- Marquee ---------- */
.adl-marquee { overflow: hidden; overflow: clip; padding-block: 2.2rem; z-index: 2; }
.adl-marquee__band { background: var(--adl-mq-bg, var(--adl-accent)); color: var(--adl-mq-col, #fff); transform: rotate(var(--adl-tilt, -2deg)); margin-inline: -3%; box-shadow: 0 10px 30px rgba(204, 155, 106, .25); }
.adl-marquee__track { display: flex; width: max-content; animation: adl-marquee var(--adl-speed, 40s) linear infinite; }
.adl-marquee.is-rtl .adl-marquee__track { animation-direction: reverse; }
.adl-marquee:hover .adl-marquee__track { animation-play-state: paused; }
.adl-marquee__group { display: flex; align-items: center; flex: none; padding-block: 1.05rem; }
.adl-marquee__item { font-size: var(--adl-mq-fs, clamp(1.05rem, 1.4vw, 1.45rem)); font-weight: 500; white-space: nowrap; padding-inline: 1.6rem; }
.adl-marquee__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
@keyframes adl-marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Practice areas ---------- */
.adl-practice__grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(2rem, 5vw, 6rem); }
.adl-practice__visual { order: -1; position: relative; padding-top: 4rem; }
.adl-practice__stage { position: relative; aspect-ratio: 835 / 570; }
.adl-practice__blob { position: absolute; inset: 14% 0 0; border-radius: 50%; background: var(--adl-blob, var(--adl-accent)); transition: transform .8s var(--adl-ease); }
.adl-practice__img { position: absolute; inset: 14% 0 0; border-radius: 50%; overflow: hidden; }
.adl-practice__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.adl-practice.is-cutout .adl-practice__img {
	inset: 0; border-radius: 0; overflow: visible;
	-webkit-mask: linear-gradient(#000 0 0) top / 100% 57% no-repeat, radial-gradient(closest-side, #000 99%, transparent 100%) 50% 100% / 100% 86% no-repeat;
	mask: linear-gradient(#000 0 0) top / 100% 57% no-repeat, radial-gradient(closest-side, #000 99%, transparent 100%) 50% 100% / 100% 86% no-repeat;
}
.adl-practice.is-cutout .adl-practice__img img { object-fit: contain; object-position: bottom center; }
.adl-practice__visual:hover .adl-practice__blob { transform: scale(1.025); }
.adl-practice .adl-spark--lg { inset-inline-start: 2%; top: -1.5rem; }
.adl-practice__subtitle { font-size: clamp(1.4rem, 1.8vw, 1.9rem); font-weight: 800; margin: 2.2rem 0 .2rem; color: var(--adl-ink); }
.adl-practice__text { font-weight: 500; }
.adl-practice__list { display: grid; grid-template-columns: repeat(var(--adl-cols, 3), minmax(0, 1fr)); gap: 3.4rem 2rem; margin-top: 3.4rem !important; }
.adl-practice__item a { color: inherit; }
.adl-practice__item, .adl-practice__item a { display: flex; align-items: center; gap: 1.4rem; color: var(--adl-ink); text-decoration: none; }
.adl-practice__num {
	flex: none; display: grid; place-items: center; width: 3.6rem; height: 3.3rem; border-radius: 10px;
	background: var(--adl-num-bg, var(--adl-accent)); color: var(--adl-num-col, #fff); font-size: 1.6rem; font-weight: 800; transition: transform .3s var(--adl-ease), background-color .3s;
}
.adl-practice__name { font-size: clamp(1.1rem, 1.35vw, 1.45rem); font-weight: 700; }
.adl-practice__item:hover .adl-practice__num { transform: rotate(-8deg) scale(1.06); }

/* ---------- Cases ---------- */
.adl-cases { background: var(--adl-surface); }
.adl-cases__head { display: flex; align-items: flex-start; gap: clamp(1rem, 2.5vw, 2.5rem); margin-bottom: clamp(2.5rem, 6vw, 6rem); }
.adl-cases__heading { flex: none; }
.adl-cases__heading { flex: none; }
.adl-cases__tabs { flex: 1; display: flex; flex-wrap: wrap; gap: .6rem .7rem; padding: .3rem; }
.adl-cases__tabs::-webkit-scrollbar { display: none; }
.adl-cases__tabs .adl-pill { padding: .75em 1.6em; font-size: 1rem; }
.adl-cases__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3.2vw, 3.6rem); padding-inline: clamp(0rem, 3vw, 3.5rem); }
.adl-case-card {
	display: flex; flex-direction: column; background: var(--adl-base); border: 1px solid var(--adl-line);
	border-radius: 6px; padding: 1rem 1rem 1.1rem; transition: transform .4s var(--adl-ease), box-shadow .4s;
}
.adl-cases__grid[hidden] { display: none; }
.adl-cases__grid.is-in .adl-case-card { animation: adl-fade-up .5s var(--adl-ease) both; }
@keyframes adl-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.adl-case-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(50, 44, 44, .08); }
.adl-case-card__img { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 312 / 300; background: var(--adl-surface); }
.adl-case-card__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .8s var(--adl-ease); }
.adl-case-card:hover .adl-case-card__img img { transform: scale(1.06); }
.adl-case-card__title { font-size: clamp(1.05rem, 1.25vw, 1.35rem); font-weight: 700; text-align: center; margin: 1.6rem 0 2.2rem !important; flex: 1; }
.adl-case-card__title a { color: var(--adl-ink); text-decoration: none; }
.adl-case-card__more { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--adl-muted); font-size: .8rem; font-weight: 600; }
.adl-case-card__arrow { display: grid; place-items: center; width: 3.1rem; height: 1.6rem; border-radius: 4px; background: #ececec; color: var(--adl-ink); transition: background-color .25s, color .25s; }
.adl-case-card:hover .adl-case-card__more { color: var(--adl-accent); }
.adl-case-card:hover .adl-case-card__arrow { background: var(--adl-accent); color: #fff; }
html[data-theme="dark"] .adl-case-card__arrow { background: var(--adl-line); }

/* ---------- CTA band ---------- */
.adl-cta { background: var(--adl-dark); color: #fff; padding-block: clamp(3rem, 5vw, 5.5rem); }
.adl-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; }
.adl-cta__title { display: flex; align-items: center; gap: 2rem; font-size: clamp(1.8rem, 2.6vw, 2.6rem); font-weight: 800; color: #fff; margin: 0; }
.adl-cta__icon, .adl-contact__icon, .adl-voices__bubble {
	display: inline-grid; place-items: center; width: 8.5rem; height: 4rem; border-radius: 999px; background: var(--adl-pill-bg, var(--adl-dark-pill)); color: var(--adl-pill-fg, var(--adl-dark));
}
.adl-cta__sub { margin: .9rem 0 0; font-size: 1.15rem; padding-inline-start: 10.5rem; opacity: .95; }
.adl-cta__actions { display: flex; align-items: center; gap: 2.4rem; flex-wrap: wrap; }
.adl-cta__phone { display: inline-flex; align-items: center; gap: .9rem; color: #fff; text-decoration: none; font-size: 1.4rem; font-weight: 700; direction: ltr; }
.adl-cta__phone:hover { color: var(--adl-accent); }
.adl-cta__phone svg { order: -1; }

.adl-cta .adl-spark--xs { inset-inline-end: 38%; top: -1.6rem; }

/* ---------- Team ---------- */
.adl-team__grid { display: grid; grid-template-columns: 1fr minmax(16rem, .95fr) 1fr; gap: clamp(1rem, 2vw, 2rem); align-items: center; }
.adl-team__side { display: grid; grid-template-columns: repeat(var(--adl-side, 2), minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.9rem); }
.adl-lawyer__link { display: block; text-decoration: none; color: inherit; background: var(--adl-base); border: 1px solid var(--adl-line); border-radius: 8px; padding: 1.1rem 1.1rem 1.4rem; text-align: center; transition: transform .4s var(--adl-ease), box-shadow .4s, border-color .3s; }
.adl-lawyer__link:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(50, 44, 44, .08); border-color: var(--adl-accent-soft); }
.adl-lawyer__img { border-radius: 8px; overflow: hidden; aspect-ratio: 246 / 283; background: var(--adl-surface); }
.adl-lawyer__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .8s var(--adl-ease); }
.adl-lawyer__link:hover .adl-lawyer__img img { transform: scale(1.05); }
.adl-lawyer__name { font-size: 1.15rem; font-weight: 800; margin-top: 1.4rem !important; color: var(--adl-ink); }
.adl-lawyer__role { font-size: .95rem; color: var(--adl-muted); margin-top: .2rem !important; }
.adl-team__intro { text-align: center; padding-inline: .5rem; }
.adl-team__img { max-width: 250px; margin: 0 auto 2.4rem; }
.adl-team__img.is-gray img { filter: grayscale(1) contrast(1.05); }

.adl-team .adl-subtitle { font-size: 1.05rem; }

/* ---------- Credentials ---------- */
.adl-cred { overflow: hidden; background:
	radial-gradient(circle at 100% 30%, transparent 0 18%, rgba(204, 155, 106, .07) 18.2% 18.4%, transparent 18.6% 28%, rgba(204, 155, 106, .07) 28.2% 28.4%, transparent 28.6% 38%, rgba(204, 155, 106, .06) 38.2% 38.4%, transparent 38.6%),
	radial-gradient(ellipse at 80% 40%, var(--adl-accent-tint), transparent 60%); }
.adl-cred__grid { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.adl-cred__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem 2.5rem; margin-top: 4rem !important; max-width: 38rem; }
.adl-stat { display: flex; align-items: center; gap: 1.2rem; }
.adl-stat__icon { flex: none; color: var(--adl-stat-icon, var(--adl-ink)); transition: color .3s, transform .4s var(--adl-ease); }
.adl-stat:hover .adl-stat__icon { color: var(--adl-accent); transform: translateY(-3px); }
.adl-stat__title { display: block; font-size: 1.45rem; font-weight: 800; line-height: 1.5; }
.adl-stat__value { font-size: .95rem; font-weight: 500; }
.adl-cred__frame {
	position: relative; border: clamp(10px, 1.2vw, 20px) solid var(--adl-frame, var(--adl-accent)); border-radius: 999px; overflow: hidden;
	aspect-ratio: 890 / 540; background: var(--adl-dark); isolation: isolate;
}
.adl-cred__frame img, .adl-cred__frame video, .adl-cred__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.adl-cred__frame img { filter: grayscale(1); transition: transform 1s var(--adl-ease); }
.adl-cred__frame:hover img { transform: scale(1.04); }
.adl-play {
	position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); z-index: 2;
	display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 0; padding: 0 0 0 4px; cursor: pointer;
	background: var(--adl-accent); color: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
	transition: transform .3s var(--adl-ease), background .3s;
}
.adl-play svg { width: 26px; height: 26px; }
.adl-play::before, .adl-play::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
	animation: adl-play-ring 2.6s ease-out infinite;
}
.adl-play::after { animation-delay: 1.3s; }
.adl-play:hover { transform: translate(-50%, -50%) scale(1.08); }
@keyframes adl-play-ring {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--adl-accent) 70%, transparent); }
	80%, 100% { box-shadow: 0 0 0 22px transparent; }
}
@media (prefers-reduced-motion: reduce) { .adl-play::before, .adl-play::after { animation: none; } }
.adl-cred__frame.is-playing .adl-play { display: none; }
.adl-socials { display: flex; justify-content: center; gap: 1.1rem; margin-top: 2.2rem !important; }
.adl-socials a { display: grid; place-items: center; color: var(--adl-soc, var(--adl-accent)); transition: transform .3s var(--adl-ease), color .3s; }
.adl-socials a:hover { transform: translateY(-4px); color: var(--adl-ink); }

/* ---------- Audio testimonials ---------- */
.adl-voices { background: var(--adl-dark); }
.adl-voices__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.adl-voices__head .adl-title { display: inline-flex; align-items: center; gap: 1.2rem; }
.adl-voices__head .adl-subtitle { color: #fff; }
.adl-voices__bubble { width: auto; height: auto; background: none; color: var(--adl-dark-pill); }
.adl-voices__bubble svg { width: 6.5rem; height: 4.2rem; }
.adl-voices__viewport { max-width: 1570px; margin-inline: auto; }
.adl-voices__grid { --gap: clamp(1.5rem, 4vw, 4.5rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.adl-voices.is-slider .adl-voices__grid {
	grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column;
	grid-auto-columns: calc((100% - var(--gap)) / 2); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.adl-voices.is-slider .adl-voices__grid::-webkit-scrollbar { display: none; }
.adl-voices.is-slider .adl-voice { scroll-snap-align: start; }
.adl-nav-arrows { display: flex; justify-content: center; gap: .8rem; margin-top: 2.2rem; }
.adl-voices:not(.is-slider) .adl-nav-arrows { display: none; }
.adl-voice { background: var(--adl-card, var(--adl-base)); border-radius: 6px; padding: clamp(1.1rem, 2vw, 2.1rem) clamp(1.1rem, 2vw, 2rem) clamp(1.1rem, 1.6vw, 1.6rem); }
.adl-voice__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.adl-voice__avatar { flex: none; display: grid; place-items: center; width: 3.8rem; height: 3.8rem; border-radius: 50%; overflow: hidden; background: var(--adl-accent-soft); color: #b8854f; }
.adl-voice__avatar img { width: 100%; height: 100%; object-fit: cover; }
.adl-voice__who { flex: 1; min-width: 0; }
.adl-voice__name { display: block; font-size: clamp(1.05rem, 1.3vw, 1.4rem); font-weight: 700; line-height: 1.5; color: var(--adl-vname, var(--adl-ink)); }
.adl-voice__sub { display: block; font-size: .8rem; color: var(--adl-muted); }
.adl-voice__btn { flex: none; display: grid; place-items: center; width: 3.8rem; height: 3.8rem; border-radius: 50%; border: 0; cursor: pointer; background: var(--adl-play, var(--adl-accent)); color: #fff; transition: transform .3s var(--adl-ease), opacity .3s; }
.adl-voice__btn:hover:not(:disabled) { transform: scale(1.08); }
.adl-voice__btn:disabled { cursor: default; opacity: .9; }
.adl-voice__play svg { margin-inline-start: 3px; }
.adl-voice__pause { display: none; }
.adl-voice.is-playing .adl-voice__btn { opacity: .7; }
.adl-voice.is-playing .adl-voice__play { display: none; }
.adl-voice.is-playing .adl-voice__pause { display: block; }
.adl-voice__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 3.2rem; padding-inline: 1rem; border-radius: 4px; background: var(--adl-accent-tint); transition: background-color .3s; }
.adl-voice__time { font-size: .72rem; color: var(--adl-muted); direction: ltr; min-width: 3em; }
.adl-voice__wave { display: flex; align-items: center; gap: 3px; height: 60%; cursor: pointer; direction: ltr; }
.adl-voice__wave i { display: block; width: 2.5px; height: var(--h); border-radius: 2px; background: var(--adl-ink); transition: background-color .2s; }
.adl-voice__wave i.is-done { background: var(--adl-accent); }
.adl-voice.is-active .adl-voice__bar { background: var(--adl-play, var(--adl-accent)); }
.adl-voice.is-active .adl-voice__time { color: #fff; }
.adl-voice.is-active .adl-voice__wave i { background: rgba(255, 255, 255, .55); }
.adl-voice.is-active .adl-voice__wave i.is-done { background: #fff; }
.adl-voice__wave:focus-visible { outline: 2px solid var(--adl-accent); outline-offset: 4px; }

/* ---------- News ---------- */
.adl-news__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3.5vw, 4.4rem); padding-top: 3.8rem; padding-inline: clamp(0rem, 1.5vw, 1.5rem); }
.adl-news.no-image .adl-news__grid { padding-top: 0; }
.adl-news-card { display: flex; flex-direction: column; border: 1px solid var(--adl-line); border-radius: 10px; padding: 0 1.1rem 1.2rem; transition: box-shadow .4s, transform .4s var(--adl-ease); background: var(--adl-base); }
.adl-news-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(50, 44, 44, .08); }
.adl-news-card__img { display: block; margin: -3.9rem 0 0; border-radius: 999px; overflow: hidden; aspect-ratio: 305 / 207; background: var(--adl-surface); }
.adl-news-card__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s, transform .8s var(--adl-ease); }
.adl-news-card:hover .adl-news-card__img img { filter: grayscale(.2); transform: scale(1.05); }
.adl-news-card__title { font-size: 1.15rem; font-weight: 800; margin: 1.6rem 0 .7rem !important; }
.adl-news-card__title a { color: var(--adl-ink); text-decoration: none; }
.adl-news-card__title a:hover { color: var(--adl-accent); }
.adl-news-card__excerpt { color: var(--adl-muted); font-size: .9rem; line-height: 1.85; flex: 1; }
.adl-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 1.4rem !important; }
.adl-tags a { display: block; padding: .3em 1.1em; border-radius: 999px; background: #e7e7e7; color: var(--adl-muted); font-size: .78rem; text-decoration: none; }
.adl-tags a:hover { background: var(--adl-accent-soft); color: var(--adl-ink); }
html[data-theme="dark"] .adl-tags a { background: var(--adl-line); }

/* ---------- FAQ ---------- */
.adl-faq { padding-top: calc(var(--adl-y) - 20px); }
.adl-faq .adl-head-row { margin-bottom: 3.2rem; }
.adl-faq__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 6vw, 9rem); align-items: start; }
.adl-faq__list { display: flex; flex-direction: column; gap: 1rem; }
.adl-faq__q { margin: 0; }
.adl-faq__q button {
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; min-height: 4.4rem;
	padding: .8rem 2rem; border: 0; border-radius: 999px; cursor: pointer; text-align: start;
	background: var(--adl-q-bg, var(--adl-accent-soft)); color: var(--adl-q-col, var(--adl-ink)); font: inherit; font-size: var(--adl-q-fs, clamp(1rem, 1.15vw, 1.2rem)); font-weight: 500;
	transition: background-color .3s, color .3s;
}
.adl-faq__q button:hover { filter: brightness(.96); }
.adl-faq__item.is-open .adl-faq__q button { background: var(--adl-q-open, var(--adl-accent)); color: #fff; }
.adl-faq__sign { position: relative; flex: none; width: 1.9rem; height: 1.9rem; }
.adl-faq__sign::before, .adl-faq__sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2.5px; margin-top: -1.25px; background: currentColor; border-radius: 2px; transition: transform .35s var(--adl-ease); }
.adl-faq__sign::after { transform: rotate(90deg); }
.adl-faq__item.is-open .adl-faq__sign::after { transform: rotate(0); }
.adl-faq__a-inner { margin-top: .7rem; padding: 1.4rem 2.2rem; border-radius: 2.6rem; background: var(--adl-a-bg, #ececec); color: var(--adl-a-col, var(--adl-ink)); font-size: 1rem; line-height: 2; }
.adl-faq__a-inner > :first-child { margin-top: 0; }
.adl-faq__a-inner > :last-child { margin-bottom: 0; }
html[data-theme="dark"] .adl-faq__a-inner { background: var(--adl-surface); }
html[data-theme="dark"] .adl-faq__q button:hover { background: #4a3b30; }
.adl-faq__img { position: sticky; top: 8rem; }
.adl-faq__img img { margin-inline: auto; max-height: 760px; width: auto; }


/* ---------- Header ---------- */
.adl-header { background: var(--adl-h-bg, var(--adl-base)); padding-block: 1.3rem; z-index: 50; transition: box-shadow .3s; }
.adl-header.is-sticky { position: sticky; top: 0; }
.admin-bar .adl-header.is-sticky { top: 32px; }
/* In a block theme the header sits inside a template-part wrapper: make the wrapper stick. */
.wp-block-template-part:has(> .adl-header.is-sticky) { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-block-template-part:has(> .adl-header.is-sticky) { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-block-template-part:has(> .adl-header.is-sticky), .admin-bar .adl-header.is-sticky { top: 0; } }
.adl-header.is-scrolled { box-shadow: 0 6px 30px rgba(0, 0, 0, .06); }
.adl-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.adl-header__brand { flex: none; display: block; text-decoration: none; color: var(--adl-ink); line-height: 1; }
.adl-header__brand img { display: block; height: auto; max-height: 64px; object-fit: contain; }
.adl-header__logo-text { font-size: 1.7rem; font-weight: 800; white-space: nowrap; color: var(--adl-logo-c, var(--adl-ink)); }
html[data-theme="dark"] .adl-header__logo-text { color: var(--adl-logo-dc, #efe9e3); }
.adl-logo--dark { display: none !important; }
.adl-header img.adl-logo { max-width: 100%; height: auto; }
@media (max-width: 782px) { .adl-header img.adl-logo { max-width: 150px; } }
html[data-theme="dark"] .adl-logo--light { display: none !important; }
html[data-theme="dark"] .adl-logo--dark { display: block !important; }
.adl-icon--custom { object-fit: contain; }
.adl-nav { flex: 1; display: flex; justify-content: center; }
.adl-nav__list, .adl-nav ul { list-style: none; margin: 0; padding: 0; }
.adl-nav__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem clamp(1.4rem, 3.4vw, 3.6rem); }
.adl-nav li { position: relative; }
.adl-nav a { display: block; padding: .4em 0; color: var(--adl-h-link, var(--adl-ink)); text-decoration: none; font-size: var(--adl-h-fs, .95rem); font-weight: 500; position: relative; }
.adl-nav__list > li > a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--adl-accent); transform: scaleX(0); transition: transform .3s var(--adl-ease); }
.adl-nav__list > li > a:hover::after, .adl-nav .current-menu-item > a::after, .adl-nav .current_page_item > a::after { transform: scaleX(1); }
.adl-nav .sub-menu { position: absolute; top: 100%; inset-inline-start: -1rem; min-width: 13rem; padding: .6rem 0; background: var(--adl-base); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .1); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s; z-index: 5; }
.adl-nav li:hover > .sub-menu, .adl-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.adl-nav .sub-menu a { padding: .5em 1.2rem; }
.adl-nav .sub-menu a:hover { color: var(--adl-accent); }
.adl-header__actions { flex: none; display: flex; align-items: center; gap: 1.1rem; }
.adl-header__cta { min-height: var(--adl-btn-h, 3.4rem); padding-inline: var(--adl-btn-px, 2.2em); font-size: var(--adl-btn-fs, .95rem); }
.adl-toggle { width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; display: inline-grid; place-items: center; background: var(--adl-base); color: var(--adl-ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); transition: transform .3s var(--adl-ease); }
.adl-toggle:hover { transform: rotate(-20deg); }
.adl-toggle__sun { display: none; color: var(--adl-accent); }
html[data-theme="dark"] .adl-toggle { background: var(--adl-surface); }
html[data-theme="dark"] .adl-toggle__moon { display: none; }
html[data-theme="dark"] .adl-toggle__sun { display: block; }
.adl-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--adl-surface); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.adl-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--adl-ink); transition: .3s; }
.adl-header.is-open .adl-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.adl-header.is-open .adl-burger span:nth-child(2) { opacity: 0; }
.adl-header.is-open .adl-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1000px) {
	.adl-burger { display: flex; }
	.adl-toggle { width: 44px; height: 44px; }
	.adl-header__cta { display: none; }
	.adl-nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: var(--adl-base); padding: 5.5rem 1.6rem 2rem; box-shadow: -20px 0 50px rgba(0, 0, 0, .12); transform: translateX(105%); transition: transform .35s var(--adl-ease); overflow-y: auto; justify-content: flex-start; z-index: 60; visibility: hidden; transition: transform .35s var(--adl-ease), visibility .35s; }
	.adl-header.is-open .adl-nav { transform: none; visibility: visible; }
	.adl-nav__list { flex-direction: column; gap: 0; width: 100%; }
	.adl-nav a { padding: .8em 0; border-bottom: 1px solid var(--adl-line); font-size: 1.05rem; }
	.adl-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 1rem 0 0; }
	.adl-header__actions { position: relative; z-index: 61; }
}

/* ---------- Footer ---------- */
.adl-footer { background: var(--adl-f-bg, var(--adl-dark)); color: var(--adl-f-text, rgba(255, 255, 255, .72)); }
.adl-footer__main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2.5rem; padding-block: clamp(3rem, 5vw, 5rem); }
.adl-contact { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 6rem); }
.adl-contact__item { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 12rem; }
.adl-contact__icon { margin-bottom: 1.7rem; background: var(--adl-f-pill, var(--adl-dark-pill)); color: var(--adl-f-icon, #2b2626); }
.adl-contact__title { font-size: 1.2rem; font-weight: 800; margin-bottom: .7rem; color: var(--adl-f-title, #fff); }
.adl-contact__lines { margin: 0; font-size: 1.05rem; line-height: 1.85; }
.adl-contact__lines a { color: inherit; text-decoration: none; }
.adl-contact__lines a:hover { color: var(--adl-accent); }
.adl-badges { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.adl-badges__item { display: grid; place-items: center; width: 10.8rem; height: 12.7rem; border-radius: 14px; background: #fff; overflow: hidden; }
.adl-badges__item:nth-child(2n+1) { background: #f6ead3; }
.adl-badges__item img { max-width: 85%; max-height: 85%; width: auto; height: auto; }
.adl-badges__placeholder { color: #8a7a64; font-weight: 700; }
.adl-footer__bottom { background: var(--adl-f-bottom, #181715); color: var(--adl-f-bcol, rgba(255, 255, 255, .8)); font-size: .82rem; }
.adl-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-block: 1.3rem; }
.adl-footer__bottom p { margin: 0; }
.adl-footer__credit { direction: ltr; font-family: system-ui, sans-serif; }
.adl-footer__credit a { color: inherit; text-decoration: none; }
.adl-footer__credit a:hover { color: var(--adl-accent); }

/* ---------- Team card swap ---------- */
.adl-lawyer { transition: opacity .6s ease; }
.adl-lawyer.is-swapping { opacity: 0 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.adl-team__grid { grid-template-columns: 1fr; }
	.adl-team__intro { order: -1; margin-bottom: 1rem; }
	.adl-team__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.adl-cases__grid, .adl-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 5rem; }
	.adl-cases__grid { row-gap: 2rem; }
	.adl-cases__head { flex-direction: column; }
	.adl-cases__tabs { max-width: 100%; gap: .5rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline-end: calc(-1 * var(--adl-pad)); padding-inline-end: var(--adl-pad); }
	.adl-cases__tabs::-webkit-scrollbar { display: none; }
}
@media (max-width: 960px) {
	.adl-hero__grid, .adl-practice__grid, .adl-cred__grid, .adl-faq__grid { grid-template-columns: 1fr; }
	.adl-hero__visual { max-width: 480px; }
	.adl-practice__visual { order: 0; }
	.adl-practice__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; margin-top: 2rem !important; }
	.adl-cred__media { order: -1; }
	.adl-voices__grid { grid-template-columns: 1fr; }
	.adl-voices.is-slider-m .adl-voices__grid {
		grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: 100%;
		overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	}
	.adl-voices.is-slider-m .adl-voices__grid::-webkit-scrollbar { display: none; }
	.adl-voices.is-slider-m .adl-voice { scroll-snap-align: start; }
	.adl-voices.is-slider-m .adl-nav-arrows { display: flex; }
	.adl-faq__img { display: none; }
	.adl-cta__sub { padding-inline-start: 0; }
	.adl-cta__icon { width: 5.5rem; height: 3.2rem; }
	.adl-cta__title { gap: 1rem; }
}
@media (max-width: 600px) {
	.adl-cases__grid, .adl-news__grid { grid-template-columns: 1fr; }
	.adl-cases__grid { padding-inline: 0; }
	.adl-team__side { gap: .75rem; }
	.adl-lawyer__link { padding: .6rem .6rem 1rem; }
	.adl-cred__stats { gap: 2rem 1rem; margin-top: 2.2rem !important; }
	.adl-stat { flex-direction: column; align-items: flex-start; gap: .4rem; }
	.adl-stat__title { font-size: 1.15rem; }
	.adl-play { width: 52px; height: 52px; }
	.adl-play svg { width: 22px; height: 22px; }
	.adl-faq__q button { border-radius: 1.6rem; padding-inline: 1.3rem; }
	.adl-contact { flex-direction: column; align-items: center; }
	.adl-badges { justify-content: center; gap: 1rem; }
	.adl-badges__item { width: 7.4rem; height: 8.6rem; }
	.adl-footer__main { justify-content: center; }
	.adl-footer__bottom-inner { justify-content: center; text-align: center; }
	.adl-voice__wave { gap: 2px; }
	.adl-voice__wave i:nth-child(n+26) { display: none; }
}

/* ==========================================================================
   Visibility + mobile settings (from each tab's «نمایش این بخش» / «موبایل»)
   ========================================================================== */
@media (min-width: 783px) {
	.adl-hide-desktop, .adl-m-only { display: none !important; }
}
@media (max-width: 782px) {
	.adl-hide-mobile { display: none !important; }

	/* «اندازه در موبایل» fields */
	[style*="--adl-msize"] { font-size: var(--adl-msize) !important; }
	[style*="--adl-btn-fs-m"] { font-size: var(--adl-btn-fs-m) !important; }
	[style*="--adl-btn-h-m"] { min-height: var(--adl-btn-h-m) !important; }
	.adl-marquee__item { font-size: var(--adl-mq-fs-m, 1rem); }
	.adl-faq__q button { font-size: var(--adl-q-fs-m, .95rem); }
	.adl-nav a { font-size: var(--adl-h-fs-m, 1.05rem); }
	.has-m-pad { padding-block: var(--adl-m-pad) !important; }

	/* Portfolio + news: swipe carousel, N cards per view */
	.adl-cases.is-m-carousel .adl-cases__grid:not([hidden]),
	.adl-news.is-m-carousel .adl-news__grid {
		display: grid; grid-template-columns: none; grid-auto-flow: column;
		grid-auto-columns: calc((100% - (var(--adl-m-cols, 2) - 1) * .9rem) / var(--adl-m-cols, 2));
		gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: 0; overscroll-behavior-x: contain;
	}
	.adl-cases.is-m-carousel .adl-cases__grid::-webkit-scrollbar, .adl-news.is-m-carousel .adl-news__grid::-webkit-scrollbar { display: none; }
	.adl-cases.is-m-carousel .adl-case-card, .adl-news.is-m-carousel .adl-news-card { scroll-snap-align: start; }
	.adl-cases:not(.is-m-carousel) .adl-cases__grid:not([hidden]),
	.adl-news:not(.is-m-carousel) .adl-news__grid { grid-template-columns: repeat(var(--adl-m-cols, 1), minmax(0, 1fr)); gap: .9rem; padding-inline: 0; }
	.adl-cases:not(.is-m-carousel) .adl-m-only, .adl-news:not(.is-m-carousel) .adl-m-only { display: none; }
	.adl-cases .adl-nav-arrows, .adl-news .adl-nav-arrows { margin-top: 1.4rem; }
	.adl-case-card { padding: .6rem .6rem .8rem; }
	.adl-case-card__title { margin: .9rem 0 1rem !important; font-size: .95rem; }
	.adl-case-card__more { font-size: .7rem; gap: .4rem; }
	.adl-case-card__arrow { width: 2.2rem; }
	.adl-news-card { padding: 0 .7rem .8rem; }
	.adl-news-card__img { margin-top: -2.6rem; }
	.adl-news__grid { padding-top: 2.8rem; }
	.adl-news-card__title { font-size: .95rem; margin: 1rem 0 .4rem !important; }
	.adl-news-card__excerpt { font-size: .8rem; }
	.adl-news-card .adl-btn--block { min-height: var(--adl-btn-h-m, 2.4rem); font-size: var(--adl-btn-fs-m, .8rem); padding-inline: .5em; }
	.adl-tags { margin: .7rem 0 .9rem !important; }

	/* Team */
	.adl-team__side { grid-template-columns: repeat(var(--adl-m-cols, 2), minmax(0, 1fr)); }
	.adl-team.no-m-image .adl-team__img { display: none; }
	.adl-team__img { max-width: 160px; margin-bottom: 1rem; }

	/* Logos */
	.adl-logos__item { flex-basis: calc(100% / var(--adl-m-count, 3)); }

	/* Practice areas */
	.adl-practice__list { grid-template-columns: repeat(var(--adl-m-cols, 2), minmax(0, 1fr)); }
	.adl-practice__num { width: 2.8rem; height: 2.6rem; font-size: 1.25rem; }
	.adl-practice__item, .adl-practice__item a { gap: .8rem; }
	.adl-practice.no-m-image .adl-practice__visual { display: none; }
	.adl-practice.m-img-first .adl-practice__visual { order: -1; }
	.adl-practice:not(.m-img-first) .adl-practice__visual { order: 1; }

	/* Hero */
	.adl-hero.no-m-image .adl-hero__visual { display: none; }
	.adl-hero.m-img-first .adl-hero__visual { order: -1; }
	.adl-hero__visual { max-width: var(--adl-m-img, 420px); }

	/* Credentials */
	.adl-cred__stats { grid-template-columns: repeat(var(--adl-m-cols, 2), minmax(0, 1fr)); }
	.adl-cred .adl-cred__media { order: 1; }
	.adl-cred.m-img-first .adl-cred__media { order: -1; }

	/* Testimonials */
	.adl-voices.is-slider-m .adl-voices__grid { grid-template-rows: repeat(var(--adl-m-rows, 2), auto); }

	/* Footer */
	.adl-footer__main { gap: 2rem; }
	.adl-contact { display: grid; grid-template-columns: repeat(var(--adl-m-cols, 1), minmax(0, 1fr)); gap: 1.6rem 1rem; width: 100%; }
	.adl-contact__item { min-width: 0; }
	.adl-footer.is-m-compact .adl-contact__item { flex-direction: row; align-items: flex-start; text-align: start; gap: .9rem; }
	.adl-footer.is-m-compact .adl-contact__icon { flex: none; width: 3.4rem; height: 2.5rem; margin: 0; }
	.adl-footer.is-m-compact .adl-contact__icon svg { width: 20px; height: 20px; }
	.adl-footer.is-m-compact .adl-contact__title { display: block; margin-bottom: .15rem; font-size: 1rem; }
	.adl-footer.is-m-compact .adl-contact__lines { font-size: .92rem; }
	.adl-footer.is-m-compact .adl-contact__item > :not(.adl-contact__icon) { display: block; }
	.adl-footer.is-m-compact .adl-contact__item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; }
	.adl-footer.is-m-compact .adl-contact__icon { grid-row: 1 / span 2; }
	.adl-badges__item { width: var(--adl-m-badge, 6rem); height: calc(var(--adl-m-badge, 6rem) * 1.18); }
	.adl-footer.no-m-badges .adl-badges { display: none; }
}

/* Carousel tracks only move sideways — never let a touch scroll them vertically (that cut card tops). */
[data-adl-carousel] { overflow-y: hidden !important; touch-action: pan-x pan-y; }
.adl-voices.is-slider .adl-voices__grid, .adl-cases__grid { padding-block: .6rem; }
/* News images rise above their card: keep room for them inside the slider. */
.adl-news__grid { padding-top: 4.4rem; padding-bottom: .6rem; }
.adl-news.no-image .adl-news__grid { padding-top: .6rem; }
@media (hover: none) {
	.adl-case-card:hover, .adl-news-card:hover, .adl-lawyer__link:hover { transform: none; box-shadow: none; }
	.adl-case-card:hover .adl-case-card__img img, .adl-lawyer__link:hover .adl-lawyer__img img, .adl-news-card:hover .adl-news-card__img img { transform: none; }
}
@media (max-width: 782px) {
	.adl-cases__tabs .adl-pill { padding: .6em 1.2em; font-size: .9rem; }
	/* reveal animation inside sliders: fade only, no vertical shift */
	.adl-anim [data-adl-carousel] .adl-reveal { transform: none; }
	.adl-news__grid { padding-top: 3.2rem; }
	.adl-news.no-image .adl-news__grid { padding-top: .6rem; }

	/* Credentials: centred on mobile */
	.adl-cred__content { text-align: center; }
	.adl-cred__stats { margin-inline: auto !important; justify-items: center; }
	.adl-stat { flex-direction: column; align-items: center; text-align: center; gap: .5rem; }
	.adl-stat__body { display: flex; flex-direction: column; align-items: center; }
}

/* ==========================================================================
   Floating contact («آنلاین هستیم»)
   ========================================================================== */
.adl-fab {
	--adl-accent: var(--wp--preset--color--accent, #cc9b6a);
	--adl-ink: var(--wp--preset--color--ink, #2c2827);
	--adl-base: var(--wp--preset--color--base, #fff);
	--fab-on: #2ecc71;
	--fab-ease: cubic-bezier(.2, .8, .2, 1.15);
	position: relative; z-index: 9990; font-family: inherit;
}
.adl-fab * { box-sizing: border-box; }
.adl-fab button { font: inherit; }

/* Backdrop: blurred page */
.adl-fab__backdrop {
	position: fixed; inset: 0; z-index: 1; background: rgba(24, 21, 21, .32);
	-webkit-backdrop-filter: blur(9px) saturate(1.1); backdrop-filter: blur(9px) saturate(1.1);
	opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
.adl-fab.is-open .adl-fab__backdrop { opacity: 1; visibility: visible; }

/* Dock: button + tag, fixed in the corner */
.adl-fab__dock { position: fixed; bottom: var(--fab-y, 28px); z-index: 3; display: flex; align-items: center; gap: .7rem; transition: transform .4s var(--fab-ease), opacity .3s; }
.adl-fab.is-left .adl-fab__dock { left: var(--fab-x, 28px); }
.adl-fab.is-right .adl-fab__dock { right: var(--fab-x, 28px); flex-direction: row-reverse; }
.adl-fab.is-away .adl-fab__dock { transform: translateY(140%); opacity: 0; pointer-events: none; }

.adl-fab__btn {
	position: relative; display: grid; place-items: center; width: var(--fab-size, 64px); height: var(--fab-size, 64px);
	border: 0; border-radius: 50%; cursor: pointer; padding: 0;
	background: var(--fab-bg, var(--adl-accent)); color: var(--fab-fg, #fff);
	box-shadow: 0 10px 30px rgba(204, 155, 106, .45), 0 2px 6px rgba(0, 0, 0, .12);
	transition: transform .3s var(--fab-ease), box-shadow .3s;
}
.adl-fab__btn:hover { transform: scale(1.06); }
.adl-fab__btn:focus-visible { outline: 3px solid var(--adl-ink); outline-offset: 3px; }
.adl-fab__open-icon, .adl-fab__close-icon { grid-area: 1 / 1; display: grid; place-items: center; transition: transform .35s var(--fab-ease), opacity .25s; }
.adl-fab__open-icon img { object-fit: contain; }
.adl-fab__close-icon { opacity: 0; transform: rotate(-90deg) scale(.6); }
.adl-fab.is-open .adl-fab__open-icon { opacity: 0; transform: rotate(90deg) scale(.6); }
.adl-fab.is-open .adl-fab__close-icon { opacity: 1; transform: none; }
.adl-fab__ring { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.adl-fab.is-online .adl-fab__ring { animation: adl-fab-ring 2.6s ease-out infinite; }
.adl-fab.is-open .adl-fab__ring { animation: none; }
@keyframes adl-fab-ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--fab-on) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 18px transparent; } }
.adl-fab__badge { position: absolute; top: 3px; inset-inline-end: 3px; width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid #fff; background: #b8b2ae; }
.adl-fab.is-online .adl-fab__badge { background: var(--fab-on); }

.adl-fab__tag {
	border: 0; cursor: pointer; padding: .55em 1.1em; border-radius: 999px; font-size: .9rem; font-weight: 700;
	background: var(--adl-base); color: var(--adl-ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
	animation: adl-fab-tag .6s .8s both var(--fab-ease);
}
.adl-fab.is-open .adl-fab__tag { opacity: 0; pointer-events: none; }
@keyframes adl-fab-tag { from { opacity: 0; transform: translateX(var(--fab-tag-from, -10px)); } }
.adl-fab.is-right { --fab-tag-from: 10px; }

/* Panel + status */
.adl-fab__panel { position: fixed; z-index: 2; inset: auto; pointer-events: none; }
.adl-fab.is-open .adl-fab__panel { pointer-events: auto; }
.adl-fab__status { display: flex; align-items: center; gap: .7rem; }
.adl-fab__status-text { display: flex; flex-direction: column; line-height: 1.5; flex: 1; }
.adl-fab__status-text strong { font-size: 1rem; color: var(--adl-ink); }
.adl-fab__status-text small { font-size: .8rem; color: #8a8483; }
.adl-fab__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #b8b2ae; box-shadow: 0 0 0 4px rgba(184, 178, 174, .2); }
.adl-fab.is-online .adl-fab__dot { background: var(--fab-on); box-shadow: 0 0 0 4px color-mix(in srgb, var(--fab-on) 22%, transparent); }
.adl-fab__x { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .05); color: var(--adl-ink); cursor: pointer; }
.adl-fab.is-offline .adl-fab__li.is-office { display: none; }

.adl-fab__list { list-style: none; margin: 0; padding: 0; }
.adl-fab__item { display: flex; align-items: center; gap: .7rem; text-decoration: none !important; color: var(--adl-ink); }
.adl-fab__icon {
	flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
	background: var(--adl-accent); color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); transition: transform .25s var(--fab-ease);
}
.adl-fab.is-brand .adl-fab__icon { background: var(--c); }
.adl-fab__item--rubika .adl-fab__icon, .adl-fab.is-brand .adl-fab__item--rubika .adl-fab__icon { background: #fff; }
.adl-fab__item--rubika .adl-fab__icon svg { width: 30px; height: 30px; }
.adl-fab__label { font-size: .88rem; font-weight: 700; white-space: nowrap; }

/* ---- Desktop: channels fan out in a quarter-circle from the button ---- */
@media (min-width: 783px) {
	.adl-fab__panel { bottom: calc(var(--fab-y, 28px) + var(--fab-size, 64px) / 2); width: 0; height: 0; }
	.adl-fab.is-left .adl-fab__panel { left: calc(var(--fab-x, 28px) + var(--fab-size, 64px) / 2); }
	.adl-fab.is-right .adl-fab__panel { right: calc(var(--fab-x, 28px) + var(--fab-size, 64px) / 2); }
	.adl-fab__li { position: absolute; left: 0; bottom: 0; width: 0; height: 0; }
	.adl-fab__item {
		position: absolute; left: -27px; bottom: -27px; --dx: calc(sin(var(--a)) * var(--fab-r)); --dy: calc(cos(var(--a)) * var(--fab-r));
		transform: translate(0, 0) scale(.3); opacity: 0;
		transition: transform .45s var(--fab-ease), opacity .3s; transition-delay: calc((var(--n, 8) - var(--i)) * 25ms);
	}
	.adl-fab.is-right .adl-fab__item { --dx: calc(sin(var(--a)) * var(--fab-r) * -1); }
	.adl-fab.is-open .adl-fab__item { transform: translate(var(--dx), calc(var(--dy) * -1)) scale(1); opacity: 1; transition-delay: calc(var(--i) * 45ms); }
	.adl-fab__item:hover .adl-fab__icon, .adl-fab__item:focus-visible .adl-fab__icon { transform: scale(1.12); }
	.adl-fab__item:focus-visible { outline: none; }
	.adl-fab__item:focus-visible .adl-fab__icon { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--adl-accent); }
	.adl-fab__label {
		position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px);
		padding: .3em .8em; border-radius: 999px; background: var(--adl-ink); color: #fff; font-size: .78rem;
		opacity: 0; pointer-events: none; transition: .2s;
	}
	.adl-fab__item:hover .adl-fab__label, .adl-fab__item:focus-visible .adl-fab__label { opacity: 1; transform: translate(-50%, 0); }
	/* status card sits above the arc */
	.adl-fab__status {
		position: absolute; bottom: calc(var(--fab-r) + 60px); width: max-content; max-width: 320px;
		padding: .9rem 1.1rem; border-radius: 18px; background: var(--adl-base); box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
		opacity: 0; transform: translateY(12px); transition: .35s var(--fab-ease);
	}
	.adl-fab__list { --n: 8; }
	.adl-fab.is-left .adl-fab__status { left: calc(var(--fab-size, 64px) / -2); }
	.adl-fab.is-right .adl-fab__status { right: calc(var(--fab-size, 64px) / -2); }
	.adl-fab.is-open .adl-fab__status { opacity: 1; transform: none; transition-delay: .1s; }
	.adl-fab__status .adl-fab__x { display: none; }
}

/* ---- Mobile: bottom sheet ---- */
@media (max-width: 782px) {
	.adl-fab__dock { bottom: var(--fab-my, 16px); }
	.adl-fab.is-left .adl-fab__dock { left: var(--fab-mx, 16px); }
	.adl-fab.is-right .adl-fab__dock { right: var(--fab-mx, 16px); }
	.adl-fab__btn { width: var(--fab-msize, 56px); height: var(--fab-msize, 56px); }
	.adl-fab__tag { display: none; }
	.adl-fab.is-open .adl-fab__dock { opacity: 0; pointer-events: none; }
	.adl-fab__panel {
		left: 0; right: 0; bottom: 0; max-height: 82vh; overflow-y: auto;
		padding: 1.1rem 1.1rem calc(1.2rem + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0;
		background: var(--adl-base); box-shadow: 0 -20px 60px rgba(0, 0, 0, .2);
		transform: translateY(105%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); visibility: hidden;
	}
	.adl-fab__panel::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 5px; background: rgba(0, 0, 0, .12); margin: -.3rem auto .9rem; }
	.adl-fab.is-open .adl-fab__panel { transform: none; visibility: visible; }
	.adl-fab__status { padding-bottom: .9rem; margin-bottom: .9rem; border-bottom: 1px solid rgba(0, 0, 0, .07); }
	.adl-fab__list { display: grid; grid-template-columns: repeat(var(--fab-mcols, 2), minmax(0, 1fr)); gap: .6rem; }
	.adl-fab__item { padding: .55rem .7rem; border-radius: 16px; background: rgba(0, 0, 0, .035); min-height: 60px; }
	.adl-fab__icon { width: 44px; height: 44px; box-shadow: none; }
	.adl-fab__icon svg { width: 21px; height: 21px; }
	.adl-fab__label { font-size: .9rem; white-space: normal; }
	.adl-fab.is-open .adl-fab__li { animation: adl-fab-in .4s both; animation-delay: calc(var(--i) * 35ms + 120ms); }
	@keyframes adl-fab-in { from { opacity: 0; transform: translateY(10px); } }
	.adl-fab.no-m-bubble .adl-fab__bubble { display: none !important; }
	html.adl-fab-lock { overflow: hidden; }
}

/* Welcome bubble */
.adl-fab__bubble {
	position: fixed; z-index: 3; bottom: calc(var(--fab-y, 28px) + var(--fab-size, 64px) + 14px);
	display: flex; align-items: center; gap: .7rem; max-width: 290px; padding: .7rem .9rem .7rem .7rem;
	border-radius: 18px; background: var(--adl-base); box-shadow: 0 16px 44px rgba(0, 0, 0, .16);
	animation: adl-fab-pop .5s var(--fab-ease) both;
}
.adl-fab.is-left .adl-fab__bubble { left: var(--fab-x, 28px); }
.adl-fab.is-right .adl-fab__bubble { right: var(--fab-x, 28px); }
@keyframes adl-fab-pop { from { opacity: 0; transform: translateY(14px) scale(.92); } }
.adl-fab__bubble[hidden] { display: none; }
.adl-fab.is-open .adl-fab__bubble { display: none; }
.adl-fab__avatar { position: relative; flex: none; width: 46px; height: 46px; }
.adl-fab__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.adl-fab__avatar .adl-fab__dot { position: absolute; bottom: 1px; inset-inline-end: 1px; width: 11px; height: 11px; border: 2px solid #fff; box-shadow: none; }
.adl-fab__bubble-body { display: flex; flex-direction: column; align-items: flex-start; text-align: start; border: 0; background: none; padding: 0; cursor: pointer; color: var(--adl-ink); line-height: 1.55; }
.adl-fab__bubble-body strong { font-size: .92rem; }
.adl-fab__bubble-body span { font-size: .8rem; color: #8a8483; }
.adl-fab__bubble-x { position: absolute; top: -8px; inset-inline-end: -8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--adl-ink); color: #fff; cursor: pointer; }
@media (max-width: 782px) {
	.adl-fab__bubble { bottom: calc(var(--fab-my, 16px) + var(--fab-msize, 56px) + 12px); max-width: calc(100vw - 32px); }
	.adl-fab.is-left .adl-fab__bubble { left: var(--fab-mx, 16px); }
	.adl-fab.is-right .adl-fab__bubble { right: var(--fab-mx, 16px); }
}

/* Dark mode */
html[data-theme="dark"] .adl-fab { --adl-base: #242120; --adl-ink: #efe9e3; }
html[data-theme="dark"] .adl-fab__item { background: rgba(255, 255, 255, .05); }
@media (prefers-reduced-motion: reduce) { .adl-fab * { animation: none !important; transition: none !important; } }

/* ==========================================================================
   Videos (reels-style) + full-screen player
   ========================================================================== */
.adl-videos__tools { display: flex; align-items: center; gap: .6rem; }
.adl-videos__track {
	--gap: 1.2rem;
	display: grid; grid-auto-flow: column; gap: var(--gap);
	grid-auto-columns: calc((100% - (var(--adl-view, 5) - 1) * var(--gap)) / var(--adl-view, 5));
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: .6rem; overscroll-behavior-x: contain;
}
.adl-videos__track::-webkit-scrollbar { display: none; }
.adl-reel { scroll-snap-align: start; }
.adl-reel__btn {
	position: relative; display: block; width: 100%; aspect-ratio: var(--adl-ratio, 9/16); padding: 0; border: 0; cursor: pointer;
	border-radius: 18px; overflow: hidden; background: #1b1918; color: #fff; text-align: start; font: inherit; isolation: isolate;
	box-shadow: 0 10px 30px rgba(50, 44, 44, .12); transition: transform .4s var(--adl-ease), box-shadow .4s;
}
.adl-reel__btn:focus-visible { outline: 3px solid var(--adl-accent); outline-offset: 3px; }
.adl-reel__media, .adl-reel__media img, .adl-reel__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.adl-reel__media img { filter: grayscale(.9); transition: filter .5s, transform .8s var(--adl-ease); }
.adl-reel__preview { opacity: 0; transition: opacity .4s; }
.adl-reel__btn.is-previewing .adl-reel__preview { opacity: 1; }
.adl-reel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .78)); z-index: 1; }
.adl-reel__play {
	position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
	transform: translate(-50%, -50%); background: var(--adl-play, var(--adl-accent)); color: #fff; padding-left: 3px;
	box-shadow: 0 0 0 8px rgba(255, 255, 255, .18); transition: transform .35s var(--adl-ease), opacity .3s;
}
.adl-reel__meta { position: absolute; inset: auto 0 0 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: 1rem; }
.adl-reel__cat { padding: .2em .8em; border-radius: 999px; background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .72rem; }
.adl-reel__title { font-size: .95rem; font-weight: 700; line-height: 1.6; }
.adl-reel__insta { position: absolute; top: .8rem; inset-inline-start: .8rem; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (hover: hover) {
	.adl-reel__btn:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(50, 44, 44, .2); }
	.adl-reel__btn:hover .adl-reel__media img { filter: none; transform: scale(1.05); }
	.adl-reel__btn:hover .adl-reel__play { transform: translate(-50%, -50%) scale(1.12); }
	.adl-reel__btn.is-previewing .adl-reel__play { opacity: 0; }
}
/* Grid layout (category pages, «آموزش» pages…) */
.adl-videos--grid .adl-videos__track {
	grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(var(--adl-view, 4), minmax(0, 1fr));
	overflow: visible; scroll-snap-type: none; row-gap: calc(var(--gap) * 1.2);
}
@media (max-width: 782px) {
	.adl-videos--grid .adl-videos__track { --gap: .6rem; grid-template-columns: repeat(var(--adl-m-cols, 2), minmax(0, 1fr)); }
	.adl-videos--grid[style*="--adl-m-cols:3"] .adl-videos__track { --gap: 3px; row-gap: 3px; }
	.adl-videos--grid[style*="--adl-m-cols:3"] .adl-reel__btn { border-radius: 4px; box-shadow: none; }
	.adl-videos--grid[style*="--adl-m-cols:3"] .adl-reel__play { width: 30px; height: 30px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); }
	.adl-videos--grid[style*="--adl-m-cols:3"] .adl-reel__cat, .adl-videos--grid[style*="--adl-m-cols:3"] .adl-reel__insta { display: none; }
	.adl-videos--grid[style*="--adl-m-cols:3"] .adl-reel__meta { padding: .4rem; }
	.adl-videos--grid[style*="--adl-m-cols:3"] .adl-reel__title { font-size: .66rem; line-height: 1.5; }
	.adl-videos--grid[style*="--adl-m-cols:1"] .adl-reel__title { font-size: 1rem; }
}
@media (max-width: 782px) {
	.adl-videos__track { --gap: .8rem; grid-auto-columns: calc((100% - (var(--adl-m-view, 2.3) - 1) * var(--gap)) / var(--adl-m-view, 2.3)); }
	.adl-videos .adl-head-row { align-items: center; }
	.adl-videos__tools .adl-arrow { display: none; }
	.adl-reel__btn { border-radius: 14px; }
	.adl-reel__play { width: 42px; height: 42px; }
	.adl-reel__meta { padding: .7rem; }
	.adl-reel__title { font-size: .8rem; }
}

/* Reels player: vertical snap feed */
.adl-reels { position: fixed; inset: 0; z-index: 9995; color: #fff; }
.adl-reels[hidden] { display: none; }
.adl-reels__backdrop { position: absolute; inset: 0; background: rgba(10, 9, 9, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: adl-lb-fade .3s both; }
@keyframes adl-lb-fade { from { opacity: 0; } }
.adl-reels__feed {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	height: min(94vh, 980px); height: min(94dvh, 980px); aspect-ratio: 9 / 16; max-width: 100vw;
	overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain;
	border-radius: 20px; background: #000; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); outline: none;
	animation: adl-reels-in .4s cubic-bezier(.2, .8, .2, 1.05) both;
}
.adl-reels__feed::-webkit-scrollbar { display: none; }
@keyframes adl-reels-in { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } }
.adl-reels__slide { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.adl-reels__media { position: absolute; inset: 0; cursor: pointer; }
.adl-reels__media img, .adl-reels__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.adl-reels__media img { filter: blur(0); }
.adl-reels__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.adl-reels__slide.is-embed .adl-reels__progress { display: none; }
.adl-reels__info {
	position: absolute; inset: auto 0 0 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem;
	padding: 4rem 1.1rem 1.4rem; padding-inline-end: 4.6rem; pointer-events: none;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
}
.adl-reels__info strong { font-size: 1.02rem; line-height: 1.7; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.adl-reels__cat { padding: .2em .8em; border-radius: 999px; background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .74rem; }
.adl-reels__actions { position: absolute; z-index: 3; bottom: 1.6rem; inset-inline-end: .8rem; display: flex; flex-direction: column; gap: .7rem; }
.adl-reels__actions > * {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(0, 0, 0, .38); color: #fff !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .2s, background-color .2s;
}
.adl-reels__actions > *:hover { background: var(--adl-accent, #cc9b6a); transform: scale(1.06); }
.adl-reels__progress { position: absolute; inset: auto 0 0 0; z-index: 3; height: 3px; background: rgba(255, 255, 255, .22); }
.adl-reels__progress i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .25s linear; }
.adl-reels__flash { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(0, 0, 0, .42); transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; padding-left: 4px; }
.adl-reels__flash.is-on { animation: adl-reels-flash .7s ease both; }
.adl-reels__slide.is-paused .adl-reels__flash { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: none; }
@keyframes adl-reels-flash { 30% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); } }
.adl-reels__toast { position: absolute; top: 1.2rem; left: 50%; z-index: 4; transform: translateX(-50%); padding: .5em 1.1em; border-radius: 999px; background: rgba(0, 0, 0, .7); font-size: .85rem; animation: adl-lb-fade .2s both; }
.adl-reels__x { position: absolute; top: 1.2rem; inset-inline-end: 1.2rem; z-index: 4; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.adl-reels__nav { position: absolute; top: 50%; inset-inline-start: calc(50% + min(94vh, 980px) * 9 / 32 + 1.6rem); z-index: 4; transform: translateY(-50%); display: flex; flex-direction: column; gap: .7rem; }
.adl-reels__nav button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; transition: background-color .2s; }
.adl-reels__nav button:hover, .adl-reels__x:hover { background: var(--adl-accent, #cc9b6a); }
@media (max-width: 782px) {
	.adl-reels__feed { inset: 0; top: 0; left: 0; transform: none; width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto; border-radius: 0; animation: adl-lb-fade .25s both; }
	.adl-reels__nav { display: none; }
	.adl-reels__x { top: calc(.8rem + env(safe-area-inset-top)); inset-inline-end: .8rem; background: rgba(0, 0, 0, .35); }
	.adl-reels__info { padding-bottom: calc(1.4rem + env(safe-area-inset-bottom)); }
	.adl-reels__actions { bottom: calc(1.6rem + env(safe-area-inset-bottom)); }
}
html.adl-lb-lock { overflow: hidden; }
.adl-video-single { position: relative; max-width: 480px; aspect-ratio: 9/16; margin: 0 auto 2rem; border-radius: 20px; overflow: hidden; background: #000; }
.adl-video-single video, .adl-video-single iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
