/* Buddhist-themed warm gold accent */

@font-face {
  font-family: "TimesNewRoman";
  src: url("../Times New Roman.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root{
  --bg0:#faf9f7;     /* warm off-white */
  --bg1:#f5f3ef;     /* light warm gray */
  --bg2:#e8e4de;     /* slightly deeper warm gray */

  --ink:#3b3228;     /* warm dark brown */
  --muted:rgba(59,50,40,.70);
  --muted2:rgba(59,50,40,.50);

  --accent:#8b6914;  /* saffron gold */
  --accent2:#6b5210; /* deeper gold */
  --accent3:#b8963a; /* light gold */

  /* light glass */
  --glass:rgba(255,255,252,.70);
  --glass2:rgba(255,255,252,.50);
  --stroke:rgba(139,105,20,.14);
  --stroke2:rgba(59,50,40,.08);

  --shadow: 0 20px 60px rgba(59,50,40,.08);
  --shadow2: 0 10px 30px rgba(59,50,40,.04);

  --radius: 18px;
  --radius2: 26px;

  --max: 1120px;
  --pad: 18px;
  --pad2: 28px;

  --font: "TimesNewRoman", Georgia, "Times New Roman", serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:#e9e9e9;
  letter-spacing:.03em;
  overflow-x:hidden;
  overflow-x:clip;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:none; }

.container{
  width:min(var(--max), calc(100% - 28px));
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  background:rgba(255,255,255,.9);
  padding:10px 14px;
  border-radius:10px;
  border:1px solid var(--stroke);
}
.skip-link:focus{ left:10px; z-index:9999; }

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  padding:14px 0;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.52));
  border-bottom:1px solid rgba(139,105,20,.10);
}
.nav{
  display:flex;
  align-items:center;
  gap:14px;
  justify-content:space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:auto;
}
.brand-logo{
  height:44px;
  width:auto;
  display:block;
  object-fit:contain;
  flex-shrink:0;
}
.brand-text{
  font-size:22px;
  font-weight:700;
  letter-spacing:.05em;
  color:var(--ink);
  white-space:nowrap;
}
.nav-links{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:center;
}
.nav-links a{
  font-size:13px;
  color:rgba(59,50,40,.82);
  padding:9px 10px;
  border-radius:12px;
  border:1px solid transparent;
  transition: all .18s ease;
}
.nav-links a:hover{
  border-color:rgba(139,105,20,.12);
  background:rgba(255,255,252,.55);
}
.nav-links a[aria-current="page"]{
  background:rgba(139,105,20,.06);
  border-color:rgba(139,105,20,.18);
}

.nav-right{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:230px;
  justify-content:flex-end;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(139,105,20,.12);
  background: rgba(255,255,252,.68);
  box-shadow: 0 10px 25px rgba(59,50,40,.08);
  color:var(--ink);
  font-size:13px;
}
.btn:hover{
  background: rgba(255,255,252,.70);
  border-color: rgba(139,105,20,.18);
}
.btn.primary{
  border-color: rgba(139,105,20,.22);
  color:#fff;
  background: linear-gradient(135deg, rgba(139,105,20,.85), rgba(184,150,58,.80));
}
.btn.ghost{
  background: rgba(255,255,252,.44);
  border-color: rgba(59,50,40,.10);
}
.btn.small{ padding:8px 11px; border-radius:12px; }

.lang-switch{
  display:flex;
  background:rgba(255,255,252,.55);
  border:1px solid rgba(139,105,20,.12);
  border-radius:999px;
  overflow:hidden;
}
.lang-switch button{
  appearance:none;
  background:transparent;
  border:0;
  color:rgba(59,50,40,.72);
  padding:8px 10px;
  font-size:12px;
  cursor:pointer;
}
.lang-switch button[aria-pressed="true"]{
  background: rgba(139,105,20,.08);
  color: var(--ink);
}

/* Mobile nav */
.nav-toggle{
  display:none;
}
/* Mobile-only language switcher in front of the hamburger (hidden on desktop) */
.nav-lang-mobile{
  display:none;
}

