/*!
Theme Name: Theyyamkannur
Theme URI: https://theyyamkannur.in/
Author: Customized Theme
Author URI: https://theyyamkannur.in/
Description: Site specific Design
Version: 1.0.3
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: theyyamkannur
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Theyyamkannur is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
 @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

    :root{
      --ink:#f4ead9;
      --muted:#c8b8a4;
      --red:#8e1716;
      --red2:#b52a20;
      --gold:#c58a46;
      --black:#090605;
      --cream:#eee0c8;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      background:var(--black);
      color:var(--ink);
      font-family:"DM Sans",Arial,sans-serif;
    }
    a{color:inherit;text-decoration:none}
    .page{
      min-height:100vh;
      position:relative;
     /* overflow:hidden;*/
      background:
        radial-gradient(circle at 75% 20%, rgba(181,42,32,.18), transparent 30%),
        radial-gradient(circle at 20% 80%, rgba(197,138,70,.09), transparent 30%),
        #090605;
    }
    .hero{
      min-height:100vh;
      position:relative;
      display:flex;
      align-items:center;
      isolation:isolate;
      overflow:hidden;
      background:#090605 url("/comingsoon/assets/hero-original.jpg") center/cover no-repeat;
    }
    .hero-video{
      position:absolute;inset:0;width:100%;height:100%;
      object-fit:cover;z-index:-3;
    }
    .hero::before{
      content:"";
      position:absolute;
      inset:0;
      background:
        linear-gradient(90deg, rgba(5,3,3,.78) 0%, rgba(5,3,3,.42) 42%, rgba(5,3,3,.20) 100%),
        linear-gradient(0deg, rgba(5,3,3,.62) 0%, rgba(5,3,3,.10) 58%, rgba(5,3,3,.46) 100%);
      z-index:-2;
      transform:scale(1.01);
    }
    .hero::after{
      content:"";
      position:absolute;
      inset:0;
      z-index:-1;
      background:
        radial-gradient(circle at 50% 50%, transparent 0 38%, rgba(0,0,0,.26) 100%),
        repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0 1px, transparent 1px 4px);
      pointer-events:none;
    }
    .topbar{
      position:absolute;
      top:0;left:0;right:0;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:22px clamp(24px,4vw,72px);
      border:0;
      background:linear-gradient(180deg,rgba(7,4,3,.48),transparent);
    }
    .brand{display:flex;align-items:center;gap:0}
    .brand img{
      width:68px;height:58px;object-fit:contain;
      filter:drop-shadow(0 2px 8px rgba(0,0,0,.6));
    }
    .brand-name{
      font-family:"Cormorant Garamond",serif;
      font-size:22px;
      letter-spacing:.01em;
      font-weight:600;
    }
    .brand-sub{
      display:block;
      font:500 9px/1 "DM Sans",sans-serif;
      letter-spacing:.28em;
      text-transform:uppercase;
      color:#c9b59b;
      margin-top:4px;
    }
    .top-note{
      font-size:11px;
      letter-spacing:.22em;
      text-transform:uppercase;
      color:#d5c4ad;
    }
    .hero-content{
      width:100%;
      max-width:none;
      margin:0;
      padding:90px 7vw 50px;
      position:relative;
      z-index:1;
    }
    .eyebrow{
      color:#d6a15e;
      font-size:11px;
      font-weight:600;
      letter-spacing:.32em;
      text-transform:uppercase;
      margin-bottom:18px;
    }
    h1{
      font-family:"Cormorant Garamond",serif;
      font-weight:500;
      font-size:clamp(76px,8.2vw,138px);
      line-height:.82;
      letter-spacing:-.045em;
      max-width:900px;
      margin:0 0 28px;
      text-shadow:0 8px 35px rgba(0,0,0,.35);
    }
    .lead{
      max-width:690px;
      color:#e2d4c2;
      font-size:clamp(16px,1.7vw,20px);
      line-height:1.65;
      margin:0 0 34px;
    }
    .actions{display:flex;flex-wrap:wrap;gap:12px}
    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:50px;
      padding:0 22px;
      border:1px solid rgba(197,138,70,.65);
      border-radius:3px;
      text-transform:uppercase;
      letter-spacing:.16em;
      font-size:10px;
      font-weight:600;
      transition:.2s ease;
    }
    .btn-primary{
      background:var(--red);
      border-color:var(--red);
      box-shadow:0 10px 30px rgba(0,0,0,.3);
    }
    .btn-primary:hover{background:var(--red2);transform:translateY(-2px)}
    .btn-ghost:hover{background:rgba(255,255,255,.08);transform:translateY(-2px)}
    .contact{
      display:flex;
      align-items:center;
      gap:12px;
      margin-top:26px;
      color:#d4c5b1;
      font-size:13px;
    }
    .contact strong{color:#fff;font-weight:500}
    .contact-dot{width:5px;height:5px;border-radius:50%;background:var(--gold)}
    .scroll{display:none}
    .section{
      background:var(--cream);
      color:#2b1712;
      padding:90px clamp(20px,5vw,76px);
    }
    .section-inner{max-width:1180px;margin:auto}
    .intro-grid{
      display:grid;
      grid-template-columns:1fr 1.3fr;
      gap:60px;
      align-items:end;
    }
    .kicker{
      text-transform:uppercase;
      letter-spacing:.26em;
      font-size:10px;
      color:#8e1716;
      font-weight:600;
    }
    .section h2{
      font-family:"Cormorant Garamond",serif;
      font-size:clamp(42px,6vw,74px);
      line-height:.95;
      font-weight:500;
      margin:12px 0 0;
    }
    .section p{
      color:#59463b;
      font-size:16px;
      line-height:1.8;
      max-width:650px;
    }
    .gallery{
      margin-top:55px;
      display:grid;
      grid-template-columns:1.15fr .85fr .85fr;
      gap:12px;
    }
    .gallery figure{margin:0;overflow:hidden;background:#2b1712}
    .gallery img{
      display:block;width:100%;height:100%;object-fit:cover;
      filter:saturate(.92);
      transition:transform .7s ease;
    }
    .gallery figure:hover img{transform:scale(1.04)}
    .gallery .tall{height:580px}
    .gallery .small{height:280px}
    .gallery .stack{display:grid;gap:12px}
    .closing{
      background:
        linear-gradient(90deg,rgba(24,5,4,.98),rgba(50,7,5,.78)),
        url("/comingsoon/assets/theyyam-08.jpg") center/cover;
      color:#f4ead9;
      padding:95px clamp(20px,5vw,76px);
      position:relative;
      overflow:hidden;
    }
    .closing-inner{max-width:1180px;margin:auto;display:flex;justify-content:space-between;gap:50px;align-items:end}
    .closing h2{max-width:650px;margin:10px 0 18px;font-size:clamp(44px,6vw,76px)}
    .closing p{max-width:560px;color:#d9c7b4;line-height:1.75}
    footer{
      padding:28px clamp(20px,5vw,76px);
      background:#090605;
      color:#9e8c79;
      font-size:11px;
      letter-spacing:.12em;
      text-transform:uppercase;
      display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;
    }
    @media(max-width:800px){
      .top-note{display:none}
      .topbar{padding:16px 18px}
      .brand img{width:42px;height:42px}
      .brand-name{font-size:20px}
      .hero{min-height:780px}
      .hero::before{
        background:
          linear-gradient(180deg,rgba(5,3,3,.48),rgba(5,3,3,.08) 34%,rgba(5,3,3,.88) 88%),
          url("/comingsoon/assets/theyyam-04.jpg") 58% center/cover no-repeat;
      }
      .hero-content{padding:0 22px 70px}
      h1{font-size:clamp(58px,17vw,88px);max-width:560px}
      .lead{font-size:15px;line-height:1.55}
      .scroll{display:none}
      .intro-grid{grid-template-columns:1fr;gap:20px}
      .section{padding:68px 20px}
      .gallery{grid-template-columns:1fr 1fr}
      .gallery .tall{height:420px;grid-row:span 2}
      .gallery .small{height:204px}
      .closing-inner{display:block}
    }
    @media(max-width:500px){
      .gallery{grid-template-columns:1fr}
      .gallery .tall,.gallery .small{height:390px}
      .gallery .stack{display:contents}
      .actions .btn{width:100%}
      .contact{flex-wrap:wrap}
      .guidance-callout{align-items:flex-start;flex-direction:column;padding:15px;margin-bottom:22px}
      .guidance-call-link{width:100%}
    }

    /* Live calendar section — independent of the main website design */
    .top-links{display:flex;align-items:center;gap:22px}
    .top-links a{color:var(--gold);font-size:10px;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;border-bottom:1px solid rgba(197,138,70,.45);padding-bottom:5px}
    .live-calendar{background:var(--cream);color:#211711;padding:clamp(28px,3vw,48px) clamp(16px,3vw,52px)}
    .calendar-inner{width:100%;max-width:none;margin:0 auto}
    .guidance-callout{display:flex;align-items:center;justify-content:flex-start;gap:18px;margin:0 0 28px;padding:16px 22px;background:#2b1d17;border:0;border-left:4px solid #c58a46;border-radius:6px;color:#f4ead9;box-shadow:0 8px 24px rgba(39,24,12,.08)}
    .guidance-copy{display:flex;align-items:center;gap:14px;min-width:0}
    .guidance-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:rgba(197,138,70,.14);color:#e2b75f;font-size:20px;line-height:1}
    .guidance-copy strong{display:block;color:#fff0d9;font-size:15px;margin:0 0 3px}
    .guidance-copy span{display:block;color:#d6c5b0;font-size:13px;line-height:1.5}
    .guidance-call-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;padding:11px 16px;border:1px solid #c58a46;border-radius:4px;color:#f4d59b;background:rgba(197,138,70,.1);font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
    .guidance-call-link:hover{background:#c58a46;color:#211711}
    .calendar-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:22px}
    .calendar-kicker{color:#8e3025;font-size:11px;letter-spacing:.2em;text-transform:uppercase;font-weight:700}
    .calendar-heading h2{font:600 clamp(32px,4.5vw,54px)/1 'Cormorant Garamond',Georgia,serif;margin:10px 0 8px;color:#271b16}
    .calendar-heading p{color:#69584c;margin:0;line-height:1.6;max-width:640px}
    .calendar-controls{display:flex;align-items:center;gap:8px;flex-shrink:0}
    .calendar-controls button{border:1px solid #d4c2a6;background:#fff8eb;color:#5c291f;border-radius:3px;padding:10px 13px;cursor:pointer;font:600 13px 'DM Sans',sans-serif}
    .calendar-controls button:hover{background:#e8d7ba}
    .calendar-shell{background:#1d1713;color:#f4ead9;border:1px solid #b77b35;border-radius:12px;padding:16px;box-shadow:0 18px 44px rgba(39,24,12,.12)}
    .calendar-monthbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px}
    .calendar-monthbar h3{font:600 25px 'Cormorant Garamond',Georgia,serif;margin:0;color:#fff2df}
    .calendar-status{font-size:11px;color:#c7b59e}
    .calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
    .calendar-weekday{text-align:center;color:#c6b69f;font-size:11px;letter-spacing:.08em;padding:7px 0;text-transform:uppercase}
    .calendar-day{min-height:clamp(100px,8.5vw,145px);min-width:0;background:#29221d;border:1px solid rgba(255,255,255,.045);border-radius:5px;padding:7px 6px;overflow:hidden}
    .calendar-day.is-empty{background:transparent;border-color:transparent}
    .calendar-day.has-events{background:#34231b;border-color:#8f4327}
    .calendar-day-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
    .calendar-day-number{font-size:12px;color:#f2e5d1}
    .calendar-day.has-events .calendar-day-number{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:50%;background:#8e3025;color:#fff5e8}
    .calendar-event{display:block;width:100%;text-align:left;border:0;border-radius:3px;background:#d69a36;color:#26170c;font:500 10px/1.35 'DM Sans',sans-serif;padding:5px 6px;margin:4px 0 0;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .calendar-event:hover{background:#f0bb5a;transform:translateY(-1px)}
    .calendar-more{font-size:10px;color:#e7c58c;padding:4px 2px}
    .calendar-legend{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:13px;color:#cbbba4;font-size:11px;line-height:1.5}
    .calendar-legend strong{color:#f0c06a}
    .calendar-error{padding:18px;color:#f5d4b8;text-align:center;font-size:13px;line-height:1.6}
    .event-modal{position:fixed;inset:0;z-index:9999;background:rgba(8,5,4,.82);display:none;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(5px)}
    .event-modal.open{display:flex}
    .event-modal-panel{position:relative;width:min(100%,540px);max-height:min(88vh,850px);overflow:auto;background:#f5ead8;color:#2a1b14;border:1px solid #b77b35;border-radius:9px;box-shadow:0 24px 80px #0009}
    .event-modal-poster{display:block;width:100%;max-height:320px;object-fit:contain;background:#201712}
    .event-modal-body{padding:22px}
    .event-modal-close{position:absolute;top:10px;right:10px;border:1px solid #ffffff70;background:#1c1512e8;color:white;border-radius:50%;width:34px;height:34px;font-size:22px;cursor:pointer;z-index:2}
    .event-modal h3{font:600 29px/1.08 'Cormorant Garamond',Georgia,serif;margin:0 42px 12px 0}
    .event-modal-meta{color:#766456;font-size:13px;line-height:1.6;margin:7px 0}
    .event-modal-label{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#8b3b27;margin:18px 0 8px;font-weight:700}
    .event-tag{display:inline-block;border:1px solid #d7c5a8;background:#eee0c8;border-radius:3px;padding:6px 8px;font-size:12px;margin:0 5px 5px 0}
    .event-modal-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
    .event-modal-actions a{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 12px;background:#7f2c22;color:#fff3e3;border-radius:3px;font-size:11px;text-transform:uppercase;letter-spacing:.06em;text-decoration:none}
    .event-modal-actions a.secondary{background:#e6d5b9;color:#35231a;border:1px solid #d2b991}
    @media(max-width:760px){.top-links{gap:10px}.top-links .top-note{display:none}.top-links a{font-size:9px}.live-calendar{padding:28px 12px}.calendar-heading{display:block}.calendar-controls{margin-top:18px}.calendar-shell{padding:8px;border-radius:8px}.calendar-day{min-height:72px;padding:4px 3px}.calendar-day-number{font-size:11px}.calendar-day.has-events .calendar-day-number{width:20px;height:20px}.calendar-event{font-size:9px;padding:4px 3px}.calendar-weekday{font-size:9px}.calendar-legend{display:block}.calendar-legend span{display:block;margin-top:5px}.event-modal-body{padding:17px}.event-modal h3{font-size:25px}}
    @media(max-width:420px){.calendar-day{min-height:60px}.calendar-event{font-size:8px}.calendar-grid{gap:3px}.calendar-shell{padding:6px}.calendar-controls button{padding:9px 10px}}


    /* Final Coming Soon refresh: calendar-led, concise and mobile-first */
    .brand{gap:11px}.brand-name{font-size:24px;letter-spacing:.015em}.brand-sub{display:none}
    .calendar-top-cta{display:inline-flex!important;align-items:center;gap:8px;padding:12px 17px;border:1px solid rgba(220,174,94,.8);border-radius:4px;background:rgba(112,26,18,.92);color:#fff0d9!important;font-size:11px!important;font-weight:700;letter-spacing:.1em!important;box-shadow:0 5px 24px rgba(0,0,0,.28);text-align:center}
    .calendar-top-cta:hover{background:#9e241c;transform:translateY(-1px)}
    .hero{min-height:82vh}.hero-content{padding-bottom:58px}h1{max-width:790px;letter-spacing:-.035em}
    .hero-calendar-cta{min-height:54px;padding:0 25px;font-size:12px;letter-spacing:.12em}
    .scroll{text-decoration:none;color:#e3c18b;cursor:pointer}
    .calendar-update-note{display:flex;align-items:flex-start;gap:9px;margin:16px 2px 0;color:#69584c;font-size:13px;line-height:1.65}.calendar-update-note strong{color:#70271f}.update-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#9e3024;margin-top:6px;box-shadow:0 0 0 4px rgba(158,48,36,.1)}
    .gallery-intro{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-top:42px}.gallery-intro p{margin:0;font-size:14px}
    .gallery{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 16px;margin-top:18px;scrollbar-width:thin;scrollbar-color:#a56b39 #e7d6b8}
    .gallery figure{position:relative;flex:0 0 clamp(245px,32vw,390px);height:clamp(300px,38vw,460px);scroll-snap-align:start;border-radius:5px}
    .gallery figure img{height:100%;width:100%;object-fit:cover}.gallery figcaption{position:absolute;left:0;right:0;bottom:0;padding:34px 15px 14px;color:#fff0db;font-size:12px;letter-spacing:.08em;text-transform:uppercase;background:linear-gradient(transparent,rgba(12,5,4,.85))}
    .closing{padding:60px 24px}.closing-inner{align-items:center}.closing h2{font-size:clamp(38px,5vw,60px)}footer{gap:12px;flex-wrap:wrap}
    @media(max-width:800px){.hero{min-height:690px}.topbar{align-items:center;padding:14px 16px;gap:12px}.brand img{width:34px;height:34px}.brand-name{font-size:19px}.calendar-top-cta{padding:11px 10px;font-size:9px!important;letter-spacing:.04em!important;max-width:170px}.hero-content{padding:0 22px 45px}h1{font-size:clamp(54px,14vw,78px);line-height:.88}.hero-calendar-cta{font-size:11px}.gallery-intro{display:block}.gallery-intro p{margin-top:8px}.gallery figure{flex-basis:78vw;height:370px}}
    @media(max-width:500px){.hero{min-height:650px}.topbar{padding:12px 12px}.brand{gap:7px}.brand img{width:29px;height:29px}.brand-name{font-size:17px}.calendar-top-cta{max-width:142px;white-space:normal;line-height:1.35;padding:9px 8px}.hero-content{padding:0 20px 34px}.actions .btn{width:100%}.contact{font-size:12px}.live-calendar{padding:26px 12px}.calendar-heading h2{font-size:39px}.calendar-update-note{font-size:12px}.gallery figure{flex-basis:84vw;height:340px}.closing{padding:46px 20px}.closing-inner .btn{margin-top:8px}}


    /* Refined two-section layout */
    .header-call{display:inline-flex;align-items:center;gap:10px;color:#fff0d9;text-decoration:none;font-size:16px;letter-spacing:.02em;font-weight:600;padding:8px 0;border:0;background:transparent}
    .header-call span{font-size:21px;color:#e5bd79}
    .header-call strong{font-weight:600}
    .hero{min-height: min(900px, 92vh);min-height: min(900px, 92svh);align-items:center}
    .hero-content{padding-top:120px;padding-bottom:70px;padding-left:8vw}
    h1{font-size:clamp(78px,8.8vw,146px);line-height:.83;max-width:950px;margin-bottom:30px}
    .lead{font-size:clamp(18px,1.55vw,23px);line-height:1.6;max-width:720px;margin-bottom:30px}
    .actions{gap:14px}
    .btn{min-height:54px;padding:0 26px;font-size:11px}
    .hero-calendar-cta{min-height:56px}
    .topbar{padding:20px 4vw}
    .brand img{width:70px;height:62px}
    .live-calendar{padding:36px clamp(16px,3vw,54px) 48px}
    .calendar-inner{max-width:none}
    .calendar-heading{gap:32px}
    .calendar-heading>div:first-child{flex:1}
    .calendar-heading p{max-width:760px}
    .calendar-shell{padding:clamp(12px,1.2vw,22px);border-radius:10px}
    .calendar-grid{gap:7px}
    .calendar-day{min-height:clamp(100px,8vw,150px);padding:9px}
    .guidance-callout{margin-bottom:30px;padding:16px 24px;border-left-width:4px}
    .guidance-copy{align-items:center;gap:15px}
    .guidance-icon{align-self:center}
    @media(max-width:800px){
      .hero{min-height:760px;min-height:82svh;align-items:flex-end}
      .hero-content{padding:0 24px 54px}
      h1{font-size:clamp(60px,13vw,94px);line-height:.88;max-width:680px}
      .lead{font-size:16px;max-width:610px}
      .topbar{padding:14px 18px}
      .brand img{width:48px;height:46px}
      .header-call{font-size:14px;gap:8px}
      .header-call span{font-size:19px}
      .live-calendar{padding:28px 14px 36px}
      .calendar-heading{display:block}
      .calendar-controls{margin-top:18px}
      .calendar-day{min-height:76px;padding:5px 4px}
      .calendar-grid{gap:4px}
      .guidance-callout{padding:14px 15px;margin-bottom:24px}
      .guidance-copy{align-items:center;gap:12px}
      .guidance-icon{width:40px;height:40px;flex-basis:40px}
    }
    @media(max-width:500px){
      .hero{min-height:760px;min-height:88svh}
      .hero-content{padding:0 20px 42px}
      h1{font-size:clamp(56px,14vw,74px);line-height:.9;margin-bottom:22px}
      .lead{font-size:15px;line-height:1.55;margin-bottom:24px}
      .actions .btn{width:100%}
      .topbar{padding:12px 15px}
      .brand img{width:40px;height:40px}
      .header-call{font-size:13px;gap:6px}
      .header-call span{font-size:18px}
      .live-calendar{padding:24px 10px 30px}
      .calendar-heading h2{font-size:39px}
      .calendar-shell{padding:6px}
      .calendar-day{min-height:59px;padding:3px 2px}
      .calendar-grid{gap:2px}
      .calendar-event{font-size:8px;padding:3px 2px}
      .calendar-weekday{font-size:8px}
      .calendar-monthbar h3{font-size:21px}
      .calendar-status{font-size:9px}
      .guidance-copy strong{font-size:14px}
      .guidance-copy span{font-size:12px}
    }


    /* Header and banner finishing touches — calendar section intentionally unchanged */
    .brand{gap:0!important}
    .brand img{
      width:92px!important;height:76px!important;object-fit:contain;
      filter:brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,.35))!important;
    }
    .brand-name,.brand-sub{display:none!important}
    .header-call{
      display:inline-flex!important;align-items:center!important;gap:9px!important;
      color:#fff!important;text-decoration:none!important;font-family:"DM Sans",Arial,sans-serif!important;
      font-size:15px!important;letter-spacing:0!important;font-weight:400!important;
      padding:0!important;border:0!important;background:transparent!important;
      box-shadow:none!important;border-radius:0!important;
    }
    .header-call img{display:block;width:20px;height:20px;object-fit:contain}
    .header-call strong{font-weight:400!important;color:#fff!important}
    .video-credit{
      position:absolute;right:clamp(20px,4vw,60px);bottom:18px;z-index:2;
      margin:0;color:rgba(255,244,229,.78);font-family:"Cormorant Garamond",Georgia,serif;
      font-size:13px;font-weight:400;font-style:italic;letter-spacing:.025em;
      text-shadow:0 1px 8px rgba(0,0,0,.55);pointer-events:none;
    }
    @media(max-width:800px){
      .brand img{width:56px!important;height:52px!important}
      .header-call{font-size:13px!important;gap:7px!important}
      .header-call img{width:18px;height:18px}
      .video-credit{right:16px;bottom:12px;font-size:12px}
    }



    /* Final requested refinements: guidance alignment, calendar readability and spacing */
    .live-calendar{padding:clamp(30px,3vw,44px) clamp(12px,1.6vw,30px) 38px}
    .calendar-inner{width:100%;max-width:none}
    .guidance-callout{display:flex;align-items:center;justify-content:flex-start;min-height:70px;padding:14px 20px;gap:18px}
    .guidance-copy{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:14px;width:100%}
    .guidance-icon{width:42px;height:42px;flex-basis:42px;align-self:center;justify-self:center;margin:0;place-self:center}
    .guidance-copy>div{align-self:center;min-width:0}
    .guidance-copy strong{font-size:16px;line-height:1.35;margin:0 0 3px}
    .guidance-copy span{font-size:14px;line-height:1.45}
    .calendar-heading{align-items:end;gap:22px;margin-bottom:20px}
    .calendar-heading>div:first-child{min-width:0;flex:1}
    .calendar-heading p{max-width:none;font-size:15px;line-height:1.45;margin:0;white-space:nowrap}
    .calendar-kicker{font-size:11px}
    .calendar-heading h2{margin:8px 0 7px}
    .calendar-controls{gap:8px}
    .calendar-shell{width:100%;padding:clamp(12px,1.25vw,22px);border-radius:9px}
    .calendar-monthbar h3{font-size:27px}
    .calendar-status{font-size:13px}
    .calendar-grid{gap:6px}
    .calendar-day{aspect-ratio:1/1;min-height:0;height:auto;padding:10px 9px;border-radius:4px;overflow:hidden}
    .calendar-day-number{font-size:14px}
    .calendar-day.has-events .calendar-day-number{width:25px;height:25px;font-size:13px}
    .calendar-event{font-size:12px;line-height:1.35;padding:6px 7px;margin-top:5px;border-radius:3px}
    .calendar-more{font-size:12px;padding:5px 2px}
    .calendar-weekday{font-size:12px;padding:8px 0}
    .calendar-legend{font-size:13px;line-height:1.55;margin-top:14px}
    .calendar-update-note{font-size:14px;line-height:1.6;margin-top:16px;align-items:center}
    .calendar-update-note strong{font-size:14px}
    .update-dot{margin-top:0}
    @media(max-width:1200px){
      .calendar-heading p{white-space:normal;max-width:760px}
      .calendar-day{aspect-ratio:1/1;padding:7px 6px}
      .calendar-event{font-size:11px;padding:5px 5px}
    }
    @media(max-width:800px){
      .live-calendar{padding:24px 12px 30px}
      .guidance-callout{min-height:0;padding:13px 14px;margin-bottom:22px}
      .guidance-copy{grid-template-columns:40px minmax(0,1fr);gap:11px;align-items:center}
      .guidance-icon{width:40px;height:40px;flex-basis:40px}
      .guidance-copy strong{font-size:14px}
      .guidance-copy span{font-size:12px}
      .calendar-heading{display:block}
      .calendar-heading p{font-size:14px;line-height:1.5;white-space:normal}
      .calendar-controls{margin-top:14px}
      .calendar-shell{padding:7px}
      .calendar-grid{gap:3px}
      /* Keep mobile dates usable; square cells are applied on wider screens. */
      .calendar-day{aspect-ratio:auto;min-height:76px;padding:5px 4px}
      .calendar-day-number{font-size:12px}
      .calendar-day.has-events .calendar-day-number{width:21px;height:21px;font-size:11px}
      .calendar-event{font-size:9px;line-height:1.25;padding:4px 3px;margin-top:4px}
      .calendar-more{font-size:10px}
      .calendar-weekday{font-size:9px;padding:6px 0}
      .calendar-monthbar h3{font-size:22px}
      .calendar-status{font-size:10px}
      .calendar-legend{display:block;font-size:12px;line-height:1.5}
      .calendar-legend span{display:block;margin-top:5px}
      .calendar-update-note{font-size:12px;line-height:1.55;align-items:flex-start}
      .calendar-update-note strong{font-size:12px}
    }
    @media(max-width:420px){
      .calendar-day{min-height:66px}
      .calendar-event{font-size:8px;padding:3px 2px}
      .calendar-controls button{font-size:11px;padding:8px 7px}
    }


    /* Calendar visual refresh: match the supplied dark, spacious reference */
    .live-calendar{
      background:#09090a!important;
      color:#f5ead9!important;
      padding:clamp(24px,3vw,48px) clamp(14px,3.6vw,68px) 44px!important;
    }
    .calendar-inner{width:100%!important;max-width:none!important}
    .guidance-callout{
      background:#171719!important;
      color:#f5ead9!important;
      border:1px solid #29292d!important;
      border-left:3px solid #c58a00!important;
      box-shadow:none!important;
      margin-bottom:28px!important;
    }
    .guidance-icon{background:#242426!important;color:#e4c68d!important}
    .guidance-copy strong{color:#fff1dc!important}
    .guidance-copy span{color:#c7c0b7!important}
    .calendar-kicker{color:#d49a2e!important}
    .calendar-heading{align-items:end!important;margin-bottom:22px!important}
    .calendar-heading h2{color:#f5ead9!important;font-size:clamp(38px,4vw,54px)!important}
    .calendar-heading p{color:#bcb4aa!important}
    .calendar-controls button{
      background:#111114!important;color:#f5ead9!important;border:1px solid #343439!important;
      border-radius:24px!important;padding:10px 16px!important;
    }
    .calendar-controls button:hover{background:#242428!important}
    .calendar-shell{
      width:100%!important;background:#111113!important;color:#f5ead9!important;
      border:1px solid #c58a00!important;border-radius:12px!important;
      padding:clamp(14px,1.5vw,26px)!important;box-shadow:none!important;
    }
    .calendar-monthbar{margin:0!important;padding:2px 4px 22px!important}
    .calendar-monthbar h3{font-size:clamp(30px,2.7vw,44px)!important;font-weight:500!important;color:#fff1dc!important}
    .calendar-status{font-size:12px!important;color:#c9bda9!important}
    .calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:0!important}
    .calendar-weekday{
      padding:14px 4px!important;text-align:center!important;color:#b8b2ab!important;
      font-size:12px!important;letter-spacing:.06em!important;border-bottom:1px solid #252529!important;
    }
    .calendar-day{
      aspect-ratio:auto!important;height:auto!important;min-height:clamp(112px,7.3vw,154px)!important;
      padding:12px 9px!important;background:#111113!important;border:0!important;
      border-right:1px solid #252529!important;border-bottom:1px solid #252529!important;
      border-radius:0!important;overflow:hidden!important;
    }
    .calendar-day:nth-child(7n){border-right:0!important}
    .calendar-day.is-empty{background:#111113!important;border-color:#252529!important}
    .calendar-day.has-events{background:#141416!important;border-color:#252529!important}
    .calendar-day-top{margin-bottom:9px!important}
    .calendar-day-number{font-size:15px!important;color:#f5ead9!important}
    .calendar-day.has-events .calendar-day-number{
      width:24px!important;height:24px!important;font-size:13px!important;
      background:#d99500!important;color:#16110a!important;border-radius:50%!important;
    }
    .calendar-event{
      background:#f0a000!important;color:#15100a!important;border-radius:4px!important;
      font-size:clamp(10px,.78vw,13px)!important;line-height:1.35!important;
      font-weight:600!important;padding:6px 8px!important;margin-top:6px!important;
    }
    .calendar-event:hover{background:#ffc044!important}
    .calendar-more{font-size:12px!important;color:#e8b75d!important}
    .calendar-legend{font-size:12px!important;color:#c4b9aa!important;line-height:1.55!important;margin-top:14px!important}
    .calendar-legend strong{color:#f0a000!important}
    .calendar-update-note{font-size:14px!important;color:#aaa29a!important;line-height:1.6!important}
    .calendar-update-note strong{font-size:14px!important;color:#e8b75d!important}
    .update-dot{background:#e0a000!important;box-shadow:0 0 0 4px rgba(224,160,0,.12)!important}
    @media(max-width:1200px){
      .calendar-day{min-height:112px!important;padding:9px 6px!important}
      .calendar-event{font-size:11px!important;padding:5px 5px!important}
    }
    @media(max-width:800px){
      .live-calendar{padding:24px 10px 30px!important}
      .calendar-shell{padding:8px!important;border-radius:8px!important}
      .calendar-monthbar{padding:2px 2px 14px!important}
      .calendar-monthbar h3{font-size:27px!important}
      .calendar-status{font-size:10px!important}
      .calendar-weekday{font-size:9px!important;padding:9px 1px!important}
      .calendar-day{min-height:84px!important;padding:6px 3px!important}
      .calendar-day-number{font-size:12px!important}
      .calendar-day.has-events .calendar-day-number{width:20px!important;height:20px!important;font-size:10px!important}
      .calendar-event{font-size:9px!important;line-height:1.25!important;padding:4px 3px!important;margin-top:4px!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;text-overflow:ellipsis!important}
      .calendar-more{font-size:9px!important;padding:3px 1px!important}
      .calendar-legend{display:block!important;font-size:11px!important}
      .calendar-legend span{display:block;margin-top:5px}
      .calendar-update-note{font-size:12px!important;align-items:flex-start!important}
      .calendar-update-note strong{font-size:12px!important}
    }
    @media(max-width:420px){
      .calendar-day{min-height:74px!important;padding:5px 2px!important}
      .calendar-event{font-size:8px!important;padding:3px 2px!important}
      .calendar-controls button{font-size:11px!important;padding:8px 10px!important}
    }

      /* Guidance card removed: calendar starts directly after the banner */
    .live-calendar{margin-top:0}

    /* Mobile-only fixes: keep the video visible and make event labels readable */
    @media (max-width: 800px) {
      .hero::before {
        background:
          linear-gradient(180deg,rgba(5,3,3,.48),rgba(5,3,3,.08) 34%,rgba(5,3,3,.88) 88%) !important;
      }
      .hero-video {
        z-index: -3;
        display: block;
        object-fit: cover;
        object-position: center center;
      }
      .calendar-day {
        overflow: visible !important;
        min-height: 92px !important;
        padding: 5px 3px !important;
      }
      .calendar-event {
        white-space: normal !important;
        display: block !important;
        overflow: visible !important;
        text-overflow: clip !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        line-height: 1.25 !important;
        font-size: 8px !important;
        padding: 4px 3px !important;
        max-width: 100%;
      }
    }
    @media (max-width: 420px) {
      .calendar-day { min-height: 82px !important; padding: 4px 2px !important; }
      .calendar-event { font-size: 7.5px !important; padding: 3px 2px !important; }
    }

  /* Event filter listing */

    .event-filter-wrapper {
        width: 100%;
        color: #222;
    }

    .event-filter-search {
        position: relative;
        margin-bottom: 20px;
    }

    .event-filter-search span {
        position: absolute;
        left: 16px;
        top: 10px;
        font-size: 23px;
        color: #888;
    }

    .event-filter-search input {
        width: 100%;
        height: 48px;
        padding: 0 15px 0 45px;
        background: #151518;
        border: 1px solid #343438;
        border-radius: 8px;
        color: #fff;
        box-sizing: border-box;
    }

    .event-filter-search input::placeholder {
        color: #73737c;
    }

    .event-filter-row {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 13px;
    }
@media (max-width: 767px) {
    .event-filter-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

    .ef-filter-group {
        min-width: 0;
        position: relative;
    }

    .ef-filter-group > label {
        display: block;
        font-size: 11px;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .ef-filter-group select,
    .ef-multi summary {
        width: 100%;
        height: 43px;
        background: #19191c;
        color: #eee;
        border: 1px solid #343438;
        border-radius: 8px;
        padding: 0 12px;
        box-sizing: border-box;
        cursor: pointer;
    }

    .ef-multi summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        list-style: none;
        font-size: 14px;
    }

    .ef-multi summary::-webkit-details-marker {
        display: none;
    }

    .ef-multi summary::after {
        content: "⌄";
        color: #888;
    }

    .ef-options {
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        min-width: 180px;
        max-height: 220px;
        overflow-y: auto;
        background: #19191c;
        border: 1px solid #38383e;
        border-radius: 8px;
        padding: 8px;
        z-index: 100;
        box-sizing: border-box;
        box-shadow: 0 8px 20px rgba(0,0,0,.3);
    }

    .ef-options label {
        display: flex;
        gap: 9px;
        align-items: center;
        color: #ddd;
        font-size: 13px;
        padding: 8px;
        cursor: pointer;
    }

    .ef-options label:hover {
        background: #29292f;
    }

    .ef-options input {
        accent-color: #c49b5c;
    }
    .ef-today-heading{
      color:#fff;
    }

    .ef-results-header {
        display: none;
        align-items: center;
        justify-content: space-between;
        margin: 25px 0 15px;
        gap: 10px;
    }

    .ef-count {
        font-size: 14px;
        font-weight: 600;
		color:#fff;
    }

    .ef-reset {
        background: transparent;
        border: 1px solid #aaa;
        border-radius: 5px;
        padding: 7px 14px;
        cursor: pointer;
		color:#fff;
    }

    .ef-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ef-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-width: 0;
    height: 120px;
    background: #141418;
    border: 1px solid #29292e;
    border-bottom: 2px solid #d99a24;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .25s, background .25s;
}

.ef-card:hover {
    background: #1b1b20;
    border-color: #45454c;
    border-bottom-color: #f3ad2e;
}

/* Thumbnail */

.ef-card-image {
    display: block;
    flex: 0 0 120px;
    width: 120px;
    height: 100%;
    overflow: hidden;
    background: #29292e;
}

.ef-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.ef-card:hover .ef-card-image img {
    transform: scale(1.06);
}

/* Event details */

.ef-card-content {
    flex: 1;
    min-width: 0;
    padding: 13px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ef-card-title {
    margin: 0 0 7px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #f5f5f5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ef-card-title a {
    color: inherit;
    text-decoration: none;
}

.ef-card-title a:hover {
    color: #f0b33e;
}

/* Location and date */

.ef-card-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    line-height: 1.3;
    color: #aaaab2;
}

.ef-card-meta > div {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ef-card-meta .ef-location {
    color: #aaaab2;
}

.ef-card-meta .ef-date {
    color: #e7a52e;
    font-weight: 600;
}

/* Theyyam names */

.ef-card-theyyams {
    display: none;
}

/* No results */

.ef-no-results {
    text-align: center;
    padding: 40px 15px;
    color: #999;
    background: #141418;
    border-radius: 10px;
    margin-top: 15px;
}

.ef-default-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #332522, #171719);
    color: #dba33e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ef-default-image span {
    font-size: 32px;
}

.ef-default-image small {
    font-size: 10px;
    letter-spacing: 2px;
}
.ef-event-open {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    text-align: left;
    cursor: pointer;
}

.ef-event-open:hover {
    color: #e7a52e;
}
/* Tablet */

@media (max-width: 1024px) {

    .ef-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .ef-card-image {
        flex-basis: 105px;
        width: 105px;
    }

    .ef-card-content {
        padding: 10px 12px;
    }

    .ef-card-title {
        font-size: 14px;
    }

}

/* Mobile */

@media (max-width: 600px) {

    .ef-results {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ef-card {
        height: 110px;
    }

    .ef-card-image {
        flex: 0 0 110px;
        width: 110px;
    }

    .ef-card-content {
        padding: 10px 12px;
    }

    .ef-card-title {
        font-size: 14px;
    }

    .ef-card-meta {
        font-size: 12px;
    }

}
