/* Five thematic pages reuse the clinic's cost and single-woman component system. */
.page-guides .cost-hero{overflow:hidden;background:#f6f0e7}
.page-guides .cost-hero__inner{min-height:650px;padding-block:42px}
.page-guides .cost-hero__copy{width:52%;max-width:650px;position:relative}
.page-guides .guide-hero-image{position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% center}
.page-guides .cost-hero::after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(250,246,240,.68),rgba(250,246,240,.35) 38%,transparent 61%)}
.page-guides .guide-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.page-guides .guide-card-grid .cost-info-card{padding:28px}
.page-guides .guide-card-grid h3{font-size:23px}
.page-guides .guide-prose{max-width:1100px}
.page-guides .guide-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
.page-guides .guide-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:25px}
.page-guides .guide-links a{color:var(--cost-muted);font-size:12px;line-height:1.65;text-underline-offset:3px}
.page-guides .guide-links a:hover{color:var(--cost-red)}
.page-guides .guide-table thead th:first-child{width:23%}
.page-guides .guide-table tbody td{width:auto}
.page-guides .guide-decor{background:#fcf8f5 url('../assets/esipova-home/surrogacy/services-background-20261013-v3.png') center / cover no-repeat}
.page-guides .guide-decor .cost-info-card,.page-guides .guide-decor .guide-steps>li{background:rgba(255,253,250,.97)}
.page-guides .cost-notice p:last-child{margin-bottom:0}
.page-guides .sw-consultation-photo img{object-position:100% center}
.page-guides .surrogacy-expert::after{background-size:calc(var(--expert-unit) * 2048) 238.372093%;background-position:calc(var(--expert-unit) * -1698) 50%}
.page-guides .guide-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.page-guides .guide-review-card{display:flex;flex-direction:column;padding:30px;background:#fff;border:1px solid var(--cost-line);border-radius:8px;box-shadow:0 10px 28px rgba(92,62,30,.045)}
.page-guides .guide-example-label{color:#8a643c;font-size:12px;margin:0 0 20px;padding-bottom:12px;border-bottom:1px solid var(--cost-line)}
.page-guides .guide-review-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 56px;width:56px;height:56px;border-radius:50%;background:#f5ecdf;color:#a17443;font-size:24px}
.page-guides .guide-review-card .review-card__top{display:flex;gap:16px;align-items:center;margin-bottom:20px}
.page-guides .guide-review-card .review-card__top h3{margin:0 0 7px;font-size:23px}
.page-guides .guide-review-card .review-card__top p{margin:0;font-size:12px;color:var(--cost-muted)}
.page-guides .guide-review-card .review-card__text{font-size:15px;line-height:1.75;color:var(--cost-muted);display:block;overflow:visible;max-height:none;-webkit-line-clamp:unset}
.page-guides .guide-review-source{margin:auto 0 0;padding-top:20px;font-size:12px;color:var(--cost-muted)}
.page-guides .guide-review-source a{color:var(--cost-red)}
.page-guides .guide-review-link{margin-top:26px}
@media(min-width:1600px){.page-guides .cost-hero__inner{min-height:700px}}
@media(max-width:1199px){.page-guides .cost-hero__inner{min-height:620px}.page-guides .cost-hero__copy{width:58%}.page-guides .guide-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.page-guides .cost-hero{display:flex;flex-direction:column}.page-guides .cost-hero__inner{min-height:0;padding-block:30px;width:var(--section-container);order:0}.page-guides .cost-hero__copy{width:100%;max-width:none}.page-guides .cost-hero__copy::before{display:none}.page-guides .guide-hero-image{position:relative;inset:auto;order:1;height:auto;max-height:430px;object-fit:cover;aspect-ratio:2/1;z-index:0}.page-guides .cost-hero::after{display:none}.page-guides .guide-decor{background-size:auto 900px;background-repeat:repeat-y}.page-guides .guide-review-grid{grid-template-columns:1fr}}
@media(max-width:600px){.page-guides .guide-card-grid,.page-guides .guide-steps{grid-template-columns:1fr;gap:15px}.page-guides .guide-card-grid .cost-info-card{padding:24px}.page-guides .guide-card-grid h3{font-size:21px}.page-guides .guide-links{display:grid;gap:13px}.page-guides .guide-review-card{padding:24px}.page-guides .guide-review-card .review-card__text{font-size:14px}.page-guides .guide-review-card .review-card__top h3{font-size:21px}.page-guides .guide-hero-image{height:220px;aspect-ratio:auto;object-fit:cover;object-position:right}.page-guides .cost-hero__form{max-width:none}}
@media(max-width:359px){.page-guides .top-header{flex-wrap:nowrap!important;gap:8px!important}.page-guides .top-header .logo{width:72px!important;max-width:72px!important;height:auto!important}.page-guides .mobile-header-phone{font-size:12px!important;padding-inline:10px!important}.page-guides .mobile-menu-toggle{width:40px!important;height:40px!important;flex:0 0 40px!important}}

/* Full doctor blocks appear only at the four expert positions specified in the briefs. */
.page-guides .guide-doctor .doctor-lead__actions{margin-top:28px}
.page-guides .guide-doctor .doctor-lead__intro{max-width:none}
.page-guides .guide-doctor .doctor-lead__content{min-width:0}
.page-guides .guide-doctor .doctor-lead__media img{object-position:center top}
@media(max-width:899px){.page-guides .guide-doctor .doctor-lead__media{width:100%;max-width:360px;justify-self:center}.page-guides .guide-doctor .doctor-lead__media>img{height:auto!important;max-height:none!important}}

/* Tax calculation table: emphasize the header row. */
.page-id-54248 #guide-section-3 .guide-table thead th{font-weight:700}

/* Keep tax refund calculations on one line by reserving the final column. */
.page-id-54248 #guide-section-3 .guide-table thead th:last-child{width:280px;white-space:nowrap}
.page-id-54248 #guide-section-3 .guide-table tbody td:last-child{white-space:nowrap}

/* Tax expenses follow the clinic's law-section grid and card palette. */
.page-id-54248 #guide-section-2.guide-tax-expenses{background:#fdfbf9;padding:42px 0 46px}
.page-id-54248 #guide-section-2 .guide-tax-expenses__layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:40px;align-items:stretch}
.page-id-54248 #guide-section-2 .guide-tax-expenses__explanation{min-width:0}
html body.page-id-54248 #guide-section-2 h2{max-width:none;margin:0 0 22px;font-size:clamp(26px,2.1vw,34px);line-height:1.18}
.page-id-54248 #guide-section-2 .guide-tax-expenses__prose p{font-size:14px;line-height:1.55;margin:0 0 18px}
.page-id-54248 #guide-section-2 .guide-tax-expenses__prose p:last-child{margin-bottom:0}
.page-id-54248 #guide-section-2 .guide-links{gap:12px 24px;margin-top:24px}
.page-id-54248 #guide-section-2 .guide-tax-expenses__cards{display:grid;gap:12px;padding-top:6px;min-width:0;grid-template-rows:1.12fr 1fr 1fr 1fr}
.page-id-54248 #guide-section-2 .guide-tax-card{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:58px minmax(0,1fr);gap:24px;align-items:start;min-height:154px;padding:24px;border:1px solid var(--cost-line);border-radius:7px;background:#faf6f2;box-shadow:0 10px 28px rgba(92,62,30,.035)}
.page-id-54248 #guide-section-2 .guide-tax-card__icon{display:flex;align-items:center;justify-content:center;width:58px;height:58px;margin-top:5px;border-radius:50%;color:#b68c6c;background:#f5ece1}
.page-id-54248 #guide-section-2 .guide-tax-card__icon svg{display:block;width:34px;height:34px}
.page-id-54248 #guide-section-2 .guide-tax-card__copy{position:relative;z-index:1;min-width:0;min-height:100%;border-left:1px solid #eadfd4;padding-left:24px}
.page-id-54248 #guide-section-2 .guide-tax-card__number{display:block;margin-bottom:7px;color:#bf9d83;font-size:14px;line-height:1;font-weight:500}
html body.page-id-54248 #guide-section-2 .guide-tax-card h3{margin:0 0 9px;font-size:18px;line-height:1.3;letter-spacing:-.02em}
html body.page-id-54248 #guide-section-2 .guide-tax-card p{margin:0;color:var(--cost-muted);font-size:14px;line-height:1.55}
.page-id-54248 #guide-section-2 .guide-tax-card--code{min-height:172px;background:linear-gradient(110deg,#faf5ef 45%,#f7ecec)}
.page-id-54248 #guide-section-2 .guide-tax-card--code .guide-tax-card__copy{padding-right:178px}
.page-id-54248 #guide-section-2 .guide-tax-card__book{position:absolute;z-index:0;right:-38px;top:9px;width:180px;height:218px;transform:rotate(-29deg);border:6px solid #f0e5de;border-left:9px solid #e5d7cc;border-radius:3px;background:#fff9f1;box-shadow:-12px 10px 20px #b8978124;opacity:.65}
.page-id-54248 #guide-section-2 .guide-tax-card__book>span{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%;padding:24px 12px;border:1px solid #dfc5ab;color:#9b7a5d;text-align:center}
.page-id-54248 #guide-section-2 .guide-tax-card__book b{font-size:13px;line-height:1.35;letter-spacing:.01em}
.page-id-54248 #guide-section-2 .guide-tax-card__book small{display:block;margin-top:6px;font-size:8px;line-height:1.5;letter-spacing:.04em}
@media(max-width:1199px){
 .page-id-54248 #guide-section-2 .guide-tax-expenses__layout{gap:30px}
 .page-id-54248 #guide-section-2 .guide-tax-card{grid-template-columns:46px minmax(0,1fr);gap:16px;padding:22px 18px}
 .page-id-54248 #guide-section-2 .guide-tax-card__icon{width:46px;height:46px}
 .page-id-54248 #guide-section-2 .guide-tax-card__icon svg{width:29px;height:29px}
 .page-id-54248 #guide-section-2 .guide-tax-card__copy{padding-left:16px}
 .page-id-54248 #guide-section-2 .guide-tax-card--code .guide-tax-card__copy{padding-right:90px}
 .page-id-54248 #guide-section-2 .guide-tax-card__book{right:-65px}
 html body.page-id-54248 #guide-section-2 .guide-tax-card h3{font-size:16px}
}
@media(max-width:899px){
 .page-id-54248 #guide-section-2.guide-tax-expenses{padding:34px 0 38px}
 .page-id-54248 #guide-section-2 .guide-tax-expenses__layout{grid-template-columns:1fr;gap:28px}
 .page-id-54248 #guide-section-2 .guide-tax-expenses__cards{padding-top:0;grid-template-rows:none}
 .page-id-54248 #guide-section-2 .guide-tax-card{min-height:142px;grid-template-columns:58px minmax(0,1fr);gap:24px;padding:24px}
 .page-id-54248 #guide-section-2 .guide-tax-card__icon{width:58px;height:58px}
 .page-id-54248 #guide-section-2 .guide-tax-card__copy{padding-left:24px}
 .page-id-54248 #guide-section-2 .guide-tax-card--code .guide-tax-card__copy{padding-right:150px}
 .page-id-54248 #guide-section-2 .guide-tax-card__book{right:-28px}
}
@media(max-width:575px){
 html body.page-id-54248 #guide-section-2 h2{font-size:28px;margin-bottom:20px}
 .page-id-54248 #guide-section-2 .guide-tax-expenses__prose p{font-size:14px;line-height:1.65}
 .page-id-54248 #guide-section-2 .guide-tax-card{grid-template-columns:40px minmax(0,1fr);gap:14px;min-height:0;padding:20px 16px}
 .page-id-54248 #guide-section-2 .guide-tax-card__icon{width:40px;height:40px;margin-top:2px}
 .page-id-54248 #guide-section-2 .guide-tax-card__icon svg{width:26px;height:26px}
 .page-id-54248 #guide-section-2 .guide-tax-card__copy{padding-left:14px}
 .page-id-54248 #guide-section-2 .guide-tax-card--code .guide-tax-card__copy{padding-right:0}
 .page-id-54248 #guide-section-2 .guide-tax-card__book{display:none}
 .page-id-54248 #guide-section-2 .guide-tax-card__number{font-size:12px}
 html body.page-id-54248 #guide-section-2 .guide-tax-card h3{font-size:16px}
 html body.page-id-54248 #guide-section-2 .guide-tax-card p{font-size:14px;line-height:1.65}
}