/* Hero slider */
.hero-slider-container{
  margin-bottom:18px;
  border-radius:var(--radius2);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.hero-slider{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#000;
}
.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .6s ease-in-out;
  z-index:1;
}
.hero-slide.active{
  opacity:1;
  z-index:2;
}
.hero-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-slider-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:10;
  background:rgba(139,105,20,.25);
  backdrop-filter:blur(4px);
  border:1px solid rgba(255,255,255,.25);
  color:#fff;
  width:40px;
  height:40px;
  border-radius:50%;
  cursor:pointer;
  font-size:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s;
}
.hero-slider-btn:hover{
  background:rgba(255,255,255,.7);
  color:var(--ink);
}
.hero-prev{ left:14px; }
.hero-next{ right:14px; }
.hero-slider-dots{
  position:absolute;
  bottom:14px;
  left:50%;
  transform:translateX(-50%);
  z-index:10;
  display:flex;
  gap:6px;
  background:rgba(0,0,0,.3);
  padding:5px 10px;
  border-radius:99px;
  backdrop-filter:blur(4px);
}
.hero-slider-dots span{
  width:9px;height:9px;
  border-radius:50%;
  background:rgba(255,255,255,.5);
  cursor:pointer;
}
.hero-slider-dots span.active{
  background:#fff;
}

