/*
Theme Name: Salient Child (Mission PLC)
Template: salient
Description: Child theme for Mission Property Loss Consultants. Registers the [mission_posts] and [mission_form] shortcodes.
Version: 1.0.5
Text Domain: salient-child
*/

.mission-posts{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;margin:0 0 8px}
.mission-post-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;text-decoration:none;color:inherit;transition:box-shadow .2s,transform .2s}
.mission-post-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.08);transform:translateY(-2px)}
.mission-post-card img{width:100%;height:180px;object-fit:cover;display:block}
.mission-post-card .mission-post-body{padding:20px}
.mission-post-card .mission-post-cat{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#8a6d1a;font-weight:600;margin-bottom:8px}
.mission-post-card h3{font-size:19px;line-height:1.3;margin:0 0 10px;color:#202327}
.mission-post-card p{font-size:15px;line-height:1.5;margin:0;color:#6b7280}

/* ---- Footer (Mission PLC) ---- */
#footer-outer #footer-widgets{padding:64px 0 8px}
#footer-outer #footer-widgets .row{display:grid;grid-template-columns:1.7fr 1fr 1fr 1.2fr;gap:48px;align-items:start;padding-bottom:0;margin-bottom:0}
#footer-outer #footer-widgets .row>.col{display:contents}
#footer-outer #footer-widgets .row>.col>.widget:empty{display:none}
#footer-outer #footer-widgets .widget{margin:0;padding:0;width:auto;float:none}
#block-7{grid-column:1;grid-row:1}#block-9{grid-column:2;grid-row:1}#block-8{grid-column:3;grid-row:1}#block-10{grid-column:4;grid-row:1}
#footer-outer .mp-foot-brand img{width:190px;max-width:100%;height:auto;display:block;margin:0 0 20px;filter:brightness(0) invert(1)}
#footer-outer #footer-widgets p{font-size:15px;line-height:1.65;color:rgba(255,255,255,.72);margin:0 0 14px}
#footer-outer #footer-widgets h4{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#f5c400;margin:0 0 20px;font-weight:600}
#footer-outer #footer-widgets ul{list-style:none;margin:0;padding:0}
#footer-outer #footer-widgets li{margin:0 0 10px;padding:0}
#footer-outer #footer-widgets a{font-size:15px;color:rgba(255,255,255,.82);text-decoration:none;transition:color .15s}
#footer-outer #footer-widgets a:hover{color:#f5c400}
#footer-outer #footer-widgets .mp-foot-brand p:last-child{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:0}
#footer-outer #footer-widgets .mp-foot-brand p:last-child a{font-size:15px}
#footer-outer #footer-widgets .mp-foot-lic,#footer-outer #footer-widgets .mp-foot-lic a{font-size:13px;color:rgba(255,255,255,.55)}
#footer-outer #footer-widgets .mp-foot-lic a{text-decoration:underline;text-underline-offset:3px}
#footer-outer #copyright{padding:22px 0;border-top:1px solid rgba(255,255,255,.1)}
#footer-outer #copyright .container{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px 24px;align-items:center}
#footer-outer #copyright .col{margin:0!important;width:auto!important;float:none;position:static!important;left:auto!important;padding:0}
#footer-outer #copyright p,#footer-outer #copyright p a{font-size:13px;color:rgba(255,255,255,.55);margin:0;text-align:left!important}
#footer-outer #copyright .col:empty,#footer-outer #copyright ul.social:empty{display:none}
@media(max-width:999px){#footer-outer #footer-widgets .row{grid-template-columns:1fr 1fr;gap:40px}#block-7{grid-column:1/-1}#block-9,#block-8,#block-10{grid-row:auto;grid-column:auto}}
@media(max-width:559px){#footer-outer #footer-widgets .row{grid-template-columns:1fr}#block-7,#block-9,#block-8,#block-10{grid-column:1}}

/* ---- Footer social icons ---- */
#footer-outer .mp-foot-brand p:last-child{gap:12px;margin-top:4px}
#footer-outer #footer-widgets .mp-foot-brand p:last-child a{position:relative;width:42px;height:42px;font-size:0;border:1px solid rgba(255,255,255,.28);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:rgba(255,255,255,.85);transition:background .15s,border-color .15s,color .15s}
#footer-outer #footer-widgets .mp-foot-brand p:last-child a:before{content:"";width:20px;height:20px;background:currentColor;-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
#footer-outer #footer-widgets .mp-foot-brand p:last-child a:hover{background:#f5c400;border-color:#f5c400;color:#202327}
#footer-outer #footer-widgets .mp-foot-brand a[href*="facebook.com"]{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M18%202h-3a5%205%200%200%200-5%205v3H7v4h3v8h4v-8h3l1-4h-4V7a1%201%200%200%201%201-1h3z'%2F%3E%3C%2Fsvg%3E")}
#footer-outer #footer-widgets .mp-foot-brand a[href*="linkedin.com"]{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M16%208a6%206%200%200%201%206%206v7h-4v-7a2%202%200%200%200-2-2%202%202%200%200%200-2%202v7h-4v-7a6%206%200%200%201%206-6z'%2F%3E%3Crect%20x%3D'2'%20y%3D'9'%20width%3D'4'%20height%3D'12'%2F%3E%3Ccircle%20cx%3D'4'%20cy%3D'4'%20r%3D'2'%2F%3E%3C%2Fsvg%3E")}
#footer-outer #footer-widgets .mp-foot-brand a[href*="instagram.com"]{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'2'%20y%3D'2'%20width%3D'20'%20height%3D'20'%20rx%3D'5'%2F%3E%3Cpath%20d%3D'M16%2011.37A4%204%200%201%201%2012.63%208%204%204%200%200%201%2016%2011.37z'%2F%3E%3Cline%20x1%3D'17.5'%20y1%3D'6.5'%20x2%3D'17.51'%20y2%3D'6.5'%2F%3E%3C%2Fsvg%3E")}
#footer-outer #footer-widgets .mp-foot-brand a[href*="tiktok.com"]{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.8'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M14%203v11.5a3.75%203.75%200%201%201-3.75-3.75'%2F%3E%3Cpath%20d%3D'M14%203c.35%202.6%202.1%204.3%205%204.5'%2F%3E%3C%2Fsvg%3E")}

/* ---- Article pages: chip lists without bullets ---- */
.mp-article ul:has(> li > a:only-child){list-style:none;margin-left:0;padding-left:0}
.mp-article ul:has(> li > a:only-child) > li{list-style:none;margin:0}
.mp-article ul:has(> li > a:only-child) > li::marker{content:""}

/* ---- Article pages: image sizing (Salient overrides the original rules) ---- */
.mp-article p > img,.mp-article > img{display:block!important;width:auto!important;max-width:min(100%,400px)!important;height:auto!important;margin:1.6em auto!important}
.mp-article.mp-team p > img{max-width:300px!important;margin-left:0!important}
.mp-article.mp-body-split img{float:right;width:340px!important;max-width:40%!important;margin:6px 0 24px 40px!important;border-radius:16px}
@media(max-width:690px){.mp-article.mp-body-split img{float:none;width:auto!important;max-width:100%!important;margin:1.2em auto!important}}

/* ---- Blog: hide author byline and author bio box ---- */
#author-bio,
.meta-author,
.post-meta .meta-author,
.blog-recent .meta-author{display:none!important}

/* ---- Hero: library photo + flat 80% dark overlay ---- */
.mp-hero-row::before{
	background-image:linear-gradient(rgba(32,35,39,.8),rgba(32,35,39,.8)),var(--mp-hero-img,linear-gradient(135deg,#1f2328 0%,#2b3038 60%,#3d4550 100%));
	background-size:cover;
	background-position:center;
	background-repeat:no-repeat;
}
