/* ===== Sutherland Church — site styles ===== */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.scc-main { padding-bottom: 0; }
.scc-main > *:last-child { margin-bottom: 0; }
img { height: auto; }

/* ---------- Header ---------- */
.scc-header { padding-top: 14px; padding-bottom: 14px; z-index: 50; }
.scc-header--solid { background: #000; }
.scc-header--overlay { position: absolute; top: 0; left: 0; right: 0; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0)); }
.admin-bar .scc-header--overlay { top: 32px; }
@media (max-width: 782px) { .admin-bar .scc-header--overlay { top: 46px; } }
.scc-logo img { border-radius: 50%; }
.scc-header .wp-block-site-logo.scc-logo { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
.scc-header .wp-block-site-logo.scc-logo a { display: block; }
.scc-header .wp-block-site-logo.scc-logo img { max-width: none !important; height: auto !important; }
.scc-logo img { width: 280px !important; height: auto; }
.scc-header--solid .scc-logo img { width: 220px !important; }
@media (max-width: 781px) {
	.scc-logo img { width: 192px !important; }
	.scc-header--solid .scc-logo img { width: 160px !important; }
}
.scc-nav .wp-block-navigation-item__content { color: var(--wp--preset--color--cream); padding: 6px 0; }
.scc-nav .wp-block-navigation-item__content:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--wp--preset--color--gold); }
.scc-nav .wp-block-navigation__submenu-container { background: #000 !important; border: 0 !important; padding: 10px 0 !important; min-width: 230px !important; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.scc-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 9px 20px; font-size: 14px; }
.scc-nav .wp-block-navigation__responsive-container-open svg,
.scc-nav .wp-block-navigation__responsive-container-close svg { fill: var(--wp--preset--color--cream); width: 34px; height: 34px; }
.scc-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 40px 30px; }
.scc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 18px; font-size: 20px; }

