/* ==================================================
   PROFILAXIE COPII – PAGINĂ EDITORIALĂ CU SIDEBAR STICKY
================================================== */

body.ortodent-profilaxie-copii-layout-page {
	overflow-x: hidden;
	background: var(--oda-pale);
}

body.ortodent-profilaxie-copii-layout-page #content,
body.ortodent-profilaxie-copii-layout-page #content > .ast-container,
body.ortodent-profilaxie-copii-layout-page #primary,
body.ortodent-profilaxie-copii-layout-page .content-area,
body.ortodent-profilaxie-copii-layout-page .site-main {
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.odpk-page {
	background: var(--oda-pale);
}

.odpk-page-head {
	display: grid;
	min-height: 0;
	padding: clamp(28px, 3.5vw, 46px) 0;
	place-items: center;
	background: var(--oda-pale);
	text-align: center;
}

.odpk-page-head__inner {
	display: grid;
	place-items: center;
}

.odpk-page-head h1 {
	margin-bottom: 10px;
	font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.odpk-scroll {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 1px solid #d3dce1;
	border-radius: 50%;
	color: var(--oda-ink);
	font-size: 1.3rem;
	transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.odpk-scroll:hover,
.odpk-scroll:focus {
	border-color: var(--oda-orange);
	background: var(--oda-orange);
	color: var(--oda-white);
}

.odpk-content-section {
	padding: clamp(30px, 4vw, 54px) 0 clamp(70px, 7vw, 106px);
}

.odpk-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(310px, 370px);
	align-items: start;
	gap: clamp(40px, 5vw, 74px);
}

.odpk-article {
	min-width: 0;
	width: 100%;
}

.odpk-featured-image,
.odpk-image-pair figure,
.odpk-content-image {
	overflow: hidden;
	margin: 0;
	border-radius: 24px;
	background: var(--oda-white);
	box-shadow: var(--oda-shadow);
}

.odpk-featured-image {
	margin-bottom: clamp(34px, 4vw, 54px);
}

.odpk-featured-image img {
	display: block;
	width: 100%;
	height: clamp(430px, 48vw, 650px);
	object-fit: cover;
	object-position: center;
}

.odpk-article-intro {
	margin-bottom: 36px;
}

.odpk-article-intro h2 {
	max-width: 760px;
	margin-bottom: 0;
	font-size: clamp(2.5rem, 4.2vw, 4.4rem);
}

.odpk-copy-section {
	margin-bottom: clamp(42px, 5vw, 68px);
}

.odpk-copy-section h2 {
	margin-bottom: 22px;
	font-size: clamp(2rem, 3vw, 3.15rem);
}

.odpk-copy-section p {
	margin-bottom: 18px;
	color: var(--oda-muted);
	font-size: clamp(1rem, 1.08vw, 1.08rem);
	line-height: 1.8;
}

.odpk-copy-section strong {
	color: var(--oda-ink);
}

.odpk-image-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 0 0 clamp(42px, 5vw, 68px);
}

.odpk-image-pair img,
.odpk-content-image img {
	display: block;
	width: 100%;
	height: 330px;
	object-fit: cover;
	object-position: center;
	transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}

.odpk-content-image {
	margin-bottom: clamp(42px, 5vw, 68px);
}

.odpk-content-image img {
	height: 430px;
}

.odpk-image-pair figure:hover img,
.odpk-content-image:hover img {
	transform: scale(1.03);
}

.odpk-image-pair--products figure:first-child img {
	object-fit: contain;
	background: #fff;
}

.odpk-image-pair--products figure:last-child img {
	object-fit: contain;
	background: #fff;
	padding: 18px;
}

.odpk-sidebar {
	position: sticky;
	top: 118px;
	align-self: start;
}

.admin-bar .odpk-sidebar {
	top: 150px;
}

.odpk-sidebar-card {
	padding: 30px;
	border: 1px solid var(--oda-line);
	border-radius: 24px;
	background: var(--oda-white);
	box-shadow: 0 18px 54px rgba(27, 42, 51, .08);
}

.odpk-sidebar-card__head {
	margin-bottom: 24px;
}

.odpk-sidebar-card__head h2 {
	margin-bottom: 14px;
	font-size: clamp(1.9rem, 2.7vw, 2.6rem);
	line-height: 1.05;
}

.odpk-sidebar-card__head > p:last-child {
	margin-bottom: 0;
	color: var(--oda-muted);
	font-size: .95rem;
	line-height: 1.65;
}

.odpk-contact-info {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--oda-line);
}

