/*
Theme Name: Taylor Ministry Group
Description: Local WordPress port of the source ministry site with native WooCommerce and Fluent Forms.
Version: 1.0.0
Text Domain: tmg
*/
@font-face{font-family:Inter;font-style:normal;font-weight:300;src:url('assets/fonts/inter-latin-300-normal.woff2') format('woff2');font-display:swap}
@font-face{font-family:Inter;font-style:normal;font-weight:400;src:url('assets/fonts/inter-latin-400-normal.woff2') format('woff2');font-display:swap}
@font-face{font-family:Inter;font-style:normal;font-weight:500;src:url('assets/fonts/inter-latin-500-normal.woff2') format('woff2');font-display:swap}
@font-face{font-family:Inter;font-style:normal;font-weight:600;src:url('assets/fonts/inter-latin-600-normal.woff2') format('woff2');font-display:swap}
@font-face{font-family:Inter;font-style:normal;font-weight:700;src:url('assets/fonts/inter-latin-700-normal.woff2') format('woff2');font-display:swap}
html{scroll-behavior:smooth;scroll-padding-top:88px}body{margin:0} [hidden]{display:none!important}img{height:auto}img.h-full{height:100%}#site-nav img{height:40px;width:auto}footer img.h-12{height:48px;width:auto}
#site-nav.nav-scrolled,#site-nav.menu-open{background:hsl(var(--background)/.97);box-shadow:0 1px 10px #0001;backdrop-filter:blur(12px)}
#site-nav.nav-scrolled a:not([class*=bg-accent]),#site-nav.menu-open a:not([class*=bg-accent]),#site-nav.nav-scrolled button,#site-nav.menu-open button{color:hsl(var(--foreground))}
#site-nav.nav-scrolled img,#site-nav.menu-open img{filter:none}#site-nav.nav-scrolled button svg,#site-nav.menu-open button svg{color:hsl(var(--foreground))}
.mobile-menu{padding:20px 0 10px;max-height:calc(100vh - 72px);overflow-y:auto}.mobile-link{display:block;padding:11px 0;color:hsl(var(--foreground));font-size:15px}.mobile-link:last-child{color:hsl(var(--primary));font-weight:600}
form input{min-width:0}form[data-tmg-form] button:disabled{opacity:.6}.form-status{margin-top:16px;font-size:14px}.form-status:empty{display:none}section[id]{scroll-margin-top:70px}
.tmg-events{text-align:left;font-family:Inter,sans-serif;background:white;color:#222;padding:18px}.tmg-events h3{text-align:center;font-size:28px;line-height:1.3;margin:8px 0 24px;font-family:Cinzel,Georgia,serif}.event-filters{display:flex;gap:10px;flex-wrap:wrap;border-bottom:1px solid #ddd;padding-bottom:24px;margin-bottom:16px}.event-filters span{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:13px}.event-row{display:grid;grid-template-columns:155px 1fr;gap:22px;border-bottom:1px solid #ddd;padding:26px 0}.event-day{font-size:14px;font-weight:600}.event-type{font-size:11px;letter-spacing:1px;background:#f0eeeb;padding:5px 9px}.event-detail h4{font-size:23px;font-family:Cinzel,Georgia,serif;margin:16px 0 10px;line-height:1.35}.event-time,.event-venue{font-size:13px;margin:8px 0}.event-description{font-size:14px;line-height:1.65;color:#666}.event-description p{margin:12px 0}
.store-shell{max-width:1200px;margin:0 auto;padding:125px 24px 80px}.store-heading{font-family:Cinzel,Georgia,serif;font-size:36px;margin-bottom:40px}.store-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:40px}.store-categories{padding-top:10px}.store-categories h2{font-size:24px;margin-bottom:24px}.store-categories a{display:flex;justify-content:space-between;border-bottom:1px solid #ddd;padding:14px 0;font-size:16px}.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 24px;margin:0;padding:0;list-style:none}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product{min-width:0;text-align:left}.woocommerce ul.products li.product img{width:100%;height:270px;object-fit:contain;background:#fff;margin-bottom:18px}.woocommerce-loop-product__title{font-size:17px;line-height:1.45;font-weight:500;margin:10px 0}.woocommerce .price{display:block;color:inherit;font-size:17px;margin:12px 0}.woocommerce .price del{opacity:.5}.woocommerce .price ins{text-decoration:none}.woocommerce ul.products .button{display:none}.woocommerce .onsale{display:inline-block;font-size:12px;background:#e9e4db;padding:4px 10px;border-radius:3px;margin-bottom:8px}.woocommerce-result-count{font-size:13px;color:#777;margin-bottom:24px}.woocommerce-ordering{margin-bottom:24px}.woocommerce select,.woocommerce input,.woocommerce textarea{max-width:100%;padding:10px 12px;border:1px solid #d6d1c7;border-radius:5px;background:white}.woocommerce-pagination ul{display:flex;justify-content:center;gap:12px;list-style:none;margin:38px 0}.woocommerce-pagination a,.woocommerce-pagination span{display:block;border:1px solid #ddd;border-radius:4px;padding:8px 14px}.woocommerce-pagination .current{background:#263b30;color:white}.woocommerce-breadcrumb{font-size:13px;color:#777;margin-bottom:28px}.woocommerce div.product{display:grid;grid-template-columns:1fr 1fr;gap:44px}.woocommerce-product-gallery img{width:100%;height:auto;object-fit:contain}.woocommerce-product-gallery__wrapper{margin:0}.woocommerce div.product .product_title{font-family:Cinzel,Georgia,serif;font-size:32px;line-height:1.3;margin:10px 0 22px}.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related{grid-column:1/-1}.woocommerce-product-details__short-description,.woocommerce-Tabs-panel{font-size:16px;line-height:1.8}.woocommerce .button,.woocommerce button.button{display:inline-block;background:hsl(var(--primary));color:white;border:0;border-radius:5px;padding:13px 22px;font-size:14px;cursor:pointer}.woocommerce .quantity{display:inline-block;margin:14px 8px 14px 0}.woocommerce .qty{width:80px}.woocommerce .variations td,.woocommerce .variations th{padding:10px;text-align:left}.woocommerce .product_meta{font-size:13px;margin-top:25px;color:#777}.woocommerce-tabs .tabs{display:flex;gap:20px;border-bottom:1px solid #ddd;padding-bottom:16px;margin-bottom:20px}.woocommerce-tabs .tabs li{list-style:none}.woocommerce .related h2{font-family:Cinzel,Georgia,serif;font-size:26px;margin:30px 0}.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error{padding:18px;margin:20px 0;border-left:3px solid #b29661;background:#f0ede5}.woocommerce table.shop_table{width:100%;text-align:left}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:16px 8px;border-bottom:1px solid #ddd}.woocommerce-cart .store-layout,.woocommerce-checkout .store-layout{display:block}.woocommerce-cart .store-categories,.woocommerce-checkout .store-categories{display:none}.content-page{max-width:1100px;margin:auto;padding:130px 24px 80px}.content-page h1{font-family:Cinzel,Georgia,serif;font-size:38px;margin-bottom:28px}.content-page p{margin:16px 0;line-height:1.8}
@media(max-width:1100px) and (min-width:768px){#site-nav .gap-8{gap:16px}#site-nav .text-sm{font-size:12px}#site-nav img{height:30px}#site-nav a.px-6{padding-left:12px;padding-right:12px}}
@media(max-width:767px){.event-row{grid-template-columns:1fr;gap:15px}.tmg-events{padding:4px}.tmg-events h3{font-size:23px}.event-detail h4{font-size:21px}.store-shell{padding:110px 20px 60px}.store-layout{display:flex;flex-direction:column;gap:30px}.store-categories{order:-1}.store-categories h2{font-size:22px;margin-bottom:10px}.store-categories a{display:inline-flex;margin-right:16px;gap:12px;padding:8px 0;font-size:13px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 16px}.woocommerce ul.products li.product img{height:190px}.woocommerce-loop-product__title{font-size:14px}.woocommerce .price{font-size:15px}.woocommerce div.product{grid-template-columns:minmax(0,1fr);gap:26px}.woocommerce div.product .product_title{font-size:28px}.woocommerce .related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.woocommerce .related{min-width:0} .woocommerce .variations td,.woocommerce .variations th{padding:7px 4px}.woocommerce table.shop_table{font-size:13px}.content-page{padding-top:110px}}
@media(min-width:1024px){.tmg-page-the-secret-place main>section:nth-of-type(2){padding-bottom:132px}.home #resources{padding-bottom:144px}.tmg-events{padding-bottom:20px}.event-description{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* ===== Readability layer (2026-10-31). Keeps the source look; fixes contrast and size. ===== */
:root{--accent-text:42 65% 30%}
/* Gold on light backgrounds: deepen to readable antique gold (5.5:1). Bright gold stays on dark/photo sections. */
.text-accent{color:hsl(var(--accent-text))}
section:has(> .absolute.inset-0 img) .text-accent,.text-white .text-accent,.bg-primary .text-accent,.bg-foreground .text-accent,footer .text-accent,#site-nav:not(.nav-scrolled):not(.menu-open) .hover\:text-accent:hover{color:hsl(var(--accent))}
/* Text over photos: stronger white and a soft shadow so it never washes out */
section:has(> .absolute.inset-0 img) :is(h1,h2,h3,p,span,a,li){text-shadow:0 1px 2px rgb(0 0 0/.55),0 0 18px rgb(0 0 0/.35)}
section:has(> .absolute.inset-0 img) :is(.text-white\/80,.text-white\/90){color:rgb(255 255 255/.96)}
section:has(> .absolute.inset-0 img) :is(.bg-accent,.bg-accent *){text-shadow:none}
#site-nav:not(.nav-scrolled):not(.menu-open) a:not([class*=bg-accent]){text-shadow:0 1px 3px rgb(0 0 0/.6)}
/* Team hero fades to the light page too early, under the subtitle */
.tmg-page-team main>section:first-of-type .to-background{background-image:linear-gradient(to bottom,rgb(0 0 0/.8),rgb(0 0 0/.72) 72%,hsl(var(--background)))}
/* Minimum sizes: eyebrows, buttons, small print */
.font-cinzel.text-xs{font-size:13px;line-height:1.35}
footer .text-xs,footer p.text-xs,footer li{font-size:13.5px}
.event-type{font-size:12px}
.text-muted-foreground{color:hsl(210 10% 36%)}
section:has(> .absolute.inset-0 img) .text-muted-foreground,.bg-primary .text-muted-foreground,footer.bg-foreground .text-muted-foreground{color:inherit}
/* Footer subscribe: store CSS redefines --primary as hex, which voided the button background */
footer .bg-primary{background-color:hsl(140 40% 25%)!important;color:#f9f8f6}
footer .bg-primary:hover{background-color:hsl(140 40% 20%)!important}
/* Store */
.hl-product-list-price-override{opacity:1;color:#5b6168;text-decoration:line-through;margin-right:8px}
.hl-product-list-price-discount{color:#067647}
.ec-pagination-btn{color:#1f262e;border-color:#b9b9b9}
.ec-pagination-btn:disabled{opacity:1;color:#767676;border-color:#d9d9d9}
/* Events calendar disabled prev/next */
.tribe-events-c-nav__prev:disabled,.tribe-events-c-nav__next:disabled,.tribe-events-c-nav__prev:disabled *,.tribe-events-c-nav__next:disabled *{color:#767676!important}
/* Keyboard focus is visible everywhere */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid hsl(var(--accent));outline-offset:2px}
.tribe-events-c-nav__prev:disabled,.tribe-events-c-nav__next:disabled{opacity:1!important}
.tribe-events-c-nav__prev:disabled :is(span,svg),.tribe-events-c-nav__next:disabled :is(span,svg){color:#6b6b6b!important;fill:#6b6b6b!important}
/* Utility classes not present in the source build */
.bg-black\/40{background-color:rgb(0 0 0/.4)}.hover\:bg-black\/55:hover{background-color:rgb(0 0 0/.55)}.border-white\/60{border-color:rgb(255 255 255/.6)}
/* Transparent nav over photo heroes: soft top scrim so links stay readable on any photo */
#site-nav:not(.nav-scrolled):not(.menu-open){background:linear-gradient(to bottom,rgb(0 0 0/.45),rgb(0 0 0/0))}

/* Event info buttons, mirroring the Elfsight calendar's red pill actions. */
.event-action{display:inline-flex;align-items:center;margin-top:10px;padding:9px 18px;border-radius:999px;background:#b3261e;color:#fff!important;font-family:Cinzel,Georgia,serif;font-size:13px;font-weight:700;text-decoration:none}.event-action:hover,.event-action:focus-visible{background:#8f1d17}.event-action:focus-visible{outline:2px solid #222;outline-offset:2px}
