@charset "utf-8";

/*
Theme Name: Sangat - Sikh Gurdwara HTML5 Template
Author: Metropolitanthemes
Version: 1.0.0

%%%%%%% Table of CSS %%%%%%%

1. General
2. Preloader
3. Header
4. Offcanvas
5. Breadcrumb
6. Hero
7. Next Event And Sermon
8. About Intro
9. Causes
10. Latest Events And Sermons
11. Help Cards
12. News Cards
13. Sangat Wall
14. Home Two
15. Sermon Rows
16. About And Sevadars
17. Events And Details
18. Sermons And Details
19. Donation
20. Seva Pages
21. Blog
22. Shop
23. Contact, FAQ, Account And Utility Pages
24. Footer
*/

/*======================
1. General
========================*/
/* 1.1 Tokens. Brand constants: Turbin's navy and saffron kept exactly, a deep
   navy night added. Everything that changes with the theme reads a semantic
   token (ground, surfaces, heading, text, line, tint, accent) - light below,
   dark under [data-theme="dark"]. Tiro Gurmukhi headings over Noto Sans body. */
:root {
  --sg-color-navy: #13366F;
  --sg-color-navy-rgb: 19, 54, 111;
  --sg-color-night: #0C2450;
  --sg-color-night-rgb: 12, 36, 80;
  --sg-color-saffron: #F5B324;
  --sg-color-saffron-rgb: 245, 179, 36;
  --sg-color-white: #FFFFFF;
  --sg-color-white-rgb: 255, 255, 255;
  --sg-color-success: #1F7A4D;
  --sg-color-danger: #B3261E;
  /* light theme */
  --sg-bg: #FFFFFF;
  --sg-surface: #FFFFFF;
  --sg-surface-2: #F6F4EF;
  --sg-surface-3: #EEEAE1;
  --sg-heading: #13366F;
  --sg-text: #4A5B7A;
  --sg-muted: #5E6B86;
  --sg-numeral: #B57C00;
  --sg-line: #E3E7EE;
  --sg-tint: #FEF6E2;
  --sg-tint-2: #FCE6AE;
  --sg-accent: #8F6206;
  --sg-accent-ink: #7A5205;
  --sg-fill: #13366F;
  --sg-fill-rgb: 19, 54, 111;
  --sg-glass: rgba(255, 255, 255, 0.94);
  --sg-texture-opacity: 0.07;
  --sg-shadow: 0 1px 2px rgba(var(--sg-color-navy-rgb), 0.04), 0 18px 44px rgba(var(--sg-color-navy-rgb), 0.08);
  --sg-shadow-lg: 0 2px 6px rgba(var(--sg-color-navy-rgb), 0.05), 0 30px 70px rgba(var(--sg-color-navy-rgb), 0.16);
  --sg-ff-heading: 'Tiro Gurmukhi', Georgia, serif;
  --sg-ff-body: 'Noto Sans', Arial, sans-serif;
  --sg-fs-h1: clamp(2.5rem, 1.4rem + 3.4vw, 4.75rem);
  --sg-fs-h2: clamp(2rem, 1.25rem + 2vw, 3.25rem);
  --sg-fs-h3: clamp(1.375rem, 1.1rem + 0.7vw, 1.75rem);
  --sg-fs-h4: 1.3125rem;
  --sg-fs-h5: 1.125rem;
  --sg-fs-h6: 1rem;
  --sg-radius: 6px;
  --sg-radius-sm: 3px;
  --sg-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: light;
}
[data-theme="dark"] {
  --sg-bg: #071330;
  --sg-surface: #0E1F43;
  --sg-surface-2: #0A1938;
  --sg-surface-3: #15295A;
  --sg-heading: #F5F1E6;
  --sg-text: #B3BDD2;
  --sg-muted: #8D99B5;
  --sg-numeral: #F5B324;
  --sg-line: rgba(255, 255, 255, 0.1);
  --sg-tint: rgba(245, 179, 36, 0.1);
  --sg-tint-2: rgba(245, 179, 36, 0.18);
  --sg-accent: #F5B324;
  --sg-accent-ink: #F8C95A;
  --sg-fill: #2B5CB3;
  --sg-fill-rgb: 43, 92, 179;
  --sg-glass: rgba(14, 31, 67, 0.94);
  --sg-texture-opacity: 0.09;
  --sg-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 18px 44px rgba(0, 0, 0, 0.32);
  --sg-shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.25), 0 30px 70px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

/* 1.2 Base */
html {
  scroll-behavior: auto;
}
body {
  margin: 0;
  font-family: var(--sg-ff-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--sg-text);
  background: var(--sg-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.4s, color 0.4s;
}
body.oc-open {
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--sg-heading);
  text-decoration: none;
  transition: color 0.3s var(--sg-ease);
}
a:hover {
  color: var(--sg-accent);
}
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.005em;
  color: var(--sg-heading);
}
h1 { font-size: var(--sg-fs-h1); }
h2 { font-size: var(--sg-fs-h2); }
h3 { font-size: var(--sg-fs-h3); }
h4 { font-size: var(--sg-fs-h4); }
h5 { font-size: var(--sg-fs-h5); }
h6 { font-size: var(--sg-fs-h6); }
p {
  margin: 0 0 1em;
}
p:last-child {
  margin-bottom: 0;
}
::selection {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
}
:focus-visible {
  outline: 2px solid var(--sg-color-saffron);
  outline-offset: 3px;
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--sg-fill-rgb), 0.4) transparent;
}
.sg-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}
.container {
  position: relative;
}
/* reveals wait a few pixels off their place: never let that become a sideways scroll */
.main-root {
  overflow-x: clip;
}
.visually-hidden-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.sg-skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 10001;
  padding: 10px 18px;
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  font-weight: 700;
  transition: top 0.25s;
}
.sg-skip-link:focus {
  top: 16px;
}
/* wide screens: a wider measure and a larger root, so a 2K screen reads like a laptop */
@media (min-width: 1600px) {
  html { font-size: 17px; }
  .container { max-width: 1440px; }
}
@media (min-width: 1960px) {
  html { font-size: 18px; }
  .container { max-width: 1560px; }
}

/* 1.3 Section rhythm and grounds */
.sec-pt-120 { padding-top: 130px; }
.sec-pb-120 { padding-bottom: 130px; }
.sec-pt-90 { padding-top: 90px; }
.sec-pb-90 { padding-bottom: 90px; }
.sec-pb-60 { padding-bottom: 60px; }
.bg-stone { background: var(--sg-surface-2); }
/* every band is its own stacking context, including the few without a heading
   that are divs rather than sections */
section,
.sg-video-band,
.sg-contact-info,
.sg-map-band,
.sg-now-board {
  position: relative;
  z-index: 0;
}
/* a photograph used as a texture: grey, faint, never two light ones in a row */
.sg-texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.sg-texture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15);
  opacity: var(--sg-texture-opacity);
}
.sg-texture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--sg-texture-fade, var(--sg-bg)) 0%, transparent 22%, transparent 78%, var(--sg-texture-fade, var(--sg-bg)) 100%);
}
.bg-stone .sg-texture {
  --sg-texture-fade: var(--sg-surface-2);
}
/* a large Khanda watermark */
.sg-watermark {
  position: absolute;
  z-index: -1;
  width: 420px;
  opacity: 0.05;
  pointer-events: none;
}
[data-theme="dark"] .sg-watermark {
  opacity: 0.07;
}

/* 1.4 Section head: eyebrow with the Nishan pennant, title, lead */
.sg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--sg-ff-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--sg-accent);
}
.sg-eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 14px;
  background: var(--sg-color-saffron);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform-origin: left center;
  transform: scaleX(var(--sg-pen, 1));
}
.on-dark .sg-eyebrow,
.sg-eyebrow.on-dark {
  color: var(--sg-color-saffron);
}
.sg-section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.sg-section-head.is-left {
  margin-left: 0;
  text-align: left;
}
.sg-section-head .sg-title {
  margin-bottom: 20px;
}
.sg-section-head p,
.sg-lead {
  font-size: 1.125rem;
  line-height: 1.7;
}
.on-dark .sg-section-head .sg-title,
.on-dark > .sg-title {
  color: var(--sg-color-white);
}
.on-dark .sg-section-head p,
.on-dark > p {
  color: rgba(var(--sg-color-white-rgb), 0.8);
}
/* the base's underlined accent word, drawn in saffron */
.sg-title u {
  text-decoration: none;
  background-image: linear-gradient(var(--sg-color-saffron), var(--sg-color-saffron));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.1em;
  padding-bottom: 0.04em;
}
.sg-title .line {
  display: block;
  white-space: nowrap;
}

/* 1.5 Buttons: square, caps; the saffron one ends in the Nishan pennant's
   swallow-tail; every arrow does the double slide on hover */
.sg-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: var(--sg-radius-sm);
  font-family: var(--sg-ff-body);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transition: background-color 0.35s var(--sg-ease), color 0.35s var(--sg-ease), box-shadow 0.35s var(--sg-ease), transform 0.35s var(--sg-ease);
}
.sg-btn i {
  display: inline-block;
  width: 1em;
  overflow: hidden;
  font-size: 0.9em;
}
.sg-btn span + i::before {
  display: inline-block;
  text-shadow: -1.7em 0 0 currentColor;
  transition: transform 0.4s var(--sg-ease);
}
.sg-btn:hover span + i::before {
  transform: translateX(1.7em);
}
.sg-btn i:first-child {
  width: auto;
  overflow: visible;
}
.sg-btn:hover {
  transform: translateY(-2px);
}
.sg-btn-saffron {
  padding-right: 40px;
  border-radius: 0;
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%);
}
.sg-btn-saffron::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--sg-fill);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--sg-ease);
}
.sg-btn-saffron:hover {
  color: var(--sg-color-white);
}
.sg-btn-saffron:hover::before {
  transform: scaleX(1);
}
.sg-btn-tonal {
  background: var(--sg-tint-2);
  color: var(--sg-accent-ink);
}
.sg-btn-tonal:hover {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
}
.sg-btn-navy {
  background: var(--sg-fill);
  color: var(--sg-color-white);
}
.sg-btn-navy:hover {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
}
.sg-btn-glass {
  background: rgba(var(--sg-color-white-rgb), 0.12);
  color: var(--sg-color-white);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.sg-btn-glass:hover {
  background: var(--sg-color-white);
  color: var(--sg-color-navy);
}
.sg-btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.75rem;
}
.sg-btn-saffron.sg-btn-sm {
  padding-right: 30px;
}
.sg-btn-block {
  width: 100%;
}
.sg-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sg-heading);
}
.sg-btn-link i {
  color: var(--sg-accent);
  transition: transform 0.3s var(--sg-ease);
}
.sg-btn-link:hover i {
  transform: translateX(4px);
}

/* 1.6 Forms: every field has a label, an icon and a placeholder */
.sg-field {
  position: relative;
  margin-bottom: 22px;
}
.sg-field > label,
.sg-label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--sg-heading);
}
.sg-input-wrap {
  position: relative;
}
.sg-input-wrap > i {
  position: absolute;
  top: 50%;
  left: 18px;
  z-index: 2;
  transform: translateY(-50%);
  font-size: 0.875rem;
  color: var(--sg-accent);
  pointer-events: none;
}
.sg-input-wrap.is-area > i {
  top: 21px;
  transform: none;
}
.sg-input-wrap input,
.sg-input-wrap select,
.sg-input-wrap textarea {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px 14px 46px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius-sm);
  background: var(--sg-surface);
  font-family: var(--sg-ff-body);
  font-size: 0.9375rem;
  color: var(--sg-heading);
  box-shadow: inset 0 1px 2px rgba(var(--sg-color-navy-rgb), 0.04);
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.sg-input-wrap textarea {
  min-height: 160px;
  resize: vertical;
}
.sg-input-wrap input:hover,
.sg-input-wrap textarea:hover {
  border-color: rgba(var(--sg-fill-rgb), 0.3);
}
.sg-input-wrap input:focus,
.sg-input-wrap select:focus,
.sg-input-wrap textarea:focus {
  outline: 0;
  border-color: var(--sg-color-saffron);
  box-shadow: 0 0 0 4px rgba(var(--sg-color-saffron-rgb), 0.18);
}
::placeholder {
  color: #8A95AB;
  opacity: 1;
}
.form-status {
  margin: 14px 0 0;
  font-size: 0.875rem;
  font-weight: 600;
}
.form-status:empty {
  display: none;
}
.form-status.is-success {
  color: var(--sg-color-success);
}
.form-status.is-error {
  color: var(--sg-color-danger);
}
[data-theme="dark"] .form-status.is-success,
.on-dark .form-status.is-success {
  color: #8FE0B5;
}
[data-theme="dark"] .form-status.is-error,
.on-dark .form-status.is-error {
  color: #FFB4AB;
}
/* custom select (the native select stays underneath for the form) */
.sg-select {
  position: relative;
}
.sg-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.sg-select-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px 14px 46px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius-sm);
  background: var(--sg-surface);
  font-size: 0.9375rem;
  color: var(--sg-heading);
  text-align: left;
  cursor: pointer;
}
.sg-select.no-icon .sg-select-btn {
  padding-left: 18px;
}
.sg-select-btn::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.6875rem;
  color: var(--sg-accent);
  transition: transform 0.3s;
}
.sg-select.is-open .sg-select-btn::after {
  transform: rotate(180deg);
}
.sg-select.is-open .sg-select-btn {
  border-color: var(--sg-color-saffron);
}
.sg-select-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 280px;
  margin: 0;
  padding: 8px;
  overflow-y: auto;
  list-style: none;
  background: var(--sg-surface);
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  box-shadow: var(--sg-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.sg-select.opens-up .sg-select-list {
  top: auto;
  bottom: calc(100% + 6px);
}
.sg-select.is-open .sg-select-list {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sg-select-list li {
  padding: 10px 14px;
  border-radius: var(--sg-radius-sm);
  font-size: 0.9375rem;
  color: var(--sg-heading);
  cursor: pointer;
}
.sg-select-list li.is-focus {
  background: var(--sg-surface-2);
}
.sg-select-list li.is-selected {
  background: var(--sg-tint-2);
  color: var(--sg-accent-ink);
  font-weight: 600;
}
.sg-select-list li.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.sg-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  cursor: pointer;
}
.sg-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--sg-color-saffron);
}