.odpk-contact-info > a,
.odpk-contact-info > div {
	display: grid;
	gap: 4px;
	padding: 14px 0;
	border-bottom: 1px solid var(--oda-line);
	color: var(--oda-ink);
}

.odpk-contact-info > a {
	transition: color .2s ease, padding-left .2s ease;
}

.odpk-contact-info > a:hover,
.odpk-contact-info > a:focus {
	padding-left: 5px;
	color: var(--oda-orange);
}

.odpk-contact-info span {
	color: var(--oda-muted);
	font-size: .78rem;
}

.odpk-contact-info strong {
	font-size: .94rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.odpk-contact-button {
	display: inline-flex;
	width: 100%;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	margin-top: 24px;
	padding: 13px 20px;
	border-radius: 999px;
	background: var(--oda-orange);
	color: var(--oda-white);
	font-weight: 900;
	text-align: center;
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.odpk-contact-button:hover,
.odpk-contact-button:focus {
	background: var(--oda-orange-dark);
	color: var(--oda-white);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(255, 106, 19, .22);
}

.odpk-related {
	padding: clamp(62px, 7vw, 104px) 0;
	background: var(--oda-white);
}

.odpk-related__heading {
	max-width: 760px;
	margin-bottom: 36px;
}

.odpk-related__heading h2 {
	margin-bottom: 0;
}

.odpk-related__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.odpk-related-card {
	position: relative;
	display: flex;
	min-height: 470px;
	align-items: flex-end;
	overflow: hidden;
	padding: clamp(28px, 4vw, 48px);
	border-radius: 24px;
	background-image:
		linear-gradient(180deg, rgba(20, 24, 28, .08) 20%, rgba(20, 24, 28, .88) 100%),
		var(--odpk-related-image);
	background-position: center;
	background-size: cover;
	color: var(--oda-white);
	box-shadow: var(--oda-shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}

.odpk-related-card:hover,
.odpk-related-card:focus {
	color: var(--oda-white);
	transform: translateY(-5px);
	box-shadow: 0 30px 80px rgba(27, 42, 51, .18);
}

.odpk-related-card > div {
	position: relative;
	z-index: 1;
	max-width: 540px;
}

.odpk-related-card h3 {
	margin-bottom: 14px;
	color: var(--oda-white);
	font-size: clamp(2rem, 3.4vw, 3.3rem);
}

.odpk-related-card p {
	margin-bottom: 22px;
	color: rgba(255, 255, 255, .82);
}

.odpk-related-card span {
	display: inline-flex;
	padding-bottom: 4px;
	border-bottom: 2px solid var(--oda-orange);
	color: var(--oda-white);
	font-weight: 900;
}

.odpk-motion-enabled .odpk-reveal {
	opacity: 0;
	transition:
		opacity 1.35s cubic-bezier(.22, 1, .36, 1),
		transform 1.08s cubic-bezier(.22, 1, .36, 1);
	transition-delay: var(--odpk-reveal-delay, 0ms);
	will-change: opacity, transform;
}

.odpk-motion-enabled .odpk-reveal--up {
	transform: translate3d(0, 48px, 0);
}

.odpk-motion-enabled .odpk-reveal--left {
	transform: translate3d(-70px, 0, 0);
}

.odpk-motion-enabled .odpk-reveal--right {
	transform: translate3d(70px, 0, 0);
}

.odpk-motion-enabled .odpk-reveal--scale {
	transform: translate3d(0, 30px, 0) scale(.96);
}

.odpk-motion-enabled .odpk-reveal.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 1024px) {
	.odpk-layout {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.odpk-sidebar,
	.admin-bar .odpk-sidebar {
		position: static;
		top: auto;
	}

	.odpk-related__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.odpk-page-head {
		padding: 24px 0 28px;
	}

	.odpk-content-section {
		padding: 28px 0 64px;
	}

	.odpk-featured-image,
	.odpk-image-pair figure,
	.odpk-content-image,
	.odpk-sidebar-card,
	.odpk-related-card {
		border-radius: 20px;
	}

	.odpk-featured-image img {
		height: 370px;
	}

	.odpk-image-pair {
		grid-template-columns: 1fr;
	}

	.odpk-image-pair img {
		height: 280px;
	}

	.odpk-content-image img {
		height: 340px;
	}

	.odpk-sidebar-card {
		padding: 24px;
	}

	.odpk-related-card {
		min-height: 430px;
	}

	.odpk-motion-enabled .odpk-reveal {
		transition-duration: 1.05s, .9s;
	}

	.odpk-motion-enabled .odpk-reveal--left,
	.odpk-motion-enabled .odpk-reveal--right {
		transform: translate3d(0, 38px, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.odpk-motion-enabled .odpk-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.odpk-image-pair img,
	.odpk-content-image img {
		transition: none;
	}
}


/* ==============================================================
   ORTODENT OCTOMBRIE 2026 — REVIZIE FINALĂ STRICT ACEASTĂ PAGINĂ
   Hero fotografie + titlu animat, recenzii, carduri fără descrieri
   ============================================================= */

body.ortodent-profilaxie-copii-layout-page { background: #ffffff; }

.odpk-page {
    --odpk-orange: #ff6a13;
    --odpk-orange-dark: #e65300;
    --odpk-ink: #252525;
    --odpk-muted: #687178;
    --odpk-line: #e7e3df;
    --odpk-white: #ffffff;
    --odpk-shadow: 0 24px 70px rgba(32,25,20,.12);
    background: #ffffff;
    color: #252525;
}
.odpk-page *, .odpk-page *::before, .odpk-page *::after { box-sizing: border-box; }
.odpk-page .odpk-content-section { background:#ffffff; padding-top:clamp(58px,6vw,92px); }
.odpk-page .odpk-related { background:#ffffff; }

/* HERO cu aceeași animație ca în exemplul «Ortodonție adulți» */


.odpk-page .odpk-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-height: clamp(540px, 78svh, 810px);
    padding: clamp(100px, 13vw, 180px) 0;
    background: #353535;
}

.odpk-hero__image {
    position: absolute;
    z-index: -2;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.odpk-hero__overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(16, 21, 24, .54) 0%,
        rgba(16, 21, 24, .35) 52%,
        rgba(16, 21, 24, .32) 100%);
}

.odpk-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1260px, calc(100% - 48px));
    margin-inline: auto;
}

.odpk-hero__content {
    width: 100%;
    margin-inline: auto;
    text-align: center;
}

.odpk-hero__eyebrow {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(.7rem, 1vw, .85rem);
    font-weight: 900;
    letter-spacing: .2em;
    line-height: 1.5;
    text-transform: uppercase;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .28);
    opacity: 0;
    transform: translateY(18px);
    animation: odpkHeroIntro .9s cubic-bezier(.22, 1, .36, 1) .18s forwards;
}

.odpk-page .odpk-hero h1 {
    margin: 0;
    max-width: none;
    color: #ffffff;
    font-size: clamp(3.4rem, 8.1vw, 8.6rem);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.065em;
    text-shadow: 0 5px 32px rgba(0, 0, 0, .27);
}

.odpk-hero__title-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: .23em;
    row-gap: .08em;
    overflow: visible;
}

.odpk-hero__word {
    display: inline-flex;
    white-space: nowrap;
}

.odpk-hero__char {
    display: inline-block;
    position: relative;
    opacity: 0;
    transform: translateY(100%) rotate(-15deg);
    transform-origin: 50% 50%;
    animation: odpkHeroCharReveal 1.55s cubic-bezier(.165, .84, .44, 1) var(--odpk-char-delay, .35s) forwards;
    will-change: opacity, transform;
}

@keyframes odpkHeroCharReveal {
    from { opacity: 0; transform: translateY(100%) rotate(-15deg); }
    to   { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes odpkHeroIntro {
    to { opacity: 1; transform: translateY(0); }
}



/* CARDURI: numai titlul vizibil peste imaginea de cover actualizată */
.odpk-page .odpk-related-card {
    display:flex;
    align-items:flex-end;
    background-image: linear-gradient(180deg, rgba(15,20,26,.03) 0%, rgba(15,20,26,.18) 43%, rgba(15,20,26,.80) 100%), var(--odpk-related-image);
    text-decoration:none;
}
.odpk-page .odpk-related-card h3,
.odpk-page .odpk-related-card:hover h3,
.odpk-page .odpk-related-card:focus h3 {
    margin:0;
    color:#fff !important;
    text-shadow:0 3px 15px rgba(0,0,0,.50);
    font-size:clamp(2rem,3.2vw,3.2rem);
    line-height:1.12;
}
.odpk-page .odpk-related-card p,
.odpk-page .odpk-related-card span { display:none !important; }
.odpk-page .odpk-related-card:focus-visible { outline: 3px solid #ff6a13; outline-offset:4px; }

/* Recenzii Google — integrăm secțiunea folosită pe restul site-ului */


.odpk-reviews {
    padding: clamp(60px, 6.5vw, 94px) 0;
    background: #ffffff;
    color: var(--odpk-ink);
}

.odpk-reviews__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: end;
    gap: clamp(24px, 5vw, 60px);
    margin-bottom: clamp(30px, 4vw, 48px);
}

.odpk-reviews__heading .odc-eyebrow {
    margin-bottom: 12px;
    color: var(--odpk-orange);
}

.odpk-reviews__heading h2 {
    margin-bottom: 0;
    color: var(--odpk-ink);
    font-size: clamp(2.5rem, 4.4vw, 4.6rem);
    line-height: 1.06;
    letter-spacing: -.05em;
}

.odpk-reviews__heading > p {
    max-width: 450px;
    margin-bottom: 0;
    color: var(--odpk-muted);
    line-height: 1.75;
}

.odpk-reviews__widget {
    width: 100%;
    min-width: 0;
}



@media (max-width: 1024px) {
 .odpk-page .odpk-related__grid, .odpk-reviews__heading { grid-template-columns:1fr; }
}
@media (max-width: 767px) {
 .odpk-page .odpk-hero { min-height:70svh; min-height:max(490px,70svh); padding:100px 0 76px; }
 .odpk-hero__inner { width:min(100% - 32px,1260px); }
 .odpk-page .odpk-hero h1 { font-size:clamp(2.7rem,10.7vw,5.1rem); line-height:1.08; letter-spacing:-.055em; }
 .odpk-hero__eyebrow { font-size:.67rem; }
 .odpk-hero__overlay { background:linear-gradient(180deg,rgba(16,21,24,.38),rgba(16,21,24,.60)); }
 .odpk-page .odpk-content-section { padding:46px 0 64px; }
 .odpk-page .odpk-related-card { min-height:360px; }
 .odpk-reviews__heading { gap:18px; }
 .odpk-reviews__heading h2 { font-size:clamp(2.2rem,9vw,3.5rem); }
}
@media (max-width:400px) {
 .odpk-page .odpk-hero h1 { font-size:clamp(2.3rem,10vw,3rem); }
}
@media (prefers-reduced-motion:reduce) {
 .odpk-hero__eyebrow, .odpk-hero__char { opacity:1 !important; transform:none !important; animation:none !important; }
}

/* =====================================================
   ORTODENT – PROFILAXIE COPII
   Galerie imagini – periajul dinților acasă
   ===================================================== */

body.ortodent-profilaxie-copii-layout-page
.odpk-image-pair--products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;

    width: 100%;
    margin: 38px 0 58px;
    padding: 18px;

    border: 1px solid #f5e9e1;
    border-radius: 26px;
    background: #fff7f1;
}

/* Cardurile celor două fotografii */
body.ortodent-profilaxie-copii-layout-page
.odpk-image-pair--products figure {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;

    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(32, 25, 20, .07);
}

/* Fotografiile ocupă toată suprafața cardurilor */
body.ortodent-profilaxie-copii-layout-page
.odpk-image-pair--products figure img {
    display: block;
    width: 100%;
    height: 390px;
    max-width: none;
    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: center;
    border-radius: 0;

    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

/* Efect discret la hover */
body.ortodent-profilaxie-copii-layout-page
.odpk-image-pair--products figure:hover img {
    transform: scale(1.035);
}

/* Tabletă */
@media (max-width: 1024px) {
    body.ortodent-profilaxie-copii-layout-page
    .odpk-image-pair--products {
        gap: 14px;
        padding: 14px;
    }

    body.ortodent-profilaxie-copii-layout-page
    .odpk-image-pair--products figure img {
        height: 320px;
    }
}

/* Mobil */
@media (max-width: 767px) {
    body.ortodent-profilaxie-copii-layout-page
    .odpk-image-pair--products {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 30px 0 44px;
        padding: 12px;
        border-radius: 20px;
    }

    body.ortodent-profilaxie-copii-layout-page
    .odpk-image-pair--products figure {
        border-radius: 15px;
    }

    body.ortodent-profilaxie-copii-layout-page
    .odpk-image-pair--products figure img {
        height: 330px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ortodent-profilaxie-copii-layout-page
    .odpk-image-pair--products figure img {
        transition: none;
    }
}
