/*
Theme Name: PMC Tamil Gold
Theme URI: https://pmctamil.in/
Author: PMC Tamil
Description: A standalone gold-themed WordPress theme for meditation, spirituality, articles, photos, events and registrations. No e-store.
Version: 2.7.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: pmc-tamil-gold
License: GPL-2.0-or-later
*/
:root{--pmc-gold:#c9a227;--pmc-green:#173b30;--pmc-cream:#fffaf0;--pmc-ink:#2e2a22;--pmc-muted:#70695e;--pmc-border:#eadfc8;--pmc-radius:18px;--pmc-shadow:0 12px 35px rgba(40,30,10,.08)}
*{box-sizing:border-box}body,button,input,textarea,select,.wp-block-heading,.wp-block-button__link{font-family:"Noto Sans Tamil","Noto Sans",system-ui,-apple-system,"Latha",sans-serif;font-feature-settings:"kern" 1;font-kerning:normal}strong,b,.hero h1,.page-hero h1,.section-heading h2{font-weight:800}html{scroll-behavior:smooth}body{margin:0;background:var(--pmc-cream);color:var(--pmc-ink);font-family:"Noto Sans Tamil","Noto Sans",system-ui,-apple-system,"Latha",sans-serif;line-height:1.7}a{color:var(--pmc-green);text-decoration:none}a:hover{color:var(--pmc-gold)}img{max-width:100%;height:auto}button,input,textarea,select{font:inherit}.site-wrap{min-height:100vh;display:flex;flex-direction:column}.site-header{background:#fffdf8;border-bottom:1px solid var(--pmc-border);position:relative;z-index:10}.topbar{background:var(--pmc-green);color:#fff;padding:7px 20px;font-size:.9rem}.topbar-inner,.header-inner,.container,.footer-inner{width:min(1180px,calc(100% - 36px));margin-inline:auto}.topbar-inner{display:flex;justify-content:space-between;gap:16px;align-items:center}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0}.brand{display:flex;align-items:center;gap:12px;min-width:180px}.custom-logo{max-height:72px;width:auto}.site-title{font-weight:800;font-size:1.5rem;color:var(--pmc-green);line-height:1.2}.site-description{font-size:.82rem;color:var(--pmc-muted);margin:4px 0 0}.main-navigation ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px;align-items:center}.main-navigation a{display:block;padding:10px 11px;border-radius:9px;font-weight:650;font-size:.94rem}.main-navigation a:hover,.main-navigation .current-menu-item>a{background:#f3e8c9;color:var(--pmc-green)}.menu-toggle{display:none;background:var(--pmc-green);color:#fff;border:0;border-radius:10px;padding:9px 12px}.lang-switch{display:inline-flex;gap:5px;align-items:center;border:1px solid var(--pmc-border);border-radius:999px;padding:5px 9px;font-size:.83rem;white-space:nowrap}.lang-switch a{padding:2px 6px}.hero{background:radial-gradient(circle at 85% 20%,rgba(201,162,39,.22),transparent 32%),linear-gradient(120deg,#173b30,#245b47);color:#fff;padding:clamp(54px,8vw,100px) 0}.hero-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:42px;align-items:center}.eyebrow{display:inline-block;color:#f2d778;font-weight:750;letter-spacing:.08em;text-transform:uppercase;font-size:.84rem}.hero h1{font-size:clamp(2.1rem,5vw,4.2rem);line-height:1.14;margin:14px 0 20px;color:#fff}.hero p{font-size:1.12rem;max-width:700px;color:#f5f1e5}.hero-card{border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.08);border-radius:24px;padding:28px;text-align:center;backdrop-filter:blur(8px)}.hero-symbol{width:110px;height:110px;border:2px solid var(--pmc-gold);border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;font-size:3.4rem;color:#f2d778}.hero-card strong{display:block;font-size:1.15rem;color:#fff}.hero-card span{font-size:.9rem;color:#e9e1cb}.button,.wp-block-button__link{display:inline-block;background:var(--pmc-gold);color:#211c10!important;font-weight:800;border:0;border-radius:999px;padding:12px 22px;box-shadow:0 5px 16px rgba(0,0,0,.12);cursor:pointer}.button:hover,.wp-block-button__link:hover{filter:brightness(1.04);transform:translateY(-1px)}.button-outline{background:transparent;border:1px solid rgba(255,255,255,.65);color:#fff!important;margin-left:8px;box-shadow:none}.section{padding:clamp(42px,6vw,76px) 0}.section-heading{text-align:center;max-width:760px;margin:0 auto 32px}.section-heading .eyebrow{color:var(--pmc-gold)}.section-heading h2{font-size:clamp(1.8rem,3.4vw,2.7rem);line-height:1.2;margin:8px 0 12px;color:var(--pmc-green)}.section-heading p{color:var(--pmc-muted);margin:0}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{background:#fff;border:1px solid var(--pmc-border);border-radius:var(--pmc-radius);padding:25px;box-shadow:var(--pmc-shadow)}.card-icon{width:48px;height:48px;border-radius:14px;background:#f5eacb;color:var(--pmc-green);display:grid;place-items:center;font-size:1.45rem;margin-bottom:15px}.card h3{margin:0 0 8px;font-size:1.22rem;color:var(--pmc-green)}.card p{margin:0 0 14px;color:var(--pmc-muted)}.card-link{font-weight:750}.posts-grid .card{padding:0;overflow:hidden}.post-thumb{aspect-ratio:16/9;background:#efe4c8;display:block;overflow:hidden}.post-thumb img{width:100%;height:100%;object-fit:cover}.post-body{padding:22px}.post-meta{font-size:.82rem;color:var(--pmc-muted);margin-bottom:8px}.events-band{background:#f3ead4}.registration-box{max-width:780px;margin:0 auto;background:#fff;border:1px solid var(--pmc-border);border-radius:var(--pmc-radius);padding:clamp(22px,4vw,38px);box-shadow:var(--pmc-shadow)}.registration-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-field{display:flex;flex-direction:column;gap:6px}.form-field.full{grid-column:1/-1}.form-field label{font-weight:700}.form-field input,.form-field textarea,.form-field select{width:100%;padding:12px 13px;border:1px solid #d9cfba;border-radius:10px;background:#fff}.form-field input:focus,.form-field textarea:focus{outline:2px solid var(--pmc-gold);outline-offset:1px}.form-note{color:var(--pmc-muted);font-size:.9rem}.notice{padding:12px 15px;border-radius:10px;background:#e9f5e9;border:1px solid #b7d8b7;margin-bottom:16px}.site-main{flex:1}.page-hero{background:linear-gradient(120deg,#173b30,#245b47);color:#fff;padding:48px 0}.page-hero h1{margin:0;font-size:clamp(2rem,4vw,3.2rem);line-height:1.2;color:#fff}.page-hero p{margin:10px 0 0;color:#f4ecd8}.content-area{padding:48px 0 72px}.content-area .entry-content{max-width:900px;margin:0 auto}.content-area .entry-content h2,.content-area .entry-content h3{color:var(--pmc-green)}.entry-content>*{margin-bottom:1.25em}.entry-content .wp-block-image img,.entry-content .wp-block-gallery img{border-radius:14px}.entry-content .wp-block-quote{border-left:4px solid var(--pmc-gold);padding-left:22px;color:var(--pmc-muted)}.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.pagination{margin:32px 0}.pagination .page-numbers{display:inline-block;padding:8px 13px;margin:3px;border:1px solid var(--pmc-border);border-radius:8px}.pagination .current{background:var(--pmc-green);color:#fff}.site-footer{background:#122d25;color:#f4f0e5;margin-top:auto;padding:38px 0 20px}.footer-inner{display:grid;grid-template-columns:1.2fr .8fr;gap:30px}.footer-title{font-size:1.25rem;font-weight:800;color:#f2d778}.site-footer a{color:#f4e5b7}.footer-bottom{border-top:1px solid rgba(255,255,255,.16);margin-top:26px;padding-top:16px;font-size:.85rem;color:#d5d0c4;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.no-results,.empty-state{text-align:center;padding:30px;border:1px dashed var(--pmc-border);border-radius:16px;color:var(--pmc-muted)}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gallery-grid figure{margin:0}.gallery-grid img{width:100%;height:240px;object-fit:cover;border-radius:14px}.registration-admin-note{font-size:.9rem;color:var(--pmc-muted)}.alignwide{max-width:1100px;margin-inline:auto}.alignfull{width:100%}
@media(max-width:980px){.header-inner{flex-wrap:wrap}.main-navigation{width:100%;order:3}.main-navigation ul{justify-content:center}.hero-grid{grid-template-columns:1fr}.hero-card{max-width:340px}.cards,.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.topbar-inner{justify-content:center;text-align:center}.topbar-inner span:nth-child(2){display:none}.header-inner{width:calc(100% - 28px);gap:12px}.brand{min-width:0;flex:1}.site-title{font-size:1.2rem}.custom-logo{max-height:54px}.menu-toggle{display:inline-block}.main-navigation{display:none}.main-navigation.is-open{display:block}.main-navigation ul{display:flex;flex-direction:column;align-items:stretch;padding:8px 0}.main-navigation a{padding:10px 12px}.lang-switch{font-size:.75rem}.hero-grid{gap:24px}.hero .button{margin:4px 4px 0 0}.button-outline{margin-left:0}.cards,.archive-grid,.gallery-grid{grid-template-columns:1fr}.registration-form{grid-template-columns:1fr}.form-field.full{grid-column:auto}.footer-inner{grid-template-columns:1fr}.section{padding:42px 0}.container,.topbar-inner,.footer-inner{width:calc(100% - 28px)}.gallery-grid img{height:220px}}
/* v2.3 homepage hero image and language-toggle improvements */
.hero-grid{grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,70px)}
.hero-copy{min-width:0}
.hero-image-wrap{position:relative;min-height:360px;align-self:stretch;display:flex;align-items:center}
.hero-image{display:block;width:100%;height:clamp(320px,31vw,470px);object-fit:cover;border-radius:28% 28% 18px 18px;border:1px solid rgba(255,255,255,.22);box-shadow:0 24px 55px rgba(0,0,0,.22)}
.hero-image-caption{position:absolute;left:-18px;bottom:22px;width:min(230px,75%);padding:16px 18px;background:#fffaf0;color:#173b30;border-radius:16px;box-shadow:0 12px 32px rgba(0,0,0,.16)}
.hero-image-caption strong,.hero-image-caption span{display:block}
.hero-image-caption strong{font-size:1.02rem;margin-bottom:4px}
.hero-image-caption span{font-size:.88rem;line-height:1.5}
.hero-stats{display:flex;gap:26px;flex-wrap:wrap;margin-top:30px}
.hero-stats div{display:flex;flex-direction:column;gap:2px}
.hero-stats strong{font-size:1.22rem;color:#f2d778}
.hero-stats span{font-size:.82rem;color:#f5f1e5}
.lang-switch{padding:5px 12px}
.translate-button{font-weight:750;white-space:nowrap}
@media(max-width:980px){.hero-grid{grid-template-columns:1fr}.hero-image-wrap{max-width:620px;width:100%;min-height:0;margin:0 auto}.hero-image{height:clamp(280px,55vw,420px)}.hero-image-caption{left:12px}}
@media(max-width:680px){.hero-image{height:280px}.hero-stats{gap:18px}.translate-button{font-size:.76rem}.hero-image-caption{bottom:12px;padding:12px 14px}}


/* PMC Tamil v2.4: compact Tamil navigation and 4:3 hero image */
.header-inner{width:min(1360px,calc(100% - 40px));gap:16px;padding:12px 0;}
.brand{flex:0 0 auto;gap:10px;min-width:190px;}
.custom-logo{max-height:58px;width:auto;}
.site-title{font-size:1.28rem;letter-spacing:.015em;}
.site-description{font-size:.68rem;letter-spacing:.08em;line-height:1.35;}
.main-navigation{flex:1 1 auto;min-width:0;}
.main-navigation ul{justify-content:flex-end;flex-wrap:nowrap;gap:2px;}
.main-navigation a{font-size:.82rem;padding:8px 9px;white-space:nowrap;line-height:1.45;font-weight:650;}
.lang-switch{flex:0 0 auto;font-size:.76rem;padding:4px 9px;}
.hero-image-wrap{min-height:0;display:block;align-self:center;width:100%;}
.hero-image{width:100%;height:auto;aspect-ratio:4 / 3;object-fit:cover;border-radius:26% 26% 16px 16px;}
@media(max-width:1180px){.header-inner{gap:10px}.brand{min-width:165px}.site-title{font-size:1.15rem}.site-description{font-size:.6rem}.main-navigation a{font-size:.76rem;padding:7px 6px}.lang-switch{font-size:.7rem;padding:3px 7px}}
@media(max-width:980px){.header-inner{flex-wrap:wrap}.main-navigation{width:100%;order:3;flex:0 0 100%}.main-navigation ul{justify-content:center;flex-wrap:wrap}.main-navigation a{font-size:.84rem;padding:8px 9px}.hero-image-wrap{max-width:620px;width:100%;min-height:0;margin:0 auto}.hero-image{height:auto;aspect-ratio:4 / 3;max-height:none}}
@media(max-width:680px){.header-inner{width:calc(100% - 28px);gap:10px;padding:10px 0}.brand{min-width:0;flex:1}.site-title{font-size:1.1rem}.site-description{font-size:.58rem}.custom-logo{max-height:48px}.main-navigation ul{align-items:stretch;gap:2px}.main-navigation a{font-size:.84rem;padding:9px 10px}.hero-image{height:auto;aspect-ratio:4 / 3}.lang-switch{font-size:.7rem}}

/* PMC Tamil homepage refresh: aligned CTAs, landscape imagery, wisdom, events and quote */
.pmc-hero-actions{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap;margin:24px 0 0}.pmc-hero-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;margin:0;flex:0 1 auto;text-align:center}.pmc-hero-actions .button-outline{margin:0}.pmc-home .hero-image{width:100%;height:clamp(300px,35vw,430px);object-fit:cover;border-radius:24px}.pmc-home .hero-image-wrap{position:relative;min-width:0}.pmc-home .hero-image-caption{position:absolute;bottom:16px;left:16px;right:16px;max-width:280px;padding:14px 18px;background:rgba(255,253,248,.95);color:#173b30;border-radius:13px;display:flex;flex-direction:column;box-shadow:0 8px 28px #0002}.pmc-card-image{display:block;width:100%;height:210px;object-fit:cover;border-radius:14px;margin-bottom:18px}.pmc-home .card{padding:20px}.pmc-home .posts-grid .card{padding:0}.pmc-wisdom{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,64px);align-items:center}.pmc-wisdom h2{font-size:clamp(1.8rem,3.4vw,2.7rem);line-height:1.2;color:var(--pmc-green);margin:10px 0 14px}.pmc-wisdom p{color:var(--pmc-muted)}.pmc-wisdom-list{padding:0;list-style:none;display:grid;gap:12px;margin:24px 0}.pmc-wisdom-list li:before{content:"✓";display:inline-grid;place-items:center;background:#e3ecd9;color:#28553e;width:24px;height:24px;border-radius:50%;margin-right:10px;font-weight:800}.pmc-wisdom-image{width:100%;height:390px;object-fit:cover;border-radius:22px}.pmc-event-row{display:grid;grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:20px;background:#fff;border:1px solid var(--pmc-border);padding:20px;border-radius:16px;margin:12px 0}.pmc-date{background:var(--pmc-green);color:#fff;text-align:center;padding:13px;border-radius:12px}.pmc-date strong{display:block;font-size:1.4rem;color:#f2d778;line-height:1.2}.pmc-date span{font-size:.78rem;letter-spacing:.08em}.pmc-event-row h3{margin:0 0 6px;color:var(--pmc-green)}.pmc-event-row p{margin:0;color:var(--pmc-muted)}.button-outline-dark{background:transparent;color:var(--pmc-green)!important;border:1px solid var(--pmc-green);box-shadow:none}.pmc-quote{padding:56px 0;text-align:center;background:#e8eddf}.pmc-quote blockquote{max-width:850px;margin:14px auto;color:var(--pmc-green);font-size:clamp(1.45rem,3vw,2.25rem);line-height:1.5;font-weight:750}.pmc-quote p{color:var(--pmc-muted);font-size:.85rem;letter-spacing:.12em}.pmc-newsletter{padding:42px 0;background:#214b3b;color:#fff}.pmc-newsletter-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.pmc-newsletter h2{font-size:clamp(1.4rem,2.5vw,2rem);margin:0 0 8px;color:#fff}.pmc-newsletter p{margin:0;color:#e0e9e0}.pmc-newsletter .button{white-space:nowrap}.site-description{max-width:260px}.lang-switch .translate-button{font-size:.82rem;font-weight:800;min-width:24px;text-align:center}.pmc-home .section-heading{text-align:left;max-width:none;margin:0 0 30px}.pmc-home .section-heading p{max-width:600px}.pmc-home .section-heading h2{margin:8px 0 12px}
@media(max-width:760px){.pmc-wisdom{grid-template-columns:1fr}.pmc-wisdom-image{height:280px}.pmc-event-row{grid-template-columns:78px minmax(0,1fr);gap:12px;padding:14px}.pmc-event-row>.button{grid-column:1/-1;justify-self:start}.pmc-newsletter-inner{align-items:flex-start;flex-direction:column}.pmc-hero-actions{display:grid;grid-template-columns:1fr 1fr}.pmc-hero-actions .button{width:100%;padding:12px 10px;font-size:.88rem}.pmc-home .hero-image{height:280px}}

/* PMC Tamil alignment refinement — October 2026 */
.site-header .header-inner{display:flex;align-items:center;justify-content:space-between;gap:clamp(10px,1.4vw,22px)}
.site-header .brand{display:flex;align-items:center;flex:0 0 auto;gap:12px}
.site-header .main-navigation{flex:1 1 auto;min-width:0}
.site-header .main-navigation ul{display:flex;align-items:center;justify-content:center;gap:clamp(1px,.25vw,5px);flex-wrap:nowrap}
.site-header .main-navigation li{flex:0 0 auto}
.site-header .main-navigation a{white-space:nowrap;line-height:1.35}
.site-header .lang-switch{flex:0 0 auto;align-self:center}
.pmc-home .container{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.pmc-home .hero-grid{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:clamp(28px,4vw,58px);align-items:center}
.pmc-home .hero-copy{min-width:0;max-width:640px}
.pmc-home .hero h1{max-width:680px;text-wrap:balance}
.pmc-home .hero p{max-width:620px}
.pmc-hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:540px}
.pmc-hero-actions .button{width:100%;min-height:54px;height:100%;padding:13px 16px;line-height:1.35;white-space:normal}
.pmc-home .hero-image-wrap{width:100%;min-width:0;align-self:center}
.pmc-home .hero-image{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.pmc-home .section{padding-block:clamp(48px,6vw,78px)}
.pmc-home .section-heading{width:100%;margin-bottom:30px}
.pmc-home .cards,.pmc-home .posts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:22px}
.pmc-home .cards>.card,.pmc-home .posts-grid>.card{min-width:0;height:100%;display:flex;flex-direction:column}
.pmc-home .card p,.pmc-home .post-body p{line-height:1.75}
.pmc-home .card-link{margin-top:auto;align-self:flex-start;padding-top:12px}
.pmc-home .pmc-card-image{width:100%;aspect-ratio:16/10;height:auto;object-fit:cover}
.pmc-home .pmc-wisdom{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}
.pmc-home .pmc-wisdom-image{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.pmc-home .pmc-event-row{grid-template-columns:110px minmax(0,1fr) 190px;gap:22px}
.pmc-home .pmc-event-row>.button{width:100%;min-height:48px;display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.35}
.pmc-home .registration-box{width:min(780px,100%)}
.pmc-home .registration-form{align-items:start;gap:18px}
.pmc-home .form-field{min-width:0}
.pmc-home .pmc-newsletter-inner{width:min(1180px,calc(100% - 48px));margin-inline:auto;align-items:center}
.pmc-home .pmc-newsletter-inner>div{min-width:0;max-width:760px}
.pmc-home .pmc-newsletter .button{flex:0 0 auto;min-height:50px;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:1180px){.site-header .main-navigation ul{gap:0}.site-header .main-navigation a{font-size:.76rem;padding:7px 5px}.site-header .brand{gap:8px}.site-header .site-title{font-size:1.05rem}.site-header .site-description{font-size:.58rem}.site-header .custom-logo{max-height:52px}}
@media(max-width:980px){.site-header .header-inner{flex-wrap:wrap}.site-header .main-navigation{order:3;flex:0 0 100%;width:100%}.site-header .main-navigation ul{justify-content:center;flex-wrap:wrap;gap:3px}.site-header .main-navigation a{font-size:.84rem;padding:8px 9px}.pmc-home .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px}.pmc-home .cards,.pmc-home .posts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pmc-home .pmc-event-row{grid-template-columns:90px minmax(0,1fr) 160px;gap:14px}}
@media(max-width:760px){.pmc-home .container,.pmc-home .pmc-newsletter-inner{width:calc(100% - 32px)}.pmc-home .hero-grid{grid-template-columns:minmax(0,1fr);gap:26px}.pmc-home .hero-copy{max-width:none}.pmc-home .hero-image-wrap{max-width:620px;margin-inline:auto}.pmc-home .hero-image{aspect-ratio:4/3;height:auto}.pmc-home .pmc-wisdom{grid-template-columns:minmax(0,1fr)}.pmc-home .pmc-event-row{grid-template-columns:76px minmax(0,1fr);align-items:center}.pmc-home .pmc-event-row>.button{grid-column:1/-1;width:auto;justify-self:stretch}.pmc-home .pmc-newsletter-inner{align-items:flex-start;flex-direction:column}.pmc-home .pmc-newsletter .button{width:100%}}
@media(max-width:560px){.pmc-home .cards,.pmc-home .posts-grid{grid-template-columns:minmax(0,1fr);gap:16px}.pmc-home .section{padding-block:42px}.pmc-hero-actions{grid-template-columns:minmax(0,1fr);max-width:none}.pmc-hero-actions .button{min-height:50px}.pmc-home .pmc-event-row{padding:14px;gap:12px}.pmc-home .registration-form{grid-template-columns:minmax(0,1fr)}.pmc-home .form-field.full{grid-column:auto}}


/* PMC Tamil — robust alignment pass v2 */
.site-header,.site-header *{box-sizing:border-box}
.site-header .header-inner{width:min(1320px,calc(100% - 40px));display:grid;grid-template-columns:minmax(190px,auto) minmax(0,1fr) auto;align-items:center;column-gap:clamp(12px,1.6vw,24px)}
.site-header .brand{min-width:0;display:flex;align-items:center;gap:10px}
.site-header .brand-text{min-width:0}
.site-header .site-title{display:block;white-space:nowrap}
.site-header .site-description{max-width:100%;margin-top:4px}
.site-header .main-navigation{width:auto;min-width:0;justify-self:stretch}
.site-header .main-navigation ul{width:100%;display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;gap:clamp(0px,.3vw,4px)}
.site-header .main-navigation li{min-width:0}
.site-header .main-navigation a{padding:8px clamp(4px,.55vw,9px);font-size:clamp(.70rem,.78vw,.86rem);white-space:nowrap}
.site-header .lang-switch{justify-self:end;white-space:nowrap}
.pmc-home .container{width:min(1180px,calc(100% - 48px));margin-left:auto;margin-right:auto}
.pmc-home .hero-grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);align-items:center;gap:clamp(24px,4vw,56px)}
.pmc-home .hero-copy,.pmc-home .hero-image-wrap{min-width:0}
.pmc-home .hero h1,.pmc-home .hero p{overflow-wrap:anywhere}
.pmc-home .pmc-hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;width:100%;max-width:540px;margin-top:24px}
.pmc-home .pmc-hero-actions>.button{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:54px;height:100%;margin:0;padding:12px 14px;text-align:center;line-height:1.35;white-space:normal}
.pmc-home .hero-image-wrap{width:100%;max-width:none;margin:0;align-self:center}
.pmc-home .hero-image{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.pmc-home .cards,.pmc-home .posts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:22px}
.pmc-home .cards>.card,.pmc-home .posts-grid>.card{min-width:0;height:100%;display:flex;flex-direction:column}
.pmc-home .pmc-card-image{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.pmc-home .post-body{display:flex;flex-direction:column;flex:1}
.pmc-home .post-body .card-link{margin-top:auto}
.pmc-home .pmc-wisdom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(24px,4vw,56px)}
.pmc-home .pmc-wisdom-image{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.pmc-home .pmc-event-row{display:grid;grid-template-columns:100px minmax(0,1fr) minmax(150px,190px);align-items:center;gap:20px}
.pmc-home .pmc-event-row>div:nth-child(2){min-width:0}
.pmc-home .pmc-event-row>.button{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:0;text-align:center;line-height:1.35;white-space:normal}
.pmc-home .registration-box{width:100%;max-width:780px;margin-left:auto;margin-right:auto}
.pmc-home .registration-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}
.pmc-home .form-field{min-width:0}
.pmc-home .form-field input,.pmc-home .form-field textarea,.pmc-home .form-field select{display:block;max-width:100%;min-width:0}
.pmc-home .pmc-newsletter-inner{width:min(1180px,calc(100% - 48px));margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.pmc-home .pmc-newsletter-inner>div{min-width:0;max-width:760px}
.pmc-home .pmc-newsletter .button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:50px;margin:0}
@media(max-width:1100px){.site-header .header-inner{grid-template-columns:minmax(165px,auto) minmax(0,1fr) auto;gap:10px}.site-header .site-title{font-size:1rem}.site-header .custom-logo{max-height:48px}.site-header .main-navigation a{font-size:.70rem;padding:7px 4px}}
@media(max-width:900px){.site-header .header-inner{display:flex;flex-wrap:wrap}.site-header .brand{flex:1 1 auto}.site-header .menu-toggle{display:inline-block}.site-header .main-navigation{display:none;flex:0 0 100%;width:100%;order:4}.site-header .main-navigation.is-open{display:block}.site-header .main-navigation ul{justify-content:center;flex-wrap:wrap}.site-header .main-navigation a{font-size:.84rem;padding:8px 9px}.site-header .lang-switch{margin-left:auto}.pmc-home .hero-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.pmc-home .cards,.pmc-home .posts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pmc-home .pmc-event-row{grid-template-columns:82px minmax(0,1fr) 145px;gap:12px}}
@media(max-width:760px){.pmc-home .container,.pmc-home .pmc-newsletter-inner{width:calc(100% - 32px)}.pmc-home .hero-grid,.pmc-home .pmc-wisdom{grid-template-columns:minmax(0,1fr)}.pmc-home .hero-copy{max-width:none}.pmc-home .hero-image-wrap{max-width:620px;margin-inline:auto}.pmc-home .pmc-event-row{grid-template-columns:76px minmax(0,1fr);gap:12px;padding:14px}.pmc-home .pmc-event-row>.button{grid-column:1/-1;width:100%}.pmc-home .pmc-newsletter-inner{align-items:flex-start;flex-direction:column}.pmc-home .pmc-newsletter .button{width:100%}}
@media(max-width:560px){.pmc-home .cards,.pmc-home .posts-grid{grid-template-columns:minmax(0,1fr);gap:16px}.pmc-home .pmc-hero-actions{grid-template-columns:minmax(0,1fr);max-width:none}.pmc-home .pmc-hero-actions>.button{min-height:50px}.pmc-home .registration-form{grid-template-columns:minmax(0,1fr)}.pmc-home .form-field.full{grid-column:auto}.pmc-home .section{padding-block:42px}.site-header .header-inner{width:calc(100% - 28px)}.site-header .brand{gap:8px}.site-header .site-description{font-size:.56rem}}

/* PMC Tamil v2.5: video CTA, article sharing and accessibility polish */
.pmc-youtube-band{background:linear-gradient(120deg,#173b30,#245b47);color:#fff}
.pmc-youtube-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}
.pmc-youtube-inner h2{color:#fff;margin:8px 0 10px;font-size:clamp(1.7rem,3vw,2.4rem)}
.pmc-youtube-inner p{color:#f4f0e5;margin:0;max-width:680px}
.pmc-youtube-inner .eyebrow{color:#f2d778}
.pmc-reading-meta{color:var(--pmc-muted);font-size:.9rem;margin:0 auto 20px;max-width:900px}
.pmc-share-links{max-width:900px;margin:30px auto 0;padding-top:20px;border-top:1px solid var(--pmc-border);display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.pmc-share-links a,.pmc-share-links button{display:inline-flex;align-items:center;border:1px solid var(--pmc-border);border-radius:999px;padding:8px 14px;background:#fff;color:var(--pmc-green);font:inherit;font-weight:700;cursor:pointer}
.pmc-share-links a:hover,.pmc-share-links button:hover{background:#f3e8c9}
.pmc-copy-status{font-size:.85rem;color:var(--pmc-green)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--pmc-gold);outline-offset:3px}
@media(max-width:680px){.pmc-youtube-inner{align-items:stretch;flex-direction:column}.pmc-youtube-inner .button{width:100%;text-align:center}.pmc-share-links{align-items:flex-start}.pmc-share-links strong{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* v2.5.1: built-in PMC Tamil brand logo and sample Photos gallery */
.pmc-logo-link{display:flex;align-items:center;flex:0 0 auto}.pmc-brand-logo{display:block;width:clamp(145px,16vw,220px);max-height:62px;object-fit:contain}.footer-logo-link{display:inline-flex;margin-bottom:12px}.footer-brand-logo{display:block;width:220px;max-width:100%;height:auto;border-radius:8px}.pmc-gallery-section{padding:52px 0 24px;background:linear-gradient(180deg,#fffaf0,#f5ecd8)}.pmc-sample-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pmc-gallery-card{margin:0;overflow:hidden;background:#fff;border:1px solid var(--pmc-border);border-radius:18px;box-shadow:var(--pmc-shadow);transition:transform .2s ease,box-shadow .2s ease}.pmc-gallery-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(40,30,10,.13)}.pmc-gallery-card img{display:block;width:100%;aspect-ratio:8/5;object-fit:cover}.pmc-gallery-card figcaption{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px;color:var(--pmc-green)}.pmc-gallery-card figcaption strong{font-size:1rem}.pmc-gallery-card figcaption span{font-size:.85rem;color:var(--pmc-muted)}.pmc-gallery-note{max-width:900px;margin:22px auto 0;padding:14px 18px;background:#fff;border:1px dashed var(--pmc-gold);border-radius:12px;color:var(--pmc-muted);text-align:center}.site-footer .footer-title{margin-top:2px}.site-header .brand-text{display:block;min-width:0}.site-header .pmc-brand-logo{width:clamp(145px,14vw,190px)}@media(max-width:900px){.pmc-sample-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.site-header .pmc-brand-logo{width:160px;max-height:52px}}@media(max-width:560px){.pmc-sample-gallery{grid-template-columns:1fr}.pmc-gallery-card figcaption{align-items:flex-start;flex-direction:column;gap:2px}.site-header .pmc-brand-logo{width:145px;max-height:48px}.footer-brand-logo{width:190px}}@media(prefers-reduced-motion:reduce){.pmc-gallery-card{transition:none}.pmc-gallery-card:hover{transform:none}}

/* v2.5.2: shared uploaded logo in header/footer and clean responsive branding */
.footer-brand-logo{display:block;max-width:220px;max-height:76px;width:auto;height:auto;object-fit:contain}.footer-logo-link{display:inline-block;margin-bottom:10px}.brand .custom-logo-link{display:inline-flex;align-items:center}.brand .custom-logo{max-width:220px;height:auto;object-fit:contain}
@media(max-width:680px){.footer-brand-logo{max-width:190px;max-height:64px}.brand .custom-logo{max-width:155px;max-height:54px}}

/* PMC Tamil horizontal logo with meditation, wisdom and awareness tagline */
.site-header .pmc-brand-logo{width:clamp(240px,29vw,390px);max-height:84px;object-fit:contain}
.site-footer .footer-brand-logo{width:300px;max-width:100%;max-height:none;object-fit:contain}
@media(max-width:900px){.site-header .pmc-brand-logo{width:260px;max-height:70px}}
@media(max-width:560px){.site-header .pmc-brand-logo{width:210px;max-height:58px}.site-footer .footer-brand-logo{width:240px}}

/* v2.5.4: show brand name and meditation tagline beside the selected WordPress logo */
.site-header .brand{gap:14px;flex-shrink:0}.site-header .brand-text{display:block}.site-header .site-title{display:block;font-size:clamp(1.1rem,1.8vw,1.65rem);letter-spacing:.015em;white-space:nowrap}.site-header .site-description{display:block;font-size:clamp(.58rem,.85vw,.82rem);font-weight:700;letter-spacing:.06em;color:#9a7a19;white-space:nowrap;margin:4px 0 0}.site-header .brand .custom-logo{max-width:110px;max-height:82px;width:auto;height:auto;object-fit:contain}.site-header .pmc-brand-logo{width:clamp(250px,29vw,390px);max-height:84px;object-fit:contain}
@media(max-width:1100px){.site-header .brand{gap:9px}.site-header .brand .custom-logo{max-width:76px;max-height:58px}.site-header .site-title{font-size:1.05rem}.site-header .site-description{font-size:.55rem;letter-spacing:.025em}.site-header .pmc-brand-logo{width:260px;max-height:66px}}
@media(max-width:680px){.site-header .brand{gap:8px}.site-header .brand .custom-logo{max-width:58px;max-height:48px}.site-header .site-title{font-size:.92rem}.site-header .site-description{font-size:.48rem;white-space:normal;letter-spacing:0}.site-header .pmc-brand-logo{width:205px;max-height:58px}}

/* v2.5.5: keep the complete PMC Tamil logo and tagline visible; place navigation on its own row */
.site-header .header-inner{display:flex;flex-wrap:wrap;align-items:center;column-gap:20px;row-gap:10px}
.site-header .brand{flex:1 1 100%;width:100%;min-width:0;display:flex;align-items:center;justify-content:flex-start;gap:14px;overflow:visible}
.site-header .brand .custom-logo-link{display:inline-flex;flex:0 1 auto;max-width:min(100%,620px);align-items:center}
.site-header .brand .custom-logo{display:block;width:auto;max-width:min(100%,620px);max-height:104px;height:auto;object-fit:contain}
.site-header .brand .pmc-logo-link{display:inline-flex;flex:0 1 auto;max-width:min(100%,620px);align-items:center}
.site-header .brand .pmc-brand-logo{display:block;width:auto;max-width:min(100%,620px);max-height:104px;height:auto;object-fit:contain}
.site-header .brand-text{min-width:0;flex:0 1 auto}
.site-header .site-title{white-space:normal;overflow-wrap:anywhere}
.site-header .site-description{white-space:normal;overflow-wrap:anywhere}
.site-header .main-navigation{flex:1 1 auto;min-width:0}
.site-header .main-navigation ul{justify-content:center;flex-wrap:wrap}
.site-header .lang-switch{margin-left:auto;flex:0 0 auto}
@media(max-width:900px){.site-header .header-inner{gap:10px}.site-header .brand .custom-logo,.site-header .brand .pmc-brand-logo{max-width:min(100%,520px);max-height:82px}.site-header .main-navigation{flex:1 1 100%}}
@media(max-width:680px){.site-header .brand{justify-content:center}.site-header .brand .custom-logo,.site-header .brand .pmc-brand-logo{max-width:min(100%,460px);max-height:72px}.site-header .brand-text{max-width:100%}.site-header .site-title{white-space:normal}.site-header .main-navigation{flex:1 1 100%}.site-header .main-navigation ul{justify-content:flex-start}}


/* v2.5.6: keep desktop branding, navigation and language control aligned in one row */
@media (min-width: 981px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: 12px;
    padding: 14px 0;
  }
  .brand {
    flex: 0 1 350px;
    min-width: 0;
    gap: 10px;
  }
  .brand .custom-logo-link,
  .brand .pmc-logo-link {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
  }
  .brand .custom-logo,
  .brand .pmc-brand-logo {
    display: block;
    max-width: 92px;
    max-height: 68px;
    width: auto;
    object-fit: contain;
  }
  .brand-text {
    min-width: 0;
    white-space: nowrap;
  }
  .site-title { font-size: clamp(1.05rem, 1.35vw, 1.35rem); }
  .site-description {
    font-size: clamp(.62rem, .75vw, .76rem);
    letter-spacing: .015em;
    white-space: nowrap;
  }
  .main-navigation {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }
  .main-navigation ul {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0;
    white-space: nowrap;
  }
  .main-navigation a {
    padding: 8px 7px;
    font-size: clamp(.72rem, .82vw, .86rem);
  }
  .lang-switch {
    flex: 0 0 auto;
    margin-left: 2px;
  }
}
@media (min-width: 981px) and (max-width: 1120px) {
  .brand { flex-basis: 300px; }
  .brand .custom-logo, .brand .pmc-brand-logo { max-width: 76px; max-height: 60px; }
  .main-navigation a { padding-inline: 5px; font-size: .72rem; }
  .site-description { font-size: .58rem; }
}


/* v2.5.7: desktop header alignment fix — keep branding and navigation on one row */
@media (min-width: 1101px) {
  .site-header .header-inner { display:flex; flex-wrap:nowrap; align-items:center; justify-content:space-between; gap:12px; }
  .site-header .brand { flex:0 1 365px; width:auto; min-width:300px; max-width:365px; }
  .site-header .brand .custom-logo-link, .site-header .brand .pmc-logo-link { flex:0 0 auto; max-width:92px; }
  .site-header .brand .custom-logo, .site-header .brand .pmc-brand-logo { max-width:92px; max-height:68px; width:auto; height:auto; }
  .site-header .brand-text { flex:1 1 auto; min-width:0; white-space:nowrap; }
  .site-header .site-title { font-size:clamp(1rem,1.25vw,1.3rem); white-space:nowrap; }
  .site-header .site-description { font-size:clamp(.55rem,.68vw,.72rem); letter-spacing:0; white-space:nowrap; }
  .site-header .main-navigation { flex:1 1 auto; width:auto; min-width:0; order:initial; }
  .site-header .main-navigation ul { display:flex; flex-wrap:nowrap; justify-content:flex-end; gap:0; }
  .site-header .main-navigation a { padding:7px 6px; font-size:clamp(.68rem,.72vw,.8rem); white-space:nowrap; }
  .site-header .lang-switch { flex:0 0 auto; margin-left:0; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .site-header .header-inner { display:flex; flex-wrap:nowrap; align-items:center; gap:8px; }
  .site-header .brand { flex:0 1 300px; width:auto; min-width:250px; max-width:300px; }
  .site-header .brand .custom-logo, .site-header .brand .pmc-brand-logo { max-width:68px; max-height:56px; }
  .site-header .site-title { font-size:1rem; }
  .site-header .site-description { font-size:.5rem; letter-spacing:0; white-space:nowrap; }
  .site-header .main-navigation { flex:1 1 auto; width:auto; min-width:0; order:initial; }
  .site-header .main-navigation ul { flex-wrap:nowrap; justify-content:flex-end; gap:0; }
  .site-header .main-navigation a { padding:6px 4px; font-size:.67rem; white-space:nowrap; }
}


/* v2.5.8 Photos gallery: responsive, accessible lightbox and clear upload guidance */
.pmc-gallery-card{position:relative}.pmc-gallery-open{position:relative;display:block;width:100%;padding:0;border:0;background:#f5ecd8;cursor:zoom-in;text-align:inherit}.pmc-gallery-open:focus-visible,.pmc-gallery-close:focus-visible{outline:3px solid var(--pmc-gold);outline-offset:3px}.pmc-gallery-zoom{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:rgba(23,59,48,.92);color:#fff;font-size:1.5rem;line-height:1}.pmc-gallery-card figcaption{min-height:68px}.pmc-gallery-note p{margin:5px 0 0}.pmc-gallery-lightbox{position:fixed;max-width:min(92vw,1000px);max-height:90vh;width:auto;padding:18px;border:1px solid var(--pmc-border);border-radius:16px;background:#fffaf0;color:var(--pmc-green);box-shadow:0 25px 80px rgba(0,0,0,.35)}.pmc-gallery-lightbox::backdrop{background:rgba(10,20,16,.82)}.pmc-gallery-lightbox img{display:block;max-width:calc(92vw - 36px);max-height:72vh;width:auto;height:auto;margin:auto;object-fit:contain}.pmc-gallery-lightbox p{margin:10px 42px 0 0;text-align:center;font-weight:700}.pmc-gallery-close{position:absolute;right:8px;top:8px;width:36px;height:36px;border:0;border-radius:50%;background:var(--pmc-green);color:#fff;font-size:1.5rem;cursor:pointer}.pmc-gallery-open img{transition:transform .2s ease}.pmc-gallery-open:hover img{transform:scale(1.025)}@media(max-width:560px){.pmc-gallery-lightbox{padding:12px}.pmc-gallery-lightbox img{max-width:calc(92vw - 24px)}.pmc-gallery-note{text-align:left}}@media(prefers-reduced-motion:reduce){.pmc-gallery-open img{transition:none}.pmc-gallery-open:hover img{transform:none}}


/* PMC Tamil v2.6.0: configurable YouTube video cards */
.pmc-video-grid{align-items:stretch}
.pmc-video-card{overflow:hidden}
.pmc-video-thumb{position:relative;display:block;aspect-ratio:16/9;background:#173b30;overflow:hidden;border-radius:14px 14px 0 0}
.pmc-video-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.pmc-video-thumb:hover img{transform:scale(1.035)}
.pmc-play-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:58px;height:42px;border-radius:12px;background:#c90000;color:#fff;font-size:22px;box-shadow:0 4px 16px rgba(0,0,0,.22)}
.pmc-video-card-body{padding:18px}
.pmc-video-card-body h3{margin:0 0 12px;color:var(--pmc-green)}
.pmc-video-admin-note{max-width:820px;margin:0 auto;padding:18px 22px;border:1px dashed var(--pmc-gold);border-radius:14px;background:#fffaf0;color:var(--pmc-green);text-align:center}
.pmc-video-admin-note p{margin:8px 0 0;color:var(--pmc-muted)}
@media(prefers-reduced-motion:reduce){.pmc-video-thumb img{transition:none}.pmc-video-thumb:hover img{transform:none}}

/* v2.6.2 — consistent text alignment, Tamil readability and responsive spacing */
:root{--pmc-text-measure:72ch}
html{ text-size-adjust:100%; -webkit-text-size-adjust:100%; }
body,button,input,textarea,select{font-family:"Noto Sans Tamil","Noto Sans",system-ui,-apple-system,"Latha",sans-serif; font-kerning:normal; font-feature-settings:"kern" 1; }
body{line-height:1.78; overflow-wrap:break-word;}
h1,h2,h3,h4,h5,h6,p,ul,ol,blockquote,figure{margin-top:0;}
h1,h2,h3,h4,h5,h6{line-height:1.35; text-wrap:balance; overflow-wrap:anywhere;}
p,li,dd,dt,blockquote{line-height:1.8;}
p{max-width:var(--pmc-text-measure);}
.site-title,.site-description,.main-navigation a,.button,.wp-block-button__link,.card h3,.post-meta,.footer-title{overflow-wrap:anywhere;}
.hero-copy,.page-hero .container,.section-heading,.card,.post-body,.pmc-video-card-body,.registration-box,.entry-content,.footer-inner>div{min-width:0;}
.hero h1,.page-hero h1,.section-heading h2{letter-spacing:0;}
.hero p,.page-hero p{max-width:68ch;}
.card h3,.post-body h3,.pmc-video-card-body h3{line-height:1.45;text-wrap:pretty;}
.card p,.post-body p,.pmc-video-card-body p{line-height:1.8;}
.button,.wp-block-button__link{line-height:1.5;text-align:center;white-space:normal;overflow-wrap:anywhere;}
.main-navigation a{line-height:1.5;text-align:center;}
.content-area .entry-content{width:100%;}
.content-area .entry-content p,.content-area .entry-content li{max-width:72ch;}
.content-area .entry-content h2,.content-area .entry-content h3{scroll-margin-top:24px;}
.content-area .entry-content img,.content-area .entry-content iframe,.content-area .entry-content video{max-width:100%;}
.content-area .entry-content table{width:100%;border-collapse:collapse;display:block;overflow-x:auto;}
.content-area .entry-content td,.content-area .entry-content th{padding:10px 12px;vertical-align:top;}
.content-area .entry-content .wp-block-buttons{gap:12px;flex-wrap:wrap;}
.registration-form .form-field label{line-height:1.55;}
.form-field input,.form-field textarea,.form-field select{line-height:1.55;min-width:0;}
.pmc-gallery-card figcaption,.pmc-gallery-card figcaption strong,.pmc-gallery-card figcaption span{min-width:0;overflow-wrap:anywhere;}
.pmc-event-row>*{min-width:0;}
.site-footer p,.site-footer li{line-height:1.8;}
@media(max-width:900px){.site-header .main-navigation a{white-space:normal;line-height:1.45}.site-header .brand-text{min-width:0}.site-header .site-title,.site-header .site-description{white-space:normal;overflow-wrap:anywhere}}
@media(max-width:680px){body{line-height:1.75}.hero h1,.page-hero h1{line-height:1.3}.hero p,.page-hero p{font-size:1rem;line-height:1.8}.section-heading{padding-inline:2px}.section-heading h2{line-height:1.35}.card,.post-body,.pmc-video-card-body{padding:20px}.content-area{padding:34px 0 52px}.content-area .entry-content p,.content-area .entry-content li{line-height:1.85}.content-area .entry-content h2{font-size:1.45rem}.content-area .entry-content h3{font-size:1.2rem}.footer-bottom{align-items:flex-start;flex-direction:column}}
@media(max-width:380px){.container,.topbar-inner,.footer-inner{width:calc(100% - 24px)}.hero h1{font-size:1.9rem}.card,.post-body,.pmc-video-card-body{padding:16px}.button,.wp-block-button__link{padding:11px 15px}}

/* v2.7.1 — consistent Tamil text alignment across pages, posts, menus and mobile layouts */
.content-area .entry-content{width:100%;text-align:left;line-break:strict;word-break:normal;overflow-wrap:anywhere;hyphens:none}
.content-area .entry-content p,.content-area .entry-content li,.content-area .entry-content blockquote{max-width:72ch;text-align:left;line-height:1.9;margin-block:0 1.1em}
.content-area .entry-content h2,.content-area .entry-content h3,.content-area .entry-content h4{line-height:1.45;margin-block:1.5em .65em;overflow-wrap:break-word}
.content-area .entry-content ul,.content-area .entry-content ol{padding-inline-start:1.6em}
.content-area .entry-content a{overflow-wrap:anywhere;text-underline-offset:3px}
.site-header .main-navigation ul{row-gap:4px}
@media(max-width:680px){.content-area .entry-content p,.content-area .entry-content li,.content-area .entry-content blockquote{line-height:1.95}.content-area .entry-content h2{font-size:clamp(1.3rem,5vw,1.55rem)}}

/* v2.7.2 — robust Tamil alignment for long headings, lists and narrow screens */
.content-area .entry-content, .content-area .entry-content p, .content-area .entry-content li { text-align: start; }
.content-area .entry-content { max-width: 900px; margin-inline: auto; }
.content-area .entry-content p, .content-area .entry-content li { line-height: 1.9; overflow-wrap: break-word; }
.content-area .entry-content h2, .content-area .entry-content h3 { text-wrap: pretty; }
.content-area .entry-content blockquote { margin-inline: 0; }
.content-area .entry-content figure { max-width: 100%; }
@media (max-width: 680px) { .content-area .entry-content { padding-inline: 2px; } .content-area .entry-content p, .content-area .entry-content li { line-height: 1.95; } }


/* PMC Tamil v2.7.3: compact dropdown navigation */
.site-header .main-navigation ul { overflow: visible; }
.site-header .main-navigation li { position: relative; }
.site-header .main-navigation .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; z-index: 1000;
  min-width: 230px; max-width: min(300px, 88vw); padding: 8px;
  flex-direction: column; align-items: stretch; gap: 2px;
  background: #fffdf8; border: 1px solid var(--pmc-border); border-radius: 12px;
  box-shadow: 0 14px 32px rgba(20,30,20,.16);
}
.site-header .main-navigation li:hover > .sub-menu,
.site-header .main-navigation li:focus-within > .sub-menu { display: flex; }
.site-header .main-navigation .sub-menu li { width: 100%; }
.site-header .main-navigation .sub-menu a { display:block; width:100%; padding: 9px 12px; white-space: normal; text-align: left; line-height: 1.45; font-size: .88rem; }
.site-header .main-navigation .menu-item-has-children > a::after { content: ' ▾'; font-size: .78em; }
@media (max-width: 900px) {
  .site-header .main-navigation ul { display:flex; flex-direction:column; align-items:stretch; flex-wrap:nowrap; }
  .site-header .main-navigation > ul > li { width:100%; }
  .site-header .main-navigation .sub-menu { display:none; position:static; min-width:0; max-width:none; width:100%; margin:2px 0 6px; padding:4px 8px 4px 18px; box-shadow:none; border:0; border-left:2px solid var(--pmc-gold); border-radius:0; background:#fffaf0; }
  .site-header .main-navigation li:hover > .sub-menu,
  .site-header .main-navigation li:focus-within > .sub-menu { display:flex; }
  .site-header .main-navigation .sub-menu a { padding:8px 12px; font-size:.86rem; }
}
