/* Gallardo Province theme: layout details that theme.json cannot express. */

/* Header */
.gp-header-wrap{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--wp--preset--color--silver)}
.admin-bar .gp-header-wrap{top:32px}
@media (max-width:782px){.admin-bar .gp-header-wrap{top:0}}
.gp-header{padding-top:10px;padding-bottom:10px;gap:18px}
.gp-brand{gap:12px}
.gp-brand .wp-block-site-logo a{display:block;width:56px;height:56px;border-radius:50%;overflow:hidden}
.gp-brand .wp-block-site-logo img{width:100%;height:100%;object-fit:cover;transform:scale(1.15) translate(1.5%,1.5%)}
.gp-brand-text{gap:0}
.gp-brand-text p{margin:0;line-height:1.15}
.gp-brand-name{font-family:var(--wp--preset--font-family--display);font-size:1.2rem}
.gp-brand-name a{color:var(--wp--preset--color--ink)}
.gp-brand-name a:hover{text-decoration:none}
.gp-brand-sub{font-size:.85rem;color:var(--wp--preset--color--soft)}
.gp-nav a{color:var(--wp--preset--color--ink)}
.gp-nav .wp-block-navigation-item__content{padding:8px 4px;border-bottom:2px solid transparent}
.gp-nav .wp-block-navigation-item__content:hover{border-bottom-color:var(--wp--preset--color--laurel);text-decoration:none}
.gp-nav .wp-block-navigation__submenu-container{border:1px solid var(--wp--preset--color--silver)!important;border-radius:10px;padding:6px!important}
.gp-header-actions{gap:12px}
@media (max-width:600px){.gp-brand-sub{display:none}.gp-brand-name{font-size:1.02rem}}

/* Bands */
.gp-band{padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)}
.gp-stone{background:var(--wp--preset--color--stone)}
.gp-lede{font-size:var(--wp--preset--font-size--large);color:var(--wp--preset--color--soft)}
.gp-soft{color:var(--wp--preset--color--soft)}
.gp-split{gap:clamp(28px,5vw,80px)}

/* Hero */
.gp-hero-img{margin:0!important}
.gp-hero-img img{width:100%;aspect-ratio:2000/810;max-height:640px;min-height:240px;object-fit:cover;object-position:center 40%}
.gp-hero-text{padding-top:clamp(20px,3vw,40px)!important}
.gp-hero-text h1{margin-top:0}
.gp-countries{display:flex;flex-wrap:wrap;gap:6px 24px;font-family:var(--wp--preset--font-family--display);font-size:1.2rem;color:var(--wp--preset--color--laurel)}

/* Ruled columns */
.gp-ruled{border-top:1px solid var(--wp--preset--color--silver);gap:0!important}
.gp-ruled>.wp-block-column{padding:24px 24px 8px 0}
.gp-ruled>.wp-block-column+.wp-block-column{padding-left:24px;border-left:1px solid var(--wp--preset--color--silver)}
@media (max-width:781px){.gp-ruled>.wp-block-column+.wp-block-column{padding-left:0;border-left:0;border-top:1px solid var(--wp--preset--color--silver)}}