/* 1.7 Shared bits: social discs, toast, stars, date tile, meta, progress, bars */
.sg-social {
  display: flex;
  gap: 10px;
}
.sg-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(var(--sg-color-white-rgb), 0.08);
  color: var(--sg-color-white);
  font-size: 0.875rem;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.sg-social a:hover {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  transform: translateY(-3px);
}
.sg-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: var(--sg-radius);
  background: var(--sg-color-night);
  color: var(--sg-color-white);
  font-size: 0.9375rem;
  box-shadow: var(--sg-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px);
  transition: opacity 0.35s, transform 0.35s, visibility 0.35s;
}
.sg-toast i {
  color: var(--sg-color-saffron);
}
.sg-toast.is-shown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.sg-stars {
  display: inline-flex;
  gap: 3px;
  color: var(--sg-color-saffron);
  font-size: 0.8125rem;
}
.sg-date-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  font-family: var(--sg-ff-body);
  line-height: 1;
  text-align: center;
}
.sg-date-tile .d {
  font-family: var(--sg-ff-heading);
  font-size: 3rem;
  line-height: 0.92;
  color: var(--sg-numeral);
}
.sg-date-tile .m {
  margin-top: 9px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sg-heading);
}
.sg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}
.sg-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sg-meta i {
  color: var(--sg-accent);
}
.sg-progress {
  position: relative;
  height: 6px;
  border-radius: 6px;
  background: var(--sg-surface-3);
  overflow: hidden;
}
.sg-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--sg-fill), var(--sg-color-saffron));
}
/* the saffron foot bar: the base's own card device */
.sg-foot-bar {
  position: relative;
}
.sg-foot-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--sg-color-saffron);
  transform-origin: left center;
  transform: scaleX(var(--sg-bar, 1));
  transition: height 0.35s var(--sg-ease);
}
.sg-foot-bar:hover::after {
  height: 7px;
}
.sg-hover-bar {
  position: relative;
}
.sg-hover-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--sg-color-saffron);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s var(--sg-ease);
}
.sg-hover-bar:hover::after {
  transform: scaleX(1);
}
.sg-zoom {
  overflow: hidden;
}
.sg-zoom img {
  transition: transform 0.9s var(--sg-ease);
}
.sg-zoom:hover img,
.sg-hover-bar:hover .sg-zoom img {
  transform: scale(1.06);
}
.sg-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}
.sg-pagination a,
.sg-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  border-radius: 50%;
  background: var(--sg-surface-2);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--sg-heading);
  transition: background-color 0.3s, color 0.3s;
}
.sg-pagination .wide {
  border-radius: 48px;
}
.sg-pagination a:hover,
.sg-pagination .is-current {
  background: var(--sg-fill);
  color: var(--sg-color-white);
}
/* the card face every section shares */
.sg-card {
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow);
}
/* the WebGL light layer (Sarovar Light) */
.sg-gl {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}
/* checkboxes: a rounded box in the template's colours, filled and ticked when checked */
.sg-check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 1.5px solid var(--sg-muted);
  border-radius: 6px;
  background: var(--sg-surface) no-repeat center / 13px 13px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.sg-check input[type="checkbox"]:hover {
  border-color: var(--sg-color-saffron);
  box-shadow: 0 0 0 4px rgba(var(--sg-color-saffron-rgb), 0.18);
}
.sg-check input[type="checkbox"]:checked {
  border-color: var(--sg-color-saffron);
  background-color: var(--sg-color-saffron);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 6.3 4.9 8.7 9.6 3.6' fill='none' stroke='%230B1630' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.sg-check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--sg-color-saffron);
  outline-offset: 2px;
}

/* the accent word in a title keeps its colour and stands upright (no italic), wherever the title is styled */
html body :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="display"]) :is(em, .accent, .fd-accent, .accent-serif) {
  font-style: normal;
}

/* Avatar group: overlapping round portraits of the community, a count and a short line. As wide as its content;
   is-centered sits it in the middle of a centred column, has-space-below keeps a button under it at a distance. */
.sg-avatars {
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  margin-top: 30px;
}
.sg-avatars.is-centered {
  margin-inline: auto;
}
.sg-avatars.has-space-below {
  margin-bottom: 32px;
}
.sg-avatar-stack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sg-avatar-stack li {
  position: relative;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border: 3px solid var(--sg-surface);
  border-radius: 50%;
  background: var(--sg-surface);
  transition: transform 0.35s ease;
}
.sg-avatar-stack li + li {
  margin-inline-start: -14px;
}
.sg-avatar-stack li:hover {
  z-index: 2;
  transform: translateY(-4px);
}
.sg-avatar-stack img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sg-avatar-stack .is-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  font-family: var(--sg-ff-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.sg-avatars .avatars-copy {
  font-family: var(--sg-ff-body);
  font-size: 14px;
  line-height: 1.4;
  text-align: start;
}
.sg-avatars .avatars-copy b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--sg-heading);
}
.sg-avatars .avatars-copy span {
  display: block;
  color: var(--sg-text);
}
/* on a photograph or a dark band: white rings and light words */
.sg-avatars.is-on-dark .sg-avatar-stack li {
  border-color: rgba(255, 255, 255, 0.92);
}
.sg-avatars.is-on-dark .avatars-copy b {
  color: #FFFFFF;
}
.sg-avatars.is-on-dark .avatars-copy span {
  color: rgba(255, 255, 255, 0.82);
}

/* a byline's round portrait, in place of the generic user icon */
.sg-byline-avatar {
  display: inline-block;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  box-shadow: 0 0 0 2px var(--sg-surface);
}

/*======================
2. Preloader
========================*/
/* P5 "the Khanda assembles": the chakkar turns into place, the khanda descends
   through it, the two kirpans swing in and cross, SANGAT rises, then the whole
   lockup flies into the header logo while the night veil lifts. */
.sg-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.sg-preloader .pre-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 46%, #173D7A 0%, var(--sg-color-night) 62%);
}
.js .sg-preloader {
  display: flex;
}
.sg-preloader .pre-lockup {
  position: relative;
  width: 252px;
  aspect-ratio: 504 / 123;
  transform-origin: 0 0;
}
.sg-preloader .pre-piece {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.sg-preloader .pre-whole {
  opacity: 0;
}

/*======================
3. Header
========================*/
/* Turbin's header kept and refined: a topbar of live gurdwara facts (open now,
   the next prayer) with the direction switch, then the menu in a hairline box
   of frosted glass with the saffron Donate block flush at its end. Dropdowns
   carry an icon per page and a pennant that marks the hovered item. On scroll
   it becomes a frosted navy bar. */
.sg-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
/* visible so the language menu can hang below; hidden only while the bar folds away on scroll */
.sg-topbar {
  position: relative;
  z-index: 2;
  overflow: visible;
  max-height: 60px;
  border-bottom: 1px solid rgba(var(--sg-color-white-rgb), 0.12);
  transition: max-height 0.4s var(--sg-ease), opacity 0.3s, border-color 0.3s;
}
.sg-topbar .topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 50px;
  font-size: 0.8125rem;
  color: rgba(var(--sg-color-white-rgb), 0.84);
}
.sg-topbar ul {
  display: flex;
  align-items: center;
}
.topbar-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-left: 1px solid rgba(var(--sg-color-white-rgb), 0.2);
  white-space: nowrap;
}
.topbar-info li:first-child {
  padding-left: 0;
  border-left: 0;
}
.topbar-info i {
  color: var(--sg-color-saffron);
  font-size: 0.75rem;
}
.topbar-info a,
.topbar-links a {
  color: rgba(var(--sg-color-white-rgb), 0.84);
}
.topbar-info a:hover,
.topbar-links a:hover {
  color: var(--sg-color-saffron);
}
.sg-open-state.is-open i {
  color: #7EE0A9;
}
.sg-open-state b,
.sg-next-prayer b {
  font-weight: 700;
  color: var(--sg-color-white);
}
.topbar-end {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar-links {
  gap: 20px;
}
/* Language picker: a flag and a code; the menu lists the languages that read left to right and right to left.
   The demo copy stays in English, and a right-to-left language turns the layout around. */
.sg-lang {
  position: relative;
  flex-shrink: 0;
}
.sg-lang .lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 40px;
  background: rgba(var(--sg-color-white-rgb), 0.1);
  color: var(--sg-color-white);
  font-family: var(--sg-ff-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.sg-lang .lang-btn:hover,
.sg-lang .lang-btn[aria-expanded="true"] {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
}
.sg-lang .lang-btn > i {
  font-size: 9px;
  transition: transform 0.3s ease;
}
.sg-lang .lang-btn[aria-expanded="true"] > i {
  transform: rotate(180deg);
}
.sg-lang .flag {
  flex-shrink: 0;
  width: 22px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.sg-lang.is-icon .lang-btn {
  height: 44px;
  padding: 0 15px;
  background: rgba(var(--sg-color-white-rgb), 0.1);
  color: var(--sg-color-white);
}
.sg-lang.is-icon .lang-btn:hover,
.sg-lang.is-icon .lang-btn[aria-expanded="true"] {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
}
.sg-lang .lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-end: 0;
  z-index: 1300;
  width: 248px;
  padding: 10px;
  border-radius: 14px;
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow-lg);
  font-family: var(--sg-ff-body);
  text-align: start;
  white-space: normal;
}
.sg-lang.is-up .lang-menu {
  top: auto;
  bottom: calc(100% + 12px);
}
.sg-lang.is-start .lang-menu {
  inset-inline-start: 0;
  inset-inline-end: auto;
}
.sg-lang .lang-menu[hidden] {
  display: none;
}
.sg-lang .lang-group {
  margin: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sg-muted);
}
.sg-lang .lang-menu ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sg-lang .lang-menu ul + .lang-group {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--sg-line);
}
.sg-lang .lang-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--sg-heading);
  font-family: var(--sg-ff-body);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: start;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.sg-lang .lang-item small {
  margin-inline-start: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sg-muted);
}
.sg-lang .lang-item i {
  width: 12px;
  font-size: 11px;
  color: var(--sg-accent);
  opacity: 0;
}
.sg-lang .lang-item:hover,
.sg-lang .lang-item[aria-pressed="true"] {
  background: var(--sg-tint);
}
.sg-lang .lang-item[aria-pressed="true"] {
  font-weight: 600;
}
.sg-lang .lang-item[aria-pressed="true"] i {
  opacity: 1;
}
.sg-lang .lang-note {
  margin: 10px 10px 4px;
  padding-top: 10px;
  border-top: 1px solid var(--sg-line);
  font-size: 12px;
  line-height: 1.5;
  color: var(--sg-muted);
}
.sg-navbar {
  padding-top: 14px;
  transition: padding 0.4s var(--sg-ease);
}
.sg-navbar .navbar-box {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
  padding-left: 28px;
  border: 1px solid rgba(var(--sg-color-white-rgb), 0.28);
  background: rgba(var(--sg-color-night-rgb), 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.4s, min-height 0.4s var(--sg-ease), padding 0.4s, background-color 0.4s;
}
.sg-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.sg-logo img {
  width: auto;
  height: 56px;
  transition: height 0.4s var(--sg-ease);
}
.sg-main-nav {
  display: flex;
  align-items: stretch;
  margin-left: auto;
}
.sg-menu {
  display: flex;
  align-items: stretch;
}
.sg-menu > li {
  position: relative;
  display: flex;
  align-items: center;
}
.sg-menu > li > a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sg-color-white);
}
.sg-menu > li > a i {
  font-size: 0.5625rem;
  color: rgba(var(--sg-color-white-rgb), 0.6);
  transition: transform 0.3s, color 0.3s;
}
.sg-menu > li:hover > a,
.sg-menu > li.active > a {
  color: var(--sg-color-saffron);
}
.sg-menu > li:hover > a i,
.sg-menu > li.active > a i {
  color: var(--sg-color-saffron);
}
.sg-menu > li:hover > a i {
  transform: rotate(180deg);
}
.sg-menu .sub-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  z-index: 20;
  min-width: 250px;
  margin: 0;
  padding: 12px;
  list-style: none;
  background: var(--sg-surface);
  border: 1px solid var(--sg-line);
  border-top: 3px solid var(--sg-color-saffron);
  border-radius: 0 0 var(--sg-radius) var(--sg-radius);
  box-shadow: var(--sg-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s, transform 0.35s var(--sg-ease), visibility 0.3s;
}
/* the Home mega panel: a preview of every home */
.sg-menu .sub-menu.mega-home {
  display: grid;
  grid-template-columns: repeat(2, 280px);
  gap: 14px;
  min-width: 0;
  padding: 18px;
}
.sg-menu .sub-menu.mega-home a {
  display: block;
  padding: 0;
  background: transparent;
}
.sg-menu .sub-menu.mega-home li:hover > a,
.sg-menu .sub-menu.mega-home li.active > a {
  padding-left: 0;
  background: transparent;
  color: var(--sg-accent);
}
.mega-shot {
  display: block;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  aspect-ratio: 16 / 10;
  transition: border-color 0.3s, box-shadow 0.35s, transform 0.4s var(--sg-ease);
}
.mega-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.sg-menu .sub-menu.mega-home li:hover .mega-shot,
.sg-menu .sub-menu.mega-home li.active .mega-shot {
  border-color: var(--sg-color-saffron);
  box-shadow: var(--sg-shadow);
  transform: translateY(-3px);
}
.sg-menu .mega-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-family: var(--sg-ff-heading);
  font-size: 1.0625rem;
}
.mega-label small {
  font-family: var(--sg-ff-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sg-muted);
}
/* the hover bridge across the gap under the tab */
.sg-menu > li > .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 22px;
}
.sg-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sg-menu .sub-menu li {
  position: relative;
}
.sg-menu .sub-menu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--sg-radius-sm);
  font-size: 0.9375rem;
  color: var(--sg-heading);
  transition: color 0.25s, background-color 0.25s;
}
.sg-menu .sub-menu a > i:first-child {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sg-tint);
  color: var(--sg-accent);
  font-size: 0.75rem;
  transition: background-color 0.25s, color 0.25s;
}
.sg-menu .sub-menu a .fa-chevron-right {
  margin-left: auto;
  font-size: 0.5625rem;
  color: var(--sg-muted);
}
.sg-menu .sub-menu li:hover > a,
.sg-menu .sub-menu li.active > a {
  background: var(--sg-surface-2);
  color: var(--sg-accent);
}
.sg-menu .sub-menu li:hover > a > i:first-child,
.sg-menu .sub-menu li.active > a > i:first-child {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
}
.sg-menu .sub-menu .sub-menu {
  top: -16px;
  left: calc(100% + 12px);
  border-top-width: 1px;
  border-radius: var(--sg-radius);
  transform: translateX(10px);
}
.sg-menu .sub-menu .sub-menu::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 14px;
}
.sg-menu .sub-menu li:hover > .sub-menu {
  transform: none;
}
/* the menu nearest the right edge drops its panel from the tab's right edge, so its flyouts still open forward
   (to the right, chevrons pointing right) and stay on screen */
