/* PCH Blog Hubs */
/* Only once a page actually holds the new layout (a placed template), so
   activating the plugin changes nothing by itself. */
body.pch-hub-view:has(.pch-articles){background:#FAFAF7}
/* The theme's header map / header image sits above the new hero; hide it. */
body.pch-hub-view:has(.pch-articles) .header_media{display:none!important}
.pch-box,.pch-byline,.pch-articles,.pch-guides,.pch-grid,.pch-crumbs,.pch-badge,.pch-search,.pch-featured,.pch-eyebrow,.pch-lead,.pch-others{font-family:"DM Sans",system-ui,sans-serif}
[class*="pch-"] a,a[class*="pch-"]{text-decoration:none}

.pch-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pch-h2{margin:0 0 6px;font-family:"Playfair Display",Georgia,serif;font-size:36px;line-height:1.15;font-weight:700;color:#10273A}
.pch-h2--light{color:#fff}
.pch-eyebrow{margin:0 0 8px;font-family:"DM Sans",system-ui,sans-serif;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#0B6E8F}
.pch-eyebrow--light{color:#7FD3EE}
.pch-lead{margin:0;font-size:16px;line-height:1.6;color:#4A5E6D}
.pch-lead--light{color:#C9D6DF;margin-bottom:24px}

/* Breadcrumb */
.pch-crumbs{font-size:13px;color:#4A5E6D}
.pch-crumbs a{color:#4A5E6D}
.pch-crumbs a:hover{color:#10273A}
.pch-crumbs [aria-current]{color:#10273A;font-weight:500}
.pch-crumbs__sep{margin:0 4px}
.pch-crumbs--light,.pch-crumbs--light a{color:#A9BBC8}
.pch-crumbs--light [aria-current]{color:#fff}

/* Hub badge */
.pch-badge{display:flex;align-items:center;gap:14px}
.pch-badge__icon{flex:none;width:56px;height:56px;border-radius:14px;background:var(--pch-accent);color:#fff;display:flex;align-items:center;justify-content:center}
.pch-badge__label{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--pch-accent)}

/* Byline */
.pch-byline{display:flex;align-items:center;gap:12px;margin:0;font-size:14px;color:#4A5E6D}
.pch-byline strong{color:#10273A}
.pch-avatar{flex:none;width:36px;height:36px;border-radius:50%;background:#10273A;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-family:"Playfair Display",Georgia,serif;font-weight:700}
.pch-avatar--lg{width:72px;height:72px;font-size:30px;background:#137A5A}

/* Boxes (Text Editor widgets) */
.pch-box{background:#fff;border:1px solid #E4E8EC;border-radius:16px;padding:28px;margin-bottom:24px}
.pch-box h3{margin:0 0 14px;font-family:"Playfair Display",Georgia,serif;font-size:22px;line-height:1.25;color:#10273A}
.pch-box p{margin:0 0 16px;font-size:15px;line-height:1.6;color:#4A5E6D}
.pch-box p:last-child{margin-bottom:0}
.pch-box--dark{background:#10273A;border-color:#10273A}
.pch-box--dark h3{color:#fff}
.pch-box--dark p{color:#C9D6DF}
.pch-box--soft{background:#F1F6F3;border-color:#F1F6F3}
.pch-btn{display:block;text-align:center;padding:14px 18px;border-radius:10px;background:#137A5A;color:#fff!important;font-weight:700;font-size:15px}
.pch-btn:hover{background:#0F6449}
.pch-links{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.pch-links a{color:#0B6E8F;font-weight:500;font-size:15px}
.pch-links a:hover{color:#10273A}
.pch-links--2col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
.pch-author{display:flex;gap:24px;align-items:flex-start}
.pch-author h3{font-size:26px}
.pch-author p:last-child{font-size:16px;line-height:1.65}

/* Hero side panel */
.pch-panel{box-shadow:0 10px 30px rgba(16,39,58,.07);border:0}
.pch-panel__label{margin:0 0 10px!important;font-size:13px!important;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#4A5E6D!important}
.pch-panel .pch-search{margin-bottom:22px}
.pch-jump{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.pch-jump li,.pch-links li,.pch-others li{list-style:none!important;margin:0!important;padding:0!important;background:none!important}
.pch-jump li::before,.pch-links li::before,.pch-others li::before{content:none!important;display:none!important}
.pch-jump a{display:inline-block;padding:9px 14px;border-radius:999px;background:#F1F4F6;color:#10273A;font-size:14px;font-weight:500}
.pch-jump a:hover{background:#E4E8EC}

/* Search */
.pch-search{display:flex;flex-wrap:wrap;gap:10px;max-width:560px}
.pch-search input[type=search]{flex:1 1 220px;min-width:0;height:52px;border:1px solid #D5DCE2;border-radius:10px;padding:0 16px;font:inherit;font-size:15px;color:#10273A;background:#fff;box-sizing:border-box}
.pch-search button[type=submit]{height:52px;padding:0 24px;border:0!important;border-radius:10px!important;background:#137A5A!important;color:#fff!important;font:inherit;font-size:15px;font-weight:700;line-height:1;text-transform:none;letter-spacing:0;box-shadow:none;cursor:pointer}
.pch-search button[type=submit]:hover,.pch-search button[type=submit]:focus{background:#0F6449!important}
.pch-panel .pch-search input[type=search],.pch-panel .pch-search button[type=submit]{height:46px}

/* Grids */
.pch-grid{display:grid;gap:28px}
.pch-grid--cards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:36px 28px}
.pch-grid--guides{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.pch-grid--topics{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px;margin-top:26px}

/* Article cards */
.pch-card__link{display:flex;flex-direction:column;gap:12px;color:#10273A}
.pch-card__media{aspect-ratio:16/10;border-radius:14px;overflow:hidden;background-color:var(--pch-tint,#EEF2F4);background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.6) 0 2px,transparent 2px 16px)}
.pch-card__img{display:block;width:100%!important;height:100%!important;object-fit:cover;transition:transform .35s ease}
.pch-card__link:hover .pch-card__img{transform:scale(1.03)}
.pch-card__meta{display:flex;gap:8px;align-items:center;font-size:13px;color:#5C6E7B}
.pch-card__cat{font-weight:700;color:var(--pch-accent)}
.pch-dot{color:#8695A1}
.pch-card__title{margin:0;font-family:"Playfair Display",Georgia,serif;font-size:22px;line-height:1.28;font-weight:700;color:#10273A}
.pch-card__link:hover .pch-card__title{color:var(--pch-accent)}
.pch-card__excerpt{margin:0;font-size:15px;line-height:1.6;color:#4A5E6D}
.pch-card__more{font-size:14px;font-weight:700;color:var(--pch-accent)}

/* Articles block */
.pch-articles{padding-top:72px;scroll-margin-top:100px}
.pch-articles__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:28px}
.pch-chips{display:flex;flex-wrap:wrap;gap:8px}
.pch-chip{padding:9px 16px;border-radius:999px;border:1px solid #D5DCE2;color:#10273A!important;font-size:14px;font-weight:500;background:#fff}
.pch-chip:hover{border-color:#10273A}
.pch-chip.is-current{background:#10273A;border-color:#10273A;color:#fff!important}
.pch-empty{color:#4A5E6D}

/* Pagination */
.pch-pagination{margin-top:48px}
.pch-pagination ul.page-numbers{border:0;background:none;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.pch-pagination li{margin:0}
.pch-pagination li>.page-numbers{gap:6px;min-width:44px;height:44px;padding:0 14px;box-sizing:border-box;border-radius:10px;border:1px solid #D5DCE2;background:#fff;color:#10273A;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:500}
.pch-pagination a.page-numbers:hover{border-color:#10273A}
.pch-pagination li>.page-numbers.current{background:#10273A;border-color:#10273A;color:#fff}
.pch-pagination li>.page-numbers.dots{border:0;background:none;min-width:24px;padding:0}

/* Guides */
.pch-guides{padding-top:72px;scroll-margin-top:100px}
.pch-guides .pch-h2{margin-bottom:28px}
.pch-guide{display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid #E4E8EC;border-top:4px solid var(--pch-accent);border-radius:14px;padding:26px;color:#10273A;transition:box-shadow .2s ease,transform .2s ease}
.pch-guide:hover{box-shadow:0 12px 30px rgba(16,39,58,.10);transform:translateY(-2px)}
.pch-guide__num{font-family:"Playfair Display",Georgia,serif;font-size:34px;font-weight:700;line-height:1;color:var(--pch-accent)}
.pch-guide__cat{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--pch-accent)}
.pch-guide__title{font-family:"Playfair Display",Georgia,serif;font-size:21px;font-weight:700;line-height:1.28}
.pch-guide__desc{font-size:15px;line-height:1.55;color:#4A5E6D}
.pch-guide__more{margin-top:auto;font-size:14px;font-weight:700;color:var(--pch-accent)}

/* Topic tiles */
.pch-topics-head .pch-lead{margin-top:4px}
.pch-topic{display:flex;gap:18px;padding:22px;border:1px solid #E4E8EC;border-radius:14px;color:#10273A;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}
.pch-topic:hover{border-color:var(--pch-accent);box-shadow:0 10px 24px rgba(16,39,58,.07)}
.pch-topic__icon{flex:none;width:52px;height:52px;border-radius:12px;background:var(--pch-tint);color:var(--pch-accent);display:flex;align-items:center;justify-content:center}
.pch-topic__body{display:flex;flex-direction:column;gap:6px;min-width:0}
.pch-topic__name{font-family:"Playfair Display",Georgia,serif;font-size:21px;font-weight:700;line-height:1.25}
.pch-topic__desc{font-size:14px;line-height:1.5;color:#4A5E6D}
.pch-topic__count{font-size:13px;font-weight:700;color:var(--pch-accent)}

/* Other topics */
.pch-others ul{margin:0;padding:0;list-style:none}
.pch-others a{display:flex;align-items:center;gap:12px;padding:10px 0;color:#10273A;font-size:15px;font-weight:500;border-bottom:1px solid #F0F2F4}
.pch-others li:last-child a{border-bottom:0}
.pch-others a:hover .pch-others__name{text-decoration:underline}
.pch-others__dot{flex:none;width:10px;height:10px;border-radius:50%}
.pch-others__name{flex:1}
.pch-others__count{font-size:13px;color:#5C6E7B}

/* Featured card (blog hero) */
.pch-featured{display:block;background:#fff;border-radius:16px;overflow:hidden;color:#10273A;box-shadow:0 24px 48px rgba(0,0,0,.25)}
.pch-featured__media{position:relative;aspect-ratio:16/9;background-color:var(--pch-tint);background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.6) 0 2px,transparent 2px 16px)}
.pch-featured__label{position:absolute;left:16px;bottom:16px;background:#10273A;color:#fff;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:7px 12px;border-radius:999px}
.pch-featured__body{display:flex;flex-direction:column;gap:10px;padding:24px 26px 28px}
.pch-featured__cat{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--pch-accent)}
.pch-featured__title{font-family:"Playfair Display",Georgia,serif;font-size:28px;line-height:1.2;font-weight:700}
.pch-featured__desc{font-size:15px;line-height:1.6;color:#4A5E6D}
.pch-featured__more{font-size:14px;font-weight:700;color:#0B6E8F}

/* Accordion FAQ tidy-up */
body.pch-hub-view .elementor-accordion .elementor-accordion-item{border-radius:14px;overflow:hidden;margin-bottom:12px;border:1px solid #E4E8EC!important}
body.pch-hub-view .elementor-accordion .elementor-tab-content{border-top:0!important}

/* Fallback layout */
.pch-fallback{max-width:1240px;margin:0 auto;padding:32px 20px 80px}
.pch-fallback .pch-badge{margin-top:24px}

/* Hub intro (category description) */
.pch-hub-intro p{margin:0 0 14px}
.pch-hub-intro p:last-child{margin-bottom:0}
.pch-hub-intro a{color:#10273A;font-weight:600;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:3px}
.pch-hub-intro a:hover{color:#0B6E8F}

/* ---------- Single blog post ---------- */
body.pch-post-view{background:#FAFAF7}
.pch-post-hero{background:var(--pch-tint);font-family:"DM Sans",system-ui,sans-serif}
.pch-post-hero__inner{max-width:860px;margin:0 auto;padding:28px 24px 44px;box-sizing:border-box}
.pch-post-hero .pch-crumbs{margin-bottom:28px}
.pch-post-hero__topic{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--pch-accent)!important;margin-bottom:16px}
.pch-post-hero__icon{width:36px;height:36px;border-radius:10px;background:var(--pch-accent);color:#fff;display:inline-flex;align-items:center;justify-content:center}
.pch-post-hero__title{margin:0 0 22px;font-family:"Playfair Display",Georgia,serif;font-size:46px;line-height:1.12;font-weight:700;color:#10273A}
.pch-post-image{margin:0 auto;max-width:1000px;padding:0 24px;box-sizing:border-box;position:relative;top:-0px}
.pch-post-image-row{margin-top:-1px}
.pch-post-image__img{display:block;width:100%!important;height:auto!important;border-radius:18px;margin-top:32px;box-shadow:0 18px 40px rgba(16,39,58,.12)}

/* Article body (WP Residence "Post Content" widget inside .pch-post-body) */
.pch-post-body{font-family:"DM Sans",system-ui,sans-serif;color:#22343F}
.pch-post-body .elementor-widget-container{font-size:18px;line-height:1.75}
.pch-post-body p,.pch-post-body li{font-size:18px;line-height:1.75;color:#22343F}
.pch-post-body p{margin:0 0 1.15em}
.pch-post-body h2{font-family:"Playfair Display",Georgia,serif;font-size:32px;line-height:1.2;color:#10273A;margin:1.6em 0 .55em}
.pch-post-body h3{font-family:"Playfair Display",Georgia,serif;font-size:24px;line-height:1.3;color:#10273A;margin:1.4em 0 .5em}
.pch-post-body h4{font-size:19px;color:#10273A;margin:1.2em 0 .4em}
.pch-post-body ul,.pch-post-body ol{margin:0 0 1.2em 1.25em;padding:0}
.pch-post-body li{margin:0 0 .45em}
.pch-post-body a{color:#0B6E8F;text-decoration:underline;text-underline-offset:3px}
.pch-post-body a:hover{color:#10273A}
.pch-post-body img{max-width:100%;height:auto;border-radius:12px}
.pch-post-body blockquote{margin:1.5em 0;padding:4px 0 4px 20px;border-left:3px solid #137A5A;color:#33495A;font-style:italic}
.pch-post-body table{width:100%;border-collapse:collapse;margin:1.4em 0;font-size:16px;display:block;overflow-x:auto}
.pch-post-body th,.pch-post-body td{border:1px solid #E4E8EC;padding:10px 12px;text-align:left;vertical-align:top}
.pch-post-body th{background:#F1F4F6;color:#10273A}
.pch-author--post{margin-top:48px;margin-bottom:0}
.pch-author__role{font-family:"DM Sans",system-ui,sans-serif;font-size:16px;font-weight:500;color:#4A5E6D}

/* More in this topic */
.pch-more{font-family:"DM Sans",system-ui,sans-serif}
.pch-more__all{font-size:14px;font-weight:700}
.pch-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:1024px){.pch-grid--three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){
	.pch-post-hero__title{font-size:32px}
	.pch-post-hero__inner{padding:20px 18px 32px}
	.pch-post-body p,.pch-post-body li{font-size:17px}
	.pch-post-body h2{font-size:26px}
	.pch-grid--three{grid-template-columns:1fr}
}

@media (max-width:767px){
	.pch-h2{font-size:28px}
	.pch-articles,.pch-guides{padding-top:48px}
	.pch-grid--topics{grid-template-columns:1fr}
	.pch-author{flex-direction:column}
	.pch-links--2col{grid-template-columns:1fr}
	.pch-featured__title{font-size:23px}
}
