/*
Theme Name: Sampradaya Kala Kendra
Theme URI: https://sampradayakalakendra.com
Author: Sampradaya Kala Kendra
Author URI: https://sampradayakalakendra.com
Description: A warm, traditional blog theme for yoga, lifestyle, spirituality and self-improvement content. Includes a highlighted floating WhatsApp button for paid guest post enquiries, a Guest Post page template, sponsored-post badge, and customizer options.
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sampradaya
Tags: blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready, threaded-comments
*/

:root {
  --maroon: #7a1530;
  --maroon-dark: #5a0f23;
  --saffron: #c2410c;
  --gold: #d4a017;
  --cream: #fff9ef;
  --sand: #f6ead6;
  --ink: #2b2118;
  --muted: #6b5b4b;
  --line: #ead9bc;
  --white: #ffffff;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 6px 22px rgba(122, 21, 48, .10);
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--saffron); text-decoration: none; transition: color .2s; }
a:hover { color: var(--maroon); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--maroon); line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1.2em; }
.container { width: min(1200px, 92%); margin-inline: auto; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; background: #fff; padding: 10px 16px; clip: auto; width: auto; height: auto; }

/* ---------- Top bar ---------- */
.topbar { background: var(--maroon); color: #fbe9c8; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; flex-wrap: wrap; }
.topbar a { color: var(--gold); font-weight: 600; }
.topbar a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 900; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }
.site-branding img, .site-branding .custom-logo { max-height: 64px; width: auto; }
.site-title { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--maroon); margin: 0; }
.site-title a { color: inherit; }
.site-description { margin: 0; font-size: 13px; color: var(--muted); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 14px; color: var(--ink); font-weight: 500; font-size: 15px; border-radius: 8px; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-cat > a { background: var(--sand); color: var(--maroon); }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; flex-direction: column; align-items: stretch; z-index: 50; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }
.nav-cta a { background: var(--saffron); color: #fff !important; }
.nav-cta a:hover { background: var(--maroon); }

.menu-toggle { display: none; background: var(--maroon); color: #fff; border: 0; border-radius: 8px; padding: 9px 14px; font-size: 15px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, var(--maroon) 0%, #9f1239 55%, var(--saffron) 100%); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(253,230,138,.35), transparent 70%); }
.hero h1 { color: #fff; font-size: clamp(30px, 5vw, 52px); max-width: 780px; }
.hero p { max-width: 640px; font-size: 18px; color: #ffe9c9; }
.hero .btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.btn { display: inline-block; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: all .2s; }
.btn-gold { background: var(--gold); color: var(--maroon-dark); }
.btn-gold:hover { background: #fff; color: var(--maroon); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--maroon); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5b; color: #fff; }

/* ---------- Category chips ---------- */
.cat-strip { background: var(--sand); border-bottom: 1px solid var(--line); }
.cat-strip .container { display: flex; gap: 10px; padding: 14px 0; overflow-x: auto; }
.cat-strip a { white-space: nowrap; background: #fff; border: 1px solid var(--line); color: var(--maroon); padding: 7px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.cat-strip a:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }

/* ---------- Layout ---------- */
.site-content { padding: 44px 0 60px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; }
.layout.no-sidebar { grid-template-columns: minmax(0, 1fr); }
.section-title { font-size: 28px; position: relative; padding-bottom: 12px; margin-bottom: 26px; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 70px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--saffron)); }

/* ---------- Post cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(122,21,48,.16); }
.card-thumb { position: relative; aspect-ratio: 16/10; background: var(--sand); overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb .placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--sand), #f2d9a8); }
.card-thumb .placeholder img { width: 90px; height: 90px; opacity: .55; }
.card-cat { position: absolute; left: 12px; top: 12px; background: var(--maroon); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 999px; font-weight: 500; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 20px; margin-bottom: 8px; }
.card-title a { color: var(--maroon); }
.card-title a:hover { color: var(--saffron); }
.meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.card-excerpt { color: var(--ink); font-size: 15px; flex: 1; }
.read-more { font-weight: 600; font-size: 14px; }
.badge-sponsored { display: inline-block; background: #fff3cd; color: #7a5b00; border: 1px solid #f1d98a; font-size: 11px; font-weight: 600; padding: 1px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Single ---------- */
.entry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.entry-title { font-size: clamp(26px, 4vw, 40px); }
.entry-thumb { margin: 0 -34px 24px; }
.entry-thumb img { width: 100%; max-height: 460px; object-fit: cover; }
.entry-content { font-size: 17px; }
.entry-content h2 { font-size: 28px; margin-top: 1.6em; }
.entry-content h3 { font-size: 22px; margin-top: 1.4em; }
.entry-content blockquote { margin: 1.6em 0; padding: 18px 24px; background: var(--sand); border-left: 5px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-head); font-size: 20px; color: var(--maroon); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.entry-content img { border-radius: 10px; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--sand); }
.tags a { display: inline-block; background: var(--sand); color: var(--maroon); font-size: 13px; padding: 3px 12px; border-radius: 999px; margin: 0 6px 6px 0; }
.sponsor-note { background: #fffbea; border: 1px dashed var(--gold); padding: 10px 16px; border-radius: 10px; font-size: 14px; color: #6b5200; margin-bottom: 22px; }
.author-box { display: flex; gap: 18px; background: var(--sand); border-radius: var(--radius); padding: 20px; margin-top: 30px; align-items: center; }
.author-box img { border-radius: 50%; width: 72px; height: 72px; }
.post-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 28px; }
.post-nav a { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 18px; font-size: 14px; max-width: 48%; }

/* ---------- Sidebar ---------- */
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 26px; box-shadow: var(--shadow); }
.widget-title { font-size: 20px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); margin-bottom: 14px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.widget li:last-child { border-bottom: 0; }
.widget-cta { background: linear-gradient(135deg, var(--maroon), var(--saffron)); color: #fff; text-align: center; border: 0; }
.widget-cta h3, .widget-cta .widget-title { color: #fff; border-color: rgba(255,255,255,.4); }
.widget-cta p { color: #ffe9c9; font-size: 15px; }
.search-form { display: flex; gap: 6px; }
.search-form input[type=search] { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: inherit; font-size: 15px; min-width: 0; }
.search-form button, .search-submit { background: var(--maroon); color: #fff; border: 0; padding: 0 20px; border-radius: 999px; cursor: pointer; font-family: inherit; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination .page-numbers { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 15px; color: var(--maroon); font-weight: 500; }
.pagination .current, .pagination .page-numbers:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }

/* ---------- Comments ---------- */
.comments-area { margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { border-bottom: 1px solid var(--line); padding: 14px 0; }
.comment-respond input[type=text], .comment-respond input[type=email], .comment-respond input[type=url], .comment-respond textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; margin-bottom: 12px; }
.comment-respond .submit { background: var(--maroon); color: #fff; border: 0; padding: 12px 26px; border-radius: 999px; cursor: pointer; font-weight: 600; }

/* ---------- Guest post page ---------- */
.gp-hero { text-align: center; padding: 50px 0 30px; }
.gp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 30px 0; }
.gp-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.gp-box .icon { font-size: 34px; margin-bottom: 8px; }
.gp-box h3 { font-size: 19px; }
.gp-list li { margin-bottom: 8px; }
.gp-cta { background: linear-gradient(135deg, var(--maroon), var(--saffron)); color: #fff; border-radius: var(--radius); padding: 38px; text-align: center; margin-top: 34px; }
.gp-cta h2 { color: #fff; }
.gp-cta p { color: #ffe9c9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-dark); color: #f3dfc0; padding-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 36px; }
.site-footer h4 { color: var(--gold); font-size: 19px; }
.site-footer a { color: #f3dfc0; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 15px; }
.footer-logo img { max-width: 240px; background: #fff; border-radius: 12px; padding: 8px 12px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 14px; text-align: center; }

/* ---------- Floating WhatsApp button (right side) ---------- */
.wa-float { position: fixed; right: 18px; bottom: 90px; z-index: 99999; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-float a.wa-btn { position: relative; display: flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; padding: 12px 20px 12px 14px; border-radius: 999px; box-shadow: 0 8px 24px rgba(37,211,102,.55); font-weight: 600; font-size: 15px; line-height: 1.2; animation: wa-pulse 2s infinite; }
.wa-float a.wa-btn:hover { background: #1ebe5b; color: #fff; transform: scale(1.05); }
.wa-float svg { width: 34px; height: 34px; fill: #fff; flex-shrink: 0; }
.wa-float small { display: block; font-weight: 400; font-size: 11px; opacity: .95; }
.wa-badge { position: absolute; top: -9px; right: 8px; background: #e11d48; color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 999px; letter-spacing: .5px; text-transform: uppercase; }
.wa-tip { background: #fff; color: var(--maroon); border: 1px solid var(--gold); padding: 8px 14px; border-radius: 12px 12px 2px 12px; font-size: 13px; font-weight: 500; box-shadow: var(--shadow); max-width: 220px; position: relative; }
.wa-tip button { position: absolute; top: -9px; left: -9px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--maroon); color: #fff; cursor: pointer; font-size: 13px; line-height: 1; padding: 0; }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.7), 0 8px 24px rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0), 0 8px 24px rgba(37,211,102,.5); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 8px 24px rgba(37,211,102,.5); }
}
@media (prefers-reduced-motion: reduce) { .wa-float a.wa-btn { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 3px solid var(--gold); padding: 10px 4%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav .sub-menu { display: flex; position: static; box-shadow: none; border: 0; padding-left: 14px; }
  .post-grid { grid-template-columns: 1fr; }
  .entry { padding: 22px; }
  .entry-thumb { margin: 0 -22px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { right: 10px; bottom: 70px; }
  .wa-float a.wa-btn span.wa-text { display: none; }
  .wa-float a.wa-btn { padding: 12px; }
  .wa-tip { display: none; }
}

/* =====================================================
   v1.1 - Events, AI Tools, Calculators, Trending
   ===================================================== */
.hero-small { padding: 44px 0; }
.btn-outline-dark { border-color: var(--maroon); color: var(--maroon); background: transparent; padding: 9px 20px; font-size: 14px; }
.btn-outline-dark:hover { background: var(--maroon); color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.home-section { padding: 44px 0 20px; }
.home-section.alt { background: var(--sand); border-block: 1px solid var(--line); padding-bottom: 40px; margin-top: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }

/* Trending */
.trend-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.trend-list li { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; line-height: 1.5; }
.trend-list li:last-child { border-bottom: 0; }
.trend-num { flex: 0 0 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--saffron)); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.trend-list a { color: var(--ink); font-weight: 500; }
.trend-list a:hover { color: var(--saffron); }

/* Events */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event-list { display: grid; gap: 18px; }
.event-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); transition: transform .2s; }
.event-card:hover { transform: translateY(-3px); }
.event-card.is-past { opacity: .7; }
.event-date { flex: 0 0 72px; height: 84px; border-radius: 12px; background: linear-gradient(160deg, var(--maroon), var(--saffron)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.event-date .d { font-size: 28px; font-weight: 700; font-family: var(--font-head); }
.event-date .m { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.event-date .y { font-size: 11px; opacity: .85; }
.event-main { min-width: 0; }
.event-type { display: inline-block; background: #fff3cd; color: #7a5b00; border: 1px solid #f1d98a; font-size: 11px; font-weight: 600; padding: 1px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.event-title { font-size: 19px; margin-bottom: 6px; }
.event-title a { color: var(--maroon); }
.event-meta { list-style: none; margin: 0 0 8px; padding: 0; font-size: 14px; color: var(--muted); }
.event-meta li { margin-bottom: 2px; }
.event-meta.big { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; font-size: 15px; color: var(--ink); margin-bottom: 18px; }
.event-meta.big strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.event-box { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0 0 24px; }
.past-events { margin-top: 30px; }
.past-events summary { cursor: pointer; font-family: var(--font-head); font-size: 20px; color: var(--maroon); margin-bottom: 14px; }

/* AI tools */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.tool-head { display: flex; gap: 12px; align-items: center; margin-bottom: 4px; }
.tool-logo { flex: 0 0 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--maroon), var(--saffron)); color: #fff; font-family: var(--font-head); font-size: 22px; font-weight: 700; display: grid; place-items: center; overflow: hidden; }
.tool-logo img { width: 100%; height: 100%; object-fit: cover; }
.tool-name { font-size: 18px; margin: 0; }
.tool-new { background: #e11d48; color: #fff; font-size: 10px; padding: 1px 8px; border-radius: 999px; vertical-align: middle; text-transform: uppercase; font-family: var(--font-body); }
.tool-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 3px; }
.tool-tags span { background: var(--sand); color: var(--maroon); font-size: 11px; padding: 1px 9px; border-radius: 999px; }
.tool-tags .price { background: #e7f6ec; color: #17653a; }
.tool-desc { font-size: 14px; color: var(--ink); margin: 0; flex: 1; }
.tool-best { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.tool-card .btn { align-self: flex-start; }

/* Calculators */
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.calc-grid.single { grid-template-columns: minmax(280px, 520px); }
.calc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); scroll-margin-top: 110px; }
.calc-card h3 { font-size: 21px; margin-bottom: 4px; }
.calc-desc { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.calc-form label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.calc-form input[type=number], .calc-form input[type=time], .calc-form select, .breath-select { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 15px; background: #fff; color: var(--ink); }
.calc-form label.check { display: flex; gap: 8px; align-items: center; }
.calc-result { margin-top: 16px; padding: 0; font-size: 15px; }
.calc-result.is-ok { background: var(--sand); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.calc-result.is-error { color: #b42318; background: #fef3f2; border-radius: 10px; padding: 10px 14px; }
.calc-result .big { font-family: var(--font-head); font-size: 32px; font-weight: 700; color: var(--maroon); line-height: 1.2; }
.calc-result table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.calc-result td { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.calc-disclaimer { font-size: 13px; color: var(--muted); margin-top: 22px; }
.calc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.calc-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 12px; text-align: center; color: var(--maroon); display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.3; transition: transform .2s; }
.calc-tile:hover { transform: translateY(-3px); background: var(--maroon); color: #fff; }
.calc-tile span { font-size: 28px; }
.breath-stage { position: relative; height: 220px; display: grid; place-items: center; margin: 14px 0; }
.breath-circle { width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fde68a, var(--saffron)); box-shadow: 0 0 40px rgba(212,160,23,.5); transition-property: transform; transition-timing-function: ease-in-out; transition-duration: 0s; }
.breath-text { position: absolute; text-align: center; color: var(--maroon-dark); font-weight: 600; }
.breath-label { display: block; font-size: 18px; }
.breath-count { display: block; font-size: 28px; font-family: var(--font-head); }
.breath-cycles { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.side-events small { display: block; color: var(--muted); font-size: 12px; }

@media (max-width: 960px) {
  .event-grid { grid-template-columns: 1fr 1fr; }
  }
@media (max-width: 640px) {
  .event-grid { grid-template-columns: 1fr; }
  .event-meta.big { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .event-card { flex-direction: column; }
  .event-date { flex-basis: auto; width: 100%; height: auto; flex-direction: row; gap: 8px; padding: 8px; }
}