.sg-menu > li.flyout-left > .sub-menu {
  left: auto;
  right: 0;
}
.header-actions {
  display: flex;
  align-items: stretch;
}
.sg-theme-toggle,
.sg-bag-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  border: 0;
  border-left: 1px solid rgba(var(--sg-color-white-rgb), 0.16);
  background: transparent;
  color: var(--sg-color-white);
  font-size: 1.0625rem;
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s;
}
.sg-theme-toggle:hover,
.sg-bag-link:hover {
  color: var(--sg-color-saffron);
  background: rgba(var(--sg-color-white-rgb), 0.06);
}
.sg-theme-toggle i {
  transition: transform 0.6s var(--sg-ease);
}
[data-theme="dark"] .sg-theme-toggle i {
  transform: rotate(180deg);
}
.sg-bag-count {
  position: absolute;
  top: 50%;
  right: 8px;
  min-width: 18px;
  height: 18px;
  margin-top: -22px;
  padding: 0 5px;
  border-radius: 18px;
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.sg-bag-count.is-empty {
  display: none;
}
.header-donate {
  min-height: 0;
  padding: 0 34px;
  clip-path: none;
}
.header-donate:hover {
  transform: none;
}
.sg-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 66px;
  padding: 0 20px;
  border: 0;
  border-left: 1px solid rgba(var(--sg-color-white-rgb), 0.16);
  background: transparent;
  cursor: pointer;
}
.sg-menu-toggle span {
  display: block;
  height: 2px;
  background: var(--sg-color-white);
  transition: width 0.3s;
}
.sg-menu-toggle span:nth-child(2) {
  width: 70%;
}
.sg-menu-toggle:hover span:nth-child(2) {
  width: 100%;
}
/* scrolled: a frosted navy bar */
.sg-header.is-scrolled {
  position: fixed;
  background: rgba(var(--sg-color-night-rgb), 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: sg-header-in 0.5s var(--sg-ease);
}
.sg-header.is-scrolled .sg-topbar {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  border-color: transparent;
}
.sg-header.is-scrolled .sg-navbar {
  padding-top: 0;
}
.sg-header.is-scrolled .navbar-box {
  min-height: 78px;
  padding-left: 0;
  border-color: transparent;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.sg-header.is-scrolled .sg-logo img {
  height: 46px;
}
@keyframes sg-header-in {
  from { transform: translateY(-100%); }
  to { transform: none; }
}
/* minimal header: account pages, 404 */
.sg-header-minimal {
  position: relative;
  background: var(--sg-color-night);
}
.sg-header-minimal .minimal-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 100px;
}
.sg-header-minimal .back-home {
  color: rgba(var(--sg-color-white-rgb), 0.86);
}
.sg-header-minimal .back-home i {
  color: var(--sg-color-saffron);
}
.sg-header-minimal .back-home:hover i {
  transform: translateX(-4px);
}
.minimal-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.minimal-end .sg-theme-toggle {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: rgba(var(--sg-color-white-rgb), 0.08);
}

/* the light / dark switch: a moon in the light theme, a sun in the dark one (Theme Icons) */
html .ti-sun {
  display: none;
}
html[data-theme="dark"] .ti-sun {
  display: inline-block;
}
html[data-theme="dark"] .ti-moon {
  display: none;
}

/*======================
4. Offcanvas
========================*/
.sg-offcanvas-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(var(--sg-color-night-rgb), 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.sg-offcanvas-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.sg-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  width: min(400px, 92vw);
  background: var(--sg-color-night);
  color: var(--sg-color-white);
  transform: translateX(102%);
  transition: transform 0.55s var(--sg-ease);
}
.sg-offcanvas.is-open {
  transform: none;
}
.sg-offcanvas .oc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px;
  border-bottom: 1px solid rgba(var(--sg-color-white-rgb), 0.1);
}
.sg-offcanvas .oc-head img {
  height: 46px;
}
.offcanvas-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(var(--sg-color-white-rgb), 0.1);
  color: var(--sg-color-white);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, transform 0.4s;
}
.offcanvas-close:hover {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  transform: rotate(90deg);
}
.sg-offcanvas .oc-body {
  flex: 1 1 auto;
  padding: 10px 28px 20px;
  overflow-y: auto;
  scrollbar-color: rgba(var(--sg-color-white-rgb), 0.3) transparent;
}
.oc-group {
  padding: 18px 0;
  border-bottom: 1px solid rgba(var(--sg-color-white-rgb), 0.08);
}
.oc-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sg-color-saffron);
}
.oc-group ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 14px;
}
.oc-group a {
  display: block;
  padding: 5px 0;
  font-family: var(--sg-ff-heading);
  font-size: 1.0625rem;
  color: rgba(var(--sg-color-white-rgb), 0.86);
}
.oc-group a:hover,
.oc-group a.is-current {
  color: var(--sg-color-saffron);
}
.sg-offcanvas .oc-foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 28px 28px;
  border-top: 1px solid rgba(var(--sg-color-white-rgb), 0.1);
}
.oc-mail {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: rgba(var(--sg-color-white-rgb), 0.86);
  font-size: 0.9375rem;
}
.oc-mail i {
  color: var(--sg-color-saffron);
}

.oc-prefs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/*======================
5. Breadcrumb
========================*/
/* Turbin's subheader: a navy-tinted photograph, the page title left and the
   trail right on one line, with the boxed header floating over it. */
.sg-breadcrumb-area {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 520px;
  padding: 210px 0 84px;
  overflow: hidden;
  background: var(--sg-color-night);
  color: var(--sg-color-white);
}
.sg-breadcrumb-area .breadcrumb-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.sg-breadcrumb-area .breadcrumb-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sg-breadcrumb-area .breadcrumb-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--sg-color-night-rgb), 0.9) 0%, rgba(var(--sg-color-night-rgb), 0.55) 55%, rgba(var(--sg-color-night-rgb), 0.35) 100%),
    linear-gradient(0deg, rgba(var(--sg-color-night-rgb), 0.6) 0%, rgba(var(--sg-color-night-rgb), 0) 45%);
}
.sg-breadcrumb-area .container {
  width: 100%;
}
.breadcrumb-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.breadcrumb-text {
  max-width: 640px;
}
.sg-page-title {
  margin-bottom: 14px;
  color: var(--sg-color-white);
}
.breadcrumb-text p {
  margin: 0;
  font-size: 1.0625rem;
  color: rgba(var(--sg-color-white-rgb), 0.82);
}
.sg-breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  padding: 12px 22px;
  border-radius: 40px;
  background: rgba(var(--sg-color-white-rgb), 0.1);
  font-size: 0.875rem;
  white-space: nowrap;
}
.sg-breadcrumb-nav li {
  display: flex;
  align-items: center;
  color: var(--sg-color-saffron);
}
.sg-breadcrumb-nav li + li::before {
  content: "\f105";
  margin: 0 12px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.6875rem;
  color: rgba(var(--sg-color-white-rgb), 0.6);
}
.sg-breadcrumb-nav a {
  color: var(--sg-color-white);
}
.sg-breadcrumb-nav a:hover {
  color: var(--sg-color-saffron);
}

/*======================
6. Hero
========================*/
/* Turbin's hero: the Golden Temple under a navy veil, a caps headline centred,
   square arrows on the edges (saffron forward, glass back). Three slides. */
.sg-hero {
  position: relative;
  background: var(--sg-color-night);
}
.sg-hero-slider {
  height: clamp(720px, 100vh, 980px);
}
.sg-hero .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.sg-hero .hero-bg {
  position: absolute;
  inset: 0;
}
.sg-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s linear;
}
.sg-hero .swiper-slide-active .hero-bg img {
  transform: scale(1);
}
.sg-hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 52%, rgba(var(--sg-color-night-rgb), 0.62) 0%, rgba(var(--sg-color-night-rgb), 0.18) 75%),
    linear-gradient(180deg, rgba(var(--sg-color-night-rgb), 0.55) 0%, rgba(var(--sg-color-night-rgb), 0) 30%, rgba(var(--sg-color-night-rgb), 0) 70%, rgba(var(--sg-color-night-rgb), 0.5) 100%);
}
.sg-hero .container {
  z-index: 3;
}
.sg-hero > .sg-gl {
  z-index: 2;
}
.hero-copy {
  max-width: 980px;
  margin: 0 auto;
  padding: 130px 0 110px;
  text-align: center;
  color: var(--sg-color-white);
}
.hero-copy .sg-eyebrow {
  margin-bottom: 22px;
}
.hero-title {
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 1.4rem + 5.2vw, 7.25rem);
  line-height: 0.98;
  letter-spacing: 0.012em;
  text-shadow: 0 6px 40px rgba(var(--sg-color-night-rgb), 0.45);
  text-transform: uppercase;
  color: var(--sg-color-white);
}
.hero-title .line {
  display: block;
  white-space: nowrap;
}
.hero-copy p {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.1875rem;
  color: rgba(var(--sg-color-white-rgb), 0.86);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-top: -32px;
  border: 0;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, width 0.35s var(--sg-ease);
}
.hero-prev {
  left: 0;
  background: rgba(var(--sg-color-night-rgb), 0.55);
  color: var(--sg-color-white);
}
.hero-next {
  right: 0;
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
}
.hero-arrow:hover {
  width: 78px;
}
.hero-prev:hover {
  background: var(--sg-color-white);
  color: var(--sg-color-navy);
}
.hero-next:hover {
  background: var(--sg-color-white);
}
.hero-count {
  position: absolute;
  right: 22px;
  /* anchored by its foot so the total always clears the next arrow below it */
  bottom: calc(50% + 56px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--sg-ff-heading);
  color: var(--sg-color-white);
}
.hero-count b {
  font-weight: 400;
  font-size: 1.375rem;
}
.hero-count span {
  position: relative;
  width: 2px;
  height: 64px;
  overflow: hidden;
  background: rgba(var(--sg-color-white-rgb), 0.25);
}
.hero-count span i {
  position: absolute;
  inset: 0;
  background: var(--sg-color-saffron);
  transform-origin: top center;
  transform: scaleY(var(--p, 0));
}
.hero-count em {
  font-style: normal;
  font-size: 0.9375rem;
  color: rgba(var(--sg-color-white-rgb), 0.6);
}
.hero-rise {
  will-change: transform;
}

/*======================
7. Next Event And Sermon
========================*/
/* Turbin's two white cards that overlap the hero's foot: the next event with a
   live countdown, the latest sermon with a working player. */
.sg-next-area {
  position: relative;
  z-index: 3;
  margin-top: -112px;
}
.sg-next-card {
  position: relative;
  height: 100%;
  padding: 42px 44px 40px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow-lg);
  overflow: hidden;
}
.sg-next-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sg-color-saffron), rgba(var(--sg-color-saffron-rgb), 0));
}
.sg-next-card .sg-eyebrow {
  margin-bottom: 10px;
}
.next-title {
  margin-bottom: 24px;
  font-size: clamp(1.625rem, 1.3rem + 0.8vw, 2.125rem);
}
.next-title a {
  color: var(--sg-heading);
}
.next-title a:hover {
  color: var(--sg-accent);
}
.next-event-info {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 28px;
}
.next-event-info .sg-date-tile {
  padding-right: 26px;
  border-right: 1px solid var(--sg-line);
}
.sg-meta.is-stack {
  flex-direction: column;
  gap: 8px;
}
.next-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--sg-line);
}
.next-countdown {
  display: flex;
  gap: 6px;
  margin: 0;
}
.next-countdown div {
  min-width: 66px;
  padding: 10px 6px 8px;
  border-radius: var(--sg-radius-sm);
  background: var(--sg-tint);
  text-align: center;
}
.next-countdown dt {
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--sg-heading);
  font-variant-numeric: tabular-nums;
}
.next-countdown dd {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sg-muted);
}
.next-sermon .sg-meta {
  margin-bottom: 22px;
}
.sermon-tools {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.sermon-tools a,
.sermon-tools button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--sg-surface-2);
  color: var(--sg-heading);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, transform 0.3s var(--sg-ease);
}
.sermon-tools a:hover,
.sermon-tools button:hover,
.sermon-tools button.is-playing {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  transform: translateY(-3px);
}
/* the player: one audio element, a saffron play square, a seek bar, the time */
.sg-player {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 18px 12px 12px;
  border-radius: var(--sg-radius);
  background: var(--sg-surface-2);
}
.player-play {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: var(--sg-radius-sm);
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.player-play:hover {
  background: var(--sg-color-navy);
  color: var(--sg-color-white);
}
.player-track {
  flex: 1 1 auto;
  min-width: 0;
}
.player-title {
  display: block;
  margin-bottom: 8px;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sg-heading);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.player-bar {
  position: relative;
  height: 6px;
  border-radius: 6px;
  background: rgba(var(--sg-color-navy-rgb), 0.12);
  cursor: pointer;
}
.player-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 6px;
  background: var(--sg-color-navy);
}
.player-bar i::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--sg-color-saffron);
  box-shadow: 0 0 0 3px var(--sg-color-white);
}
.player-time {
  flex: 0 0 auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sg-muted);
  font-variant-numeric: tabular-nums;
}

/*======================
8. About Intro
========================*/
/* Turbin's centred welcome: the Golden Temple fading in from both edges, a
   faint Khanda behind the words, the underlined word drawn in saffron. */
.sg-about-intro {
  overflow: hidden;
  text-align: center;
  background: var(--sg-bg);
}
.sg-about-intro .about-edges {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.sg-about-intro .about-edges img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.about-watermark {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: -1;
  width: 380px;
  opacity: 0.06;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.about-copy {
  max-width: 780px;
  margin: 0 auto;
}
.about-copy .sg-title {
  margin-bottom: 26px;
}
.about-copy p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 40px auto 42px;
  max-width: 640px;
  border-top: 1px solid var(--sg-line);
  border-bottom: 1px solid var(--sg-line);
}
.about-facts div {
  padding: 22px 10px;
}
.about-facts div + div {
  border-left: 1px solid var(--sg-line);
}
.about-facts dt {
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--sg-heading);
}
.about-facts dd {
  margin: 8px 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sg-muted);
}
.about-copy .sg-lead {
  font-size: 1.1875rem;
  color: var(--sg-heading);
}
[data-theme="dark"] .sg-about-intro .about-edges {
  mix-blend-mode: multiply;
  opacity: 0.85;
}

/*======================
9. Causes
========================*/
/* Turbin's donation band: the sangat photograph under navy, three white cause
   cards with real raised / goal math, the bar and the days left. */
.sg-photo-band {
  overflow: hidden;
  background: var(--sg-color-night);
}
.sg-photo-band .band-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.sg-photo-band .band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sg-photo-band .band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--sg-color-night-rgb), 0.72) 0%, rgba(var(--sg-color-navy-rgb), 0.6) 100%);
}
.sg-cause-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow);
  transition: transform 0.45s var(--sg-ease), box-shadow 0.45s var(--sg-ease);
}
.sg-cause-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sg-shadow-lg);
}
.cause-media {
  position: relative;
  display: block;
  aspect-ratio: 520 / 308;
}
.cause-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cause-left {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 6px 13px;
  border-radius: 30px;
  background: rgba(var(--sg-color-night-rgb), 0.82);
  color: var(--sg-color-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cause-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 28px 28px 32px;
}
.cause-body h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}
.cause-body h3 a {
  color: var(--sg-heading);
}
.cause-body h3 a:hover {
  color: var(--sg-accent);
}
.cause-body > p {
  font-size: 0.9375rem;
}
.cause-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 18px;
}
.cause-progress .sg-progress {
  flex: 1 1 auto;
}
.cause-pct {
  font-family: var(--sg-ff-heading);
  font-size: 1.125rem;
  color: var(--sg-heading);
}
.cause-amount {
  display: flex;
  justify-content: space-between;
  margin: 0 0 24px;
  padding: 14px 0;
  border-top: 1px solid var(--sg-line);
  border-bottom: 1px solid var(--sg-line);
}
.cause-amount div:last-child {
  text-align: right;
}
.cause-amount dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sg-muted);
}
.cause-amount dd {
  margin: 2px 0 0;
  font-family: var(--sg-ff-heading);
  font-size: 1.375rem;
  color: var(--sg-heading);
}
.cause-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}
.sg-cause-card {
  border: 1px solid var(--sg-line);
}

/*======================
10. Latest Events And Sermons
========================*/
/* Turbin's split: dated event rows on the left, a sermon accordion on the right,
   each column headed by its title and a tonal See All. */
