/*
Theme Name: Tamil Nadu Data
Theme URI: https://tamilnadudata.org
Description: Child theme of Twenty Twenty-Five for tamilnadudata.org. Clean data-journalism look: deep teal accent, strong typography, wide layout, designed home page.
Author: tamilnadudata.org
Template: twentytwentyfive
Version: 1.7.0
License: GPL-2.0-or-later
Text Domain: tn-theme
*/

:root {
	--tn-teal: #0b5d66;
	--tn-teal-dark: #073b41;
	--tn-teal-tint: #eef6f6;
	--tn-teal-line: #d3e3e4;
}
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* Header: slim, sticky, thin teal rule */
.tn-header { position: sticky; top: 0; z-index: 50; background: #fff; border-top: 4px solid var(--tn-teal); border-bottom: 1px solid var(--tn-teal-line); }
.tn-header .wp-block-site-title a { color: var(--tn-teal-dark); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.tn-header .wp-block-navigation a { text-decoration: none; font-size: 0.95rem; }
.tn-header .wp-block-navigation a:hover,
.tn-header .wp-block-navigation .current-menu-item > a { color: var(--tn-teal); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Content: links, headings, buttons */
.entry-content a, .wp-block-post-content a { text-underline-offset: 3px; }
.wp-block-button__link { border-radius: 4px; font-weight: 600; }
.wp-block-button.is-style-outline .wp-block-button__link { border: 2px solid currentColor; }

/* Home page */
.tn-home .tn-hero { background: linear-gradient(135deg, var(--tn-teal-dark) 0%, var(--tn-teal) 100%); color: #fff; padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 6vw, 72px); position: relative; overflow: hidden; }
.tn-home .tn-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), rgba(255,255,255,0) 70%); pointer-events: none; }
.tn-home .tn-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; max-width: 18ch; }
.tn-home .tn-hero p { color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 56ch; margin: 0 0 28px; }
.tn-home .tn-hero .wp-block-button__link { background: #fff; color: var(--tn-teal-dark); }
.tn-home .tn-hero .is-style-outline .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.tn-home .tn-wrap { width: min(1200px, calc(100vw - 40px)); margin-left: auto; margin-right: auto; }
.tn-home .tn-stats-band { background: var(--tn-teal-tint); padding: 36px 0; border-bottom: 1px solid var(--tn-teal-line); }
.tn-home .tn-section { padding: clamp(36px, 5vw, 64px) 0; }
.tn-home .tn-section h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.01em; margin: 0 0 8px; }
.tn-home .tn-lead { color: #495057; max-width: 62ch; margin: 0 0 24px; }
.tn-home .tn-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tn-home .tn-card { display: block; text-decoration: none !important; color: inherit; background: #fff; border: 1px solid var(--tn-teal-line); border-radius: 8px; padding: 22px 20px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.tn-home .tn-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(7,59,65,.12); border-color: var(--tn-teal); }
/* Icons (design system v1, option B): solid section-colour circle, white line icon */
.tn-ico { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; background: var(--tn-teal); flex: none; }
.tn-ico svg { width: 22px; height: 22px; }
.tn-t-gov { --tn-sec: #5b3a8c; --tn-sec-ink: #5b3a8c; }
.tn-t-bud { --tn-sec: #0b5d66; --tn-sec-ink: #0b5d66; }
.tn-t-el { --tn-sec: #9a5600; --tn-sec-ink: #9a5600; }
.tn-t-pri { --tn-sec: #9b2c4b; --tn-sec-ink: #9b2c4b; }
.tn-t-veh { --tn-sec: #1f4e8c; --tn-sec-ink: #1f4e8c; }
.tn-t-agr { --tn-sec: #3d6b21; --tn-sec-ink: #3d6b21; }
.tn-t-util { --tn-sec: #36525a; --tn-sec-ink: #36525a; }
.tn-ico.tn-t-gov, .tn-ico.tn-t-bud, .tn-ico.tn-t-el, .tn-ico.tn-t-pri, .tn-ico.tn-t-veh, .tn-ico.tn-t-agr, .tn-ico.tn-t-util { background: var(--tn-sec); }
.tn-home .tn-card:has(> .tn-ico) { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; align-content: start; }
.tn-home .tn-card:has(> .tn-ico) .tn-ico { grid-row: 1 / span 2; margin: 0; }
.tn-home .tn-card:has(> .tn-ico) h3 { margin-top: 2px; }
.tn-home .tn-card h3 { margin: 0 0 6px; font-size: 1.15rem; color: var(--tn-teal-dark); }
.tn-home .tn-card p { margin: 0; font-size: .95rem; color: #495057; }
.tn-home .tn-rule { background: var(--tn-teal-dark); color: #fff; padding: 36px 0; }
.tn-home .tn-rule p { color: rgba(255,255,255,.9); max-width: 70ch; margin: 0; font-size: 1.05rem; }
.tn-home .tn-rule strong { color: #fff; }
@media (max-width: 900px) { .tn-home .tn-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tn-home .tn-cards { grid-template-columns: 1fr; } }

/* Footer */
.tn-footer { background: var(--tn-teal-dark); color: rgba(255,255,255,.85); }
.tn-footer a { color: #fff; }
.tn-footer .wp-block-site-title a { color: #fff; text-decoration: none; }

/* Plain pages made by the setup plugin: roomier reading column */
.wp-block-post-content.is-layout-constrained > .alignwide { max-width: 1200px; }

/* Home page: no page title, hero and bands run edge to edge */
.tn-home-page .wp-block-post-title { display: none; }
.tn-home-page main, .tn-home-page .wp-site-blocks > main { margin-top: 0 !important; }
.tn-home-page .wp-block-post-content { padding: 0 !important; max-width: none !important; }
.tn-home-page .wp-block-group.has-global-padding, .tn-home-page main.has-global-padding { padding-left: 0; padding-right: 0; }

/* Tighter space between the header and the page title on inner pages */
main.wp-block-group { margin-top: 0 !important; padding-top: clamp(24px, 4vw, 48px) !important; }
.wp-block-post-title { margin-top: 0; margin-bottom: 20px; }

/* Home page: break out of the theme's content column to the full browser width */
html, body.tn-home-page { overflow-x: hidden; }
.tn-home-page .wp-block-post-content > .tn-home,
.tn-home-page .tn-home { width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important; padding: 0 !important; }
.tn-home .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.tn-home .wp-block-button { margin: 0; }
.tn-home .wp-block-button__link { display: inline-block; padding: 14px 26px; line-height: 1.2; text-decoration: none; border-radius: 4px; }
.tn-home .tn-hero .wp-block-button__link:hover { background: var(--tn-teal-tint); color: var(--tn-teal-dark); }
.tn-home .tn-hero .is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Home: two doors */
.tn-home .tn-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1180px) { .tn-home .tn-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tn-home .tn-door { display: flex; flex-direction: column; text-decoration: none !important; color: inherit; background: #fff; border: 1px solid var(--tn-teal-line); border-radius: 8px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.tn-home .tn-door:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(7,59,65,.14); }
.tn-home .tn-door-band { position: relative; display: flex; align-items: flex-end; height: 112px; padding: 20px 24px; box-sizing: border-box; overflow: hidden; background: var(--tn-sec, var(--tn-teal)); }
.tn-home .tn-door-mark { position: absolute; right: -14px; top: -14px; width: 150px; height: 150px; stroke-width: 1; opacity: .16; color: #fff; }
.tn-home .tn-door-dot { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--tn-sec, var(--tn-teal)); position: relative; }
.tn-home .tn-door-dot svg { width: 30px; height: 30px; }
.tn-home .tn-door-body { display: block; padding: 22px 26px 26px; }
.tn-home .tn-door h2 { margin: 0 0 8px; font-size: 1.7rem; color: var(--tn-teal-dark); }
.tn-home .tn-door p { margin: 0 0 14px; color: #495057; }
.tn-home .tn-door .tn-door-go { font-weight: 700; color: var(--tn-sec-ink, var(--tn-teal)); }
@media (max-width: 900px) { .tn-home .tn-doors { grid-template-columns: 1fr; } }

/* Logo (docs/design-system.md, Logo) */
.tn-logo { margin: 0; line-height: 0; }
.tn-logo a { display: inline-block; line-height: 0; }
.tn-logo img { display: block; width: auto; max-width: 100%; }
.tn-logo--header img { height: 62px; }
.tn-logo--footer { margin-bottom: 20px; }
.tn-logo--footer img { height: 116px; }
@media (max-width: 600px) {
	.tn-logo--header img { height: 50px; }
	.tn-logo--footer img { height: 100px; }
}

/* Home hero: short banner, no gap above it. A kolam (pulli, the dot pattern drawn at Tamil Nadu doorsteps) laid out inside the State outline,
   taken from the official map shapes of the Survey and Land Records Department, with the capital marked in gold. Decorative only: no figures. */
.tn-home .tn-hero { padding: clamp(26px, 3vw, 40px) 0 clamp(30px, 3.4vw, 46px); min-height: 280px; box-sizing: border-box; display: flex; align-items: center; border-bottom: 7px solid #b3282d; border-image: repeating-linear-gradient(90deg, #b3282d 0 18px, #e8b13a 18px 26px, #b3282d 26px 44px) 1;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-6 -6 401 549'%3E%3Cdefs%3E%3Cg id='m'%3E%3Cpath d='M386,12L383,8L381,0L378,10L375,8L368,9L368,7L365,7L365,9L362,9L362,3L360,5L354,5L354,7L359,7L359,9L356,9L355,11L352,12L352,16L348,18L349,20L351,20L349,24L347,23L342,27L337,28L336,30L332,29L332,30L330,31L330,32L336,35L336,37L333,38L330,34L328,36L328,33L325,34L325,28L324,30L322,29L320,31L319,30L316,31L311,29L311,23L308,24L308,22L305,23L302,22L297,27L300,28L303,27L301,30L299,31L301,34L303,33L303,35L302,35L301,38L296,38L296,40L294,40L295,44L293,44L293,43L290,45L289,45L288,48L293,53L298,52L308,53L310,49L313,46L318,47L318,45L321,45L320,41L326,39L326,42L330,41L330,45L328,47L330,48L330,51L335,52L338,62L340,64L344,64L346,61L345,59L349,58L345,57L345,54L348,55L356,54L357,56L362,54L366,55L367,53L368,55L372,55L373,45L377,45L377,43L379,42L380,43L384,43L388,29L387,17Z'/%3E%3Cpath d='M384,43L380,43L379,42L377,45L373,45L372,50L372,60L373,61L376,60L379,60L384,44Z'/%3E%3Cpath d='M373,57L368,55L368,53L366,55L362,54L358,56L357,56L356,54L347,55L345,54L345,57L349,58L344,59L346,61L344,64L338,62L336,57L322,65L312,63L310,66L313,71L322,74L323,78L327,80L328,82L331,83L329,85L330,88L325,90L322,90L321,93L322,96L328,97L328,101L331,102L331,100L337,100L336,94L346,93L346,88L349,86L346,82L344,81L344,79L346,77L350,78L350,76L354,76L358,73L359,69L365,59L370,58L371,61L373,59Z'/%3E%3Cpath d='M294,55L290,55L291,51L288,47L289,44L285,44L284,46L284,43L281,45L283,48L283,50L279,51L279,56L277,57L272,55L269,56L267,54L261,51L254,52L252,55L255,56L251,56L251,50L247,52L244,51L240,54L234,53L233,58L229,56L226,60L228,66L227,66L224,73L236,72L238,76L253,68L252,73L250,73L254,79L253,80L247,81L247,85L249,86L245,93L249,94L252,89L259,90L261,87L264,88L272,79L271,77L273,74L272,73L273,71L275,71L276,73L277,73L279,65L282,63L286,64L287,62L290,63L290,61L288,61L290,56L292,56L294,57Z'/%3E%3Cpath d='M116,136L121,137L135,136L141,137L142,140L145,138L147,140L149,132L154,129L154,124L162,122L164,115L161,111L159,112L160,108L157,106L160,105L162,108L165,105L167,106L169,109L171,108L175,111L177,110L180,113L180,118L182,120L183,122L186,123L189,121L189,125L191,126L192,129L198,129L200,132L204,133L202,135L208,136L211,137L212,140L214,140L216,137L220,136L222,138L226,136L227,134L229,133L229,131L226,128L223,129L224,126L223,123L224,121L220,117L214,115L213,117L208,117L209,113L206,108L205,95L200,94L194,91L192,87L186,89L186,87L189,85L188,82L179,80L172,73L169,73L167,76L168,78L166,78L161,73L160,76L159,75L161,72L159,70L147,74L148,79L146,82L147,83L144,85L145,87L144,88L141,88L141,91L139,90L139,91L136,92L136,90L134,90L128,92L128,96L126,103L127,106L129,107L127,110L132,109L130,120L124,128L117,130L116,135Z'/%3E%3Cpath d='M135,158L136,159L141,160L144,162L164,164L177,158L189,156L190,160L193,161L192,163L197,160L197,164L200,162L201,164L196,176L202,171L205,165L208,166L209,170L218,172L222,171L226,164L230,163L233,163L234,162L233,160L234,155L232,155L233,151L237,142L229,144L228,142L226,141L227,138L226,136L221,138L220,136L216,137L214,140L211,140L211,137L208,136L205,135L202,136L204,133L200,133L198,129L192,129L191,126L189,125L189,121L187,123L183,122L182,120L180,118L180,113L177,110L175,111L171,108L169,110L167,106L165,105L162,108L161,105L158,105L158,107L160,108L159,111L161,111L164,115L162,122L154,124L154,130L152,130L149,132L147,140L145,138L142,140L145,144L138,153L136,157Z'/%3E%3Cpath d='M329,82L323,78L322,74L313,72L309,66L305,74L305,87L304,90L297,94L295,92L295,90L298,88L297,87L298,85L294,86L293,84L288,82L288,80L285,76L281,79L280,83L270,81L267,83L264,88L261,87L259,90L251,89L244,104L240,108L238,116L236,118L233,125L228,129L229,133L226,136L227,138L226,141L228,142L229,144L236,141L233,154L235,154L237,151L244,151L248,150L252,150L255,146L262,146L262,147L264,148L266,145L268,144L267,148L271,150L273,148L275,148L278,145L281,146L282,144L284,144L286,140L280,136L283,130L283,126L287,123L282,123L281,121L284,117L284,113L296,113L299,116L305,117L308,120L316,120L317,118L318,121L321,120L327,112L330,112L330,106L332,104L328,101L328,97L322,96L320,93L322,90L325,90L330,88L329,84L331,83Z'/%3E%3Cpath d='M283,113L284,117L281,121L282,122L286,122L287,123L283,126L283,130L280,136L285,140L286,141L281,146L278,145L276,148L273,148L270,153L272,156L278,156L278,159L281,159L281,164L283,167L285,168L288,165L289,165L291,167L293,165L295,169L297,169L296,165L300,165L299,163L313,167L321,166L325,160L338,165L340,155L352,136L353,129L353,128L350,130L346,129L343,130L335,121L331,122L327,121L325,123L321,120L318,121L316,118L316,120L308,120L305,117L299,116L296,113Z'/%3E%3Cpath d='M136,160L137,164L135,165L133,171L136,170L140,173L138,180L137,187L139,188L145,184L142,191L143,194L141,197L142,200L138,203L140,205L144,205L146,202L147,205L151,203L151,205L154,208L156,208L159,206L160,204L166,202L166,196L173,197L177,194L182,195L187,193L190,194L195,190L197,191L197,192L199,196L202,191L207,190L210,190L209,193L211,197L211,199L208,200L208,201L210,204L209,207L214,206L219,211L219,214L227,212L229,210L227,205L232,202L237,204L242,208L244,205L241,202L243,198L245,198L245,196L243,196L244,193L240,190L242,183L240,182L231,183L230,187L227,185L228,181L226,178L227,176L231,172L231,167L227,168L225,166L222,171L217,172L209,170L208,166L205,165L202,171L197,176L201,164L200,162L197,163L197,160L193,163L193,161L190,160L189,156L177,158L164,164L153,162L151,164L144,162L141,160Z'/%3E%3Cpath d='M209,190L202,191L199,196L197,193L197,191L195,190L190,194L187,193L182,195L179,195L177,194L173,197L166,197L166,202L160,204L160,206L156,208L154,208L151,205L151,203L147,205L147,202L145,202L145,205L143,206L138,204L137,206L141,216L143,216L149,223L154,225L154,231L155,234L156,241L161,243L165,240L171,242L174,242L182,248L184,246L181,244L185,242L187,243L188,239L190,241L196,243L197,246L198,246L200,242L197,238L199,235L202,235L202,230L206,228L210,217L209,214L213,208L213,206L209,207L210,204L208,202L208,200L210,199L211,197L209,193Z'/%3E%3Cpath d='M63,174L62,180L56,187L56,189L58,191L58,194L67,195L72,198L73,200L71,203L73,207L70,208L69,212L74,214L76,211L79,212L82,210L84,216L86,216L89,218L93,216L94,218L96,219L99,217L99,221L104,224L106,217L111,219L113,217L116,217L120,227L121,227L118,231L122,235L131,232L135,236L134,238L140,241L142,240L145,243L149,242L153,246L159,243L156,241L155,234L153,231L154,225L149,223L143,216L140,215L137,207L139,203L142,200L141,197L143,194L142,191L145,184L139,188L137,187L138,180L140,173L137,171L133,171L134,165L137,164L135,158L123,160L118,159L117,164L115,163L115,169L112,176L107,174L103,176L100,172L96,172L95,174L82,176L83,180L80,179L78,177L78,174L76,174L73,172L70,172L69,175L66,174Z'/%3E%3Cpath d='M0,195L2,198L0,200L1,201L1,205L5,204L8,207L11,206L15,208L17,208L18,210L21,212L26,214L25,216L29,216L28,221L26,223L20,227L19,230L21,232L22,230L25,229L28,230L37,231L44,226L44,224L47,226L49,224L50,222L57,221L57,217L68,213L70,211L70,207L73,208L71,203L72,201L73,200L72,198L66,194L58,194L58,193L52,191L32,191L31,190L29,184L27,182L23,184L21,186L18,186L20,188L15,190L12,193L10,193L6,195L4,192L2,194Z'/%3E%3Cpath d='M82,211L80,212L76,211L74,214L69,212L65,215L61,215L57,217L57,221L50,222L49,224L47,226L44,224L46,230L43,233L48,235L48,242L51,244L45,244L40,254L48,258L56,259L58,261L58,264L62,265L63,270L59,277L61,281L55,281L54,283L55,284L57,285L57,291L55,301L56,304L58,306L56,312L58,314L60,313L60,315L62,316L72,301L74,296L78,293L80,287L87,286L88,281L85,279L85,270L87,267L91,266L92,268L96,268L99,265L95,258L88,255L86,249L88,243L93,241L94,238L96,238L94,235L92,236L88,234L86,229L80,225L80,220L84,216L84,213L82,213Z'/%3E%3Cpath d='M181,267L180,267L178,270L175,269L174,272L168,271L164,273L160,272L159,274L165,274L166,277L166,281L162,281L163,284L157,283L153,284L149,284L148,280L146,278L143,280L142,282L140,283L138,280L137,274L134,276L133,279L126,279L122,285L120,285L119,282L117,282L109,283L106,290L107,292L109,293L106,295L107,299L102,299L101,307L103,308L102,311L104,316L102,316L98,319L99,322L98,330L108,329L110,327L113,330L116,330L124,323L126,325L131,322L135,324L138,324L141,327L141,330L136,329L136,331L140,333L141,338L139,339L140,342L147,338L158,339L161,333L159,330L158,323L156,321L156,319L158,320L160,320L160,317L162,314L170,314L172,311L180,317L182,310L188,308L181,300L185,295L177,292L177,290L180,288L180,285L178,284L179,276L182,268Z'/%3E%3Cpath d='M145,243L147,246L146,249L143,250L144,252L144,258L145,260L146,260L150,264L153,263L154,268L156,269L156,270L153,270L148,267L145,269L146,272L150,272L148,279L149,284L153,284L154,283L157,283L163,284L162,281L165,281L166,277L165,274L159,275L160,272L164,273L168,271L174,272L175,269L178,269L180,267L182,269L179,276L178,284L180,285L180,288L177,290L178,293L186,295L190,280L193,282L199,279L201,284L203,285L204,283L207,283L208,282L211,282L216,279L216,274L214,272L218,269L218,266L215,263L210,262L208,263L208,258L203,255L191,253L184,254L176,243L167,240L164,240L162,242L159,243L155,246L150,244L149,242L147,242Z'/%3E%3Cpath d='M199,279L194,282L191,282L190,280L187,294L181,299L186,304L188,304L194,308L191,314L196,318L196,322L199,322L199,318L203,318L203,314L209,315L210,317L217,316L216,311L217,306L216,304L216,301L214,302L213,300L211,304L208,304L204,291L205,287L202,290L200,289L201,282ZM181,244L184,245L184,247L181,248L181,250L184,254L202,254L208,258L208,262L210,262L215,263L220,268L223,266L224,262L234,265L234,267L225,267L225,271L223,272L222,276L224,279L229,278L232,281L232,288L238,286L239,282L244,282L244,281L249,282L252,280L256,282L259,276L262,277L264,276L264,272L270,270L272,265L277,266L278,263L275,258L273,258L271,254L265,256L262,261L258,260L257,257L252,254L252,252L255,252L256,249L259,248L258,242L256,239L248,238L243,241L241,241L241,237L236,236L234,238L235,241L231,243L229,232L227,231L229,229L231,228L232,222L236,219L235,215L229,215L227,213L220,214L219,211L215,208L214,206L213,206L209,214L210,217L206,228L202,230L202,235L199,235L197,238L200,242L198,246L197,246L196,243L193,241L191,242L188,240L187,243L183,242Z'/%3E%3Cpath d='M273,211L270,210L262,210L256,209L248,198L244,198L241,202L244,204L244,205L242,208L237,204L232,202L228,205L229,210L227,212L229,215L235,215L236,219L233,222L231,228L229,229L227,231L229,232L231,243L234,241L234,238L236,236L241,237L241,241L243,241L248,238L256,239L258,242L262,240L264,231L267,229L266,227L269,224L268,221L271,221L269,218L272,216L273,213Z'/%3E%3Cpath d='M338,165L326,160L325,160L321,166L318,167L313,168L303,165L303,166L306,168L306,170L302,171L301,173L304,174L304,177L301,178L302,184L296,183L291,185L289,187L284,186L282,188L280,187L278,192L273,192L268,188L267,188L267,191L265,192L262,190L259,194L253,194L251,200L249,200L258,210L270,210L276,212L281,211L283,213L284,211L287,212L287,208L291,208L294,208L299,211L302,211L304,215L309,216L309,224L304,230L304,233L306,233L317,227L318,223L321,224L321,220L331,214L332,211L336,211L337,208L332,195L336,173L333,174L332,172L331,174L328,172L330,168L332,170L337,169L338,166Z'/%3E%3Cpath d='M330,252L325,254L323,259L324,263L327,261L330,261L331,264L328,266L327,271L324,272L326,275L323,278L326,280L324,282L326,284L325,286L329,287L330,289L328,291L328,293L326,294L327,297L321,298L322,306L329,313L341,314L345,311L342,261L339,259L340,256L336,254L334,256L334,253L332,253Z'/%3E%3Cpath d='M287,254L286,260L288,261L288,263L292,265L296,266L294,268L295,271L290,272L291,278L296,280L295,285L300,286L301,288L303,288L309,294L308,299L307,299L309,302L308,303L312,306L309,306L309,310L315,311L329,313L322,306L322,298L327,297L326,294L328,293L327,291L330,288L329,287L325,286L326,284L324,282L326,280L323,278L326,275L324,272L327,271L328,266L331,263L330,261L323,263L323,257L326,253L329,253L331,249L334,249L333,247L328,244L324,244L321,248L311,250L311,252L308,254L310,257L305,260L291,255Z'/%3E%3Cpath d='M268,221L269,224L266,227L267,230L264,231L263,239L258,242L259,248L257,249L255,253L252,252L252,254L257,257L258,260L262,261L265,256L272,254L273,258L275,258L277,261L277,266L272,266L270,270L264,272L265,275L261,278L266,280L266,283L270,284L272,283L274,287L279,288L278,291L275,292L273,295L279,298L273,301L276,304L276,308L273,310L274,312L273,314L274,317L272,319L279,321L279,322L276,323L277,326L281,326L282,328L284,328L286,322L288,322L290,320L289,319L292,316L298,313L300,310L309,310L309,306L312,305L308,303L309,302L307,299L308,299L309,294L303,290L303,288L301,288L300,286L295,286L295,280L291,278L290,272L295,270L294,268L296,266L290,264L288,261L286,259L286,257L288,257L287,254L305,260L308,259L310,257L308,254L311,252L310,248L313,247L310,243L313,240L313,237L315,233L311,230L308,231L303,234L297,242L293,244L292,240L290,240L289,232L281,231L280,232L279,231L276,232L276,230L273,229L276,226L272,223L271,221Z'/%3E%3Cpath d='M224,262L223,266L221,268L218,267L218,271L215,271L216,274L216,279L211,282L208,282L203,285L201,284L200,289L202,289L205,287L204,291L209,304L212,303L213,300L214,302L216,301L215,304L217,306L216,311L217,316L232,321L239,319L245,321L249,327L254,331L257,331L259,333L259,334L256,334L255,336L254,341L259,343L261,343L267,352L273,354L274,354L274,351L278,345L288,335L285,331L284,328L281,326L276,326L276,323L279,322L279,321L272,319L274,312L273,310L276,308L276,304L273,301L279,298L273,295L275,292L278,291L279,288L274,287L272,283L270,284L267,283L266,280L261,279L261,277L259,276L256,282L252,280L250,282L244,281L244,283L239,282L236,287L234,287L232,288L232,281L229,278L223,279L222,277L222,274L225,271L225,267L234,267L234,265L227,262Z'/%3E%3Cpath d='M203,314L204,317L199,318L199,321L200,324L203,324L201,327L203,329L202,332L204,333L203,335L210,336L209,340L206,342L207,345L198,347L197,349L192,350L191,355L188,354L186,355L183,354L178,354L176,356L178,360L177,364L180,364L185,361L190,364L190,369L191,370L192,370L192,368L195,365L196,371L201,372L202,376L204,375L206,377L212,374L216,379L223,380L229,384L233,379L232,377L238,379L245,378L246,376L243,375L242,373L243,368L241,366L238,367L237,363L241,359L246,360L245,363L252,362L252,360L250,359L250,351L252,351L253,347L258,347L259,345L262,344L254,341L255,336L256,334L259,334L258,332L255,331L249,327L244,320L236,320L231,321L221,317L210,317L205,314Z'/%3E%3Cpath d='M194,308L186,304L188,308L183,310L181,317L172,311L170,314L162,314L159,320L156,319L156,321L158,323L159,330L161,333L159,337L158,339L154,339L150,338L143,339L137,344L137,347L135,348L132,353L131,359L117,379L119,381L124,372L126,373L132,368L134,368L136,370L140,368L145,370L146,374L152,374L153,373L158,375L162,373L165,375L171,371L174,372L172,364L174,363L174,361L177,362L178,358L176,358L176,356L178,354L183,354L187,356L188,354L191,355L192,349L197,349L197,347L207,345L207,342L209,340L210,336L203,335L204,333L202,332L203,329L201,327L203,324L200,324L199,321L196,322L195,318L191,314L192,311L193,310Z'/%3E%3Cpath d='M138,324L135,324L130,322L126,325L124,324L116,330L113,330L110,327L108,329L106,328L92,331L91,334L97,339L96,341L98,346L96,347L93,352L92,354L94,356L93,359L95,362L93,362L93,368L91,369L92,372L88,379L92,379L94,382L97,383L102,380L103,382L106,383L108,386L118,382L117,379L124,370L126,364L130,361L132,356L132,353L135,348L137,348L137,344L140,342L139,339L141,338L140,333L136,331L136,329L141,330L141,327L140,326Z'/%3E%3Cpath d='M206,377L203,375L201,376L201,372L196,371L195,365L192,368L193,370L191,370L190,369L190,364L184,360L184,362L178,364L174,360L174,363L172,365L174,372L171,371L165,375L162,373L158,375L153,373L152,374L146,374L145,370L140,368L136,370L134,368L132,368L126,373L124,372L118,382L113,383L111,386L110,390L108,390L105,394L110,397L114,397L115,399L115,400L117,402L122,402L123,399L125,399L129,401L129,404L130,405L142,407L146,412L148,409L150,411L156,411L156,414L160,415L163,410L168,408L168,405L171,404L170,402L173,399L183,399L183,401L186,402L188,405L195,407L198,406L201,402L201,400L196,402L196,398L195,397L190,398L188,392L196,392L197,390L199,389L198,387L200,385L203,384L203,379L206,377Z'/%3E%3Cpath d='M282,409L283,411L291,412L303,420L292,410L294,406L293,405L290,405L288,407L284,407ZM274,354L267,353L262,345L259,345L258,347L254,346L252,348L253,350L250,351L250,354L250,359L252,360L252,362L249,362L248,364L246,363L246,360L242,359L237,363L238,367L241,366L243,368L242,372L243,375L246,376L245,378L238,379L232,377L233,379L230,382L229,384L226,383L226,381L223,380L216,379L211,374L203,379L204,384L202,386L200,385L198,387L198,390L197,390L196,392L188,391L188,393L190,395L190,397L196,398L196,402L198,402L199,400L201,400L201,402L198,406L195,407L194,415L196,416L194,421L200,422L205,425L212,422L223,422L230,419L228,418L229,417L235,416L236,414L248,410L253,410L254,409L260,408L271,410L280,408L269,406L266,404L256,395L253,389L254,387L256,376L258,374L260,369L271,357Z'/%3E%3Cpath d='M183,398L173,399L170,402L171,405L168,405L168,408L163,410L159,415L156,414L156,411L154,410L155,415L152,418L149,417L143,419L142,417L140,416L138,420L138,422L136,422L136,424L143,425L142,428L139,428L140,431L138,435L141,435L141,437L140,438L138,436L136,437L138,442L144,442L144,446L149,447L153,454L153,456L151,457L151,461L150,468L151,471L149,473L148,472L147,475L150,477L150,481L153,485L152,489L155,492L154,496L157,497L158,499L166,498L174,494L173,493L174,490L180,482L180,465L184,459L187,458L187,455L186,457L183,456L183,454L184,446L186,441L191,436L205,425L201,423L194,421L196,416L194,415L194,407L188,405L186,403L183,400Z'/%3E%3Cpath d='M134,439L128,441L128,444L126,444L126,446L129,448L125,456L126,457L125,462L121,461L117,462L113,459L110,460L107,460L105,462L110,467L107,468L105,467L104,469L101,470L97,467L96,469L100,472L95,474L98,477L104,479L107,482L114,483L114,486L116,488L117,494L118,495L123,495L122,501L126,508L124,509L123,516L128,519L144,515L149,508L156,505L164,500L166,498L158,499L157,497L154,496L155,492L152,489L153,485L150,481L150,478L147,476L148,472L149,472L151,470L150,468L151,461L151,457L153,456L153,453L149,447L144,446L144,442L137,442L134,441Z'/%3E%3Cpath d='M98,478L99,480L97,484L94,484L92,483L91,484L94,489L91,490L88,495L86,495L86,498L88,498L88,500L83,501L81,504L102,520L104,520L121,525L125,525L126,523L126,521L128,519L127,517L123,516L124,513L123,509L126,508L122,501L123,495L118,495L116,491L117,488L114,486L114,483L107,482L100,478Z'/%3E%3Cpath d='M273,212L272,216L270,217L272,223L276,226L273,230L276,230L276,232L278,231L280,232L281,231L289,232L290,240L292,240L293,244L299,240L304,233L305,228L309,225L309,216L305,215L302,211L299,211L294,208L288,208L287,209L287,212L284,211L283,213L281,211L277,212L275,212Z'/%3E%3Cpath d='M116,217L113,217L111,219L106,217L104,224L99,221L99,217L96,219L94,218L93,216L89,218L84,216L80,220L80,225L86,229L88,234L92,236L94,235L96,237L94,238L93,241L88,243L88,246L86,248L88,255L95,258L99,265L96,268L92,268L91,266L87,266L85,270L85,279L88,281L87,286L79,287L79,293L74,296L72,301L62,316L64,319L71,320L76,317L76,314L88,308L94,308L93,311L96,316L96,319L98,319L102,316L104,315L102,311L103,308L101,307L101,302L102,298L107,299L106,295L109,294L109,293L107,292L106,290L109,283L117,282L119,282L120,285L122,285L126,279L133,279L134,276L137,274L138,280L140,283L144,279L148,279L149,275L150,272L146,272L144,271L145,269L148,267L156,270L156,268L154,268L153,263L150,264L146,260L145,260L143,258L144,253L143,250L146,249L147,246L145,243L142,240L140,241L135,239L135,236L131,232L121,235L118,230L121,227L119,227L118,223Z'/%3E%3Cpath d='M306,168L300,163L300,166L296,165L296,169L295,169L293,165L291,167L289,165L286,168L283,167L281,164L281,159L278,159L278,156L272,156L270,153L271,150L267,148L268,144L266,145L264,148L262,147L262,146L256,146L252,150L248,150L244,151L237,151L233,154L234,155L233,160L234,162L233,164L231,163L226,166L228,168L232,168L231,172L227,176L226,179L228,181L228,187L230,187L231,183L241,182L242,185L240,187L240,190L244,192L243,196L249,200L251,200L253,194L259,194L262,192L262,190L265,192L267,191L267,188L273,192L278,192L280,187L282,188L284,186L289,187L296,183L301,184L301,178L303,177L304,174L302,174L301,173L302,170L306,171Z'/%3E%3Cpath d='M153,411L150,411L148,409L146,412L142,407L130,406L129,404L129,401L125,399L123,399L122,402L117,402L115,400L115,399L114,397L110,397L105,394L104,401L101,402L101,405L99,406L99,415L96,417L98,421L92,426L90,431L88,431L86,433L88,437L90,440L90,444L92,443L93,445L97,448L97,452L94,455L94,457L91,458L90,461L88,461L91,466L91,468L96,474L100,472L96,469L97,467L101,470L104,469L105,467L107,468L110,467L105,462L107,460L110,461L113,459L117,462L126,462L125,456L128,448L126,445L128,444L128,441L134,439L134,441L138,442L136,437L138,436L140,438L141,436L141,435L138,435L137,434L140,431L139,428L142,428L142,425L137,425L136,422L138,422L138,420L140,416L142,417L143,419L149,417L152,418L155,415L154,412Z'/%3E%3Cpath d='M379,60L376,59L374,61L372,60L371,61L370,58L365,59L359,69L360,71L358,74L354,76L350,76L350,78L346,78L344,79L344,81L346,82L349,86L346,88L347,93L336,94L337,100L331,100L330,103L332,105L330,106L330,112L327,112L326,115L321,119L323,122L325,123L327,121L331,122L335,121L343,130L345,130L346,129L350,130L353,128L368,108L377,79L378,64Z'/%3E%3Cpath d='M253,68L238,76L236,75L236,72L228,72L224,74L223,80L219,83L219,88L217,89L218,86L214,84L216,87L214,87L214,90L211,90L211,94L205,95L206,108L209,114L208,117L213,117L214,115L220,117L224,121L223,124L224,124L224,129L226,128L228,129L233,125L236,118L238,116L240,108L243,104L248,94L245,93L249,85L247,85L247,82L248,80L253,80L254,79L250,74L253,70Z'/%3E%3Cpath d='M330,41L326,42L326,39L320,41L321,45L317,45L317,47L314,46L310,49L308,54L298,52L293,53L291,52L290,55L294,55L293,57L290,56L288,61L290,62L287,62L286,64L282,64L278,66L278,72L277,73L275,71L273,71L272,73L273,75L271,80L271,81L272,82L280,83L281,79L286,77L288,80L288,82L293,84L294,86L297,84L298,85L297,86L298,88L295,90L294,92L298,94L304,88L306,85L304,84L306,80L304,74L307,69L313,62L322,65L336,57L335,52L330,51L330,48L328,47L330,45Z'/%3E%3Cpath d='M337,208L336,211L332,211L331,214L321,219L321,224L318,223L317,227L311,230L315,234L313,237L313,240L310,243L310,245L313,246L310,249L313,250L317,248L321,248L322,245L325,244L336,246L337,247L341,245L343,246L344,228L339,214Z'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23m' fill='none' stroke='%23e8b13a' stroke-opacity='.85' stroke-width='5' stroke-linejoin='round'/%3E%3Cuse href='%23m' fill='%230b525b' stroke='none'/%3E%3Cpath d='M383 8h0M360 21h0M376 21h0M308 34h0M323 34h0M338 34h0M353 34h0M368 34h0M383 34h0M286 47h0M300 47h0M316 47h0M330 47h0M346 47h0M360 47h0M376 47h0M233 60h0M248 60h0M263 60h0M278 60h0M293 60h0M308 60h0M323 60h0M338 60h0M353 60h0M368 60h0M150 73h0M226 73h0M240 73h0M256 73h0M270 73h0M286 73h0M300 73h0M316 73h0M330 73h0M346 73h0M360 73h0M376 73h0M158 86h0M173 86h0M188 86h0M233 86h0M248 86h0M263 86h0M278 86h0M293 86h0M308 86h0M323 86h0M338 86h0M353 86h0M368 86h0M136 99h0M150 99h0M166 99h0M180 99h0M196 99h0M210 99h0M226 99h0M240 99h0M256 99h0M270 99h0M286 99h0M300 99h0M316 99h0M330 99h0M346 99h0M360 99h0M143 112h0M158 112h0M173 112h0M188 112h0M203 112h0M218 112h0M233 112h0M248 112h0M263 112h0M278 112h0M293 112h0M308 112h0M323 112h0M338 112h0M353 112h0M136 125h0M150 125h0M166 125h0M180 125h0M196 125h0M210 125h0M226 125h0M240 125h0M256 125h0M270 125h0M300 125h0M316 125h0M330 125h0M346 125h0M143 138h0M158 138h0M173 138h0M188 138h0M203 138h0M218 138h0M233 138h0M248 138h0M263 138h0M278 138h0M293 138h0M308 138h0M323 138h0M338 138h0M150 151h0M166 151h0M180 151h0M196 151h0M210 151h0M226 151h0M240 151h0M256 151h0M270 151h0M286 151h0M300 151h0M316 151h0M330 151h0M128 164h0M143 164h0M158 164h0M173 164h0M188 164h0M203 164h0M218 164h0M233 164h0M248 164h0M263 164h0M278 164h0M293 164h0M308 164h0M323 164h0M338 164h0M76 177h0M90 177h0M106 177h0M120 177h0M136 177h0M150 177h0M166 177h0M180 177h0M196 177h0M210 177h0M226 177h0M240 177h0M256 177h0M270 177h0M286 177h0M300 177h0M316 177h0M330 177h0M23 190h0M68 190h0M83 190h0M98 190h0M113 190h0M128 190h0M143 190h0M158 190h0M173 190h0M188 190h0M203 190h0M218 190h0M233 190h0M248 190h0M263 190h0M278 190h0M293 190h0M308 190h0M323 190h0M16 203h0M30 203h0M46 203h0M60 203h0M76 203h0M90 203h0M106 203h0M120 203h0M136 203h0M150 203h0M166 203h0M180 203h0M196 203h0M210 203h0M226 203h0M240 203h0M256 203h0M270 203h0M286 203h0M300 203h0M316 203h0M330 203h0M38 216h0M53 216h0M68 216h0M83 216h0M98 216h0M113 216h0M128 216h0M143 216h0M158 216h0M173 216h0M188 216h0M203 216h0M218 216h0M233 216h0M248 216h0M263 216h0M278 216h0M293 216h0M308 216h0M323 216h0M338 216h0M30 229h0M60 229h0M76 229h0M90 229h0M106 229h0M136 229h0M150 229h0M166 229h0M180 229h0M196 229h0M210 229h0M226 229h0M240 229h0M256 229h0M270 229h0M286 229h0M300 229h0M316 229h0M330 229h0M53 242h0M68 242h0M83 242h0M98 242h0M113 242h0M128 242h0M143 242h0M173 242h0M188 242h0M203 242h0M218 242h0M233 242h0M248 242h0M263 242h0M278 242h0M293 242h0M308 242h0M323 242h0M338 242h0M46 255h0M60 255h0M76 255h0M90 255h0M106 255h0M120 255h0M136 255h0M150 255h0M166 255h0M180 255h0M196 255h0M210 255h0M226 255h0M240 255h0M256 255h0M270 255h0M286 255h0M300 255h0M316 255h0M330 255h0M68 268h0M83 268h0M98 268h0M113 268h0M128 268h0M143 268h0M158 268h0M173 268h0M188 268h0M203 268h0M218 268h0M233 268h0M248 268h0M263 268h0M278 268h0M293 268h0M308 268h0M323 268h0M338 268h0M76 281h0M90 281h0M106 281h0M120 281h0M136 281h0M150 281h0M180 281h0M196 281h0M210 281h0M226 281h0M240 281h0M256 281h0M270 281h0M286 281h0M300 281h0M316 281h0M330 281h0M68 294h0M83 294h0M98 294h0M113 294h0M128 294h0M143 294h0M158 294h0M173 294h0M188 294h0M203 294h0M218 294h0M233 294h0M248 294h0M263 294h0M278 294h0M293 294h0M308 294h0M323 294h0M338 294h0M60 307h0M76 307h0M90 307h0M106 307h0M120 307h0M136 307h0M150 307h0M166 307h0M180 307h0M196 307h0M210 307h0M226 307h0M240 307h0M256 307h0M270 307h0M286 307h0M300 307h0M316 307h0M330 307h0M113 320h0M128 320h0M143 320h0M158 320h0M173 320h0M188 320h0M203 320h0M218 320h0M233 320h0M248 320h0M263 320h0M278 320h0M106 333h0M120 333h0M136 333h0M150 333h0M166 333h0M180 333h0M196 333h0M210 333h0M226 333h0M240 333h0M256 333h0M270 333h0M286 333h0M98 346h0M113 346h0M128 346h0M143 346h0M158 346h0M173 346h0M188 346h0M203 346h0M218 346h0M233 346h0M248 346h0M263 346h0M106 359h0M120 359h0M136 359h0M150 359h0M166 359h0M180 359h0M196 359h0M210 359h0M226 359h0M240 359h0M256 359h0M98 372h0M113 372h0M128 372h0M143 372h0M158 372h0M188 372h0M203 372h0M218 372h0M233 372h0M248 372h0M120 385h0M136 385h0M150 385h0M166 385h0M180 385h0M196 385h0M210 385h0M226 385h0M240 385h0M113 398h0M128 398h0M143 398h0M158 398h0M173 398h0M188 398h0M203 398h0M218 398h0M233 398h0M248 398h0M106 411h0M120 411h0M136 411h0M150 411h0M166 411h0M180 411h0M196 411h0M210 411h0M226 411h0M240 411h0M98 424h0M113 424h0M128 424h0M143 424h0M158 424h0M173 424h0M188 424h0M203 424h0M90 437h0M106 437h0M120 437h0M136 437h0M150 437h0M166 437h0M180 437h0M98 450h0M113 450h0M128 450h0M143 450h0M158 450h0M173 450h0M90 463h0M106 463h0M120 463h0M136 463h0M150 463h0M166 463h0M180 463h0M98 476h0M113 476h0M128 476h0M143 476h0M158 476h0M173 476h0M106 489h0M120 489h0M136 489h0M150 489h0M166 489h0M98 502h0M113 502h0M128 502h0M143 502h0M158 502h0M106 515h0M120 515h0M136 515h0' stroke='%23fff' stroke-opacity='.45' stroke-width='4.6' stroke-linecap='round'/%3E%3Ccircle cx='377.75' cy='51.349999999999994' r='6.5' fill='%23e8b13a'/%3E%3Ccircle cx='377.75' cy='51.349999999999994' r='11' fill='none' stroke='%23e8b13a' stroke-opacity='.6' stroke-width='1.6'/%3E%3C/svg%3E") calc(50% + 430px) 50% / auto 92% no-repeat, linear-gradient(135deg, var(--tn-teal-dark) 0%, var(--tn-teal) 100%); }
.tn-home .tn-hero > .tn-wrap { position: relative; z-index: 1; }
.tn-home .tn-hero .tn-wrap::before { content: "தமிழ்நாடு"; display: block; margin: 0 0 6px; font: 700 1.05rem/1.2 "Noto Sans Tamil", "Nirmala UI", Latha, sans-serif; letter-spacing: .04em; color: #e8b13a; }
.tn-home .tn-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 24ch; margin: 0 0 12px; }
.tn-home .tn-hero p { font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 54ch; margin: 0; }
.tn-home .tn-hero .wp-block-buttons { margin-top: 18px; }
@media (max-width: 1250px) { .tn-home .tn-hero { background-position: calc(100% - 24px) 50%, 0 0; } }
@media (max-width: 760px) { .tn-home .tn-hero { background-size: 0 0, auto; min-height: 0; } }

/* Home: five doors sized so they fit on the first screen */
.tn-home .tn-doors { gap: 16px; }
.tn-home .tn-door-band { height: 78px !important; padding: 14px 18px !important; }
.tn-home .tn-door-mark { width: 110px !important; height: 110px !important; right: -10px !important; top: -12px !important; }
.tn-home .tn-door-dot { width: 44px !important; height: 44px !important; }
.tn-home .tn-door-dot svg { width: 24px !important; height: 24px !important; }
.tn-home .tn-door-body { padding: 14px 18px 18px !important; }
.tn-home .tn-door h2 { font-size: 1.3rem !important; margin: 0 0 6px !important; }
.tn-home .tn-door p { font-size: .9rem !important; line-height: 1.45 !important; margin: 0 0 10px !important; }
.tn-home .tn-door-body { display: flex !important; flex-direction: column; flex: 1 1 auto; }
.tn-home .tn-door p { margin-bottom: 14px !important; }
.tn-home .tn-door .tn-door-go { display: block; margin-top: auto; box-sizing: border-box; width: 100%; text-align: center; font-size: .92rem; font-weight: 700; line-height: 1.2; height: 44px; display: flex; align-items: center; justify-content: center; white-space: nowrap; padding: 0 12px; border-radius: 4px; background: var(--tn-sec, var(--tn-teal)); color: #fff; transition: filter .15s ease; }
.tn-home .tn-door:hover .tn-door-go, .tn-home .tn-door:focus-visible .tn-door-go { filter: brightness(1.12); }
.tn-home .tn-door:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.tn-home .tn-section { padding: clamp(24px, 3vw, 40px) 0 !important; }

/* Home page: remove the gap between the menu and the banner */
.tn-home-page .wp-site-blocks > *, .tn-home-page main, .tn-home-page main > .wp-block-group, .tn-home-page .wp-block-post-content, .tn-home-page .entry-content { margin-block-start: 0 !important; margin-top: 0 !important; }
.tn-home-page main.wp-block-group, .tn-home-page main > .wp-block-group, .tn-home-page main .wp-block-group.has-global-padding { padding-top: 0 !important; padding-bottom: 0 !important; }
.tn-home-page .wp-block-post-content { padding-top: 0 !important; padding-bottom: 0 !important; }
.tn-home-page .tn-header { margin-bottom: 0 !important; }

/* Main menu with panels (inc/megamenu.php) */
.tn-header { position: sticky; }
.tn-mm { font-family: 'Source Sans 3', system-ui, sans-serif; }
.tn-mm__toggle { display: none; }
.tn-mm__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: stretch; }
.tn-mm__item { margin: 0; }
.tn-mm__top { display: flex; align-items: center; gap: 6px; height: 56px; padding: 0 12px; box-sizing: border-box; background: none; border: 0; border-bottom: 3px solid transparent; font-family: inherit; font-size: 0.95rem; font-weight: 600; line-height: 1; color: var(--tn-teal-dark); text-decoration: none; cursor: pointer; }
.tn-mm__top--dd::after { content: ""; border: 4px solid transparent; border-top: 5px solid currentColor; border-bottom: 0; }
.tn-mm__top:hover, .is-open > .tn-mm__top { color: var(--tn-teal); border-bottom: 3px dotted var(--tn-teal); }
.tn-mm a:focus-visible, .tn-mm button:focus-visible { outline: 2px solid var(--tn-teal); outline-offset: 2px; }
.tn-mm__panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 18px 40px rgba(7,59,65,.18); border-top: 1px solid var(--tn-teal-line); padding: 28px max(20px, calc((100vw - 1200px) / 2)) 0; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0 40px; }
.is-open > .tn-mm__panel { display: grid; }
.tn-mm__sec { min-width: 0; padding-bottom: 12px; }
.tn-mm__head { border-bottom: 3px solid var(--c); }
.tn-mm__tab { display: inline-block; background: var(--c); color: #fff; font-size: 12px; line-height: 1; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: 8px 12px; border-radius: 6px 6px 0 0; }
.tn-mm__src { margin: 10px 0 6px; font-size: 13px; line-height: 1.35; color: #55696e; }
.tn-mm__row { display: block; padding: 9px 8px; margin: 0 -8px; border-radius: 6px; text-decoration: none; color: var(--tn-teal-dark); }
.tn-mm__row:hover { background: var(--t); }
.tn-mm__name { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; }
.tn-mm__d { display: block; font-size: 13px; line-height: 1.35; color: #55696e; margin-top: 1px; }
.tn-mm__strip { grid-column: 1 / -1; margin: 8px calc(-1 * max(20px, (100vw - 1200px) / 2)) 0; padding: 14px max(20px, calc((100vw - 1200px) / 2)); background: var(--tn-teal-tint); display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.tn-mm__strip b { font-family: 'Source Serif 4', Georgia, serif; font-size: 16px; }
.tn-mm__strip a { font-weight: 700; color: var(--c); text-decoration: none; }
.tn-mm__panel--list { left: auto; right: 0; top: 100%; width: 320px; padding: 14px 20px 8px; display: none; }
.tn-mm__item--list { position: relative; }
.is-open > .tn-mm__panel--list { display: block; }
@media (max-width: 900px) {
	.tn-mm__toggle { display: block; padding: 8px 14px; font-family: inherit; font-size: 0.95rem; font-weight: 600; background: #fff; border: 2px solid var(--tn-teal); border-radius: 4px; color: var(--tn-teal-dark); }
	.tn-mm__list { display: none; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--tn-teal-line); padding: 8px 20px 16px; max-height: 80vh; overflow: auto; }
	.tn-mm.is-open .tn-mm__list { display: flex; }
	.tn-mm__top { width: 100%; height: 48px; }
	.tn-mm__panel, .tn-mm__panel--list { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
	.is-open > .tn-mm__panel { display: block; }
	.tn-mm__strip { margin: 0; padding: 10px 0; flex-direction: column; background: none; }
}