/* Hero */
.hero{
  padding:30px 0 28px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
.glass{
  background: linear-gradient(180deg, var(--glass), var(--glass2));
  border:1px solid var(--stroke);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.hero-card{
  padding:28px;
  position:relative;
  overflow:hidden;
}
.kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(139,105,20,.12);
  background:rgba(255,255,252,.55);
  color:rgba(59,50,40,.82);
  font-size:12px;
}
.dot{
  width:8px; height:8px;
  border-radius:50%;
  background: linear-gradient(135deg, var(--accent3), var(--accent2));
  box-shadow: 0 0 0 6px rgba(139,105,20,.08);
}
.hero h1{
  margin:14px 0 10px;
  font-size:44px;
  letter-spacing:-.6px;
  line-height:1.05;
}
.hero p{
  margin:0 0 18px;
  color: var(--muted);
  font-size:16px;
  line-height:1.6;
  max-width:62ch;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:10px;
}
.trust-strip{
  margin-top:16px;
  padding:16px 18px;
  border-radius:20px;
  border:1px solid rgba(139,105,20,.14);
  background:
    linear-gradient(135deg, rgba(255,255,252,.72), rgba(255,250,240,.82));
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:16px;
}
.trust-copy{
  display:flex;
  flex-direction:column;
  width:100%;
}
.trust-copy p{
  margin:0;
  max-width:none;
}
.trust-kicker{
  display:inline-flex;
  margin-bottom:8px;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(139,105,20,.06);
  border:1px solid rgba(139,105,20,.12);
  color:rgba(59,50,40,.82);
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  align-self:flex-start;
}
.trust-note{
  margin-top:8px !important;
  font-size:13px !important;
  color:var(--muted2) !important;
}
.trust-logos{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-items:center;
  gap:12px;
}
.trust-logos img{
  display:block;
  height:100px;
  width:auto;
  object-fit:contain;
  filter: drop-shadow(0 8px 18px rgba(139,105,20,.08));
}
.trust-strip-side{
  display:grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items:center;
  gap:20px;
}
.trust-strip-side .trust-copy{
  text-align:left;
}
.trust-strip-side .trust-logos{
  justify-content:center;
  flex:0 0 auto;
}
.mini-metrics{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.metric{
  padding:14px;
  border-radius: var(--radius);
  background: rgba(255,255,252,.52);
  border:1px solid rgba(139,105,20,.08);
}
.metric strong{
  display:block;
  font-size:18px;
}
.metric span{
  display:block;
  margin-top:3px;
  font-size:12px;
  color:var(--muted2);
}

.hero-media{
  position:relative;
  overflow:hidden;
  min-height: 400px;
}
.hero-media .photo{
  position:absolute;
  inset:0;
  background-image:
    url("../img/Thendup_Rinpoche_1.jpg");
  background-size: cover;
  background-position: center;
}
.hero-media .globe{
  display:none;
}
.hero-media .badge{
  position:absolute;
  left:16px;
  bottom:16px;
  padding:14px 14px;
  border-radius: 18px;
  border:1px solid rgba(139,105,20,.10);
  background: rgba(255,255,252,.72);
}
.badge strong{ display:block; font-size:14px; }
.badge span{ display:block; font-size:12px; color:rgb(59 50 40); margin-top:4px; }

/* Sections */
.section{
  padding: 26px 0;
}
.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.section-title h2{
  margin:0;
  font-size:22px;
  letter-spacing:-.2px;
}
.section-title p{
  margin:0;
  color:var(--muted2);
  font-size:13px;
  max-width:60ch;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.grid-3 > .card{ height:100%; }
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
.grid-2 > .card{ height:100%; }

.card{
  padding:18px;
  border-radius: var(--radius2);
  background: rgba(255,255,252,.42);
  border:1px solid rgba(139,105,20,.10);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow2);
}
.card h3{
  margin:0 0 6px;
  font-size:16px;
}
.card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}
.tag{
  display:inline-flex;
  font-size:11px;
  color:rgba(59,50,40,.70);
  border:1px solid rgba(139,105,20,.12);
  background: rgba(255,255,252,.55);
  padding:6px 10px;
  border-radius:999px;
  margin-bottom:10px;
}
.icon{
  width:38px;
  height:38px;
  border-radius:14px;
  display:grid;
  place-items:center;
  border:1px solid rgba(139,105,20,.14);
  background: linear-gradient(135deg, rgba(139,105,20,.10), rgba(184,150,58,.08));
  margin-bottom:10px;
}
.icon svg{ width:18px; height:18px; opacity:.95; }

/* Page shell */
.page-hero{
  padding: 26px 0 10px;
}
.page-hero .wrap{
  padding: 22px;
}
.breadcrumbs{
  font-size:12px;
  color:var(--muted2);
}
.page-hero h1{
  margin:10px 0 8px;
  font-size:30px;
  letter-spacing:-.4px;
}
.lead{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.content{
  padding: 18px 0 34px;
}

.list{
  margin:10px 0 0;
  padding-left:18px;
  color: var(--muted);
  line-height:1.75;
  font-size:13px;
}

.split{
  display:grid;
  gap:12px;
}
.speakers-split{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.split > .card{ height:100%; }
.split > .card + .card{ margin-top:0; }

.quote{
  padding:18px;
  border-radius: var(--radius2);
  background: linear-gradient(135deg, rgba(139,105,20,.08), rgba(255,255,252,.55));
  border:1px solid rgba(139,105,20,.16);
}
.quote p{ margin:0; color:rgba(30,41,59,.86); line-height:1.7; }
.quote span{ display:block; margin-top:10px; color:var(--muted2); font-size:12px; }
.quote-split{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:20px;
  align-items:center;
}
.quote-split .quote-media{
  height:100%;
  min-height:200px;
  border-radius:10px;
  overflow:hidden;
}
.quote-split .quote-body span{ display:block; margin-top:10px; color:var(--muted2); font-size:12px; }
@media (max-width:720px){
  .quote-split{ grid-template-columns:1fr; }
  .quote-split .quote-media{ min-height:200px; max-height:280px; }
}
.card-split{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:20px;
  align-items:stretch;
}
.card-split .card-media{
  border-radius:10px;
  overflow:hidden;
  min-height:200px;
}
@media (max-width:720px){
  .card-split{ grid-template-columns:1fr; }
  .card-split .card-media{ min-height:200px; max-height:280px; }
  .card-split .card-media img{ object-position:top; }
  /* 首页法会与共修通告、教言列表：移动端改卡片式 */
  .card-split .table thead{ display:none; }
  .card-split .table,
  .card-split .table tbody,
  .card-split .table tr,
  .card-split .table td{ display:block; width:100%; box-sizing:border-box; }
  .card-split .table{ border:0; background:none; }
  .card-split .table tr{
    background:#fff;
    border:1px solid rgba(139,105,20,.14);
    border-radius:14px;
    padding:12px 14px;
    margin-bottom:12px;
    box-shadow:0 4px 14px rgba(139,105,20,.06);
  }
  .card-split .table tr:last-child{ margin-bottom:0; }
  .card-split .table tr.table-more{ background:none; border:0; box-shadow:none; padding:4px 2px; }
  .card-split .table td{ border:0; padding:3px 0; }
  .card-split .table td:first-child{ font-weight:600; }
}

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 16px;
  border:1px solid rgba(139,105,20,.10);
}
.table th, .table td{
  padding:10px 12px;
  border-bottom:1px solid rgba(139,105,20,.06);
  font-size:13px;
}
.table th{
  text-align:left;
  color:rgba(59,50,40,.92);
  background: rgba(139,105,20,.04);
  width:131px;
}
.table td{ color:var(--muted); }

/* Activity announcements */
.notices{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 14px;
  border-radius:var(--radius2);
  background: linear-gradient(135deg, rgba(139,105,20,.10), rgba(255,255,252,.55));
  border:1px solid rgba(139,105,20,.18);
  box-shadow: var(--shadow2);
}
.notices-label{
  flex-shrink:0;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  color:var(--accent2);
  white-space:nowrap;
}
.notices-track{
  display:flex;
  gap:10px;
  overflow-x:auto;
  scrollbar-width:thin;
  padding:2px;
}
.notices-track::-webkit-scrollbar{ height:6px; }
.notices-track::-webkit-scrollbar-thumb{ background:rgba(139,105,20,.25); border-radius:99px; }
.notice-card{
  flex-shrink:0;
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,252,.75);
  border:1px solid rgba(139,105,20,.14);
  font-size:13px;
  color:var(--ink);
  transition:border-color .18s ease, transform .18s ease;
}
.notice-card:hover{ border-color:rgba(139,105,20,.4); transform:translateY(-1px); }
.notice-date{
  color:var(--accent2);
  font-weight:700;
  white-space:nowrap;
}
.notice-title{ color:var(--muted); white-space:nowrap; }
@media (max-width:600px){
  .notices{ flex-wrap:wrap; }
  .notices-track{ width:100%; }
}

.footer{
  padding: 30px 0 40px;
  border-top: 1px solid rgba(139,105,20,.10);
  background: linear-gradient(180deg, rgba(255,255,252,0), rgba(139,105,20,.03));
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
  align-items:end;
}
.footer-panel{
  padding:0;
  background:none;
  border:0;
  box-shadow:none;
  backdrop-filter:none;
}
.footer-brand{ margin:0 0 14px; }
.footer-logo-mark{
  display:block;
  width:min(100%, 220px);
  height:auto;
  object-fit:contain;
}
.footer-brand-text{
  font-size:20px;
  font-weight:700;
letter-spacing:.05em;
  color:var(--ink);
}
.footer-tagline{
  margin:16px 0 0;
  color:var(--muted);
  line-height:1.75;
  font-size:13px;
  max-width:80ch;
}
.footer-cert{
  display:grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap:16px;
  align-items:center;
  padding:16px 18px;
  border-radius:22px;
  background:linear-gradient(135deg, rgba(255,255,252,.72), rgba(255,250,240,.84));
  border:1px solid rgba(139,105,20,.14);
  box-shadow: 0 10px 30px rgba(139,105,20,.06);
}
.footer-cert-copy strong{
  display:block;
  font-size:14px;
  line-height:1.5;
}
.footer-cert-copy p{
  margin:8px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
}
.footer-cert-logos{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:12px;
}
.footer-cert-logos img{
  display:block;
  width:auto;
  object-fit:contain;
  filter: drop-shadow(0 8px 18px rgba(139,105,20,.08));
}
.footer-cert-logos img:first-child{ height:58px; }
.footer-cert-logos img:last-child{ height:64px; }
.footer-heading{
  margin:0 0 12px;
  font-size:14px;
  letter-spacing:.02em;
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  align-items:center;
}
.footer-meta{
  margin-top:14px;
}
.footer-panel .btn.small{
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  color:rgba(59,50,40,.88);
  font-size:13px;
  line-height:1.4;
}
.footer-panel .btn.small:hover{
  transform:none;
  background:none;
  border-color:transparent;
  text-decoration:underline;
}
.footer small{ color:var(--muted2); }

/* Back-to-top floating button */
#toTop{
  position:fixed;
  right:20px;
  bottom:24px;
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid rgba(139,105,20,.25);
  background:linear-gradient(135deg, rgba(139,105,20,.92), rgba(184,150,58,.88));
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 22px rgba(139,105,20,.30);
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .25s ease, transform .25s ease, visibility .25s;
  z-index:200;
}
#toTop svg{ width:20px; height:20px; }
#toTop.show{ opacity:1; visibility:visible; transform:translateY(0); }
#toTop:hover{ filter:brightness(1.06); }