.latest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.latest-head .sg-title {
  margin: 0;
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
}
.sg-event-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sg-event-row {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px 26px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  overflow: hidden;
  transition: transform 0.4s var(--sg-ease), box-shadow 0.4s var(--sg-ease), border-color 0.4s;
}
.sg-event-row:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--sg-shadow);
}
.sg-event-row .sg-date-tile {
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  border-radius: var(--sg-radius);
  background: var(--sg-tint);
  transition: background-color 0.4s;
}
.sg-event-row .sg-date-tile .d {
  font-size: 2.375rem;
}
.sg-event-row:hover .sg-date-tile {
  background: var(--sg-color-saffron);
}
.sg-event-row:hover .sg-date-tile .d,
.sg-event-row:hover .sg-date-tile .m {
  color: var(--sg-color-night);
}
.event-row-body h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}
.event-row-body h3 a {
  color: var(--sg-heading);
}
.event-row-body h3 a:hover {
  color: var(--sg-accent);
}
.event-row-body .sg-meta {
  flex-direction: column;
  gap: 4px;
  font-size: 0.875rem;
}
/* accordion */
.sg-sermon-accordion {
  border-top: 1px solid var(--sg-line);
}
.fold-item {
  border-bottom: 1px solid var(--sg-line);
}
.fold-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 40px 24px 0;
  border: 0;
  background: transparent;
  font-family: var(--sg-ff-heading);
  font-size: 1.25rem;
  color: var(--sg-heading);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}
.fold-head:hover,
.fold-item.is-open .fold-head {
  color: var(--sg-accent);
}
.fold-head i {
  position: absolute;
  right: 0;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: var(--sg-surface-2);
  transition: background-color 0.3s, transform 0.4s var(--sg-ease);
}
.fold-head i::before,
.fold-head i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--sg-color-navy);
  transition: transform 0.4s var(--sg-ease);
}
.fold-head i::after {
  transform: rotate(90deg);
}
.fold-item.is-open .fold-head i {
  background: var(--sg-color-saffron);
  transform: rotate(180deg);
}
.fold-item.is-open .fold-head i::after {
  transform: rotate(0deg);
}
.fold-body {
  display: none;
  padding: 0 0 26px;
}
.fold-item.is-open .fold-body {
  display: block;
}
.fold-body .sg-meta {
  margin-bottom: 18px;
}
.fold-body .sermon-tools {
  margin-bottom: 0;
}

/*======================
11. Help Cards
========================*/
/* Turbin's four seva cards on the temple band: the niche glyph, the title and a
   saffron foot bar. The glyph tile inverts on hover. */
.sg-help {
  padding-bottom: 120px;
}
.sg-help-card {
  display: block;
  height: 100%;
  padding: 44px 30px 46px;
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--sg-shadow);
  transition: transform 0.45s var(--sg-ease), box-shadow 0.45s var(--sg-ease);
}
.sg-help-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sg-shadow-lg);
}
.help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--sg-tint);
  color: var(--sg-color-saffron);
  font-size: 2.75rem;
  line-height: 1;
  transition: background-color 0.4s, color 0.4s, transform 0.5s var(--sg-ease);
}
.help-icon i::before {
  margin: 0;
  font-size: 2.75rem;
}
.sg-help-card:hover .help-icon {
  background: var(--sg-color-navy);
  color: var(--sg-color-saffron);
  transform: rotateY(180deg);
}
.sg-help-card:hover .help-icon i {
  display: inline-block;
  transform: rotateY(180deg);
}
.sg-help-card h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}
.sg-help-card p {
  margin: 0 0 22px;
  font-size: 0.9375rem;
  color: var(--sg-text);
}
.help-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sg-surface-2);
  color: var(--sg-heading);
  font-size: 0.875rem;
  transition: background-color 0.35s, color 0.35s, transform 0.45s var(--sg-ease);
}
.sg-help-card:hover .help-more {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  transform: translateX(6px);
}
.sg-help-card {
  border: 1px solid var(--sg-line);
}

/*======================
12. News Cards
========================*/
/* Turbin's news card: the photograph with a white card inset over its foot. */
.sg-news-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.news-media {
  position: relative;
  display: block;
  aspect-ratio: 570 / 300;
  border-radius: var(--sg-radius);
}
.news-tag {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 6px 13px;
  border-radius: 30px;
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-body {
  position: relative;
  flex: 1 1 auto;
  border: 1px solid var(--sg-line);
  margin: -64px 24px 0;
  padding: 30px 28px 34px;
  overflow: hidden;
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow);
  text-align: center;
  transition: transform 0.45s var(--sg-ease), box-shadow 0.45s var(--sg-ease);
}
.sg-news-card:hover .news-body {
  transform: translateY(-8px);
  box-shadow: var(--sg-shadow-lg);
}
.sg-news-card:hover .news-body::after {
  transform: scaleX(1);
}
.sg-news-card:hover .news-media img {
  transform: scale(1.06);
}
.news-date {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sg-accent);
}
.news-body .news-date {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
}
.news-body h3 {
  margin-bottom: 12px;
  font-size: 1.375rem;
}
.news-body h3 a {
  color: var(--sg-heading);
}
.news-body h3 a:hover {
  color: var(--sg-accent);
}
.news-body p {
  font-size: 0.9375rem;
  margin-bottom: 22px;
}

/*======================
13. Sangat Wall
========================*/
/* Turbin's wall of turbaned faces with the Join A Community panel over it.
   Home 1's scroll moment, Sangat Gathers: the faces fill in from the centre of
   the wall with the section's own travel, and the panel lands last. */
.sg-sangat-wall {
  overflow: hidden;
}
.wall-stage {
  position: relative;
}
.wall-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.wall-tile {
  position: relative;
  display: block;
  aspect-ratio: 126 / 100;
  overflow: hidden;
  background: var(--sg-color-navy);
}
.wall-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.wall-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(var(--sg-color-night-rgb), 0.55) 0%, rgba(var(--sg-color-night-rgb), 0.15) 45%, rgba(var(--sg-color-night-rgb), 0) 70%);
  pointer-events: none;
}
.wall-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.wall-panel {
  max-width: 470px;
  padding: 48px 46px;
  border-radius: var(--sg-radius);
  background: var(--sg-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--sg-shadow-lg);
  pointer-events: auto;
}
.wall-panel h3 {
  margin-bottom: 14px;
  font-size: 2.25rem;
}
.wall-panel p {
  font-size: 0.9375rem;
}
.wall-facts {
  display: flex;
  gap: 36px;
  margin: 22px 0 28px;
}
.wall-facts dt {
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--sg-heading);
}
.wall-facts dd {
  margin: 6px 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sg-muted);
}

/*======================
14. Home Two
========================*/
/* Home 2 takes Turbin's second home (the candle video) towards daily life: the
   live day bar, the programme stacking as the day goes (S5, CSS sticky, never
   pinned), today's hukam, langar to sponsor, katha to hear, our locations. */
.sg-video-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(700px, 96vh, 940px);
  overflow: hidden;
  background: var(--sg-color-night);
}
.sg-video-hero .video-bg {
  position: absolute;
  inset: 0;
}
.sg-video-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sg-video-hero .video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(var(--sg-color-night-rgb), 0.55) 0%, rgba(var(--sg-color-night-rgb), 0.3) 80%),
    linear-gradient(180deg, rgba(var(--sg-color-night-rgb), 0.6) 0%, rgba(var(--sg-color-night-rgb), 0) 34%, rgba(var(--sg-color-night-rgb), 0) 66%, rgba(var(--sg-color-night-rgb), 0.55) 100%);
}
.sg-video-hero .container {
  z-index: 3;
}
.sg-video-hero > .sg-gl,
.sg-hukam > .sg-gl {
  z-index: 0;
}
.sg-hukam .container {
  z-index: 1;
}
/* today bar: overlaps the hero's foot */
.sg-today-bar {
  position: relative;
  z-index: 3;
  margin-top: -64px;
}
.today-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: stretch;
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow-lg);
  overflow: hidden;
}
.today-cell {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--sg-line);
}
.today-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sg-tint);
  color: var(--sg-accent);
}
.today-cell:first-child .today-icon {
  background: rgba(31, 122, 77, 0.1);
  color: var(--sg-color-success);
}
.today-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sg-muted);
}
.today-cell strong {
  display: block;
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--sg-heading);
}
.today-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 34px;
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.today-link:hover {
  background: var(--sg-color-navy);
  color: var(--sg-color-white);
}
/* programme: the intro stays while the day's cards stack */
.programme-intro {
  position: sticky;
  top: 130px;
}
.programme-clock {
  display: flex;
  gap: 0;
  margin: 30px 0 34px;
  border-top: 1px solid var(--sg-line);
  border-bottom: 1px solid var(--sg-line);
}
.programme-clock div {
  flex: 1 1 0;
  padding: 18px 0;
}
.programme-clock div + div {
  padding-left: 24px;
  border-left: 1px solid var(--sg-line);
}
.programme-clock dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sg-muted);
}
.programme-clock dd {
  margin: 4px 0 0;
  font-family: var(--sg-ff-heading);
  font-size: 1.5rem;
  color: var(--sg-heading);
}
.sg-prog-stack {
  position: relative;
}
.sg-prog-card {
  position: sticky;
  top: 120px;
  display: grid;
  grid-template-columns: 112px 1fr auto;
  align-items: center;
  gap: 26px;
  margin-bottom: 18px;
  padding: 26px 30px;
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  border: 1px solid var(--sg-line);
  box-shadow: 0 -14px 34px rgba(var(--sg-color-navy-rgb), 0.07);
  transition: border-color 0.4s, background-color 0.4s;
}
.sg-prog-card:nth-child(2) { top: 132px; }
.sg-prog-card:nth-child(3) { top: 144px; }
.sg-prog-card:nth-child(4) { top: 156px; }
.sg-prog-card:nth-child(5) { top: 168px; }
.sg-prog-card:nth-child(6) { top: 180px; }
.sg-prog-card:nth-child(7) { top: 192px; }
.sg-prog-card:nth-child(8) { top: 204px; }
.sg-prog-card:nth-child(9) { top: 216px; margin-bottom: 0; }
.prog-time {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sg-heading);
  font-variant-numeric: tabular-nums;
}
.prog-time span:first-child {
  font-family: var(--sg-ff-heading);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1;
}
.prog-time i {
  width: 22px;
  height: 2px;
  background: var(--sg-color-saffron);
}
.prog-body h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  font-size: 1.375rem;
}
.prog-body h3 i {
  font-size: 0.9375rem;
  color: var(--sg-accent);
}
.prog-body p {
  margin: 0;
  font-size: 0.9375rem;
}
.prog-state {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.prog-state:empty {
  display: none;
}
.sg-prog-card.is-live {
  border-color: var(--sg-color-saffron);
  background: var(--sg-tint);
}
.sg-prog-card.is-live .prog-state {
  padding: 7px 13px;
  border-radius: 30px;
  background: var(--sg-color-navy);
  color: var(--sg-color-white);
}
.sg-prog-card.is-next .prog-state {
  padding: 7px 13px;
  border-radius: 30px;
  background: var(--sg-tint-2);
  color: var(--sg-accent-ink);
}
/* hukam band */
.hukam-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  color: var(--sg-color-white);
}
.hukam-mark {
  width: 70px;
  margin: 0 auto 20px;
  display: block;
}
.hukam-title {
  margin-bottom: 26px;
  color: var(--sg-color-white);
}
.hukam-text {
  margin: 0 0 34px;
  padding: 0;
}
.hukam-text p {
  font-family: var(--sg-ff-heading);
  font-style: italic;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  line-height: 1.5;
  color: var(--sg-color-white);
}
.hukam-meta {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 36px;
  border: 1px solid rgba(var(--sg-color-white-rgb), 0.2);
  border-radius: var(--sg-radius);
}
.hukam-meta div {
  padding: 14px 28px;
}
.hukam-meta div + div {
  border-left: 1px solid rgba(var(--sg-color-white-rgb), 0.2);
}
.hukam-meta dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sg-color-saffron);
}
.hukam-meta dd {
  margin: 2px 0 0;
  font-family: var(--sg-ff-heading);
  font-size: 1.125rem;
}
/* langar sponsor */
.langar-media {
  position: relative;
  padding: 0 0 40px 0;
}
.langar-media img {
  width: 100%;
  aspect-ratio: 600 / 470;
  object-fit: cover;
  border-radius: var(--sg-radius);
}
.langar-badge {
  position: absolute;
  right: 30px;
  bottom: 0;
  padding: 26px 30px;
  border-radius: var(--sg-radius);
  background: var(--sg-color-navy);
  color: var(--sg-color-white);
  box-shadow: var(--sg-shadow-lg);
}
.langar-badge span {
  display: block;
  font-family: var(--sg-ff-heading);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--sg-color-saffron);
}
.langar-badge small {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sg-langar-calc {
  margin-top: 30px;
  padding: 32px;
  border-radius: var(--sg-radius);
  background: var(--sg-surface-2);
}
.calc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.calc-out {
  font-family: var(--sg-ff-heading);
  font-size: 1.75rem;
  color: var(--sg-heading);
}
.sg-range {
  width: 100%;
  height: 6px;
  margin: 6px 0 26px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--sg-color-navy) var(--fill, 17%), rgba(var(--sg-color-navy-rgb), 0.14) var(--fill, 17%));
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.sg-range::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 4px solid var(--sg-color-white);
  border-radius: 50%;
  background: var(--sg-color-saffron);
  box-shadow: 0 4px 12px rgba(var(--sg-color-navy-rgb), 0.3);
  -webkit-appearance: none;
  appearance: none;
}
.sg-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 4px solid var(--sg-color-white);
  border-radius: 50%;
  background: var(--sg-color-saffron);
}
.calc-menus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.calc-menus legend {
  grid-column: 1 / -1;
}
.menu-opt {
  position: relative;
  cursor: pointer;
}
.menu-opt input {
  position: absolute;
  opacity: 0;
}
.menu-opt span {
  display: block;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.menu-opt b {
  display: block;
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--sg-heading);
}
.menu-opt small {
  display: block;
  font-size: 0.8125rem;
  color: var(--sg-muted);
}
.menu-opt em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sg-accent);
}
.menu-opt input:checked + span {
  border-color: var(--sg-color-saffron);
  box-shadow: 0 0 0 3px rgba(var(--sg-color-saffron-rgb), 0.25);
}
.menu-opt input:focus-visible + span {
  outline: 2px solid var(--sg-color-navy);
  outline-offset: 2px;
}
.calc-prashad {
  margin-bottom: 20px;
  font-size: 0.875rem;
}
.calc-total {
  margin: 0 0 22px;
  border-top: 1px solid var(--sg-surface-3);
}
.calc-total div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--sg-surface-3);
  font-size: 0.9375rem;
}
.calc-total dd {
  margin: 0;
  font-weight: 600;
  color: var(--sg-heading);
  font-variant-numeric: tabular-nums;
}
.calc-total .is-total dt {
  font-weight: 700;
  color: var(--sg-heading);
}
.calc-total .is-total dd {
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: 1.625rem;
  color: var(--sg-heading);
}
/* katha */
.katha-now {
  height: 100%;
  overflow: hidden;
  border-radius: var(--sg-radius);
  background: var(--sg-color-navy);
}
.katha-cover img {
  width: 100%;
  aspect-ratio: 770 / 420;
  object-fit: cover;
}
.katha-now-body {
  padding: 30px;
}
.katha-rows {
  margin: 22px 0 0;
}
.katha-rows div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(var(--sg-color-white-rgb), 0.1);
  font-size: 0.9375rem;
}
.katha-rows dt {
  font-weight: 600;
  color: rgba(var(--sg-color-white-rgb), 0.6);
}
.katha-rows dd {
  margin: 0;
  color: var(--sg-color-white);
}
.sg-player.is-dark {
  background: rgba(var(--sg-color-white-rgb), 0.08);
}
.sg-player.is-dark .player-title,
.sg-player.is-dark .player-time {
  color: var(--sg-color-white);
}
.sg-player.is-dark .player-bar {
  background: rgba(var(--sg-color-white-rgb), 0.2);
}
.sg-player.is-dark .player-bar i {
  background: var(--sg-color-saffron);
}
.sg-player.is-dark .player-bar i::after {
  box-shadow: 0 0 0 3px var(--sg-color-navy);
}
.katha-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* news split */
.sg-news-split .latest-head {
  align-items: flex-end;
  margin-bottom: 44px;
}
.news-feature {
  height: 100%;
  overflow: hidden;
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow);
}
.news-feature-media {
  display: block;
  aspect-ratio: 1110 / 420;
}
.news-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-feature-body {
  padding: 30px 34px 36px;
}
.news-feature-body h3 {
  font-size: 1.75rem;
}
.news-feature-body h3 a,
.news-mini h3 a {
  color: var(--sg-heading);
}
.news-mini-list {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 1px solid var(--sg-line);
}
.news-mini {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1 1 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--sg-line);
}
.news-mini > a {
  flex: 0 0 auto;
  display: block;
  width: 108px;
  height: 108px;
  border-radius: var(--sg-radius);
}
.news-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-mini h3 {
  margin: 0;
  font-size: 1.375rem;
}
/* locations */
.locations-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 24px;
}
.location-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.location-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 24px 26px 24px 30px;
  border: 0;
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  text-align: left;
  cursor: pointer;
  transition: box-shadow 0.35s, transform 0.35s var(--sg-ease);
}
.location-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--sg-color-saffron);
  transform: scaleY(0);
  transition: transform 0.4s var(--sg-ease);
}
.location-item:hover {
  transform: translateX(4px);
}
.location-item.is-active {
  box-shadow: var(--sg-shadow);
}
.location-item.is-active::before {
  transform: scaleY(1);
}
.loc-name {
  display: block;
  margin-bottom: 4px;
  font-family: var(--sg-ff-heading);
  font-size: 1.375rem;
  color: var(--sg-heading);
}
.loc-address {
  display: block;
  font-size: 0.9375rem;
  color: var(--sg-text);
}
.loc-hours {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--sg-muted);
}
.loc-hours i {
  color: var(--sg-accent);
}
.loc-hours b {
  color: var(--sg-color-success);
}
.loc-hours b.is-closed {
  color: var(--sg-color-danger);
}
[data-theme="dark"] .loc-hours b {
  color: #8FE0B5;
}
[data-theme="dark"] .loc-hours b.is-closed {
  color: #FF8A80;
}
.location-map {
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--sg-radius);
  background: var(--sg-surface-3);
}
.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