/* ---------- Wave dividers (same curve as original site) ---------- */
.scc-wave-bottom, .scc-wave-top { position: relative; overflow: hidden; }
.scc-wave-bottom::after, .scc-wave-top::before {
	content: ""; position: absolute; left: 0; right: 0; height: 90px; z-index: 2; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2560 300' preserveAspectRatio='none' fill='%23ffffff'%3E%3Cpath d='M1279 300C638.274 300 638.274 0 -2 0V300H1279H2560V0C1919.73 0 1919.73 300 1279 300Z'/%3E%3Cpath fill-opacity='0.3' d='M1278 0C637.274 0 640.274 300 0 300H2559C1918.73 300 1918.73 0 1278 0Z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.scc-wave-bottom::after { bottom: -1px; }
.scc-wave-top::before { top: -1px; transform: rotate(180deg); }

/* ---------- Hero ---------- */
.scc-hero .scc-hero-title { font-size: var(--wp--preset--font-size--huge); font-weight: 600; letter-spacing: -0.06em; line-height: .8; color: #fff; margin: 0; }
.scc-hero .wp-block-cover__inner-container { padding-top: 70px; padding-bottom: 40px; }
.scc-hero-sub { font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Image cards ---------- */
.scc-card .scc-card-img { border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .25s ease, box-shadow .25s ease; }
.scc-card .scc-card-img:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.scc-card .scc-card-img .wp-block-cover__inner-container { display: flex; align-items: flex-end; justify-content: center; height: 100%; }
.scc-card-title { font-size: 34px !important; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.scc-card-title a { color: var(--wp--preset--color--cream); text-decoration: none; }
.scc-card h3 { font-size: 20px; font-weight: 600; margin-top: 18px; }

/* ---------- Rounded photos ---------- */
.scc-photo img, .wp-block-image.scc-photo img { border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.15); width: 100%; object-fit: cover; }
.scc-photo-tall img { aspect-ratio: 4/5; }
.scc-photo-wide img { aspect-ratio: 16/10; }
.scc-photo-square img { aspect-ratio: 1/1; }

/* ---------- Section headings ---------- */
.scc-kicker { text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--wp--preset--color--green); font-size: 14px; margin-bottom: 0; }
.scc-section-title { text-transform: uppercase; }
.scc-serif-banner { font-family: Georgia, 'Times New Roman', serif !important; font-weight: 700; text-transform: uppercase; color: #fff; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,.35); }

/* ---------- FAQ (details) ---------- */
.wp-block-details summary { font-weight: 700; font-size: 18px; color: var(--wp--preset--color--charcoal); cursor: pointer; list-style: none; position: relative; padding-right: 34px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 4px; top: -4px; font-size: 28px; font-weight: 600; color: var(--wp--preset--color--green); transition: transform .2s; }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > *:not(summary) { margin-top: 12px; }

/* ---------- Cards / boxes ---------- */
.scc-box { border-radius: 10px; }
.scc-box-shadow { box-shadow: 0 6px 20px rgba(0,0,0,.08); border-radius: 10px; }
.scc-staff img { aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; width: 180px !important; height: 180px; margin: 0 auto; display: block; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.scc-staff-role { color: var(--wp--preset--color--green); font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; margin-top: 4px !important; }
.scc-refs { font-size: 13px; color: var(--wp--preset--color--green); font-weight: 600; }
.scc-mission + .scc-mission { border-top: 1px solid #e6e6e6; }
.scc-address { font-weight: 500; line-height: 1.5; }

/* ---------- Gallery ---------- */
.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 8px; }

/* ---------- Map ---------- */
.scc-map iframe { width: 100%; height: 380px; border: 0; border-radius: 10px; display: block; }

/* ---------- Footer ---------- */
.scc-footer a { color: #fff; text-decoration: none; }
.scc-footer a:hover { color: var(--wp--preset--color--gold); }
.scc-footer-links { list-style: none; padding: 0; margin: 0; font-weight: 600; font-size: 14px; letter-spacing: .04em; }
.scc-footer-links li { padding: 5px 0; }
.scc-footer-links a::after { content: "  →"; color: var(--wp--preset--color--gold); }
.scc-footer-contact { list-style: none; padding: 0; margin: 0 0 18px; font-size: 14px; }
.scc-footer-contact li { padding: 6px 0 6px 28px; position: relative; }
.scc-footer-contact li::before { position: absolute; left: 0; top: 6px; color: var(--wp--preset--color--gold); font-size: 15px; }
.scc-ico-pin::before { content: "⌖"; }
.scc-ico-mail::before { content: "✉"; }
.scc-ico-phone::before { content: "✆"; }
.scc-copyright { opacity: .6; margin-top: 40px !important; border-top: 1px solid rgba(255,255,255,.15); padding-top: 22px; }
.scc-to-top { position: fixed; right: 18px; bottom: 18px; width: 42px; height: 42px; display: grid; place-items: center; background: var(--wp--preset--color--gold); color: #000; text-decoration: none; border-radius: 4px; font-size: 14px; z-index: 40; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.scc-to-top:hover { background: #fff; color: #000; }

/* ---------- Forms ---------- */
.scc-form { display: grid; gap: 14px; }
.scc-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; color: var(--wp--preset--color--charcoal); }
.scc-form input[type=text], .scc-form input[type=email], .scc-form input[type=tel], .scc-form input[type=date], .scc-form input[type=time], .scc-form select, .scc-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid #cecece; border-radius: 6px; font: inherit; font-weight: 400; background: #fff; box-sizing: border-box;
}
.scc-form textarea { min-height: 140px; }
.scc-form input:focus, .scc-form select:focus, .scc-form textarea:focus { outline: 2px solid var(--wp--preset--color--green); border-color: transparent; }
.scc-form .scc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.scc-form .scc-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-weight: 400; }
.scc-form .scc-checks label { font-weight: 400; display: flex; gap: 8px; align-items: center; margin: 0; }
.scc-form button { justify-self: start; background: var(--wp--preset--color--green); color: #fff; border: 2px solid var(--wp--preset--color--green-dark); border-radius: 6px; padding: 12px 30px; font: 600 14px/1 Poppins, sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.scc-form button:hover { background: var(--wp--preset--color--green-dark); }
.scc-form .scc-hp { position: absolute; left: -9999px; }
.scc-form-msg { padding: 14px 18px; border-radius: 6px; font-weight: 500; }
.scc-form-msg.ok { background: #e7f3ec; color: var(--wp--preset--color--green-dark); }
.scc-form-msg.err { background: #fbeaea; color: #8a1f1f; }
.has-black-background-color .scc-form label, .wp-block-cover .scc-form label { color: #fff; }
@media (max-width: 640px) { .scc-form .scc-row, .scc-form .scc-checks { grid-template-columns: 1fr; } }

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.scc-card-title { font-size: 28px !important; }
	.scc-wave-bottom::after, .scc-wave-top::before { height: 40px; }
	.scc-hero .wp-block-cover__inner-container { padding-top: 100px; }
}