/* Claretian Family chips */
.gp-chips{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0}
.gp-chips li{border:1px solid var(--wp--preset--color--silver);border-radius:999px;padding:8px 16px;background:#fff;font-size:.97rem}

/* Fr. Rhoel */
.gp-portrait img{border-radius:50%;filter:drop-shadow(0 10px 24px rgba(60,50,20,.18));max-width:400px;width:100%;height:auto}
.gp-quote{border-left:3px solid var(--wp--preset--color--laurel)!important;padding-left:20px!important;margin:6px 0 22px!important}
.gp-quote p{font-family:var(--wp--preset--font-family--display);font-size:clamp(1.5rem,2.6vw,1.9rem);line-height:1.25}
.gp-timeline{list-style:none;padding:0}
.gp-timeline li{padding:9px 0;border-bottom:1px solid var(--wp--preset--color--silver)}
.gp-timeline strong{display:inline-block;min-width:8.5em;color:var(--wp--preset--color--laurel);font-weight:600}

/* Map */
.gp-map{position:relative;aspect-ratio:16/10;min-height:340px;border:1px solid var(--wp--preset--color--silver);border-radius:14px;overflow:hidden;background:#fff}
.gp-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* Missions lists */
.gp-works h3{font-size:1.25rem;margin-bottom:.4em}
.gp-works ul{list-style:none;padding:0;margin:0;border-top:1px solid var(--wp--preset--color--silver)}
.gp-works li{padding:9px 0;border-bottom:1px solid var(--wp--preset--color--silver);font-size:.97rem}

/* Updates */
.gp-feature .wp-block-post-featured-image img{border-radius:10px}
.gp-feature .wp-block-post-title{font-size:clamp(1.55rem,2.6vw,1.95rem)}
.gp-latest .wp-block-post{display:grid;grid-template-columns:96px minmax(0,1fr);gap:4px 16px;padding:14px 0;border-bottom:1px solid var(--wp--preset--color--silver)}
.gp-latest .wp-block-post>*{margin:0}
.gp-latest .wp-block-post-featured-image{grid-row:span 3}
.gp-latest .wp-block-post-featured-image img{border-radius:8px;aspect-ratio:1;object-fit:cover}
.gp-latest .wp-block-post-title{font-family:var(--wp--preset--font-family--text);font-weight:600;font-size:1.05rem;line-height:1.35}
.gp-latest .wp-block-post-title a,.gp-feature .wp-block-post-title a{color:var(--wp--preset--color--ink)}

/* Vocation path */
.gp-path{gap:0!important;counter-reset:gp}
.gp-path>.wp-block-column{padding:18px 18px 0 0;border-top:2px solid var(--wp--preset--color--silver);position:relative;counter-increment:gp}
.gp-path>.wp-block-column::before{content:counter(gp);position:absolute;top:-15px;left:0;width:28px;height:28px;border-radius:50%;background:var(--wp--preset--color--stone);border:2px solid var(--wp--preset--color--laurel);color:var(--wp--preset--color--laurel);font-size:.85rem;font-weight:600;display:grid;place-items:center}
.gp-path h3{font-size:1.25rem;margin:6px 0 4px}
.gp-path p{font-size:.95rem;color:var(--wp--preset--color--soft);line-height:1.45}
@media (max-width:781px){.gp-path>.wp-block-column{padding-top:24px;margin-top:18px}}

/* Footer */
.gp-footer{border-top:1px solid var(--wp--preset--color--silver)}
.gp-footer h3{font-size:1.1rem}
.gp-footer ul{list-style:none;padding:0}
.gp-footer a{color:var(--wp--preset--color--soft)}
.gp-footer a:hover{color:var(--wp--preset--color--ink)}
.gp-copy{border-top:1px solid var(--wp--preset--color--silver);padding-top:18px;font-size:.875rem;color:var(--wp--preset--color--soft)}

:focus-visible{outline:2px solid var(--wp--preset--color--laurel);outline-offset:3px}
.wp-block-button.is-style-outline .wp-block-button__link{border:1px solid currentColor;color:var(--wp--preset--color--ink);background:transparent}

/* Place pages: parishes, schools, communities, institutions */
.gp-place-img{margin:0!important}
.gp-place-img img{max-height:520px}
.gp-place{padding-top:clamp(28px,4vw,56px);padding-bottom:var(--wp--preset--spacing--80)}
.gp-crumb{font-size:.9rem;color:var(--wp--preset--color--soft);margin-bottom:.4em}
.gp-crumb a{color:var(--wp--preset--color--soft)}
.gp-place .wp-block-post-title{margin-top:0;font-size:clamp(2.1rem,4.4vw,3.4rem)}
.gp-facts{background:var(--wp--preset--color--stone);border:1px solid var(--wp--preset--color--silver);border-radius:14px;padding:22px 24px!important}
.gp-facts h3{font-size:1.2rem;margin-top:0}
.gp-facts p{font-size:.97rem;margin:0 0 .6em}
.gp-facts strong{display:block;font-weight:600;font-size:.85rem;color:var(--wp--preset--color--soft)}
.gp-schedule table{border-collapse:collapse;width:100%;font-size:.95rem}
.gp-schedule td{border:0;border-bottom:1px solid var(--wp--preset--color--silver);padding:8px 0;vertical-align:top}
.gp-schedule td:first-child{font-weight:600;padding-right:14px;white-space:nowrap}
.gp-place h2{margin-top:1.6em}
.gp-siblings h2{margin-top:0}
.gp-siblings{margin-top:0!important}

/* Place details, map and news (from the Place details form) */
.gp-facts a{color:var(--wp--preset--color--laurel)}
.gp-facts h3+p,.gp-facts h3+figure{margin-top:.4em}
.gp-facts .gp-schedule{margin:.4em 0 0}
.gp-where,.gp-place-news{margin-top:var(--wp--preset--spacing--60)}
.gp-place-news .gp-news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:24px}
.gp-place-news article{display:grid;gap:6px;align-content:start}
.gp-place-news .gp-news-img{display:block;aspect-ratio:3/2;border-radius:10px;overflow:hidden;background:var(--wp--preset--color--stone)}
.gp-place-news .gp-news-img img{width:100%;height:100%;object-fit:cover}
.gp-place-news h3{font-family:var(--wp--preset--font-family--text);font-weight:600;font-size:1.02rem;line-height:1.35;margin:4px 0 0}
.gp-place-news h3 a{color:var(--wp--preset--color--ink)}
.gp-place-news time{font-size:.875rem;color:var(--wp--preset--color--soft)}
.gp-place .wp-block-gallery{margin-top:1rem}
/* Claretian Family page: card grids (4 across, 2 on tablets, 1 on phones) */
.wp-block-group.gp-fam{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.wp-block-group.gp-rel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.gp-fam>*,.gp-rel>*{margin:0!important}
@media (max-width:1000px){.wp-block-group.gp-fam{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:820px){.wp-block-group.gp-rel{grid-template-columns:1fr}}
@media (max-width:560px){.wp-block-group.gp-fam{grid-template-columns:1fr}}