.nav-close { display: none; }
.nav-overlay { display: none; }
.mobile-nav-footer { display: none; }

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero h1{ font-size:40px; }
  .split{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-panel{ text-align:center; }
  .footer-links{ justify-content:center; }
  .footer-social{ justify-content:center; }
  .site-header{ background-size:auto, 150px auto; }
  .footer{ background-size:auto, 150px auto; }
  .footer-links{ gap:8px 14px; }
  .trust-strip-side{ grid-template-columns: 1fr; }
  .trust-strip,
  .footer-cert{ flex-direction:column; align-items:flex-start; }
  .trust-logos,
  .footer-cert-logos{ justify-content:flex-start; }
  .trust-logos img{ height:54px; }
  .footer-cert-logos img:first-child{ height:52px; }
  .footer-cert-logos img:last-child{ height:58px; }

  .site-header {
    z-index: 999;
  }
  .nav-close {
    display: none; /* 原本抽屉内的关闭键，有了右上角变 X 的汉堡按键即可隐藏，以保极简 */
  }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(20, 8, 6, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav.open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links{
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(252,250,245,0.98), rgba(245,240,230,0.97));
    box-shadow: 10px 0 30px rgba(59,50,40,0.10);
    border-right: 1px solid var(--stroke);
    z-index: 100;
    padding: 80px 24px 40px;
    gap: 10px;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-sizing: border-box;
  }
  .nav.open .nav-links {
    transform: translateX(0);
  }
  .nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    padding: 12px 16px;
    width: 100%;
    display: block;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.18s ease;
    text-align: left;
    box-sizing: border-box;
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    background: rgba(139,105,20,0.08) !important;
    border-color: rgba(139,105,20,0.18) !important;
    color: var(--accent) !important;
  }
  
  /* 移动端语言切换只保留汉堡前的一组，抽屉底部的不再显示 */
  .nav-lang-mobile{
    display:flex !important;
    margin-left:auto;
    flex-shrink:0;
  }
  .mobile-nav-footer {
    display: none !important;
  }
  .mobile-nav-footer .lang-switch {
    display: flex;
    width: fit-content;
    align-self: center;
  }
  .mobile-nav-footer .btn.primary {
    width: 100%;
    box-shadow: 0 4px 12px rgba(139,105,20,.12);
  }
  
  /* 移动端汉堡 3 条杠按钮与旋转成 X 的动画 */
  .nav-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    outline: none;
  }
  .hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--ink);
    border-radius: 99px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, background-color 0.3s ease;
  }
  .nav.open .nav-toggle .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--accent);
  }
  .nav.open .nav-toggle .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .nav.open .nav-toggle .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--accent);
  }

  .brand{ min-width:auto; }
  .brand-logo{ display:none; }
  .brand-text{
    font-size:16px;
    font-weight:700;
    letter-spacing:0;
    color:var(--ink);
    white-space:nowrap;
  }
  .nav-right{ display: none !important; }
}