/*======================
15. Sermon Rows
========================*/
/* Turbin's sermon list row: thumbnail, title with speaker and date, and the four
   round tools on the right. The row playing now is marked. */
.sg-sermon-row {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 18px 26px 18px 18px;
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: 0 8px 24px rgba(var(--sg-color-navy-rgb), 0.05);
  overflow: hidden;
  transition: transform 0.4s var(--sg-ease), box-shadow 0.4s var(--sg-ease);
}
.sg-sermon-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--sg-shadow);
}
.sg-sermon-row.is-playing {
  box-shadow: inset 4px 0 0 var(--sg-color-saffron), var(--sg-shadow);
}
.sermon-thumb {
  display: block;
  aspect-ratio: 220 / 160;
  border-radius: var(--sg-radius-sm);
}
.sermon-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sermon-topic {
  display: block;
  margin-bottom: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sg-accent);
}
.sermon-info h3 {
  margin-bottom: 8px;
  font-size: 1.3125rem;
}
.sermon-info h3 a {
  color: var(--sg-heading);
}
.sermon-info h3 a:hover {
  color: var(--sg-accent);
}
.sermon-info .sg-meta {
  font-size: 0.8125rem;
}
.sg-sermon-row .sermon-tools {
  margin: 0;
}
.sg-sermon-row .sermon-tools a,
.sg-sermon-row .sermon-tools button {
  width: 42px;
  height: 42px;
  font-size: 0.875rem;
}

/*======================
16. About And Sevadars
========================*/
/* Turbin's about page: the welcome (now a split with a photo stack, so it is not
   the home's centred copy), the three values, the kirtan film, Our Granthi.
   Added: the three pillars band and the counters. Sevadars: filter tabs over
   the team grid, then the seva roles. */
.sg-about-split {
  overflow: hidden;
}
.about-split-mark {
  right: -120px;
  top: 60px;
}
.about-stack {
  position: relative;
  padding: 0 0 70px 0;
}
.stack-main {
  width: 82%;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  border-radius: var(--sg-radius);
}
.stack-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}
.stack-second {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 600 / 420;
  overflow: hidden;
  border: 8px solid var(--sg-bg);
  border-radius: var(--sg-radius);
  box-shadow: var(--sg-shadow-lg);
}
.stack-second img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stack-seal {
  position: absolute;
  left: 58%;
  top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  text-align: center;
  box-shadow: 0 0 0 10px rgba(var(--sg-color-saffron-rgb), 0.2);
}
.stack-seal span {
  font-family: var(--sg-ff-heading);
  font-size: 3.25rem;
  line-height: 1;
}
.stack-seal small {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.about-rows {
  margin: 30px 0 36px;
  border-top: 1px solid var(--sg-line);
}
.about-rows div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sg-line);
}
.about-rows dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sg-muted);
}
.about-rows dd {
  margin: 0;
  font-family: var(--sg-ff-heading);
  font-size: 1.1875rem;
  color: var(--sg-heading);
}
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 90px;
  border-top: 1px solid var(--sg-line);
}
.value-item {
  position: relative;
  padding: 44px 40px 0 0;
}
.value-item + .value-item {
  padding-left: 40px;
  border-left: 1px dashed var(--sg-line);
}
.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--sg-tint);
  color: var(--sg-accent);
  font-size: 1.25rem;
  transition: background-color 0.35s, color 0.35s;
}
.value-item:hover .value-icon {
  background: var(--sg-fill);
  color: var(--sg-color-saffron);
}
.value-item h3 {
  font-size: 1.5rem;
}
/* the three pillars: a dark primary band */
.sg-pillars {
  overflow: hidden;
  background: var(--sg-color-night);
}
.band-texture {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.band-texture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.12;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  position: relative;
  padding: 44px 40px 46px;
  border: 1px solid rgba(var(--sg-color-white-rgb), 0.12);
  border-radius: var(--sg-radius);
  background: rgba(var(--sg-color-white-rgb), 0.04);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.4s, border-color 0.4s, transform 0.45s var(--sg-ease);
}
.pillar:hover {
  background: rgba(var(--sg-color-white-rgb), 0.08);
  border-color: rgba(var(--sg-color-saffron-rgb), 0.5);
  transform: translateY(-6px);
}
.pillar-num {
  display: block;
  margin-bottom: 26px;
  font-family: var(--sg-ff-heading);
  font-size: 4.5rem;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--sg-color-saffron);
}
.pillar h3 {
  font-size: 1.75rem;
  color: var(--sg-color-white);
}
.pillar p {
  margin: 0;
  color: rgba(var(--sg-color-white-rgb), 0.72);
}
/* film */
.video-frame {
  position: relative;
  display: block;
  aspect-ratio: 1170 / 420;
  overflow: hidden;
  border-radius: var(--sg-radius);
}
.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--sg-ease);
}
.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--sg-color-night-rgb), 0.75), rgba(var(--sg-color-night-rgb), 0.25));
}
.video-frame:hover img {
  transform: scale(1.04);
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  font-size: 1.5rem;
  box-shadow: 0 0 0 14px rgba(var(--sg-color-saffron-rgb), 0.25), 0 0 0 28px rgba(var(--sg-color-saffron-rgb), 0.1);
  animation: sg-pulse 2.6s infinite;
}
@keyframes sg-pulse {
  0%, 100% { box-shadow: 0 0 0 14px rgba(var(--sg-color-saffron-rgb), 0.25), 0 0 0 28px rgba(var(--sg-color-saffron-rgb), 0.1); }
  50% { box-shadow: 0 0 0 20px rgba(var(--sg-color-saffron-rgb), 0.18), 0 0 0 40px rgba(var(--sg-color-saffron-rgb), 0.05); }
}
.video-caption {
  position: absolute;
  left: 44px;
  bottom: 38px;
  z-index: 2;
  color: var(--sg-color-white);
}
.video-caption strong {
  display: block;
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: 1.75rem;
}
.about-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-bottom: 1px solid var(--sg-line);
}
.about-counters div {
  padding: 46px 20px;
  text-align: center;
}
.about-counters div + div {
  border-left: 1px solid var(--sg-line);
}
.about-counters dt {
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: 3.25rem;
  line-height: 1;
  color: var(--sg-heading);
}
.about-counters dd {
  margin: 10px 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sg-muted);
}
/* team */
.sg-team-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow);
  text-align: center;
  transition: transform 0.45s var(--sg-ease), box-shadow 0.45s var(--sg-ease);
}
.sg-team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sg-shadow-lg);
}
.team-media {
  aspect-ratio: 255 / 250;
}
.team-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform-origin: center top;
}
.team-body {
  padding: 26px 22px 32px;
}
.team-group {
  display: block;
  margin-bottom: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sg-accent);
}
.team-body h3 {
  margin-bottom: 2px;
  font-size: 1.5rem;
}
.team-body p {
  margin-bottom: 18px;
  font-size: 0.9375rem;
  color: var(--sg-muted);
}
.team-social {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.team-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sg-surface-2);
  color: var(--sg-heading);
  font-size: 0.8125rem;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.team-social a:hover {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  transform: translateY(-3px);
}
.team-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 52px;
}
.team-head .sg-section-head {
  margin-bottom: 0;
}
/* filter tabs: tonal, the active one filled */
.sg-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sg-filter-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  border-radius: 40px;
  background: var(--sg-surface-2);
  color: var(--sg-heading);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.sg-filter-tabs button span {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 20px;
  background: var(--sg-surface);
  font-size: 0.75rem;
  color: var(--sg-muted);
}
.sg-filter-tabs button:hover {
  background: var(--sg-tint-2);
}
.sg-filter-tabs button.is-active {
  background: var(--sg-fill);
  color: var(--sg-color-white);
}
.sg-filter-tabs button.is-active span {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
}
[data-filter-item].is-hidden {
  display: none;
}
/* join band */
.sg-join-band {
  overflow: hidden;
  background: var(--sg-color-navy);
}
.join-title {
  color: var(--sg-color-white);
}
.join-copy {
  margin-bottom: 30px;
  color: rgba(var(--sg-color-white-rgb), 0.78);
}
.seva-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.seva-role {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 26px;
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow);
}
.seva-role .role-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--sg-tint);
  color: var(--sg-accent);
}
.seva-role h3 {
  margin-bottom: 4px;
  font-size: 1.3125rem;
}
.seva-role p {
  margin: 0;
  font-size: 0.875rem;
}
.seva-role b {
  grid-column: 2;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sg-color-success);
}
[data-theme="dark"] .seva-role b {
  color: #8FE0B5;
}

/*======================
17. Events And Details
========================*/
/* Turbin's events list (photo left, copy right) under a next-gurpurab band and
   status tabs; the details page keeps the photo with its countdown bar and the
   information sidebar, and adds the day's programme and calendar exports. The
   comments and the sidebar widgets are shared with the sermon and blog pages. */
.events-feature {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
  padding: 44px 48px;
  border-radius: var(--sg-radius);
  background: linear-gradient(120deg, var(--sg-color-night), var(--sg-color-navy));
  box-shadow: var(--sg-shadow-lg);
  color: var(--sg-color-white);
}
.feature-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem);
  color: var(--sg-color-white);
}
.feature-copy p {
  margin: 0;
  color: rgba(var(--sg-color-white-rgb), 0.75);
}
.next-countdown.is-light div,
.next-countdown.is-dark div {
  background: rgba(var(--sg-color-white-rgb), 0.08);
}
.next-countdown.is-light dt,
.next-countdown.is-dark dt {
  color: var(--sg-color-white);
}
.next-countdown.is-light dd,
.next-countdown.is-dark dd {
  color: rgba(var(--sg-color-white-rgb), 0.78);
}
.events-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--sg-line);
}
.events-title {
  margin: 0;
}
.sg-event-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sg-event-item {
  padding-bottom: 40px;
  border-bottom: 1px dashed var(--sg-line);
}
.sg-event-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.event-media {
  position: relative;
  display: block;
  aspect-ratio: 600 / 380;
  border-radius: var(--sg-radius);
}
.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-cat {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 6px 14px;
  border-radius: 30px;
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sg-date-tile.is-inline {
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.sg-date-tile.is-inline .d {
  font-size: 2.5rem;
}
.event-title {
  margin-bottom: 14px;
  font-size: clamp(1.625rem, 1.3rem + 0.9vw, 2.25rem);
}
.event-title a {
  color: var(--sg-heading);
}
.event-title a:hover {
  color: var(--sg-accent);
}
.event-copy .sg-meta {
  flex-direction: column;
  gap: 6px;
  margin-bottom: 26px;
}
.event-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--sg-line);
}
.event-countdown {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sg-muted);
}
.event-countdown b {
  color: var(--sg-heading);
  font-variant-numeric: tabular-nums;
}
/* details */
.detail-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--sg-radius);
}
.detail-media img {
  display: block;
  width: 100%;
  aspect-ratio: 770 / 440;
  object-fit: cover;
}
.media-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 26px;
  background: rgba(var(--sg-color-night-rgb), 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.media-bar .sg-date-tile {
  padding-right: 24px;
  border-right: 1px solid rgba(var(--sg-color-white-rgb), 0.15);
}
.media-bar .sg-date-tile .m {
  color: var(--sg-color-white);
}
.media-bar .sg-date-tile .d {
  color: var(--sg-color-saffron);
}
.media-bar .next-countdown {
  flex: 1 1 auto;
  justify-content: space-between;
}
.media-bar .next-countdown div {
  flex: 1 1 0;
}
.detail-body {
  padding-top: 44px;
}
.detail-title {
  font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem);
}
.detail-meta {
  margin-bottom: 26px;
}
.sg-quote {
  position: relative;
  margin: 36px 0;
  padding: 34px 36px 32px 96px;
  border-radius: var(--sg-radius);
  background: var(--sg-surface-2);
}
.sg-quote::before {
  content: "\f10d";
  position: absolute;
  left: 34px;
  top: 32px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--sg-color-saffron);
}
.sg-quote p {
  margin-bottom: 12px;
  font-family: var(--sg-ff-heading);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.5;
  color: var(--sg-heading);
}
.sg-quote cite {
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sg-accent);
}
.detail-sub {
  margin: 48px 0 24px;
  font-size: 1.75rem;
}
.sg-timeline {
  position: relative;
  margin-left: 6px;
  border-left: 2px solid var(--sg-line);
}
.sg-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 0 0 26px 30px;
}
.sg-timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--sg-bg);
  border-radius: 50%;
  background: var(--sg-color-saffron);
  box-shadow: 0 0 0 1px var(--sg-color-saffron);
}
.sg-timeline time {
  font-family: var(--sg-ff-heading);
  font-size: 1.125rem;
  color: var(--sg-accent);
}
.sg-timeline h4 {
  margin-bottom: 2px;
  font-size: 1.1875rem;
}
.sg-timeline p {
  margin: 0;
  font-size: 0.9375rem;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding: 24px 0;
  border-top: 1px solid var(--sg-line);
  border-bottom: 1px solid var(--sg-line);
}
.detail-share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--sg-heading);
}
.detail-share a,
.detail-share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--sg-surface-2);
  color: var(--sg-heading);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.detail-share a:hover,
