/* PM-CONTENT-01: editorial advice section. Scoped; no Woo, checkout, consent, Tawk overrides. */
.pms-advice{background:var(--cream,#F8F5EE); color:var(--ink,#27362f); min-height:55vh}
.pms-advice *, .pms-advice *::before, .pms-advice *::after{box-sizing:border-box}
.pms-advice-container{padding-top:clamp(22px,3vw,38px);padding-bottom:clamp(64px,9vw,110px)}
.pms-advice .pms-breadcrumbs{margin:0 0 clamp(25px,3.5vw,45px)}
.pms-advice-intro{max-width:900px; margin-bottom:clamp(32px,5vw,56px)}
.pms-advice-eyebrow{display:block;color:#6a5e52;font-size:.74rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;margin-bottom:12px}
.pms-advice-intro h1{font-size:clamp(2.05rem,4.2vw,3.7rem);line-height:1.13;letter-spacing:-.043em;color:#24443C;font-weight:800;margin:0 0 20px;max-width:960px}
.pms-advice-lead p{font-size:clamp(1.02rem,1.5vw,1.2rem);line-height:1.76;max-width:760px;color:#48564e;margin:0}
.pms-advice-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:start;gap:clamp(34px,5vw,84px)}
.pms-advice-body{min-width:0;max-width:850px}
.pms-advice .pms-advice-editor-content{min-width:0;max-width:100%;font-size:1.045rem;line-height:1.84;color:#35473f}
.pms-advice-editor-content > p:first-child{font-size:clamp(1.10rem,1.6vw,1.26rem);line-height:1.73;color:#29483f;font-weight:500;margin-top:0}
.pms-advice-editor-content p{margin:0 0 1.22em}
.pms-advice-editor-content h2{font-size:clamp(1.42rem,2.35vw,1.92rem);line-height:1.32;letter-spacing:-.022em;color:#24443C;margin:2.25em 0 .82em;font-weight:800;scroll-margin-top:35px}
.pms-advice-editor-content h3{font-size:clamp(1.1rem,1.9vw,1.31rem);line-height:1.38;color:#24443C;letter-spacing:-.012em;margin:1.65em 0 .55em;font-weight:760;scroll-margin-top:35px}
.pms-advice-editor-content strong{color:#24443C;font-weight:800}
.pms-advice-editor-content a{color:#24443C;text-decoration-color:#C4622E;text-underline-offset:3px}
.pms-advice-editor-content a:hover{color:#C4622E}
.pms-advice-editor-content .pms-advice-summary{margin:36px 0 35px;padding:clamp(22px,4vw,36px);border:1px solid rgba(36,68,60,.13);border-left:4px solid #C4622E;border-radius:12px;background:#FFFFFF;box-shadow:0 9px 28px rgba(36,68,60,.035)}
.pms-advice-editor-content .pms-advice-summary h2{margin:0 0 14px;font-size:clamp(1.25rem,2.25vw,1.6rem)}
.pms-advice-editor-content .pms-advice-summary p:last-child{margin-bottom:0}
.pms-advice-editor-content .pms-advice-summary p:last-child strong{color:#C4622E}
.pms-advice-editor-content .pms-advice-toc{background:rgba(255,255,255,.56);border:1px solid rgba(36,68,60,.15);border-radius:12px;padding:clamp(19px,3vw,30px);margin:0 0 34px}
.pms-advice-editor-content .pms-advice-toc h2{margin:0 0 13px;font-size:1.18rem;letter-spacing:-.01em}
.pms-advice-editor-content .pms-advice-toc ul{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;column-gap:22px;row-gap:7px}
.pms-advice-editor-content .pms-advice-toc li{padding:0;margin:0;font-size:.94rem;line-height:1.5;min-width:0}
.pms-advice-editor-content .pms-advice-toc a{display:block;padding:6px 1px;text-decoration:none;border-bottom:1px solid rgba(36,68,60,.12)}
.pms-advice-editor-content .pms-advice-toc a:hover{text-decoration:underline;text-decoration-color:#C4622E}
.pms-advice-editor-content ol.wp-block-list{padding-left:1.45em;margin:0 0 28px}
.pms-advice-editor-content ol.wp-block-list li{margin-bottom:13px;padding-left:7px}
.pms-advice-editor-content ol.wp-block-list li::marker{color:#C4622E;font-weight:800}
/* The WP core Table block remains an editable, semantic table; scrolls on narrow screens. */
.pms-advice-editor-content figure.wp-block-table.pms-advice-compare{display:block;width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;margin:24px 0 34px;border:1px solid rgba(36,68,60,.16);border-radius:12px;background:#fff}
.pms-advice-editor-content figure.wp-block-table.pms-advice-compare table{width:100%;min-width:640px;border-collapse:collapse;border-spacing:0;margin:0;table-layout:auto;line-height:1.58;font-size:.94rem}
.pms-advice-editor-content figure.wp-block-table.pms-advice-compare th,.pms-advice-editor-content figure.wp-block-table.pms-advice-compare td{text-align:left;vertical-align:top;padding:17px 18px;border:0;border-bottom:1px solid rgba(36,68,60,.12)}
.pms-advice-editor-content figure.wp-block-table.pms-advice-compare th{background:#24443C;color:#fff;font-weight:750;min-width:150px}
.pms-advice-editor-content figure.wp-block-table.pms-advice-compare td:first-child{font-weight:760;color:#24443C}
.pms-advice-editor-content figure.wp-block-table.pms-advice-compare tbody tr:nth-child(even){background:#F8F5EE}
.pms-advice-editor-content figure.wp-block-table.pms-advice-compare tbody tr:last-child td{border-bottom:0}
.pms-advice-sidebar{min-width:0;position:sticky;top:32px}
.pms-advice-category-links{background:#fff;border:1px solid rgba(36,68,60,.13);border-radius:12px;padding:24px 20px}
.pms-advice-category-links h2{font-size:1.04rem;color:#24443C;line-height:1.4;margin:0 0 14px}
.pms-advice-category-links ul{list-style:none;margin:0;padding:0}
.pms-advice-category-links li+li{border-top:1px solid rgba(36,68,60,.1)}
.pms-advice-category-links a{color:#24443C;display:flex;gap:10px;justify-content:space-between;align-items:center;padding:12px 0;text-decoration:none;font-weight:650;font-size:.91rem;line-height:1.35}
.pms-advice-category-links a:hover,.pms-advice-backlink:hover{color:#C4622E}
.pms-advice-backlink{display:inline-block;margin-top:18px;color:#24443C;font-weight:750;text-decoration:none;font-size:.93rem}
.pms-advice-products,.pms-advice-related{margin-top:clamp(54px,7vw,80px);border-top:1px solid rgba(36,68,60,.2);padding-top:clamp(28px,4vw,42px)}
.pms-advice-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 20px}
.pms-advice-section-heading h2,.pms-advice-related h2{color:#24443C;font-size:clamp(1.4rem,2.3vw,1.95rem);letter-spacing:-.025em;margin:0 0 22px}
.pms-advice-section-heading h2{margin:0}
.pms-advice-section-heading>a{font-weight:750;color:#24443C;text-decoration:underline;text-decoration-color:#C4622E;text-underline-offset:4px;white-space:nowrap}
.pms-advice-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.pms-advice-product{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid rgba(36,68,60,.14);border-radius:13px;overflow:hidden}
.pms-advice-product-photo{display:flex;align-items:center;justify-content:center;aspect-ratio:1.15;background:#fff;padding:12px}
.pms-advice-product-photo img{max-width:100%;max-height:100%;object-fit:contain;width:auto;height:auto}
.pms-advice-product-info{padding:15px 16px 18px;display:flex;flex-direction:column;flex:1;gap:10px}
.pms-advice-product-info h3{font-size:1rem;line-height:1.45;font-weight:750;color:#24443C;margin:0}
.pms-advice-product-info h3 a{text-decoration:none;color:inherit}
.pms-advice-product-info h3 a:hover,.pms-advice-product-link:hover{color:#C4622E}
.pms-advice-product-price{font-size:1.04rem;font-weight:780;color:#24443C;margin-top:auto}
.pms-advice-product-price del{font-size:.84rem;color:#75837b;font-weight:400}
.pms-advice-product-link{color:#24443C;font-weight:760;font-size:.9rem;text-decoration:none;border-top:1px solid rgba(36,68,60,.12);padding-top:12px}
.pms-advice-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pms-advice-related-grid a{background:#fff;border:1px solid rgba(36,68,60,.13);border-radius:12px;padding:22px;color:#24443C;font-weight:750;text-decoration:none;display:flex;justify-content:space-between;gap:15px;align-items:center}
.pms-advice-related-grid a:hover{border-color:#C4622E;color:#C4622E}
/* PM-CONTENT: Image-led advice cards. Only a WP Page Featured Image is used; editorial imagery is optional. */
.pms-advice-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1100px}
.pms-advice-guide-card{min-width:0;border:1px solid rgba(36,68,60,.14);background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 5px 18px rgba(36,68,60,.035);transition:box-shadow .18s,border-color .18s,transform .18s}
.pms-advice-guide-card:hover{border-color:rgba(196,98,46,.4);box-shadow:0 12px 27px rgba(36,68,60,.085);transform:translateY(-2px)}
.pms-advice-guide-card>a{display:flex;flex-direction:column;height:100%;min-height:290px;text-decoration:none;color:#24443C;overflow:hidden}
.pms-advice-guide-card>a:hover{background:#fdfcf9}
.pms-advice-guide-cover{display:block;aspect-ratio:16/10;overflow:hidden;background:#edece5}
.pms-advice-guide-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.pms-advice-guide-content{display:flex;flex-direction:column;flex:1;min-width:0;padding:24px 24px 26px}
.pms-advice-guide-type{font-size:.72rem;color:#956549;font-weight:800;text-transform:uppercase;letter-spacing:.12em}
.pms-advice-guide-card h2{color:#24443C;font-size:clamp(1.14rem,1.65vw,1.43rem);line-height:1.36;letter-spacing:-.019em;margin:12px 0}
.pms-advice-guide-card p{color:#59645e;line-height:1.61;margin:0 0 22px;font-size:.91rem}
.pms-advice-guide-more{margin-top:auto;font-weight:800;color:#24443C;border-bottom:2px solid #C4622E;align-self:flex-start;padding-bottom:4px}
.pms-advice-guide-card a:focus-visible{outline:3px solid #C4622E;outline-offset:-4px}
@media(max-width:1080px){.pms-advice-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.pms-advice-guide-grid{grid-template-columns:minmax(0,1fr)}.pms-advice-guide-content{padding:22px 21px 24px}.pms-advice-guide-card>a{min-height:0}}
@media(prefers-reduced-motion:reduce){.pms-advice-guide-card{transition:none}.pms-advice-guide-card:hover{transform:none}}
.pms-advice :is(a,button):focus-visible{outline:3px solid #C4622E;outline-offset:4px}
@media(max-width:980px){.pms-advice-layout{grid-template-columns:minmax(0,1fr)}.pms-advice-sidebar{position:static;max-width:850px}.pms-advice-category-links{padding:22px}.pms-advice-category-links ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}.pms-advice-category-links li:nth-child(2){border-top:0}.pms-advice-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.pms-advice-container{padding-top:16px;padding-bottom:60px}.pms-advice-intro{margin-bottom:29px}.pms-advice-eyebrow{font-size:.7rem}.pms-advice-intro h1{letter-spacing:-.03em}.pms-advice-editor-content{font-size:1rem;line-height:1.77}.pms-advice-editor-content .pms-advice-toc ul{grid-template-columns:1fr}.pms-advice-editor-content .pms-advice-summary{margin:24px 0;padding:22px 18px}.pms-advice-editor-content figure.wp-block-table.pms-advice-compare{position:relative}.pms-advice-editor-content figure.wp-block-table.pms-advice-compare::before{content:'Tabelit saab küljele kerida';display:block;background:#f4ede4;padding:8px 13px;color:#48564e;font-size:.81rem;font-weight:720}.pms-advice-editor-content figure.wp-block-table.pms-advice-compare table{min-width:640px}.pms-advice-product-grid{gap:12px}.pms-advice-product-info{padding:13px 12px}.pms-advice-related-grid,.pms-advice-guide-grid{grid-template-columns:1fr}.pms-advice-guide-card>a{min-height:210px;padding:24px}.pms-advice-section-heading{align-items:start;flex-direction:column}}
@media(max-width:370px){.pms-advice-product-grid{grid-template-columns:1fr}.pms-advice-category-links ul{grid-template-columns:1fr}.pms-advice-category-links li:nth-child(2){border-top:1px solid rgba(36,68,60,.1)}.pms-advice-editor-content .pms-advice-toc{padding:17px}}

/* PM-CONTENT editorial art direction. Scoped to advice and homepage guides only. */
.pms-advice-guide-grid{max-width:none}
.pms-advice-guide-card>a{min-height:0;padding:0}
.pms-advice-guide-cover{flex:none;display:block;aspect-ratio:16/10;overflow:hidden;background:#e8e9df}
.pms-advice-guide-photo{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.pms-advice-guide-card h2,.pms-advice-guide-card h3{font-size:clamp(1.05rem,1.55vw,1.35rem);line-height:1.3;letter-spacing:-.025em;color:#24443C;margin:11px 0 9px;font-weight:790}
.pms-advice-guide-content{padding:22px 22px 25px}
.pms-advice-guide-excerpt{color:#59645e;line-height:1.59;margin:0 0 20px;font-size:.92rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pms-advice-hero-cover{width:100%;margin:0 0 clamp(30px,5vw,62px);aspect-ratio:2.55/1;border-radius:18px;overflow:hidden;background:#e9eae1}
.pms-advice-hero-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.pms-advice-inline-figure{display:block;margin:24px 0 33px;border-radius:13px;overflow:hidden;background:#e9e9df}
.pms-advice-inline-figure img{display:block;width:100%;height:auto;max-height:480px;object-fit:cover}
@media(max-width:680px){
 .pms-advice-guide-card>a{padding:0}
 .pms-advice-guide-content{padding:20px 19px 22px}
 .pms-advice-guide-cover{aspect-ratio:16/10}
 .pms-advice-hero-cover{aspect-ratio:16/10;border-radius:12px;margin-bottom:28px}
 .pms-advice-inline-figure{margin:20px 0 25px}
}
