/*
Theme Name: WETCA Kadence Child
Theme URI: https://wetca-community.navaneeth-rc.chatgpt.site/
Description: A Kadence child theme for the Windsor Essex Tamil Cultural Association.
Author: WETCA
Version: 1.3.1
Template: kadence
Text Domain: wetca-kadence-child
*/
:root{--wetca-navy:#404098;--wetca-deep:#2b2b70;--wetca-gold:#404098;--wetca-ink:#17253b;--wetca-muted:#526073;--wetca-pale:#f0edf7;--wetca-white:#fff}
body{color:var(--wetca-ink);background:#f6f7fb;font-size:17px}
a{color:#404098}a:hover{color:#b91e28}
.site-header,.site-header-row-container-inner{background:var(--wetca-navy)}
.site-header a,.site-header .site-branding a,.site-header .main-navigation a{color:#fff}
.site-header .main-navigation a:hover,.site-header .main-navigation .current-menu-item>a{color:#f4d76d}
.site-footer{background:var(--wetca-deep);color:#e6ecf4}.site-footer a{color:#e6ecf4}
h1,h2,h3,h4{color:var(--wetca-navy);letter-spacing:-.025em}
.entry-content h2{margin-top:2.3em}.entry-content h2:first-child{margin-top:0}
.entry-content p{line-height:1.7}
.wp-block-button__link,.button,.entry-content .wp-block-button__link{background:var(--wetca-gold);color:var(--wetca-deep);border-radius:6px;font-weight:700;padding:14px 24px}
.wp-block-button__link:hover,.button:hover{background:#efbf6a;color:var(--wetca-deep)}
body.home .entry-content>h1:first-child{font-size:clamp(2.7rem,6vw,5.4rem);line-height:1.07;max-width:850px;margin:0 0 20px;color:var(--wetca-navy)}
body.home .entry-content>h1:first-child+p{font-size:1.25rem;max-width:690px}
body.home .entry-content>.wp-block-buttons{margin:28px 0 55px}
.wetca-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:26px 0 52px}
.wetca-card{overflow:hidden;background:var(--wetca-white);border:1px solid #dae2ec;border-top:4px solid var(--wetca-gold);border-radius:3px;box-shadow:none}
.wetca-card-image{display:block;aspect-ratio:16/10;overflow:hidden}
.wetca-card-image img{width:100%;height:100%;object-fit:cover;display:block}
.wetca-card-body{padding:24px}.wetca-card h3,.wetca-card h4{font-size:1.28rem;line-height:1.3;margin:0 0 10px}.wetca-card h3 a{text-decoration:none;color:var(--wetca-navy)}
.wetca-card p{color:var(--wetca-muted);line-height:1.6;margin:10px 0}.wetca-card .wetca-meta{color:#404098;font-size:.94rem;font-weight:700}
.wetca-more{font-weight:700;text-decoration:none}.wetca-more:focus-visible,.wetca-card a:focus-visible{outline:3px solid var(--wetca-gold);outline-offset:3px}
.wetca-sponsor .wetca-card-image{aspect-ratio:16/9;padding:20px;background:white}.wetca-sponsor .wetca-card-image img{object-fit:contain}
.wetca-person>img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.wetca-person .wetca-card-body{min-height:130px}
.wetca-term{margin:38px 0 56px}.wetca-term>h3{padding-bottom:12px;border-bottom:2px solid var(--wetca-gold)}
.wetca-timeline{border-left:3px solid var(--wetca-gold);margin:30px 0 55px;padding-left:28px}
.wetca-timeline article{position:relative;display:grid;grid-template-columns:130px 1fr;gap:25px;margin:0 0 32px;padding:4px 0 26px;border-bottom:1px solid #dbe3ee}
.wetca-timeline article:before{content:"";position:absolute;left:-38px;top:10px;width:17px;height:17px;background:var(--wetca-gold);border:3px solid white;border-radius:50%}
.wetca-year{font-weight:800;color:#404098}.wetca-timeline h3{margin:0 0 10px}.wetca-timeline p{margin:0}
.wetca-empty{padding:23px 27px;border-left:4px solid var(--wetca-gold);background:#fff;color:var(--wetca-muted)}
.wetca-event-intro{padding:14px 18px;background:var(--wetca-pale);font-weight:700;color:var(--wetca-navy)}
.wp-block-gallery{margin:30px 0}.wp-block-gallery img{border-radius:5px}
@media(max-width:900px){.wetca-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.wetca-grid{grid-template-columns:1fr}.wetca-timeline article{grid-template-columns:1fr;gap:8px}.wetca-card-body{padding:20px}}

/* Photo-led homepage inspired by the supplied Kadence reference. */
:root{--wetca-blue:#404098;--wetca-gold:#404098}
body.home #wrapper{position:relative;max-width:1600px;margin:24px auto;background:#f7f6fa}
body.home .site-header{position:absolute;left:0;right:0;top:0;z-index:20;background:transparent}
body.home .site-header-row-container-inner{background:transparent!important}
body.home .site-header a,body.home .site-branding .site-title,body.home .mobile-toggle-open{color:#fff}
body.home .site-header .main-navigation a:hover{color:#eee8ff}
.wetca-shell{max-width:1180px;margin:0 auto;padding-left:28px;padding-right:28px}
.wetca-home-hero{position:relative;isolation:isolate;overflow:hidden;min-height:560px;padding:150px 0 115px;background:#404098;color:white}
.wetca-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% center;z-index:-2}
.wetca-home-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(64,64,152,.98) 0%,rgba(64,64,152,.79) 34%,rgba(64,64,152,.29) 67%,rgba(64,64,152,.05) 100%);z-index:-1}
.wetca-home-hero:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:38px;background:#f7f6fa;clip-path:polygon(0 35%,50% 100%,100% 35%,100% 100%,0 100%)}
.wetca-kicker{text-transform:uppercase;letter-spacing:.16em;font-size:.8rem;font-weight:700;color:#eee8ff;margin:0 0 18px}
.wetca-home-hero h1{font-size:clamp(2.5rem,5.2vw,4.4rem);letter-spacing:-.02em;line-height:1.08;text-transform:uppercase;color:white;max-width:560px;margin:0 0 24px;font-weight:800}
.wetca-home-hero p:not(.wetca-kicker){font-size:1.13rem;line-height:1.6;max-width:460px;color:white}
.wetca-home-hero .wp-block-buttons{margin-top:28px}
.wetca-home-hero .wp-block-button__link{background:transparent;color:#fff;border:1px solid #fff;border-radius:2px;padding:12px 24px}
.wetca-home-hero .wp-block-button__link:hover{background:white;color:#404098}
.wetca-sponsor-band{background:#f7f6fa;padding:30px 28px 35px;text-align:center}
.wetca-sponsor-band>p{color:#536d88;font-size:.88rem;margin:0 0 24px}
.wetca-sponsor-logos{max-width:1080px;margin:auto;display:flex;align-items:center;justify-content:center;gap:40px;flex-wrap:wrap}
.wetca-sponsor-logo{width:135px;display:flex;flex-direction:column;gap:8px;align-items:center;color:#56718e;text-decoration:none;font-weight:700;font-size:.9rem}
.wetca-sponsor-logo img{height:58px;width:135px;object-fit:contain;filter:grayscale(1);opacity:.7;transition:filter .2s,opacity .2s}
.wetca-sponsor-logo:hover img,.wetca-sponsor-logo:focus-visible img{filter:none;opacity:1}
.wetca-sponsor-logo small{font-size:.75rem;font-weight:400}
.wetca-home-body{padding-top:20px;padding-bottom:65px}
.wetca-home-body>h2:first-child{margin-top:0;font-size:1.55rem}
.wetca-home-body .wetca-events-featured{grid-template-columns:1.2fr repeat(3,minmax(0,1fr));gap:22px}
.wetca-feature-tile{background:#404098;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:32px 26px;min-height:320px;border-radius:2px}
.wetca-feature-tile h3{font-size:1.5rem;text-transform:uppercase;color:white;margin:0 0 16px;line-height:1.25}
.wetca-feature-tile p{font-size:1rem;line-height:1.65;margin:0 0 24px}
.wetca-feature-tile a{color:white;border:1px solid white;padding:10px 16px;font-size:.9rem;text-decoration:none;font-weight:600}
.wetca-feature-tile a:hover{background:#fff;color:#404098}
.wetca-home-body .wetca-card{border:0;background:white;border-radius:2px}
.wetca-home-body .wetca-card-image{aspect-ratio:4/5}
.wetca-home-body .wetca-card-body{padding:18px 14px}
.wetca-home-body .wetca-card h3{font-size:1.06rem;letter-spacing:0}
.wetca-home-body .wetca-card p{font-size:.92rem}
.wetca-home-body .wetca-more{font-size:.92rem}
.wetca-events-featured>.wetca-empty{grid-column:span 3;align-self:center;margin:0}
.site-header .main-navigation a:hover{color:#f4d76d}
.wp-block-button__link,.button,.entry-content .wp-block-button__link{color:white}
@media(max-width:900px){.wetca-home-body .wetca-events-featured{grid-template-columns:repeat(2,minmax(0,1fr))}.wetca-events-featured>.wetca-empty{grid-column:auto}.wetca-home-hero{padding-top:130px}.wetca-home-hero h1{max-width:500px}}
@media(max-width:620px){body.home #wrapper{margin:0}.wetca-home-hero{min-height:500px;padding:130px 0 90px}.wetca-home-hero:before{background:rgba(64,64,152,.78)}.wetca-home-body .wetca-events-featured{grid-template-columns:1fr}.wetca-feature-tile{min-height:230px}.wetca-home-body .wetca-card-image{aspect-ratio:16/10}.wetca-sponsor-logos{gap:25px}.wetca-sponsor-logo{width:105px}.wetca-sponsor-logo img{width:105px}.wetca-home-body{padding-top:25px;padding-bottom:45px}}
/* Shared interior pages: matching banner and readable header. */
body.wetca-inner-page #wrapper{position:relative;max-width:1600px;margin:24px auto;background:#f7f6fa}
body.wetca-inner-page .site-header{position:absolute;left:0;right:0;top:0;z-index:20;background:transparent}
body.wetca-inner-page .site-header-row-container-inner{background:transparent!important}
body.home #masthead .site-branding .site-title,body.wetca-inner-page #masthead .site-branding .site-title,
body.home #masthead .site-branding a,body.wetca-inner-page #masthead .site-branding a,
body.home #masthead .main-navigation .primary-menu-container>ul>li>a,body.wetca-inner-page #masthead .main-navigation .primary-menu-container>ul>li>a,
body.home #masthead .mobile-toggle-open,body.wetca-inner-page #masthead .mobile-toggle-open{color:#fff!important}
body.home #masthead .site-description,body.wetca-inner-page #masthead .site-description{color:#eee8ff!important}
body.home #masthead .main-navigation .primary-menu-container>ul>li>a:hover,body.wetca-inner-page #masthead .main-navigation .primary-menu-container>ul>li>a:hover,
body.home #masthead .main-navigation .primary-menu-container>ul>.current-menu-item>a,body.wetca-inner-page #masthead .main-navigation .primary-menu-container>ul>.current-menu-item>a{color:#f4d76d!important}
body.home #masthead .mobile-toggle-open svg,body.wetca-inner-page #masthead .mobile-toggle-open svg{fill:currentColor}
.wetca-inner-hero{position:relative;isolation:isolate;overflow:hidden;min-height:350px;padding:150px 0 75px;background:#404098;color:#fff}
.wetca-inner-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(64,64,152,.96),rgba(64,64,152,.65) 55%,rgba(64,64,152,.23));z-index:-1}
.wetca-inner-hero:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:30px;background:#f7f6fa;clip-path:polygon(0 35%,50% 100%,100% 35%,100% 100%,0 100%)}
.wetca-inner-hero h1{font-size:clamp(2.25rem,4.5vw,3.75rem);text-transform:uppercase;line-height:1.12;color:#fff;margin:0;letter-spacing:-.02em;max-width:900px;overflow-wrap:break-word}
.wetca-inner-body{padding-top:55px;padding-bottom:75px;min-height:300px}
.wetca-inner-body .entry-content{margin:0;max-width:none}
.wetca-inner-body .entry-content>h2:first-child{margin-top:0}
.wp-block-button__link:hover,.button:hover{background:#404098;color:#fff}
@media(max-width:900px){.wetca-inner-hero{padding-top:140px}}
@media(max-width:620px){body.wetca-inner-page #wrapper{margin:0}.wetca-inner-hero{min-height:300px;padding:125px 0 70px}.wetca-inner-body{padding-top:35px;padding-bottom:45px}.wetca-inner-hero:before{background:rgba(64,64,152,.8)}}
/* Keep Kadence's own desktop/mobile header rows readable, including boxed rows. */
body.home #masthead,body.wetca-inner-page #masthead,
body.home .site-header,body.wetca-inner-page .site-header{
 position:relative!important;top:auto!important;left:auto!important;right:auto!important;
 background:#404098!important;z-index:20;
}
body.home #masthead .site-header-row-container-inner,
body.wetca-inner-page #masthead .site-header-row-container-inner,
body.home #masthead .site-header-row-container,
body.wetca-inner-page #masthead .site-header-row-container,
body.home #masthead .site-header-wrap,
body.wetca-inner-page #masthead .site-header-wrap,
body.home #main-header,body.wetca-inner-page #main-header,
body.home #mobile-header,body.wetca-inner-page #mobile-header{
 background:#404098!important;
}
body.home #masthead .site-branding .site-title,
body.wetca-inner-page #masthead .site-branding .site-title{font-size:clamp(1.1rem,1.5vw,1.45rem)!important;line-height:1.3!important;color:#fff!important}
body.home #masthead .site-branding a,body.wetca-inner-page #masthead .site-branding a,
body.home #masthead .site-title a,body.wetca-inner-page #masthead .site-title a{color:#fff!important}
body.home #masthead .site-branding,body.wetca-inner-page #masthead .site-branding{max-width:410px}
body.home #masthead .header-navigation .header-menu-container>ul>li>a,
body.wetca-inner-page #masthead .header-navigation .header-menu-container>ul>li>a,
body.home #masthead .main-navigation .primary-menu-container>ul>li>a,
body.wetca-inner-page #masthead .main-navigation .primary-menu-container>ul>li>a{color:#fff!important;font-size:.94rem!important}
body.home #masthead .header-navigation .header-menu-container>ul>li>a:hover,
body.wetca-inner-page #masthead .header-navigation .header-menu-container>ul>li>a:hover{color:#f4d76d!important}
body.home .wetca-home-hero{padding-top:80px}
body.wetca-inner-page .wetca-inner-hero{padding-top:75px;min-height:270px}
@media(max-width:620px){body.home .wetca-home-hero{padding-top:65px}body.wetca-inner-page .wetca-inner-hero{padding-top:55px;min-height:235px}}

/* WETCA logo palette: white header, indigo navigation, gold actions. */
:root{--wetca-navy:#404098;--wetca-deep:#2b2b70;--wetca-blue:#404098;--wetca-gold:#f4d76d;--wetca-red:#b91e28;--wetca-pale:#f0edf7}
body.home #masthead,body.wetca-inner-page #masthead,
body.home .site-header,body.wetca-inner-page .site-header,
body.home #masthead .site-header-row-container-inner,body.wetca-inner-page #masthead .site-header-row-container-inner,
body.home #masthead .site-header-row-container,body.wetca-inner-page #masthead .site-header-row-container,
body.home #masthead .site-header-wrap,body.wetca-inner-page #masthead .site-header-wrap,
body.home #main-header,body.wetca-inner-page #main-header,
body.home #mobile-header,body.wetca-inner-page #mobile-header{background:#fff!important}
body.home #masthead .site-branding .site-title,body.wetca-inner-page #masthead .site-branding .site-title,
body.home #masthead .site-branding a,body.wetca-inner-page #masthead .site-branding a,
body.home #masthead .site-title a,body.wetca-inner-page #masthead .site-title a,
body.home #masthead .header-navigation .header-menu-container>ul>li>a,body.wetca-inner-page #masthead .header-navigation .header-menu-container>ul>li>a,
body.home #masthead .main-navigation .primary-menu-container>ul>li>a,body.wetca-inner-page #masthead .main-navigation .primary-menu-container>ul>li>a,
body.home #masthead .mobile-toggle-open,body.wetca-inner-page #masthead .mobile-toggle-open{color:#404098!important}
body.home #masthead .site-description,body.wetca-inner-page #masthead .site-description{color:#574b7c!important}
body.home #masthead .header-navigation .header-menu-container>ul>li>a:hover,body.wetca-inner-page #masthead .header-navigation .header-menu-container>ul>li>a:hover,
body.home #masthead .main-navigation .primary-menu-container>ul>li>a:hover,body.wetca-inner-page #masthead .main-navigation .primary-menu-container>ul>li>a:hover,
body.home #masthead .main-navigation .primary-menu-container>ul>.current-menu-item>a,body.wetca-inner-page #masthead .main-navigation .primary-menu-container>ul>.current-menu-item>a,
body.home #masthead .header-navigation .header-menu-container>ul>.current-menu-item>a,body.wetca-inner-page #masthead .header-navigation .header-menu-container>ul>.current-menu-item>a{color:#b91e28!important}
#masthead .site-branding img{max-height:110px!important;width:auto!important;object-fit:contain}
#masthead .site-branding{padding-top:10px;padding-bottom:10px}
.wetca-kicker,.wetca-year{color:#f4d76d}.wetca-timeline .wetca-year{color:#404098}
.wp-block-button__link,.button,.entry-content .wp-block-button__link{background:#f4d76d;color:#404098}
.wp-block-button__link:hover,.button:hover,.entry-content .wp-block-button__link:hover{background:#e7c753;color:#2b2b70}
.wetca-home-hero .wp-block-button__link{background:#f4d76d;color:#404098;border-color:#f4d76d}
.wetca-home-hero .wp-block-button__link:hover{background:#fff;color:#404098;border-color:#fff}
.wetca-feature-tile{background:#404098}.wetca-feature-tile a:hover{color:#404098}
.wetca-sponsor-band>p,.wetca-sponsor-logo{color:#574b7c}
.wetca-card .wetca-meta{color:#6d3873}
@media(max-width:620px){#masthead .site-branding img{max-height:80px!important}}

/* Palette refined against the original WETCA logo; darker red supports readable links. */
:root{--wetca-navy:#404098;--wetca-deep:#2b2b70;--wetca-blue:#404098;--wetca-red:#f03038;--wetca-gold:#f4d76d}