.detail-share button:hover {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
}
/* comments */
.comment-list .comment {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--sg-line);
}
.comment > img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}
.comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 8px;
}
.comment-head h4 {
  margin: 0;
  font-size: 1.1875rem;
}
.comment-head span {
  font-size: 0.8125rem;
  color: var(--sg-muted);
}
.comment-reply {
  margin-left: auto;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.75rem;
}
.comment-children {
  grid-column: 2;
}
.comment-children .comment {
  border-bottom: 0;
  padding-bottom: 0;
}
.sg-comment-form {
  margin-top: 10px;
}
/* sidebar */
.sg-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.side-widget {
  padding: 32px 30px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow);
}
.side-title {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 14px;
  font-size: 1.375rem;
}
.side-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background: var(--sg-color-saffron);
}
.side-rows {
  margin: 0 0 26px;
}
.side-rows div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--sg-line);
  font-size: 0.9375rem;
}
.side-rows dt {
  font-weight: 600;
  color: var(--sg-heading);
}
.side-rows dd {
  margin: 0;
  text-align: right;
}
.side-map {
  overflow: hidden;
  border-radius: var(--sg-radius-sm);
  background: var(--sg-surface-3);
}
.side-map iframe {
  display: block;
  width: 100%;
  height: 230px;
  border: 0;
}
.side-note {
  margin: 14px 0 0;
  font-size: 0.875rem;
}
.side-event {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--sg-line);
}
.side-event:last-child {
  border-bottom: 0;
}
.sg-date-tile.is-mini {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  min-width: 0;
  border-radius: var(--sg-radius);
  background: var(--sg-tint);
}
.sg-date-tile.is-mini .d {
  font-size: 1.625rem;
}
.sg-date-tile.is-mini .m {
  margin-top: 5px;
  font-size: 0.625rem;
}
.side-event strong {
  display: block;
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--sg-heading);
}
.side-event small {
  font-size: 0.8125rem;
  color: var(--sg-muted);
}

/*======================
18. Sermons And Details
========================*/
/* Turbin's sermon list with its list / grid switch, now working: one player bar
   on top plays whichever row is chosen, topics filter the list. The details
   page turns the base's four-button bar into Listen / Watch / Download / Share. */
.sermon-player-bar {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 30px;
  margin-bottom: 56px;
  padding: 20px;
  border-radius: var(--sg-radius);
  background: linear-gradient(120deg, var(--sg-color-night), var(--sg-color-navy));
  box-shadow: var(--sg-shadow-lg);
}
.bar-cover {
  width: 100%;
  aspect-ratio: 220 / 160;
  object-fit: cover;
  border-radius: var(--sg-radius-sm);
}
.bar-copy .sg-eyebrow {
  margin-bottom: 10px;
}
.sermon-player-bar .sg-player {
  padding-right: 24px;
}
.sermons-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}
.view-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: 40px;
  background: var(--sg-surface-2);
}
.view-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--sg-heading);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.view-toggle button.is-active {
  background: var(--sg-fill);
  color: var(--sg-color-white);
}
.sg-sermon-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.sg-sermon-list.is-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sg-sermon-list.is-grid .sg-sermon-row {
  grid-template-columns: 1fr;
  align-content: start;
  padding: 16px 16px 24px;
}
.sg-sermon-list.is-grid .sermon-thumb {
  aspect-ratio: 16 / 10;
}
.sg-sermon-list.is-grid .sermon-tools {
  grid-column: auto;
  padding: 0 4px;
}
.sg-sermon-list.is-grid .sermon-info {
  padding: 6px 4px 0;
}
.sg-sermon-list .sg-sermon-row.is-hidden {
  display: none;
}
/* details */
.sermon-toolbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 20px;
  border-radius: 0 0 var(--sg-radius) var(--sg-radius);
  background: var(--sg-color-navy);
  overflow: hidden;
}
.sermon-toolbar a,
.sermon-toolbar button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  border: 0;
  border-left: 1px solid rgba(var(--sg-color-white-rgb), 0.12);
  background: transparent;
  color: var(--sg-color-white);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.sermon-toolbar > :first-child {
  border-left: 0;
}
.sermon-toolbar a:hover,
.sermon-toolbar button:hover,
.sermon-toolbar button.is-playing {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
}
.sg-sermon-details .detail-media {
  border-radius: var(--sg-radius) var(--sg-radius) 0 0;
}
.katha-points {
  margin: 0;
  border-top: 1px solid var(--sg-line);
}
.katha-points div {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--sg-line);
}
.katha-points dt {
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: 1.375rem;
  color: var(--sg-accent);
}
.katha-points dd {
  margin: 0;
  color: var(--sg-heading);
}
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--sg-heading);
}
.detail-tags a {
  padding: 6px 14px;
  border-radius: 30px;
  background: var(--sg-surface-2);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--sg-text);
}
.detail-tags a:hover {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
}
.side-speaker {
  text-align: center;
}
.side-speaker img {
  width: 110px;
  height: 110px;
  margin-bottom: 16px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 6px var(--sg-tint);
}
.side-speaker h3 {
  margin-bottom: 2px;
  font-size: 1.5rem;
}
.side-speaker p {
  font-size: 0.875rem;
  color: var(--sg-muted);
}
.side-post {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--sg-line);
}
.side-post:last-child {
  border-bottom: 0;
}
.side-post img {
  width: 80px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--sg-radius-sm);
}
.side-post strong {
  display: block;
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--sg-heading);
  transition: color 0.3s;
}
.side-post:hover strong {
  color: var(--sg-accent);
}
.side-post small {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--sg-muted);
}
.side-cats li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px dashed var(--sg-line);
  color: var(--sg-heading);
}
.side-cats li:last-child a {
  border-bottom: 0;
}
.side-cats li a span {
  min-width: 28px;
  padding: 1px 9px;
  border-radius: 20px;
  background: var(--sg-surface-2);
  font-size: 0.75rem;
  text-align: center;
  color: var(--sg-muted);
  transition: background-color 0.3s, color 0.3s;
}
.side-cats li a:hover span {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
}

/*======================
19. Donation
========================*/
/* Turbin's donation page kept in its shape - the form with the amount chips,
   payment method, campaign and donor details beside the popular donations - and
   made to work: once / monthly, a preview of what the gift does to the chosen
   campaign, a summary, and a dasvandh calculator in the sidebar. */
.sg-donate-form {
  padding: 48px;
}
.donate-head {
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--sg-line);
}
.donate-head .sg-title {
  margin: 0;
}
/* segmented choice: tonal track, the chosen one filled */
.sg-segment {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: var(--sg-radius);
  background: var(--sg-surface-2);
}
.sg-segment label {
  position: relative;
  cursor: pointer;
}
.sg-segment input {
  position: absolute;
  opacity: 0;
}
.sg-segment span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--sg-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sg-heading);
  transition: background-color 0.3s, color 0.3s;
}
.sg-segment span i {
  color: var(--sg-accent);
}
.sg-segment input:checked + span {
  background: var(--sg-fill);
  color: var(--sg-color-white);
}
.sg-segment input:checked + span i {
  color: var(--sg-color-saffron);
}
.sg-segment input:focus-visible + span {
  outline: 2px solid var(--sg-color-saffron);
  outline-offset: 2px;
}
.amount-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.amount-opt {
  position: relative;
  cursor: pointer;
}
.amount-opt input {
  position: absolute;
  opacity: 0;
}
.amount-opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius-sm);
  background: var(--sg-surface);
  font-family: var(--sg-ff-heading);
  font-size: 1.375rem;
  color: var(--sg-heading);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
}
.amount-opt:hover span {
  border-color: var(--sg-color-saffron);
  transform: translateY(-2px);
}
.amount-opt input:checked + span {
  border-color: var(--sg-color-saffron);
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
}
.amount-opt input:focus-visible + span {
  outline: 2px solid var(--sg-fill);
  outline-offset: 2px;
}
.donate-preview {
  margin: 4px 0 30px;
  padding: 20px 22px;
  border-radius: var(--sg-radius);
  background: var(--sg-tint);
}
.donate-preview.is-hidden {
  display: none;
}
.preview-bar {
  position: relative;
  height: 10px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--sg-surface-3);
  overflow: hidden;
}
.preview-bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: 10px;
  transition: width 0.6s var(--sg-ease), left 0.6s var(--sg-ease);
}
.preview-bar .now {
  background: var(--sg-fill);
}
.preview-bar .gift {
  background: var(--sg-color-saffron);
}
.donate-preview p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--sg-heading);
}
.donate-preview b {
  color: var(--sg-accent);
}
.donate-summary {
  margin: 10px 0 30px;
  border-top: 1px solid var(--sg-line);
}
.donate-summary div {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--sg-line);
}
.donate-summary dt {
  font-weight: 600;
  color: var(--sg-heading);
}
.donate-summary dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.donate-summary .is-total dd {
  font-family: var(--sg-ff-heading);
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--sg-heading);
}
.dasvandh {
  background: linear-gradient(160deg, var(--sg-surface), var(--sg-tint));
}
.dasvandh p {
  font-size: 0.9375rem;
}
.side-cause {
  padding: 16px 0;
  border-bottom: 1px dashed var(--sg-line);
}
.side-cause:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.side-cause h4 {
  margin-bottom: 10px;
  font-size: 1.1875rem;
}
.side-cause h4 a {
  color: var(--sg-heading);
}
.side-cause .cause-progress {
  margin: 0 0 10px;
}
.cause-amount.is-mini {
  margin: 0;
  padding: 0;
  border: 0;
}
.cause-amount.is-mini dd {
  font-size: 1.0625rem;
}

/*======================
20. Seva Pages
========================*/
/* The niche features: path booking (three numbered steps beside a live navy
   summary that works out the Bhog), langar seva (the sponsor calculator and the
   kitchen rota), and the daily programme (now / next / clock, the day's cards,
   the week, today's hukam). */
