/* Theme follows namakkal.nic.in: white header, navy #162f6a bars, Noto Sans */
:root {
  --navy: #162f6a;
  --navy-2: #0f2250;
  --gold: #e8a317;
  --bg: #f5f7fb;
  --ink: #1d2433;
  --muted: #5d6779;
  --line: #d9dfeb;
  --ok: #1e7b45;
  --bad: #b3261e;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans", "Noto Sans Tamil", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
html[data-lang="ta"] body { font-family: "Noto Sans Tamil", "Noto Sans", system-ui, sans-serif; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.row { display: flex; align-items: center; gap: 12px; }
.muted { color: var(--muted); }

/* ---------- government strip ---------- */
.govstrip { background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.govstrip .row { min-height: 38px; gap: 8px; }
.flag { display: inline-flex; flex-direction: column; width: 22px; height: 15px; border: 1px solid #ccc; }
.flag i { flex: 1; } .flag i:nth-child(1){background:#ff9933} .flag i:nth-child(2){background:#fff} .flag i:nth-child(3){background:#138808}
.sep { color: #bbb; }
.lang { margin-left: auto; display: flex; border: 1px solid var(--navy); border-radius: 6px; overflow: hidden; }
.lang button { border: 0; background: #fff; color: var(--navy); font: 600 13px "Noto Sans Tamil", "Noto Sans", sans-serif; padding: 5px 12px; cursor: pointer; }
.lang button.on { background: var(--navy); color: #fff; }

/* ---------- masthead ---------- */
.masthead { background: #fff; }
.masthead .row { padding: 14px 16px; }
.mark img { height: 64px; width: auto; display: block; }
.dname { font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.dtag { font-size: 14px; color: var(--muted); }

/* ---------- menu bar ---------- */
.menubar { background: var(--navy); position: sticky; top: 0; z-index: 5; }
.menubar .row { gap: 0; overflow-x: auto; scrollbar-width: none; }
.menubar a { color: #fff; text-decoration: none; padding: 12px 16px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.menubar a:hover { background: var(--navy-2); }

/* ---------- hero ---------- */
.hero {
  color: #fff; padding: 26px 0 36px; position: relative; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15,34,80,.96) 0%, rgba(22,47,106,.86) 60%, rgba(22,47,106,.6) 100%),
    var(--navy);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, #ff9933 0 33.3%, #fff 33.3% 66.6%, #138808 66.6%); }
.kicker { margin: 0; color: var(--gold); font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.hero h1 { margin: 2px 0 6px; font-size: clamp(30px, 5.5vw, 50px); line-height: 1.15; font-weight: 800; }
.hero .sub { margin: 0 0 14px; font-size: clamp(17px, 2.6vw, 22px); font-weight: 600; color: #ffe2a3; }
.hero .lead { max-width: 640px; opacity: .95; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.deadline { margin: 16px 0 0; display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); padding: 6px 12px; border-radius: 6px; font-weight: 600; }
.deadline:empty { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-block; border: 0; border-radius: 6px; padding: 12px 22px; font-family: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; text-align: center; }
.btn-gold { background: var(--gold); color: var(--navy-2); }
.btn-line { border: 1.5px solid rgba(255,255,255,.8); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; width: 100%; font-size: 18px; padding: 14px; }
.btn-navy:hover { background: var(--navy-2); }
.btn-navy:disabled { opacity: .6; cursor: wait; }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); background: #fff; align-self: end; margin-bottom: 14px; }

/* ---------- sections ---------- */
main section { margin-top: 32px; scroll-margin-top: 60px; }
h2 { color: var(--navy); font-size: 26px; margin: 0 0 6px; font-weight: 800; }
h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--gold); margin-top: 6px; border-radius: 2px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; box-shadow: 0 2px 10px rgba(22,47,106,.05); }

/* idea cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.pride { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cards.pride .ph { aspect-ratio: 16/10; }
.cards.pride .ph img { image-rendering: auto; }
.cards.pride .card h3 { font-size: 20px; }
.cards.pride .card p { font-size: 15px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.card svg { width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; }
.card.mascot svg { aspect-ratio: 2 / 1; }
.card h3 { margin: 12px 14px 4px; font-size: 17px; color: var(--navy); }
.card p { margin: 0 14px 14px; font-size: 14px; color: var(--muted); }
h3.minor { margin: 28px 0 0; color: var(--navy); font-size: 20px; }
.note-info { background: #fff8e6; border-left: 4px solid var(--gold); padding: 10px 14px; border-radius: 4px; margin-top: 16px; font-size: 14px; }

.rules { padding-left: 22px; margin: 12px 0 0; }
.rules li { margin: 8px 0; }

/* ---------- form ---------- */
form label { display: block; font-weight: 600; margin-bottom: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid2 .full { grid-column: 1 / -1; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0 14px; }
input, select, textarea {
  display: block; width: 100%; margin-top: 5px; padding: 11px 12px;
  font-family: inherit; font-weight: 400; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 6px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(22,47,106,.15); }
input:disabled { background: #eef1f6; color: var(--muted); }
.count { display: block; text-align: right; color: var(--muted); font-weight: 400; }

.drop { position: relative; display: flex; align-items: center; justify-content: center; min-height: 200px;
  border: 2px dashed var(--navy); border-radius: 10px; cursor: pointer; margin-bottom: 4px;
  background: repeating-conic-gradient(#eef2fa 0 25%, #fff 0 50%) 0 0 / 22px 22px; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.drop-inner { text-align: center; padding: 20px; pointer-events: none; }
.drop-inner b { display: block; font-size: 18px; color: var(--navy); }
.drop-inner span { color: var(--muted); font-weight: 400; font-size: 14px; }
#preview { max-height: 260px; max-width: 90%; object-fit: contain; padding: 10px; pointer-events: none; }
.fileinfo { font-size: 13px; color: var(--muted); margin: 0 0 14px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 4px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha { margin: 6px 0 12px; }
.error { color: var(--bad); font-weight: 600; min-height: 1.4em; margin: 0 0 10px; }
.note { padding: 12px 14px; border-radius: 6px; margin-bottom: 14px; }
.note { background: #eef2fa; color: var(--navy); font-weight: 600; }
.note.bad { background: #fdecea; color: var(--bad); }

.success { text-align: center; padding: 10px 0; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; background: var(--ok); color: #fff; font-size: 36px; line-height: 64px; }
.refno { font-size: 40px; font-weight: 800; color: var(--navy); letter-spacing: .05em; margin: 4px 0; padding: 6px 18px; border: 2px dashed var(--gold); border-radius: 8px; display: inline-block; }

.statusout { font-weight: 600; margin: 0; }
.statusout.good { color: var(--ok); }
.statusout.bad { color: var(--bad); }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #fff; margin-top: 40px; padding: 22px 0; text-align: center; font-size: 14px; }
.footer p { margin: 0; }

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .btn-outline { width: 100%; }
}
@media (max-width: 460px) {
  .cards, .cards.two { grid-template-columns: 1fr; }
  .cards.pride { grid-template-columns: 1fr; }
  .cards.pride .card h3 { font-size: 17px; }
  .govstrip .row > span:not(.flag):not(:nth-of-type(2)) { display: none; }
  .dname { font-size: 20px; }
  .panel { padding: 18px 14px; }
  .refno { font-size: 32px; }
}

/* prizes */
.prizechips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.prizechips span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 6px; padding: 5px 12px; }
.prizechips b { color: var(--gold); }
.prizechips i { font-style: normal; }
.prizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.prize { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px 16px; text-align: center; border-top: 6px solid var(--gold); }
.prize.silver { border-top-color: #9aa5b8; } .prize.bronze { border-top-color: #c27c3e; }
.prize .medal { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 10px; background: var(--gold); color: #fff; font-weight: 800; font-size: 22px; line-height: 46px; }
.prize.silver .medal { background: #9aa5b8; } .prize.bronze .medal { background: #c27c3e; }
.prize b { display: block; font-size: 30px; color: var(--navy); }
.prize span { color: var(--muted); font-weight: 600; }
.pdfprev { width: 120px; height: 150px; border-radius: 8px; background: #b3261e; color: #fff; font-weight: 800; font-size: 28px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.filename-note { font-size: 13px; color: var(--navy); background: #eef2fa; border-radius: 6px; padding: 6px 10px; margin: 0 0 14px; }
.filename-note:empty { display: none; }
@media (max-width: 640px) { .prizes { grid-template-columns: 1fr; } }

/* selected file: no upload prompt, only Change / Remove */
.drop.has-file { cursor: default; border-style: solid; }
.drop.has-file input { pointer-events: none; }
.filebar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 14px; font-size: 14px; color: var(--muted); }
.filebar span { flex: 1 1 200px; word-break: break-all; }
.btn-small { border: 1.5px solid var(--navy); background: #fff; color: var(--navy); border-radius: 6px; padding: 6px 14px; font: inherit; font-weight: 700; cursor: pointer; }
.btn-small.ghost { border-color: var(--line); color: var(--bad); }

/* ===== v5 additions ===== */
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy-2); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
.deadlines { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.deadlines .deadline { margin: 0; }
.evcards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.evcard { display: block; border: 1.5px solid var(--line); border-left: 5px solid var(--gold); border-radius: 8px; padding: 12px 14px; text-decoration: none; color: var(--ink); background: #fcfdff; }
.evcard:hover { border-color: var(--navy); }
.evcard b { display: block; color: var(--navy); font-size: 17px; margin-bottom: 2px; }
.evcard > span { color: var(--muted); font-size: 14px; }
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-top: 18px; }
.two-col .panel { margin: 0; }
.panel h3 { color: var(--navy); margin: 0 0 6px; font-size: 19px; }
.panel.warn { border-color: #f1c4bf; background: #fff8f7; }
.panel.warn h3 { color: var(--bad); }
.rules.no { list-style: none; padding-left: 0; }
.rules.no li { position: relative; padding-left: 26px; }
.rules.no li::before { content: "✕"; position: absolute; left: 4px; top: 0; color: var(--bad); font-weight: 800; }
.theme { font-size: 18px; margin: 10px 0 0; }
.theme b { color: var(--navy); }
.small { font-size: 12.5px; opacity: .85; margin-top: 4px !important; }

fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.chooser .lead2 { font-size: 17px; font-weight: 600; margin: 0 0 14px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; font: inherit; cursor: pointer;
  background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 20px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.choice:hover, .choice:focus-visible { border-color: var(--navy); box-shadow: 0 6px 18px rgba(22,47,106,.12); transform: translateY(-2px); outline: none; }
.choice .cicon { width: 46px; height: 46px; border-radius: 50%; background: #eef2fa; color: var(--navy); display: grid; place-items: center; font-size: 22px; }
.choice b { color: var(--navy); font-size: 19px; }
.choice small { color: var(--muted); }
.choice .go { margin-top: 6px; background: var(--navy); color: #fff; border-radius: 8px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.formhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 3px solid var(--gold); padding-bottom: 10px; margin-bottom: 16px; }
.formhead h3 { margin: 0; color: var(--navy); }

.decl { background: #f8f9fc; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px 4px; }
.decl legend { float: left; width: 100%; margin-bottom: 8px; }
.decl .check { margin-bottom: 10px; }
.check[hidden] { display: none !important; }

.progress { margin: 0 0 12px; }
.pbar { height: 10px; background: #e6eaf2; border-radius: 6px; overflow: hidden; }
.pfill { height: 100%; width: 0; background: var(--navy); transition: width .25s; }
.pfill.busy { background: repeating-linear-gradient(45deg, var(--navy) 0 12px, #2c4a94 12px 24px); background-size: 34px 34px; animation: stripes 1s linear infinite; }
@keyframes stripes { to { background-position: 34px 0; } }
.progress p { margin: 6px 0 0; font-weight: 600; color: var(--navy); }

#faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
#faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
#faq details p { margin: 8px 0 0; }
.success .btn-outline { width: auto; margin-top: 10px; }
.drop-inner .hint { display: block; }

@media (max-width: 760px) {
  .two-col, .evcards, .choices { grid-template-columns: 1fr; }
}
/* phone fixes */
.evopt { position: relative; }
.evopt input { position: absolute; left: 8px; top: 8px; width: 1px; height: 1px; margin: 0; opacity: 0; }
.decl legend { float: none; display: block; }
.check > span { flex: 1; min-width: 0; }
.subject { background: #fdf6e3; border-left: 4px solid var(--gold); border-radius: 8px; padding: 14px 18px; margin: 18px 0; }
.subject b { color: var(--navy); font-size: 17px; }
.subject p { margin: 6px 0 0; line-height: 1.7; }
.keydates { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.keydates .kd { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: 10px; padding: 10px 16px; min-width: 170px; }
.keydates small { display: block; color: #f6d27a; font-size: 13px; font-weight: 600; }
.keydates b { display: block; color: #fff; font-size: 17px; margin-top: 2px; }
.keydates .soon { border-style: dashed; }
#closedNote { font-size: 16px; padding: 14px 16px; }
.count.over { color: var(--bad); font-weight: 700; }
.menubar a[aria-current="page"] { background: rgba(255,255,255,.14); box-shadow: inset 0 -3px 0 var(--gold); }
.hashtag input { font-weight: 600; } .hashtag .hint2 { display:block; color: var(--muted); font-size: 13px; margin-top: 4px; font-weight: 400; }
.mediaprev { margin: 10px 0 0; }
.mediaprev audio { width: 100%; }
.mediaprev video { width: 100%; max-height: 360px; background: #000; border-radius: 10px; }
.evdeadline { display: inline-block; background: #fff3d6; color: var(--navy); font-weight: 700; padding: 6px 12px; border-radius: 6px; margin: 0 0 12px; }
.choices { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
/* ---------- welcome screen ---------- */
body.w-open { overflow: hidden; }
.welcome { position: fixed; inset: 0; z-index: 50; background: rgba(10, 20, 50, .72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.welcome[hidden] { display: none; }
.w-card { position: relative; background: #fff; width: 100%; max-width: 780px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.w-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 18px; cursor: pointer; }
.w-x:hover, .w-x:focus-visible { background: rgba(255,255,255,.32); outline: 2px solid var(--gold); }
.w-head { display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, var(--navy), #24418a); color: #fff; padding: 20px 56px 18px 22px; border-bottom: 4px solid var(--gold); }
.w-emb { width: 58px; height: auto; background: #fff; border-radius: 50%; padding: 4px; }
.w-kick { margin: 0; font-size: 13px; color: #f6d27a; font-weight: 600; }
.w-head h2 { margin: 2px 0; font-size: 30px; line-height: 1.15; color: #fff; }
.w-sub { margin: 0; font-size: 14px; opacity: .9; }
.w-body, .w-page { line-height: 1.75; }
.w-body { overflow-y: auto; padding: 18px 24px 8px; }
.w-body h3, .w-page h3 { color: var(--navy); margin: 18px 0 6px; font-size: 18px; }
.w-intro { font-size: 16px; }
.w-high { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.w-high li { display: flex; gap: 10px; align-items: flex-start; background: #f5f7fb; border-radius: 10px; padding: 9px 12px; }
.hl-ic { flex: none; font-size: 20px; line-height: 1.5; }
.w-slogan { font-size: 20px; font-weight: 800; color: var(--navy); text-align: center; margin: 18px 0 2px; }
.w-thanks { text-align: center; color: var(--muted); margin: 0 0 10px; }
.w-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 14px 24px; border-top: 1px solid var(--line); background: #fbfcfe; }
.w-foot .btn { margin: 0; }
.w-lang button { padding: 6px 12px; }
@media (max-width: 560px) {
  .welcome { padding: 0; }
  .w-card { max-height: 100vh; height: 100%; border-radius: 0; }
  .w-head h2 { font-size: 24px; }
  .w-body { padding: 14px 16px 6px; }
  .w-foot { padding: 12px 16px; }
  .w-foot .btn { width: 100%; text-align: center; }
}
.keydates .soon { flex: 1 1 320px; }
.soonlist { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.soonlist .chip { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 999px; padding: 3px 11px; font-size: 14px; font-weight: 600; }
.soonlist .chip[hidden] { display: none; }
.keydates .kd[hidden] { display: none; }
/* ---------- "Namakkal 3🥚" ---------- */
/* the egg is as tall as the digit 3 and sits on the same baseline */
.egg { display: inline-block; width: .6em; height: .8em; margin: 0 .02em 0 .05em; vertical-align: -.07em;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(ellipse at 38% 28%, #ffffff 0 16%, #fdf0d2 46%, #efcd8f 100%);
  box-shadow: inset 0 0 0 .065em currentColor; }
.n30wrap { text-align: center; margin: 0 0 14px; }
/* "NAMAKKAL / 3🥚" mark: stacked letters (style 16) on a gold ribbon banner (style 9) */
.stack30 { display: flex; justify-content: center; }
.stack30 > .rib { position: relative; display: inline-flex; flex-direction: column; align-items: center; line-height: 1;
  background: linear-gradient(180deg, #f6c453, #e8a317 70%, #d9950f); color: var(--navy);
  padding: .32em 1.4em .26em; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }
.stack30 > .rib::before, .stack30 > .rib::after { content: ""; position: absolute; top: 34%; bottom: -16%; width: 1.3em; background: #c98a0c; z-index: -1; }
.stack30 > .rib::before { left: -1em; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 38% 50%); }
.stack30 > .rib::after { right: -1em; clip-path: polygon(0 0, 100% 0, 62% 50%, 100% 100%, 0 100%); }
.stack30 .st-top { font-weight: 800; font-size: clamp(26px, 4.4vw, 46px); }
:lang(en) .stack30 .st-top { letter-spacing: .22em; margin-right: -.22em; }
.stack30 .st-num { font-weight: 900; font-size: clamp(52px, 8.6vw, 90px); margin-top: .02em; }
.stack30 { position: relative; z-index: 0; margin-bottom: 34px; }
.hero h1.n30wrap { font-size: inherit; }

/* ---------- banner fits one screen in both languages ---------- */
.stack30 { margin-bottom: 18px; }
.stack30 .st-top { font-size: clamp(22px, 3.2vw, 36px); }
.stack30 .st-num { font-size: clamp(44px, 6.2vw, 68px); }
:lang(ta) .stack30 .st-top { font-size: clamp(20px, 2.7vw, 30px); }
:lang(ta) .stack30 .st-num { font-size: clamp(40px, 5.6vw, 60px); }
:lang(ta) .hero h1 { font-size: clamp(26px, 3.8vw, 40px); }
:lang(ta) .hero .sub { font-size: clamp(16px, 2.1vw, 19px); }
:lang(ta) .hero .lead { font-size: 15px; }
.keydates { margin-top: 16px; }
/* menu: every link visible — wraps to a second line instead of hiding links */
@media (min-width: 761px) {
  .menubar .row { flex-wrap: wrap; justify-content: center; overflow: visible; }
  .menubar a { padding: 11px 13px; }
  :lang(ta) .menubar a { font-size: 14px; padding: 11px 11px; }
}
@media (min-width: 761px) { .menubar .wrap { max-width: 1440px; } }
:lang(en) .stack30 .st-top { font-size: clamp(20px, 2.8vw, 30px); }
:lang(en) .stack30 .st-num { font-size: clamp(40px, 5.4vw, 58px); }
:lang(en) .hero h1 { font-size: clamp(28px, 4vw, 42px); }
/* real photos in the idea cards */
.card .ph { margin: 0; position: relative; aspect-ratio: 3 / 2; background: #e9edf5; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .ph figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 3px 8px; font-size: 10.5px; text-align: right;
  background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.card .ph figcaption a { color: #fff; text-decoration: none; opacity: .9; }
.card .ph figcaption a:hover { text-decoration: underline; }
.card.mascot .ph { aspect-ratio: 2 / 1; }
#logoRules { scroll-margin-top: 70px; }
