/* Design D (owner decision 12.11.2026, design/README.md): colours of "Festive" (B) + structure of "Calendar" (A).
   No web fonts, no frameworks. */
:root {
  --bg: #f7f5ff; --card: #fff; --text: #1d1640; --muted: #6b6590; --line: #ebe7f8;
  --p: #5b3df5; --pink: #ff4f8b; --y: #ffc53d; --g: #19c39a; --o: #ff8a3d; --dark: #1d1640;
  --r: 18px; --wrap: 1180px; --shadow: 0 2px 10px rgba(40, 20, 120, .06);
  /* old names, used by article texts */
  --brand: #5b3df5; --accent: #5b3df5; --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }

/* header */
.top { background: var(--dark); color: #fff; }
.top-row { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.logo-h1 { margin: 0; font: inherit; }
.logo { font-weight: 900; font-size: 22px; letter-spacing: -.4px; white-space: nowrap; color: #fff; }
.logo b { background: linear-gradient(90deg, var(--y), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo small { font-size: .62em; color: #bdb6e8; font-weight: 700; -webkit-text-fill-color: #bdb6e8; }
.logo::before { content: "🎉 "; }
.search { flex: 1; max-width: 400px; margin-left: auto; }
.search input { width: 100%; padding: 10px 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: 15px; }
.search input::placeholder { color: #bdb6e8; }
.langs { display: flex; gap: 4px; }
.langs a { font-weight: 800; font-size: 14px; padding: 6px 11px; border-radius: 999px; color: #bdb6e8; }
.langs a.on { background: var(--y); color: var(--dark); }
.cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 0 14px; }
.cats::-webkit-scrollbar { display: none; }
.cats a { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-weight: 600; font-size: 14px; white-space: nowrap; color: #e4e0ff; }
.cats a:hover { background: rgba(255, 255, 255, .16); }
.cats a.on { background: #fff; color: var(--dark); }
.cats a.calbtn { background: var(--y); color: var(--dark); }

main { padding-bottom: 8px; }

/* dark band under the header (home hero, category head, article head) */
.band { background: radial-gradient(circle at 88% 10%, #ff4f8b55, transparent 38%), radial-gradient(circle at 5% 100%, #5b3df588, transparent 45%), var(--dark); color: #fff; }
.band .crumbs, .band .crumbs a { color: #bdb6e8; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding: 40px 16px 56px; }
.hero-title { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; margin: 0 0 14px; letter-spacing: -1px; font-weight: 800; }
.hero-title span { color: var(--y); }
.hero-text { color: #cfc9f5; font-size: 19px; margin: 0 0 22px; }
.big-search { display: flex; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.big-search input { flex: 1; min-width: 0; border: 0; padding: 16px 18px; font: inherit; font-size: 18px; color: var(--text); }
.big-search button { border: 0; background: var(--pink); color: #fff; font: inherit; font-weight: 800; padding: 0 26px; cursor: pointer; }
.chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { font-size: 14px; padding: 6px 13px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #e4e0ff; }
.chips a:hover { background: rgba(255, 255, 255, .2); }
.todaybox { background: #fff; color: var(--text); border-radius: 22px; padding: 22px 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.todaybox h2 { margin: 0 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .9px; color: var(--pink); }
.todaybox a { display: flex; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 700; line-height: 1.3; }
.todaybox a:first-of-type { border: 0; }
.todaybox .e { font-size: 24px; width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; flex: none; }
.todaybox small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }

/* section titles */
h2.sec { font-size: 28px; margin: 44px 0 18px; letter-spacing: -.6px; line-height: 1.2; }
h2.sec em { color: var(--p); font-style: normal; }
h2.sec a { float: right; margin-top: 8px; font-size: 15px; color: var(--p); font-weight: 700; letter-spacing: 0; }
h2.sec.first { margin-top: 0; }

/* next big holiday */
.feature { display: grid; grid-template-columns: 1.25fr 1fr; border-radius: 24px; overflow: hidden; background: var(--dark); color: #fff; box-shadow: 0 10px 30px rgba(40, 20, 120, .15); }
.feature .fimg { background: #fff; min-height: 300px; }
.feature .fimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature .fimg, .feature .in { display: block; }
.feature .in { padding: 32px; background: radial-gradient(circle at 100% 0, #ff4f8b44, transparent 50%); }
.k { display: inline-block; background: var(--pink); padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: #fff; }
.feature h3 { font-size: 34px; line-height: 1.12; margin: 14px 0 10px; letter-spacing: -.6px; }
.feature p { color: #cfc9f5; margin: 0 0 18px; }
.cd { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 20px; }
.cd > span { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 10px 16px; text-align: center; }
.cd b { display: block; display: block; font-size: 30px; line-height: 1.05; color: var(--y); }
.cd small { color: #cfc9f5; font-size: 12px; }
.btn { display: inline-block; background: var(--y); color: var(--dark); padding: 12px 22px; border-radius: 999px; font-weight: 800; }

/* rows with calendar sheets */
.list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; }
.list1 { display: grid; gap: 10px; }
.row { display: flex; gap: 14px; align-items: center; padding: 12px 16px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); }
.row:hover { box-shadow: 0 6px 18px rgba(40, 20, 120, .12); }
.row .t { flex: 1; min-width: 0; font-weight: 700; line-height: 1.3; }
.row .t small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; margin-top: 2px; }
.row .w { font-size: 13px; font-weight: 800; white-space: nowrap; background: var(--bg); color: var(--p); padding: 4px 10px; border-radius: 999px; }
.sheet { flex: none; width: 54px; border-radius: 12px; overflow: hidden; text-align: center; background: #fff; box-shadow: 0 1px 4px rgba(40, 20, 120, .15); font-weight: 900; color: var(--text); }
.sheet b { display: block; background: var(--c, var(--p)); color: #fff; font-size: 11px; letter-spacing: 1px; padding: 3px 0; text-transform: uppercase; }
.sheet span { display: block; font-size: 22px; line-height: 1.4; }
.sheet.big { width: 84px; border-radius: 16px; }
.sheet.big b { font-size: 13px; padding: 5px 0; }
.sheet.big span { font-size: 38px; }
.c0 { --c: #5b3df5; } .c1 { --c: #ff4f8b; } .c2 { --c: #ff8a3d; } .c3 { --c: #19c39a; }

/* cards */
.tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tl.c3s { grid-template-columns: repeat(3, 1fr); }
.tc { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; }
.tc:hover { box-shadow: 0 6px 18px rgba(40, 20, 120, .12); }
.tc .ti { display: block; aspect-ratio: 16 / 10; background: #ece8fb; overflow: hidden; }
.tc .ti img { width: 100%; height: 100%; object-fit: cover; display: block; }
.noimg { display: grid; place-items: center; height: 100%; font-size: 44px; line-height: 1; }
.tc .b { padding: 12px 16px 16px; }
.tc h3 { margin: 4px 0 0; font-size: 17px; line-height: 1.25; }
.tc .when { position: absolute; top: 10px; left: 10px; background: #fff; border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 13px; color: var(--p); }
.tc:nth-child(4n+2) .when { color: var(--pink); } .tc:nth-child(4n+3) .when { color: #d48b00; } .tc:nth-child(4n) .when { color: var(--g); }
.tc .d { color: var(--muted); font-size: 14px; }
.tc .ex { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tiles a { border-radius: var(--r); padding: 20px 22px; color: #fff; font-weight: 800; font-size: 20px; line-height: 1.25; }
.tiles small { display: block; font-weight: 500; font-size: 14px; opacity: .85; }
.tiles a:nth-child(8n+1) { background: #5b3df5; } .tiles a:nth-child(8n+2) { background: #ff4f8b; } .tiles a:nth-child(8n+3) { background: #19c39a; }
.tiles a:nth-child(8n+4) { background: #ff8a3d; } .tiles a:nth-child(8n+5) { background: #e2453c; } .tiles a:nth-child(8n+6) { background: #1aa4ce; }
.tiles a:nth-child(8n+7) { background: #a05cf0; } .tiles a:nth-child(8n) { background: #1d1640; }

/* two columns with a sidebar */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; margin-top: 28px; }
aside.side .box { background: #fff; border-radius: var(--r); padding: 18px 20px; margin-bottom: 18px; box-shadow: var(--shadow); }
aside.side h4, .box h4, .calbig h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .9px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.box h4 a, .calbig h4 a { color: var(--p); font-size: 18px; line-height: 1; padding: 0 4px; }
.ny { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ny b { color: var(--p); text-align: right; }
.ny.now { border: 0; background: var(--p); color: #fff; border-radius: 12px; padding: 10px 12px; margin-bottom: 4px; }
.ny.now b { color: var(--y); }
.toc { margin: 0; padding: 0; list-style: none; counter-reset: t; font-size: 15px; line-height: 1.35; }
.toc li { counter-increment: t; padding: 7px 0; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.toc li:first-child { border: 0; }
.toc li::before { content: counter(t); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); color: var(--p); font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.toc a:hover { color: var(--p); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 14px; }
.cal i { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 700; padding-bottom: 4px; }
.cal span, .cal a { padding: 5px 0; border-radius: 9px; }
.cal span { color: #c4bfdc; }
.cal a { background: var(--bg); color: var(--p); font-weight: 700; }
.cal a:hover { background: #e6e0ff; }
.cal a.sel { background: var(--p); color: #fff; }
.cal a.today, .cal span.today { background: var(--pink); color: #fff; }
.calnote { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.calnote a { color: var(--p); font-weight: 700; }
.mini { display: grid; grid-template-columns: 52px 1fr; gap: 1px 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.3; }
.mini:first-of-type, .box h4 + .mini { border: 0; }
.mini .md { grid-row: span 2; font-weight: 800; font-size: 12px; color: var(--pink); text-transform: uppercase; padding-top: 2px; }
.mini .mt { font-weight: 600; }
.mini .mw { font-size: 12px; color: var(--muted); }
.mini:hover .mt { color: var(--p); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--bg); font-weight: 600; }
.pills a:hover { background: var(--p); color: #fff; }
aside.side .box.cta, .box.cta { background: linear-gradient(135deg, var(--p), var(--pink)); color: #fff; }
.box.cta h4 { color: #fff; }
.box.cta p { margin: 0 0 12px; font-size: 15px; }
.box.cta .btnw { display: inline-block; background: #fff; color: var(--p); font-weight: 800; padding: 8px 16px; border-radius: 999px; font-size: 14px; }
.box.cta form { display: flex; background: #fff; border-radius: 999px; overflow: hidden; }
.box.cta input { flex: 1; min-width: 0; border: 0; padding: 9px 14px; font: inherit; font-size: 15px; }
.box.cta button { border: 0; background: var(--y); color: var(--dark); font-weight: 800; padding: 0 14px; cursor: pointer; font: inherit; font-size: 14px; }
.sticky { position: sticky; top: 16px; }

/* category / calendar head */
.chead { padding: 30px 16px 34px; }
.chead h1 { font-size: clamp(30px, 4.4vw, 48px); margin: 8px 0 8px; letter-spacing: -.8px; line-height: 1.1; }
.chead .intro { color: #cfc9f5; max-width: 760px; margin: 0 0 18px; font-size: 18px; }
.stats { display: flex; gap: 10px; flex-wrap: wrap; }
.stats > span { background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 7px 14px; font-size: 15px; }
.stats b { color: var(--y); }
.months { display: flex; gap: 6px; flex-wrap: wrap; margin: 22px 0 0; }
.months a { padding: 7px 13px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-weight: 700; font-size: 14px; color: #e4e0ff; }
.months a:hover { background: rgba(255, 255, 255, .18); }
.months a.on { background: var(--y); color: var(--dark); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 30px 0 0; }
.pager a, .pager span { min-width: 42px; text-align: center; padding: 9px 12px; border-radius: 12px; background: #fff; font-weight: 700; box-shadow: var(--shadow); }
.pager .cur { background: var(--p); color: #fff; }
.pager .gap { background: none; box-shadow: none; }

/* calendar pages */
.calbig { background: #fff; border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.calbig .cal { font-size: 16px; gap: 6px; }
.calbig .cal a, .calbig .cal span { padding: 10px 0; }
.calbig .cal a small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.calbig .cal a.today small { color: #fff; }
.day { scroll-margin-top: 16px; margin: 0 0 26px; }
.day h2 { font-size: 22px; margin: 0 0 10px; display: flex; gap: 12px; align-items: center; letter-spacing: -.3px; }
.months-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.months-grid .box { background: #fff; border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); }
.months-grid h3 { margin: 0 0 10px; font-size: 18px; display: flex; justify-content: space-between; }
.months-grid h3 small { color: var(--muted); font-weight: 600; font-size: 13px; }

/* article */
.ahead { padding: 26px 16px 30px; }
.ahead h1, .ahead .post-title { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.12; margin: 10px 0 8px; letter-spacing: -.8px; max-width: 860px; }
.ahead .meta { color: #bdb6e8; font-size: 14px; margin: 0; }
.ahead .meta a { color: #e4e0ff; text-decoration: underline; }
.datecard { display: flex; gap: 20px; align-items: center; background: #fff; color: var(--text); border-radius: 22px; padding: 18px 22px; margin: 22px 0 0; max-width: 780px; box-shadow: 0 14px 40px rgba(0, 0, 0, .25); }
.datecard .d { flex: 1; min-width: 0; }
.datecard .d b { font-size: 23px; display: block; line-height: 1.25; }
.datecard .d small { color: var(--muted); font-size: 14px; display: block; }
.datecard .c { text-align: center; background: var(--bg); border-radius: 16px; padding: 10px 16px; flex: none; }
.datecard .c b { display: block; font-size: 34px; color: var(--pink); line-height: 1; }
.datecard .c small { font-size: 12px; color: var(--muted); }
.post { background: #fff; border-radius: 22px; padding: 30px clamp(18px, 3.4vw, 40px); box-shadow: var(--shadow); }
.cover { margin: 0 0 22px; }
.cover img { border-radius: 16px; display: block; width: 100%; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.share a, .share button { padding: 7px 14px; border-radius: 999px; background: var(--bg); font-weight: 700; color: var(--text); border: 0; font: inherit; font-size: 14px; cursor: pointer; }
.share a:hover, .share button:hover { background: var(--p); color: #fff; }

/* article text (from the old site) */
.content { overflow-wrap: anywhere; }
.content a { color: var(--p); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.content h1 { font-size: 30px; line-height: 1.25; }
.content h2 { font-size: 27px; line-height: 1.25; margin: 1.5em 0 .5em; letter-spacing: -.4px; scroll-margin-top: 16px; }
.content h3 { font-size: 21px; margin: 1.4em 0 .4em; }
.content img { border-radius: 12px; }
.content .aligncenter, .content figure.aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.content .alignleft { float: left; margin: 0 20px 12px 0; }
.content .alignright { float: right; margin: 0 0 12px 20px; }
.content figure { margin: 1.4em 0; }
.content table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.content td, .content th { border: 1px solid var(--line); padding: 8px 10px; }
.content blockquote { margin: 1.2em 0; padding: 6px 20px; border-left: 4px solid var(--p); background: var(--bg); border-radius: 0 12px 12px 0; }
.content iframe { max-width: 100%; }
.content .video { position: relative; aspect-ratio: 16 / 9; margin: 1.4em 0; }
.content .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.content ul.nicelist li { margin: 4px 0; }
.content ul.timeline { list-style: none; padding: 0 0 0 18px; border-left: 3px solid var(--line); }
.content ul.timeline li { margin: 0 0 18px; }
.content .flag { font-weight: 800; color: var(--pink); }
.content .time { color: var(--muted); font-size: 14px; }
.content .mec-events-event-image { position: relative; margin: 1.4em 0; }
.content .mec-events-event-image img { display: block; width: 100%; }
.content .mec-events-event-image::before { position: absolute !important; top: 14px !important; left: 14px; background: var(--p); color: #fff; font-weight: 800; padding: 6px 12px; border-radius: 8px; }
.content .schema-faq-section { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
.content .schema-faq-question { font-weight: 700; display: block; }
.chart { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.chart figcaption { font-weight: 700; margin-bottom: 8px; }
.chart ul { list-style: none; margin: 0; padding: 0; }
.chart li { display: grid; grid-template-columns: minmax(90px, 30%) 1fr auto; align-items: center; gap: 10px; margin: 6px 0; font-size: 15px; }
.chart-bar { height: 12px; background: var(--p); border-radius: 6px; min-width: 4px; }
.tags { margin-top: 24px; font-size: 15px; color: var(--muted); }
.tags a { color: var(--p); }
.comments { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 16px; }
.comments ol { list-style: none; padding: 0; }
.comments li { background: var(--bg); border-radius: 12px; padding: 10px 16px; margin: 0 0 12px; }
.comments li.reply { margin-left: 32px; }
.c-head { margin: 0; font-size: 14px; color: var(--muted); }

/* light YouTube (thumbnail until click) */
.yt { position: relative; display: block; max-width: 640px; aspect-ratio: 16 / 9; margin: 16px 0; background: #000; border-radius: 14px; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; border-radius: 0; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; background: #e62117; border-radius: 12px; transition: transform .15s; }
.yt-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt-play, .yt:focus-visible .yt-play { transform: scale(1.1); }
.yt-frame { display: block; width: 100%; max-width: 640px; aspect-ratio: 16 / 9; height: auto; border: 0; margin: 16px 0; border-radius: 14px; }

/* simple pages: search, 404 */
.page-head { padding: 30px 16px 34px; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.6px; }
.page-head p { margin: 0; color: #cfc9f5; }
.search-page input { width: 100%; padding: 14px 18px; font: inherit; border: 2px solid var(--line); border-radius: 14px; background: #fff; }

/* footer */
.foot { margin-top: 64px; background: var(--dark); color: #bdb6e8; padding: 36px 0 28px; font-size: 15px; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.fgrid h5 { color: #fff; margin: 0 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .8px; }
.fgrid a { display: block; padding: 3px 0; }
.fgrid a:hover { color: #fff; }
.fgrid p { margin: 10px 0 0; }
.copy { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }

/* tablets */
/* 404 page (components/NotFound.astro) */
.nf { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding: 44px 16px 56px; }
.nfsheet { width: 210px; border-radius: 28px; overflow: hidden; background: #fff; color: var(--dark); text-align: center; font-weight: 900; box-shadow: 0 18px 44px rgba(0, 0, 0, .35); transform: rotate(-6deg); }
.nfsheet b { display: block; background: var(--pink); color: #fff; font-size: 22px; letter-spacing: 3px; text-transform: uppercase; padding: 10px 0; }
.nfsheet span { display: block; font-size: 86px; line-height: 1.2; letter-spacing: -3px; }
.nfsheet i { display: block; font-style: normal; font-size: 18px; padding-bottom: 14px; letter-spacing: 4px; }
.nf h1 { margin: 0 0 12px; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -1px; }
.nf .intro { margin: 0 0 22px; color: #cfc9f5; font-size: 18px; max-width: 640px; }
.nfbtns { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn.ghost { background: rgba(255, 255, 255, .12); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .2); }

@media (max-width: 960px) {
  .hero, .feature, .cols { grid-template-columns: 1fr; }
  .tl, .tiles, .fgrid { grid-template-columns: 1fr 1fr; }
  .tl.c3s, .months-grid { grid-template-columns: 1fr 1fr; }
  .hero { gap: 28px; padding: 30px 16px 40px; }
  .feature .fimg { min-height: 0; aspect-ratio: 16 / 9; }
}
/* phones */
@media (max-width: 640px) {
  .nf { grid-template-columns: 1fr; gap: 26px; padding-top: 30px; }
  .nfsheet { width: 140px; border-radius: 20px; }
  .nfsheet b { font-size: 16px; padding: 7px 0; }
  .nfsheet span { font-size: 56px; }
  .nfsheet i { font-size: 14px; padding-bottom: 10px; }
  body { font-size: 16px; }
  .top-row { flex-wrap: wrap; gap: 8px 12px; padding: 10px 0; min-height: 0; }
  .logo { font-size: 20px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .langs { margin-left: auto; }
  .list { grid-template-columns: 1fr; }
  .tl, .tl.c3s { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tc h3 { font-size: 15px; }
  .tc .b { padding: 10px 12px 12px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tiles a { font-size: 17px; padding: 16px; }
  .months-grid, .fgrid { grid-template-columns: 1fr; }
  h2.sec { font-size: 23px; margin: 34px 0 14px; }
  h2.sec a { float: none; display: block; margin: 4px 0 0; }
  .feature .in { padding: 22px; }
  .feature h3 { font-size: 27px; }
  .cd b { font-size: 24px; }
  .big-search input { font-size: 16px; padding: 14px; }
  .big-search button { padding: 0 16px; }
  .datecard { flex-wrap: wrap; gap: 14px; padding: 16px; }
  .datecard .sheet.big { width: 64px; }
  .datecard .sheet.big span { font-size: 28px; }
  .datecard .d b { font-size: 19px; }
  .datecard .c { width: 100%; display: flex; gap: 10px; align-items: baseline; justify-content: center; }
  .datecard .c br { display: none; }
  .datecard .c .u::after { content: " · "; }
  .post { padding: 20px 16px; border-radius: 18px; }
  .row { padding: 10px 12px; gap: 12px; }
  .row .w { display: none; }
  .content .alignleft, .content .alignright { float: none; margin: 1em auto; }
  .calbig { padding: 12px; }
  .calbig .cal { gap: 3px; font-size: 14px; }
  .calbig .cal a small { display: none; }
  .comments li.reply { margin-left: 16px; }
}