.book-step {
  margin-bottom: 24px;
  padding: 36px 38px;
}
.step-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--sg-color-saffron);
  font-family: var(--sg-ff-heading);
  font-size: 1.25rem;
  color: var(--sg-color-night);
}
.step-head h3 {
  margin: 0;
  font-size: 1.625rem;
}
.path-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.path-opt {
  position: relative;
  cursor: pointer;
}
.path-opt input {
  position: absolute;
  opacity: 0;
}
.path-opt > span {
  display: block;
  height: 100%;
  padding: 24px 22px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--sg-ease);
}
.path-opt:hover > span {
  transform: translateY(-3px);
}
.path-opt i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--sg-tint);
  color: var(--sg-accent);
  transition: background-color 0.3s, color 0.3s;
}
.path-opt b {
  display: block;
  margin-bottom: 6px;
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: 1.375rem;
  color: var(--sg-heading);
}
.path-opt small {
  display: block;
  margin-bottom: 12px;
  font-size: 0.875rem;
  line-height: 1.55;
}
.path-opt em {
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sg-accent);
}
.path-opt input:checked + span {
  border-color: var(--sg-color-saffron);
  box-shadow: 0 0 0 3px rgba(var(--sg-color-saffron-rgb), 0.25), var(--sg-shadow);
}
.path-opt input:checked + span i {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
}
.path-opt input:focus-visible + span {
  outline: 2px solid var(--sg-fill);
  outline-offset: 2px;
}
.book-note {
  margin: 0;
  font-size: 0.9375rem;
}
.book-note:empty {
  display: none;
}
.book-note.is-clash,
.book-note.is-free {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.book-note.is-clash {
  padding: 14px 18px;
  border-radius: var(--sg-radius-sm);
  background: rgba(179, 38, 30, 0.08);
  color: var(--sg-color-danger);
}
.book-note.is-free {
  padding: 14px 18px;
  border-radius: var(--sg-radius-sm);
  background: rgba(31, 122, 77, 0.08);
  color: var(--sg-color-success);
}
[data-theme="dark"] .book-note.is-clash {
  color: #FFB4AB;
}
[data-theme="dark"] .book-note.is-free {
  color: #8FE0B5;
}
.book-note button {
  margin-inline-start: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.book-summary {
  position: sticky;
  top: 110px;
  padding: 36px 32px;
  border-radius: var(--sg-radius);
  background: linear-gradient(160deg, var(--sg-color-night), var(--sg-color-navy));
  color: var(--sg-color-white);
  box-shadow: var(--sg-shadow-lg);
}
.book-summary h3 {
  margin-bottom: 22px;
  font-size: 2rem;
  color: var(--sg-color-white);
}
.summary-times,
.summary-money {
  margin: 0 0 22px;
}
.summary-times div,
.summary-money div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(var(--sg-color-white-rgb), 0.12);
  font-size: 0.9375rem;
}
.summary-times dt,
.summary-money dt {
  color: rgba(var(--sg-color-white-rgb), 0.6);
}
.summary-times dd,
.summary-money dd {
  margin: 0;
  text-align: right;
}
.summary-times .is-bhog dd {
  color: var(--sg-color-saffron);
  font-weight: 700;
}
.summary-money .is-total dd {
  font-family: var(--sg-ff-heading);
  font-size: 1.875rem;
  line-height: 1;
}
.summary-ref {
  margin: 14px 0 0;
  font-size: 0.875rem;
  color: rgba(var(--sg-color-white-rgb), 0.8);
}
.summary-ref:empty {
  display: none;
}
.summary-ref b {
  color: var(--sg-color-saffron);
}
.book-summary .form-status {
  color: rgba(var(--sg-color-white-rgb), 0.9);
}
.sg-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
/* langar */
.langar-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 30px 0 0;
  border-top: 1px solid var(--sg-line);
}
.langar-facts div {
  padding: 16px 0;
}
.langar-facts div + div {
  padding-left: 20px;
  border-left: 1px solid var(--sg-line);
}
.langar-facts dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sg-muted);
}
.langar-facts dd {
  margin: 2px 0 0;
  font-family: var(--sg-ff-heading);
  font-size: 1.25rem;
  color: var(--sg-heading);
}
.rota-days {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.rota-days button {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 92px;
  padding: 12px 10px;
  border: 0;
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  color: var(--sg-heading);
  box-shadow: var(--sg-shadow);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.rota-days button b {
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.1;
}
.rota-days button small {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rota-days button:hover {
  transform: translateY(-3px);
}
.rota-days button.is-active {
  background: var(--sg-fill);
  color: var(--sg-color-white);
}
.rota-shifts {
  padding: 10px 30px;
}
.rota-head,
.rota-row {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1.4fr auto;
  align-items: center;
  gap: 24px;
}
.rota-head {
  padding: 14px 0;
  border-bottom: 1px solid var(--sg-line);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sg-muted);
}
.rota-row {
  padding: 20px 0;
  border-bottom: 1px dashed var(--sg-line);
  transition: background-color 0.3s;
}
.rota-row:last-child {
  border-bottom: 0;
}
.rota-row.is-chosen {
  background: var(--sg-tint);
  margin: 0 -30px;
  padding-left: 30px;
  padding-right: 30px;
}
.rota-name {
  display: flex;
  align-items: center;
  gap: 16px;
}
.rota-name .role-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sg-tint);
  color: var(--sg-accent);
}
.rota-name h3 {
  margin: 0;
  font-size: 1.3125rem;
}
.rota-name p {
  margin: 0;
  font-size: 0.875rem;
}
.rota-time {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sg-heading);
}
.rota-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rota-left b {
  font-size: 0.8125rem;
  color: var(--sg-heading);
}
.rota-row.is-full .rota-left b {
  color: var(--sg-color-danger);
}
.rota-form {
  margin-top: 24px;
  padding: 30px 30px 10px;
}
.rota-choice {
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--sg-heading);
}
.rota-choice b {
  color: var(--sg-accent);
}
/* daily programme */
.now-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
}
.now-card {
  padding: 34px 36px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow);
}
.now-card.is-now {
  border: 0;
  background: linear-gradient(140deg, var(--sg-color-night), var(--sg-color-navy));
  color: var(--sg-color-white);
}
.now-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sg-accent);
}
.now-card.is-now .now-label {
  color: var(--sg-color-saffron);
}
.now-card.is-now .now-label i {
  color: #7EE0A9;
  animation: sg-blink 1.6s infinite;
}
@keyframes sg-blink {
  50% { opacity: 0.3; }
}
.now-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.375rem);
  line-height: 1.15;
  color: var(--sg-heading);
}
.now-card.is-now strong {
  color: var(--sg-color-white);
}
.now-card small {
  font-size: 0.875rem;
  color: var(--sg-muted);
}
.now-card.is-now small {
  color: rgba(var(--sg-color-white-rgb), 0.7);
}
.programme-photo {
  display: block;
  width: 100%;
  margin-top: 30px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--sg-radius);
}
.sg-prog-stack.is-flat .sg-prog-card {
  position: relative;
  top: auto;
  box-shadow: none;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.week-day {
  position: relative;
  padding: 26px 20px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
}
.week-day h3 {
  margin-bottom: 16px;
  font-size: 1.25rem;
}
.week-day dl {
  margin: 0;
}
.week-day dl div {
  padding: 8px 0;
  border-top: 1px dashed var(--sg-line);
}
.week-day dt {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sg-heading);
}
.week-day dd {
  margin: 0;
  font-size: 0.8125rem;
}
.week-day.is-today {
  border-color: var(--sg-color-saffron);
  box-shadow: 0 0 0 3px rgba(var(--sg-color-saffron-rgb), 0.25);
}
.week-day.is-today::before {
  content: "Today";
  position: absolute;
  right: 14px;
  top: -11px;
  padding: 2px 10px;
  border-radius: 20px;
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/*======================
21. Blog
========================*/
/* Turbin's news cards, now with post formats: standard, video, gallery (a small
   slider) and quote. The full-width list and the details page share the
   sidebar (search, recent posts, categories, tags), the author box and the
   previous / next navigation. */
.media-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  box-shadow: 0 0 0 10px rgba(var(--sg-color-saffron-rgb), 0.25);
  transition: transform 0.4s var(--sg-ease);
}
.sg-news-card:hover .media-play {
  transform: scale(1.1);
}
.sg-card-gallery {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
}
.sg-card-gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 570 / 300;
  object-fit: cover;
}
.sg-card-gallery .news-tag {
  z-index: 2;
}
.is-gallery .news-body {
  z-index: 2;
}
.gal-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  border: 0;
  border-radius: 50%;
  background: rgba(var(--sg-color-white-rgb), 0.9);
  color: var(--sg-color-navy);
  font-size: 0.75rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background-color 0.3s;
}
.gal-prev {
  left: 12px;
}
.gal-next {
  right: 12px;
}
.sg-news-card:hover .gal-arrow,
.gal-arrow:focus-visible {
  opacity: 1;
}
.gal-arrow:hover {
  background: var(--sg-color-saffron);
}
.sg-quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 360px;
  padding: 44px 38px;
  overflow: hidden;
  border-radius: var(--sg-radius);
  background: linear-gradient(150deg, var(--sg-color-night), var(--sg-color-navy));
  color: var(--sg-color-white);
  box-shadow: var(--sg-shadow-lg);
}
.sg-quote-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 220px;
  height: 220px;
  background: url(../img/logo/mark-512.png) center / contain no-repeat;
  opacity: 0.08;
}
.sg-quote-card > i {
  margin-bottom: 20px;
  font-size: 2rem;
  color: var(--sg-color-saffron);
}
.sg-quote-card p {
  font-family: var(--sg-ff-heading);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--sg-color-white);
}
.quote-by {
  display: block;
  margin-bottom: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sg-color-saffron);
}
.sg-quote-card .sg-btn-link {
  color: var(--sg-color-white);
}
.sg-quote-card.is-wide {
  min-height: 0;
}
.wide-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sg-wide-post {
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow);
}
.wide-media {
  position: relative;
  display: block;
  aspect-ratio: 1110 / 420;
}
.wide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wide-body {
  padding: 34px 38px 40px;
}
.wide-body .sg-meta {
  margin-bottom: 14px;
}
.wide-body h2 {
  font-size: clamp(1.75rem, 1.4rem + 0.9vw, 2.25rem);
}
.wide-body h2 a {
  color: var(--sg-heading);
}
.wide-body h2 a:hover {
  color: var(--sg-accent);
}
.side-search {
  position: relative;
}
.side-search input {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 12px 56px 12px 18px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius-sm);
  background: var(--sg-surface-2);
  color: var(--sg-heading);
  font-size: 0.9375rem;
}
.side-search input:focus {
  outline: 0;
  border-color: var(--sg-color-saffron);
}
.side-search button {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--sg-radius-sm);
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  cursor: pointer;
}
.detail-tags.is-cloud span {
  display: none;
}
.post-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}
.post-gallery a {
  display: block;
  aspect-ratio: 570 / 360;
  border-radius: var(--sg-radius);
}
.post-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-author {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 26px;
  align-items: center;
  margin-top: 40px;
  padding: 34px;
  border-radius: var(--sg-radius);
  background: var(--sg-surface-2);
}
.post-author img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 6px var(--sg-tint-2);
}
.post-author .sg-eyebrow {
  margin-bottom: 6px;
}
.post-author h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}
.post-author p {
  margin: 0;
  font-size: 0.9375rem;
}
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}
.post-nav a {
  display: block;
  padding: 24px 26px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  transition: border-color 0.3s, background-color 0.3s;
}
.post-nav a:hover {
  border-color: var(--sg-color-saffron);
  background: var(--sg-tint);
}
.post-nav .next {
  text-align: right;
}
.post-nav .next small {
  justify-content: flex-end;
}
.post-nav small {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sg-accent);
}
.post-nav strong {
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--sg-heading);
}

/*======================
22. Shop
========================*/
/* Turbin's shop kept in its shape - products on light plates, the sidebar of
   search, categories, price, the Baisakhi offer and tags, the details page with
   its gallery, discount countdown and tabs - with a working bag, filters, cart
   and checkout behind it. */
.sg-product {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  transition: transform 0.45s var(--sg-ease), box-shadow 0.45s var(--sg-ease);
}
.sg-product:hover {
  transform: translateY(-6px);
  box-shadow: var(--sg-shadow-lg);
}
.product-media {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, var(--sg-surface) 0%, var(--sg-surface-2) 70%);
}
.product-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 0.86;
  padding: 26px;
}
.product-img img {
  width: auto;
  max-width: 72%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(var(--sg-color-navy-rgb), 0.18));
  transition: transform 0.7s var(--sg-ease);
}
.sg-product:hover .product-img img {
  transform: scale(1.08) rotate(-3deg);
}
.product-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 30px;
  background: var(--sg-fill);
  color: var(--sg-color-white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.product-add {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 0;
  border-radius: var(--sg-radius-sm);
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s, transform 0.4s var(--sg-ease), background-color 0.3s, color 0.3s;
}
.sg-product:hover .product-add,
.product-add:focus-visible,
.product-add.is-added {
  opacity: 1;
  transform: none;
}
.product-add:hover {
  background: var(--sg-fill);
  color: var(--sg-color-white);
}
.product-add.is-added {
  background: var(--sg-color-success);
  color: var(--sg-color-white);
}
.product-body {
  padding: 20px 22px 24px;
  text-align: center;
}
.product-cat {
  display: block;
  margin-bottom: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sg-accent);
}
.product-body h3 {
  margin-bottom: 10px;
  font-size: 1.3125rem;
}
.product-body h3 a {
  color: var(--sg-heading);
}
.product-body h3 a:hover {
  color: var(--sg-accent);
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
}
.product-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.price-now {
  font-family: var(--sg-ff-heading);
  font-size: 1.375rem;
  color: var(--sg-heading);
}
.product-price del {
  font-size: 0.875rem;
  color: var(--sg-muted);
}
[data-product-item].is-hidden {
  display: none;
}
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--sg-line);
}
.shop-count {
  margin: 0;
  font-weight: 600;
  color: var(--sg-heading);
}
.shop-sort {
  min-width: 240px;
}
.shop-sort .sg-select-btn {
  min-height: 48px;
}
.shop-empty {
  padding: 40px 0;
  text-align: center;
}
.shop-empty button {
  border: 0;
  background: none;
  cursor: pointer;
}
.shop-cats {
  margin-bottom: 18px;
}
.shop-cats li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--sg-line);
}
.shop-cats li:last-child {
  border-bottom: 0;
}
.shop-cats .sg-check {
  display: flex;
  width: 100%;
}
.shop-cats .sg-check span {
  margin-left: auto;
  min-width: 28px;
  padding: 1px 9px;
  border-radius: 20px;
  background: var(--sg-surface-2);
  font-size: 0.75rem;
  text-align: center;
  color: var(--sg-muted);
}
.range-ends {
  display: flex;
  justify-content: space-between;
  margin-top: -14px;
  font-size: 0.8125rem;
  color: var(--sg-muted);
}
.side-offer {
  padding: 0;
  overflow: hidden;
}
.side-offer img {
  display: block;
  width: 100%;
}
.shop-sidebar {
  top: 100px;
}
.sg-shop.is-full .shop-toolbar {
  align-items: center;
}
.shop-tabs {
  order: 3;
  width: 100%;
  justify-content: center;
}
/* product details */
.pd-gallery {
  position: sticky;
  top: 110px;
}
.pd-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 0.9;
  margin-bottom: 14px;
  border-radius: var(--sg-radius);
  background: radial-gradient(circle at 50% 45%, var(--sg-surface) 0%, var(--sg-surface-2) 72%);
}
.pd-main img {
  max-width: 62%;
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(var(--sg-color-navy-rgb), 0.2));
}
.pd-zoom {
  position: absolute;
  right: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sg-surface);
  color: var(--sg-heading);
  box-shadow: var(--sg-shadow);
}
.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pd-thumbs button {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 12px;
  border: 2px solid transparent;
  border-radius: var(--sg-radius);
  background: var(--sg-surface-2);
  cursor: pointer;
  transition: border-color 0.3s;
}
.pd-thumbs button.is-active,
.pd-thumbs button:hover {
  border-color: var(--sg-color-saffron);
}
.pd-thumbs img {
  max-height: 100%;
  object-fit: contain;
}
.pd-title {
  font-size: clamp(2rem, 1.4rem + 1.5vw, 2.75rem);
}
.pd-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.875rem;
}
.pd-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}
.pd-price span {
  font-family: var(--sg-ff-heading);
  font-size: 2.5rem;
  color: var(--sg-heading);
}
.pd-price del {
  color: var(--sg-muted);
}
.pd-price em {
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(31, 122, 77, 0.12);
  color: var(--sg-color-success);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
}
.pd-options {
  margin: 24px 0;
}
.pd-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--sg-line);
  border-bottom: 1px solid var(--sg-line);
}
.sg-qty {
  display: inline-flex;
  align-items: center;
  border-radius: var(--sg-radius-sm);
  background: var(--sg-surface-2);
}
.sg-qty button {
  width: 46px;
  height: 54px;
  border: 0;
  background: transparent;
  color: var(--sg-heading);
  cursor: pointer;
}
.sg-qty button:hover {
  color: var(--sg-accent);
}
.sg-qty input {
  width: 46px;
  border: 0;
  background: transparent;
  color: var(--sg-heading);
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}
.sg-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.sg-qty.is-small button {
  width: 34px;
  height: 38px;
  font-size: 0.75rem;
}
.sg-qty .qty-value {
  min-width: 26px;
  font-weight: 700;
  text-align: center;
  color: var(--sg-heading);
}
.pd-countdown {
  margin: 24px 0;
}
.pd-rows {
  margin: 0;
}
.pd-rows div {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--sg-line);
  font-size: 0.9375rem;
}
.pd-rows dt {
  flex: 0 0 120px;
  font-weight: 700;
  color: var(--sg-heading);
}
.pd-rows dd {
  margin: 0;
}
.pd-tabs {
  margin-top: 90px;
}
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--sg-line);
}
.tabs-nav button {
  position: relative;
  padding: 14px 22px;
  border: 0;
  background: transparent;
  color: var(--sg-muted);
  font-family: var(--sg-ff-heading);
  font-size: 1.25rem;
  cursor: pointer;
}
.tabs-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--sg-color-saffron);
  transform: scaleX(0);
  transition: transform 0.4s var(--sg-ease);
}
.tabs-nav button.is-active {
  color: var(--sg-heading);
}
.tabs-nav button.is-active::after {
  transform: scaleX(1);
}
.tab-pane {
  display: none;
}
.tab-pane.is-active {
  display: block;
}
.pd-rows.is-spec {
  max-width: 640px;
}
.pd-similar {
  margin-top: 90px;
}
/* cart */
.cart-table {
  padding: 8px 30px;
}
.cart-head,
.cart-line {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1.2fr 1fr 40px;
  align-items: center;
  gap: 16px;
}
.cart-head {
  padding: 16px 0;
  border-bottom: 1px solid var(--sg-line);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sg-muted);
}
.cart-line {
  padding: 18px 0;
  border-bottom: 1px dashed var(--sg-line);
}
.cart-line:last-child {
  border-bottom: 0;
}
.cl-product {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sg-ff-heading);
  font-size: 1.1875rem;
  color: var(--sg-heading);
}
.cl-img,
.ol-img {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  padding: 8px;
  border-radius: var(--sg-radius);
  background: var(--sg-surface-2);
}
.cl-img img,
.ol-img img {
  max-height: 100%;
  object-fit: contain;
}
.cl-sub {
  font-weight: 700;
  color: var(--sg-heading);
}
.cl-remove {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--sg-surface-2);
  color: var(--sg-heading);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.cl-remove:hover {
  background: var(--sg-color-danger);
  color: var(--sg-color-white);
}
.cart-empty {
  padding: 50px 0;
  text-align: center;
}
.cart-empty > i {
  margin-bottom: 18px;
  font-size: 2.5rem;
  color: var(--sg-color-saffron);
}
.cart-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}
.cart-coupon {
  display: flex;
  gap: 10px;
}
.cart-coupon .sg-input-wrap {
  min-width: 280px;
}
.coupon-status {
  margin: 12px 0 0;
  font-size: 0.875rem;
  font-weight: 600;
}
.coupon-status.is-success {
  color: var(--sg-color-success);
}
.coupon-status.is-error {
  color: var(--sg-color-danger);
}
.order-summary {
  padding: 32px 30px;
}
.order-summary.is-sticky {
  position: sticky;
  top: 110px;
}
.order-summary .side-rows .is-total dd {
  font-family: var(--sg-ff-heading);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--sg-heading);
}
.ship-meter {
  margin-bottom: 18px;
}
.ship-meter p {
  margin: 8px 0 0;
  font-size: 0.875rem;
}
.ship-meter b {
  color: var(--sg-heading);
}
.order-lines li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--sg-line);
}
.ol-img {
  width: 58px;
  height: 58px;
}
.ol-name {
  flex: 1 1 auto;
  color: var(--sg-heading);
}
.ol-name small {
  color: var(--sg-muted);
}
.order-lines li b {
  color: var(--sg-heading);
}
.pay-options {
  display: grid;
  gap: 12px;
}
.pay-opt {
  position: relative;
  cursor: pointer;
}
.pay-opt input {
  position: absolute;
  opacity: 0;
}
.pay-opt > span {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  column-gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.pay-opt i {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sg-tint);
  color: var(--sg-accent);
}
.pay-opt b {
  color: var(--sg-heading);
}
.pay-opt small {
  font-size: 0.8125rem;
  color: var(--sg-muted);
}
.pay-opt input:checked + span {
  border-color: var(--sg-color-saffron);
  box-shadow: 0 0 0 3px rgba(var(--sg-color-saffron-rgb), 0.22);
}
.pay-opt input:focus-visible + span {
  outline: 2px solid var(--sg-fill);
  outline-offset: 2px;
}
.co-terms {
  margin: 14px 0 18px;
  font-size: 0.875rem;
}
.order-done {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: var(--sg-radius-sm);
  background: rgba(31, 122, 77, 0.1);
  color: var(--sg-color-success);
  font-size: 0.9375rem;
}
[data-theme="dark"] .pd-price em,
[data-theme="dark"] .order-done,
[data-theme="dark"] .coupon-status.is-success {
  color: #8FE0B5;
}