/* Events Gallery Section */
.events-gallery-section {
  padding: 54px 0 28px;
}
.events-gallery-section .section-title {
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 8px;
  text-align: center;
}
.events-gallery-section .section-desc {
  font-size: 15px;
  color: var(--muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.event-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
}

.event-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #000;
  border-bottom: 1px solid var(--stroke2);
}

.event-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.event-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

.event-slide.active {
  opacity: 1;
  z-index: 2;
}

.event-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.prev-btn {
  left: 12px;
}

.next-btn {
  right: 12px;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 8px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.slider-dot.active {
  background: #fff;
}

.event-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.event-date {
  font-size: 13px;
  color: var(--accent);
  font-weight: bold;
  letter-spacing: 0.5px;
}

.event-title {
  font-size: 17px;
  margin: 0;
  color: var(--ink);
  line-height: 1.4;
  font-weight: 600;
}

/* ============================================================
   Layout helpers (decorative/effect styles removed)
   ============================================================ */

/* Lotus divider (static line only) */
.dharma-divider{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin:6px 0 22px;
  color:var(--accent3);
  opacity:.8;
}
.dharma-divider::before,
.dharma-divider::after{
  content:"";
  height:1px;
  flex:1;
  max-width:140px;
  background:linear-gradient(90deg, transparent, rgba(184,150,58,.5));
}
.dharma-divider::after{
  background:linear-gradient(90deg, rgba(184,150,58,.5), transparent);
}
.dharma-divider svg{
  width:22px; height:22px;
}

/* Footer */
.footer{ position:relative; }
.footer-brand-text{
  align-items:center;
  gap:10px;
}
.footer-social{
  display:flex;
  gap:12px;
  margin-top:14px;
  flex-wrap:wrap;
}
.footer-social a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(139,105,20,.14);
  background:rgba(255,255,252,.55);
  color:var(--ink);
  font-size:12px;
  text-decoration:none;
}
.footer-social a:hover{
  background:rgba(255,255,252,.85);
  border-color:rgba(139,105,20,.28);
}
.footer-social svg{ width:14px; height:14px; opacity:.85; }
.footer-thanks{
  margin-top:18px;
  padding-top:16px;
  border-top:1px dashed rgba(139,105,20,.16);
  color:var(--muted2);
  font-size:12px;
  line-height:1.7;
}