/*======================
23. Contact, FAQ, Account And Utility Pages
========================*/
/* Contact keeps Turbin's navy panel beside the form and the map below, with
   four info cards first. FAQ: search and topics beside the accordion. Account
   pages keep the base's minimal navy header and put the form beside a temple
   photograph. 404 and coming soon sit on the sarovar light. */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.info-card {
  display: block;
  height: 100%;
  padding: 34px 30px 38px;
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow);
  transition: transform 0.45s var(--sg-ease), box-shadow 0.45s var(--sg-ease);
}
a.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sg-shadow-lg);
}
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--sg-tint);
  color: var(--sg-accent);
  font-size: 1.125rem;
  transition: background-color 0.35s, color 0.35s;
}
.info-card:hover .info-icon {
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
}
.info-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sg-muted);
}
.info-card strong {
  display: block;
  font-family: var(--sg-ff-heading);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--sg-heading);
}
.contact-box {
  display: grid;
  grid-template-columns: 5fr 7fr;
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow-lg);
}
.contact-panel {
  position: relative;
  padding: 56px 48px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--sg-color-night), var(--sg-color-navy));
  color: var(--sg-color-white);
}
.panel-mark {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 300px;
  opacity: 0.08;
  pointer-events: none;
}
.contact-panel h2 {
  margin-bottom: 30px;
  color: var(--sg-color-white);
}
.panel-rows {
  margin: 0 0 34px;
}
.panel-rows div {
  padding: 14px 0;
  border-bottom: 1px solid rgba(var(--sg-color-white-rgb), 0.12);
}
.panel-rows dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--sg-color-white-rgb), 0.6);
}
.panel-rows dd {
  margin: 4px 0 0;
  font-family: var(--sg-ff-heading);
  font-size: 1.3125rem;
}
.panel-rows a {
  color: var(--sg-color-white);
}
.panel-rows a:hover {
  color: var(--sg-color-saffron);
}
.contact-form {
  padding: 56px 52px;
}
.contact-title {
  margin-bottom: 26px;
  font-size: 2rem;
}
.sg-map-band iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  filter: grayscale(0.3);
}
[data-theme="dark"] .sg-map-band iframe,
[data-theme="dark"] .location-map iframe,
[data-theme="dark"] .side-map iframe {
  filter: grayscale(0.4) invert(0.9) hue-rotate(180deg);
}
/* faq */
.faq-side {
  position: sticky;
  top: 110px;
}
.faq-search {
  margin: 26px 0 12px;
}
.faq-count {
  font-size: 0.875rem;
  color: var(--sg-muted);
}
.faq-help {
  margin-top: 30px;
  padding: 30px;
  border-radius: var(--sg-radius);
  background: linear-gradient(160deg, var(--sg-color-night), var(--sg-color-navy));
  color: rgba(var(--sg-color-white-rgb), 0.8);
}
.faq-help h3 {
  font-size: 1.5rem;
  color: var(--sg-color-white);
}
.faq-tabs {
  margin-bottom: 26px;
}
.sg-faq-list {
  border-top: 1px solid var(--sg-line);
}
.sg-faq-list .fold-item.is-hidden,
.sg-faq-list .fold-item.is-searched-out {
  display: none;
}
.sg-faq-list .fold-head {
  font-size: 1.375rem;
}
.sg-faq-list .fold-body p {
  margin: 0;
}
/* account */
.sg-account {
  padding: 90px 0 110px;
  background: var(--sg-surface-2);
}
.account-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow-lg);
}
.account-box.is-narrow {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin: 0 auto;
}
.account-photo {
  position: relative;
  min-height: 560px;
}
.account-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--sg-color-night-rgb), 0.25) 0%, rgba(var(--sg-color-night-rgb), 0.9) 100%);
}
.photo-copy {
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 44px;
  z-index: 1;
  color: rgba(var(--sg-color-white-rgb), 0.8);
}
.photo-mark {
  width: 56px;
  margin-bottom: 18px;
}
.photo-copy h2 {
  color: var(--sg-color-white);
}
.account-form {
  padding: 60px 56px;
}
.account-title {
  margin-bottom: 8px;
  font-size: clamp(2rem, 1.5rem + 1.2vw, 2.75rem);
}
.account-lead {
  margin-bottom: 30px;
}
.account-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--sg-tint);
  color: var(--sg-accent);
  font-size: 1.375rem;
}
.sg-input-wrap.has-toggle input {
  padding-right: 54px;
}
.pass-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--sg-muted);
  cursor: pointer;
}
.pass-toggle:hover {
  color: var(--sg-accent);
}
.pass-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.pass-meter i {
  height: 4px;
  border-radius: 4px;
  background: var(--sg-surface-3);
  transition: background-color 0.3s;
}
.pass-meter[data-level="1"] i:nth-child(-n+1) { background: var(--sg-color-danger); }
.pass-meter[data-level="2"] i:nth-child(-n+2) { background: #E08A1E; }
.pass-meter[data-level="3"] i:nth-child(-n+3) { background: var(--sg-color-saffron); }
.pass-meter[data-level="4"] i { background: var(--sg-color-success); }
.pass-hint {
  margin: 8px 0 0;
  font-size: 0.8125rem;
  color: var(--sg-muted);
}
.pass-hint.is-error {
  color: var(--sg-color-danger);
}
.account-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 0.9375rem;
}
.account-terms {
  margin-bottom: 24px;
  font-size: 0.875rem;
}
.account-foot {
  margin: 24px 0 0;
  text-align: center;
}
.account-foot a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
/* 404 and coming soon */
.sg-error,
.sg-soon {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82vh;
  padding: 120px 0;
  overflow: hidden;
  background: var(--sg-color-night);
  text-align: center;
  color: rgba(var(--sg-color-white-rgb), 0.8);
}
.sg-soon {
  min-height: 100vh;
}
.error-ground {
  position: absolute;
  inset: 0;
}
.error-ground img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.sg-error > .sg-gl,
.sg-soon > .sg-gl {
  z-index: 1;
}
.sg-error .container,
.sg-soon .container {
  z-index: 2;
}
.error-copy,
.soon-copy {
  max-width: 720px;
  margin: 0 auto;
}
.error-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--sg-ff-heading);
  font-size: clamp(7rem, 4rem + 9vw, 12rem);
  line-height: 1;
  color: var(--sg-color-white);
}
.error-code img {
  width: clamp(100px, 60px + 8vw, 170px);
}
.error-title,
.soon-title {
  color: var(--sg-color-white);
}
.error-search {
  max-width: 460px;
  margin: 30px auto;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.soon-logo {
  display: table;
  margin: 0 auto 40px;
}
.soon-logo img {
  height: 70px;
  width: auto;
}
.soon-count {
  justify-content: center;
  margin: 34px 0;
}
.soon-count div {
  min-width: 96px;
  padding: 18px 10px 14px;
}
.soon-count dt {
  font-size: 2.75rem;
}
.soon-form {
  max-width: 480px;
  margin: 0 auto 30px;
}
.soon-form .form-status {
  color: rgba(var(--sg-color-white-rgb), 0.85);
}
.soon-social {
  justify-content: center;
  margin-bottom: 30px;
}
.soon-prefs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/*======================
24. Footer
========================*/
/* Turbin's footer structure kept - the logo / newsletter / social strip, the link
   columns, the bottom bar - now on the night ground with the temple as a faint
   texture and the sarovar light over it, opened by a welcome row. A daily
   programme column joins the base's three. */
.sg-footer {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: #061127;
  color: rgba(var(--sg-color-white-rgb), 0.72);
}
.footer-ground {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.footer-ground img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(1);
  opacity: 0.1;
}
.footer-ground::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 39, 0.2) 0%, rgba(6, 17, 39, 0.85) 55%, #061127 100%);
}
.sg-footer .sg-gl {
  z-index: -1;
  height: 60%;
}
.footer-watermark {
  position: absolute;
  right: -90px;
  bottom: -110px;
  z-index: -1;
  width: 460px;
  opacity: 0.05;
  pointer-events: none;
}
/* welcome row */
.footer-cta {
  padding: 96px 0 72px;
}
.cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.cta-title {
  margin: 0;
  font-size: clamp(2.25rem, 1.4rem + 2.6vw, 4rem);
  color: var(--sg-color-white);
}
.cta-title u {
  text-decoration: none;
  background-image: linear-gradient(var(--sg-color-saffron), var(--sg-color-saffron));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.09em;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
/* strip */
.footer-strip .strip-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  border-top: 1px solid rgba(var(--sg-color-white-rgb), 0.12);
  border-bottom: 1px solid rgba(var(--sg-color-white-rgb), 0.12);
}
.strip-cell {
  display: flex;
  align-items: center;
  min-height: 112px;
  padding: 22px 36px;
  border-left: 1px solid rgba(var(--sg-color-white-rgb), 0.12);
}
.strip-cell:first-child {
  padding-left: 0;
  border-left: 0;
}
.strip-cell:last-child {
  justify-content: flex-end;
  padding-right: 0;
}
.strip-logo img {
  height: 58px;
  width: auto;
}
.strip-news {
  justify-content: center;
}
.sg-newsletter {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.sg-newsletter > i {
  color: var(--sg-color-saffron);
}
.sg-newsletter input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(var(--sg-color-white-rgb), 0.25);
  background: transparent;
  color: var(--sg-color-white);
  font-size: 0.9375rem;
  transition: border-color 0.3s;
}
.sg-newsletter input::placeholder {
  color: rgba(var(--sg-color-white-rgb), 0.55);
}
.sg-newsletter input:focus {
  outline: 0;
  border-color: var(--sg-color-saffron);
}
.sg-newsletter button {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 0 12px 10px;
  border: 0;
  background: transparent;
  color: var(--sg-color-white);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.sg-newsletter button:hover {
  color: var(--sg-color-saffron);
}
.sg-newsletter .form-status {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.8125rem;
}
/* columns */
.widgets-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
}
.footer-col {
  padding: 66px 36px 60px;
  border-left: 1px solid rgba(var(--sg-color-white-rgb), 0.08);
}
.footer-col:first-child {
  padding-left: 0;
  border-left: 0;
}
.footer-title {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 16px;
  font-size: 1.5rem;
  color: var(--sg-color-white);
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: var(--sg-color-saffron);
}
.footer-address {
  max-width: 280px;
  font-size: 1.0625rem;
  color: var(--sg-color-white);
}
.footer-rows {
  margin: 18px 0 0;
}
.footer-rows div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(var(--sg-color-white-rgb), 0.12);
  font-size: 0.9375rem;
}
.footer-rows div:last-child {
  border-bottom: 0;
}
.footer-rows dt {
  font-weight: 600;
  color: rgba(var(--sg-color-white-rgb), 0.55);
}
.footer-rows dd {
  margin: 0;
  color: var(--sg-color-white);
  text-align: right;
}
.footer-rows.is-times {
  margin-top: 0;
}
.footer-rows a {
  color: var(--sg-color-white);
}
.footer-rows a:hover {
  color: var(--sg-color-saffron);
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9375rem;
  color: rgba(var(--sg-color-white-rgb), 0.72);
  transition: color 0.3s, transform 0.3s var(--sg-ease);
}
.footer-links a::before {
  content: "";
  width: 7px;
  height: 9px;
  background: var(--sg-color-saffron);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  opacity: 0.4;
  transition: opacity 0.3s;
}
.footer-links a:hover {
  color: var(--sg-color-saffron);
  transform: translateX(4px);
}
.footer-links a:hover::before {
  opacity: 1;
}
.footer-bottom {
  border-top: 1px solid rgba(var(--sg-color-white-rgb), 0.1);
}
.bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  font-size: 0.9375rem;
}
.bottom-inner p {
  margin: 0;
  color: rgba(var(--sg-color-white-rgb), 0.72);
}
.bottom-links {
  display: flex;
  gap: 28px;
}
.bottom-links a {
  color: rgba(var(--sg-color-white-rgb), 0.72);
}
.bottom-links a:hover {
  color: var(--sg-color-saffron);
}
/* back to top */
.sg-back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sg-color-saffron);
  color: var(--sg-color-night);
  box-shadow: var(--sg-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s, transform 0.35s, visibility 0.35s, background-color 0.3s, color 0.3s;
}
.sg-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sg-back-to-top:hover {
  background: var(--sg-fill);
  color: var(--sg-color-white);
}
