:root{
  --ogmdct-primary:#B30000;
  --ogmdct-gold:#FFD700;
  --ogmdct-cream:#FFFDF5;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Telugu:wght@400;500;600;700&display=swap');

/* Noto Serif Telugu for all Telugu content */
body.pll-lang-te,
[lang="te"],
body.pll-lang-te .entry-content,
[lang="te"] .entry-content,
body.pll-lang-te .entry-content-wrap,
[lang="te"] .entry-content-wrap,
body.pll-lang-te .content-area,
[lang="te"] .content-area,
body.pll-lang-te .site-content,
[lang="te"] .site-content,
body.pll-lang-te #masthead .nav-menu,
[lang="te"] #masthead .nav-menu,
body.pll-lang-te .ogmdct-hp,
[lang="te"] .ogmdct-hp,
body.pll-lang-te .ogmdct-hp__hero-content,
[lang="te"] .ogmdct-hp__hero-content,
body.pll-lang-te .ogmdct-hp__hero-title,
[lang="te"] .ogmdct-hp__hero-title,
body.pll-lang-te .ogmdct-hp__hero-lead,
[lang="te"] .ogmdct-hp__hero-lead {
  font-family: 'Noto Serif Telugu', serif !important;
}


.ogmdct-hero{
  background: var(--ogmdct-cream);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.ogmdct-hero__viewport{
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  border-bottom: 4px solid var(--ogmdct-primary);
}

.ogmdct-hero__track{
  display: flex;
  width: 100%;
  transition: transform 420ms ease;
  will-change: transform;
}

.ogmdct-hero__slide{
  position: relative;
  flex: 0 0 100%;
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.ogmdct-hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15));
}

.ogmdct-hero__content{
  position: relative;
  z-index: 1;
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 48px 18px;
  color: #fff;
}

.ogmdct-hero__title{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.12;
  font-size: clamp(28px, 4vw, 52px);
}

.ogmdct-hero__subtitle{
  margin: 0 0 18px;
  opacity: .95;
  font-size: clamp(14px, 2.1vw, 18px);
  max-width: 56ch;
}

.ogmdct-hero__cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ogmdct-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .12s ease, background-color .12s ease, border-color .12s ease;
  min-height: 44px;
}

.ogmdct-btn:active{ transform: scale(.98); }

.ogmdct-btn--primary{
  background: var(--ogmdct-primary);
  color:#fff;
  border: 2px solid var(--ogmdct-primary);
}

.ogmdct-btn--primary:hover{
  background: #8f0000;
  border-color: #8f0000;
}

.ogmdct-btn--secondary{
  background: rgba(255,255,255,.12);
  color:#fff;
  border: 2px solid var(--ogmdct-gold);
}

.ogmdct-btn--secondary:hover{
  background: rgba(255,215,0,.18);
}

.ogmdct-hero__nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(0,0,0,.25);
  color:#fff;
  cursor:pointer;
}

.ogmdct-hero__nav--prev{ left: 10px; }
.ogmdct-hero__nav--next{ right: 10px; }

.ogmdct-hero__nav span{ font-size: 28px; line-height: 1; }

.ogmdct-hero__dots{
  position:absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display:flex;
  justify-content:center;
  gap: 8px;
  z-index: 2;
}

.ogmdct-hero__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.75);
  background: rgba(255,255,255,.18);
  cursor:pointer;
}

.ogmdct-hero__dot[aria-selected="true"]{
  background: var(--ogmdct-gold);
  border-color: var(--ogmdct-gold);
}

.ogmdct-actions{
  padding: 24px 0 10px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.ogmdct-actions__inner{
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.ogmdct-action{
  background: #fff;
  border: 1px solid rgba(179,0,0,.18);
  border-left: 6px solid var(--ogmdct-primary);
  border-radius: 14px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
}

.ogmdct-action:hover{
  border-color: rgba(179,0,0,.35);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
}

.ogmdct-action__title{
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 4px;
}

.ogmdct-action__desc{
  opacity: .85;
}

@media (min-width: 860px){
  .ogmdct-actions__inner{ grid-template-columns: 1fr 1fr; }
}

.ogmdct-tickets{
  padding: 46px 0 56px;
  background: var(--ogmdct-cream);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.ogmdct-tickets__inner{
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 0 18px;
}

.ogmdct-tickets__header{
  text-align: center;
  margin-bottom: 26px;
}

.ogmdct-tickets__title{
  margin: 0;
  font-weight: 900;
  letter-spacing: .2px;
  font-size: clamp(26px, 3.2vw, 40px);
  color: #24110b;
}

.ogmdct-tickets__subtitle{
  margin: 10px auto 0;
  max-width: 65ch;
  opacity: .82;
}

.ogmdct-tickets__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.ogmdct-ticket{
  background: #fff;
  border: 1px solid rgba(179,0,0,.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.ogmdct-ticket__top{
  background: #c46200;
  color: #fff;
  padding: 22px 20px;
  text-align: center;
}

.ogmdct-ticket__icon{
  font-size: 26px;
  line-height: 1;
  margin-bottom: 10px;
}

.ogmdct-ticket__name{
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .15px;
}

.ogmdct-ticket__price{
  margin-top: 8px;
  font-weight: 900;
  font-size: 22px;
}

.ogmdct-ticket__body{
  padding: 18px 18px 20px;
}

.ogmdct-ticket__desc{
  margin: 0 0 14px;
  opacity: .9;
}

.ogmdct-ticket__benefits-title{
  font-weight: 900;
  margin-bottom: 8px;
  color: #7a2d00;
}

.ogmdct-ticket__benefits ul{
  margin: 0;
  padding-left: 18px;
}

.ogmdct-ticket__benefits li{
  margin: 6px 0;
}

.ogmdct-ticket__cta{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  height: 46px;
  border-radius: 12px;
  background: #f07f00;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  transition: transform .12s ease, filter .12s ease;
}

.ogmdct-ticket__cta:hover{
  filter: brightness(1.03);
  transform: translateY(-1px);
}

@media (min-width: 860px){
  .ogmdct-tickets__grid{ grid-template-columns: 1fr 1fr; }
  .ogmdct-ticket__body{ padding: 20px 22px 22px; }
}

@media (prefers-reduced-motion: reduce){
  .ogmdct-hero__track{ transition: none; }
  .ogmdct-btn{ transition: none; }
}

/* New Figma homepage */

/* ----- Global header: transparent on load, white + shadow on scroll (all pages) ----- */
#masthead,
.site-header-wrap,
.site-header-inner-wrap,
.site-header-upper-wrap,
.site-header-upper-inner-wrap {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
body:not(.ogmdct-header-scrolled) #masthead,
body:not(.ogmdct-header-scrolled) .site-header-wrap,
body:not(.ogmdct-header-scrolled) .site-header-inner-wrap,
body:not(.ogmdct-header-scrolled) .site-header-upper-wrap,
body:not(.ogmdct-header-scrolled) .site-header-upper-inner-wrap {
  background: transparent !important;
  box-shadow: none !important;
}
body.ogmdct-header-scrolled #masthead {
  background: #fff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}
body.ogmdct-header-scrolled .site-header-wrap,
body.ogmdct-header-scrolled .site-header-inner-wrap,
body.ogmdct-header-scrolled .site-header-upper-wrap,
body.ogmdct-header-scrolled .site-header-upper-inner-wrap {
  background: #fff !important;
  box-shadow: none !important;
}

/* Logo only (hide site title text); logo fit in header - global */
.site-branding .site-title-wrap,
.site-branding .site-title,
.site-branding .site-description {
  display: none !important;
}
.site-branding .custom-logo,
.site-branding .brand img {
  max-height: 85px !important;
  width: auto !important;
  object-fit: contain !important;
  height: auto !important;
}

body.home .entry-header.page-title{
  display: none;
}

/* Cream bg #FFF8F0 is only on home page (via .ogmdct-hp). Inner pages use theme default. */

/* Creedy-style: header fixed over hero, transparent then white on scroll */
#masthead{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding-top: 14px;
  padding-bottom: 14px;
}
#masthead .site-header-inner-wrap,
#masthead .site-header-wrap {
  padding-top: 0;
  padding-bottom: 0;
}
/* Inner pages: solid header + dark menu from load (menu visible) */
body.ogmdct-inner-page #masthead {
  background: #fff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}
body.ogmdct-inner-page .site-header-wrap,
body.ogmdct-inner-page .site-header-inner-wrap,
body.ogmdct-inner-page .site-header-upper-wrap,
body.ogmdct-inner-page .site-header-upper-inner-wrap {
  background: #fff !important;
  box-shadow: none !important;
}
body.ogmdct-inner-page #masthead .header-menu-container a,
body.ogmdct-inner-page #masthead .primary-navigation a,
body.ogmdct-inner-page #masthead .nav-menu a,
body.ogmdct-inner-page #masthead .menu-toggle,
body.ogmdct-inner-page #masthead .site-title a,
body.ogmdct-inner-page #masthead .site-branding a {
  color: #2D1810 !important;
}
body.ogmdct-inner-page #masthead .header-menu-container a:hover {
  color: var(--ogmdct-primary, #7B1E1E) !important;
  
}
/* Inner pages: submenu (dropdown) – white text and hover so visible on dark header */
body.ogmdct-inner-page #masthead .sub-menu a,
body.ogmdct-inner-page #masthead .sub-menu a:hover {
  color: #fff !important;
}
body.ogmdct-inner-page #masthead .ogmdct-menu-donation-btn a {
  color: #fff !important;
  background: var(--ogmdct-primary, #7B1E1E);
  border-color: var(--ogmdct-primary, #7B1E1E);
}
/* Menu/link colors: light over hero, dark when scrolled (exclude language dropdown – it stays dark on white) */
body.home:not(.ogmdct-header-scrolled) #masthead .header-menu-container a:not(.ogmdct-lang-switcher__item),
body.home:not(.ogmdct-header-scrolled) #masthead .primary-navigation a:not(.ogmdct-lang-switcher__item),
body.home:not(.ogmdct-header-scrolled) #masthead .nav-menu a:not(.ogmdct-lang-switcher__item),
body.home:not(.ogmdct-header-scrolled) #masthead .menu-toggle,
body.home:not(.ogmdct-header-scrolled) #masthead .search-toggle-open-container .search-toggle-open {
  color: rgba(255, 255, 255, 0.95) !important;
}
body.home:not(.ogmdct-header-scrolled) #masthead .header-menu-container a:not(.ogmdct-lang-switcher__item):hover,
body.home:not(.ogmdct-header-scrolled) #masthead .primary-navigation a:not(.ogmdct-lang-switcher__item):hover,
body.home:not(.ogmdct-header-scrolled) #masthead .nav-menu a:not(.ogmdct-lang-switcher__item):hover {
  color: #fff !important;
}
body.home:not(.ogmdct-header-scrolled) #masthead .site-title a,
body.home:not(.ogmdct-header-scrolled) #masthead .site-branding a {
  color: rgba(255, 255, 255, 0.95) !important;
}
body.ogmdct-header-scrolled #masthead .header-menu-container a,
body.ogmdct-header-scrolled #masthead .primary-navigation a,
body.ogmdct-header-scrolled #masthead .nav-menu a,
body.ogmdct-header-scrolled #masthead .menu-toggle,
body.ogmdct-header-scrolled #masthead .site-title a,
body.ogmdct-header-scrolled #masthead .site-branding a {
  color: #2D1810 !important;
}
body.ogmdct-header-scrolled #masthead .header-menu-container a:hover,
body.ogmdct-header-scrolled #masthead .primary-navigation a:hover {
  color: var(--ogmdct-primary, #7B1E1E) !important;
}
/* Donation button: always highlighted (primary CTA) */
body.home:not(.ogmdct-header-scrolled) #masthead .ogmdct-menu-donation-btn a {
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: var(--ogmdct-primary, #7B1E1E);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
}
body.home.ogmdct-header-scrolled #masthead .ogmdct-menu-donation-btn a,
body.ogmdct-inner-page #masthead .ogmdct-menu-donation-btn a {
  color: #fff !important;
  background: var(--ogmdct-primary, #7B1E1E);
  border-color: var(--ogmdct-primary, #7B1E1E);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
}
body.home #masthead {
  /* keep for home if any home-specific masthead style needed */
}

body.home #inner-wrap{
  padding-top: 0;
}

/* Content spacer when header is fixed (non-home pages) */
#inner-wrap {
  padding-top: 113px;
}
body.home #inner-wrap {
  padding-top: 0;
}

/* Pages with breadcrumb: extra top padding so breadcrumb is visible */
body:has(.kadence-breadcrumb-container) #inner-wrap,
body:has(.kadence-breadcrumbs) #inner-wrap {
  padding-top: 120px !important;
}

body.home .entry-content-wrap{
  padding-top: 0;
  margin-top: 0;
}
/* Contact page: remove extra padding from .entry-content-wrap */
.ogmdct-page-contact .entry-content-wrap,
.ogmdct-page-contact-us-2 .entry-content-wrap {
  padding: 0 !important;
}

body.home .content-area,
body.home .site-main,
body.home .content-wrap{
  padding-top: 0;
  margin-top: 0;
}

.ogmdct-hp{
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #FFF8F0;
  color: #2D1810;
}

/* Homepage: simple gradient + subtle CSS pattern (always visible); left/right images via ::before/::after */
body.home .ogmdct-hp.ogmdct-hp--pattern {
  background-color: #FFF9F2;
  background-image: 
    linear-gradient(30deg, rgba(0,0,0,.015) 12%, transparent 12.5%),
    linear-gradient(330deg, rgba(0,0,0,.015) 12%, transparent 12.5%),
    linear-gradient(180deg, #FAF2EB 0%, #FFF9F2 50%, #F5EDE6 100%);
  background-size: 28px 28px, 28px 28px, auto;
  background-position: 0 0, 0 0, 0 0;
}
/* Pattern images: not on main wrapper; applied only to About Trust section below. */
@keyframes ogmdct-pattern-breathe {
  0%, 100% { opacity: 0.92; }
  50% { opacity: 1; }
}
body.home .ogmdct-hp.ogmdct-hp--pattern::before,
body.home .ogmdct-hp.ogmdct-hp--pattern::after {
  display: none;
}
body.home .ogmdct-hp--pattern .ogmdct-hp__section,
body.home .ogmdct-hp--pattern .ogmdct-hp__container {
  position: relative;
  z-index: 1;
}

/* Home page: right-edge decorative line below banner only (does not overlap hero) */
body.home .ogmdct-hp__right-pattern {
  position: absolute;
  top: 45vh;
  right: 0;
  width: 100px;
  height: 100%;
  min-height: 60vh;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(123, 30, 30, 0.04) 20%, rgba(201, 162, 39, 0.06) 50%, rgba(123, 30, 30, 0.04) 80%, transparent 100%);
  border-left: 1px solid rgba(123, 30, 30, 0.08);
}
@media (max-width: 1023px) {
  body.home .ogmdct-hp__right-pattern { top: 40vh; width: 60px; opacity: 0.7; }
}

/* Home page: scroll-triggered micro-animations (Creedy-style) */
body.home [data-ogmdct-scroll-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
body.home [data-ogmdct-scroll-animate].ogmdct-hp-visible {
  opacity: 1;
  transform: translateY(0);
}
body.home .ogmdct-hp__hero[data-ogmdct-scroll-animate] {
  opacity: 1;
  transform: none;
}

.ogmdct-hp__container{
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 0 16px;
}

.ogmdct-hp__header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

.ogmdct-hp__header-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 12px;
}

.ogmdct-hp__brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.ogmdct-hp__brand img{
  max-height: 56px;
  width: auto;
}

.ogmdct-hp__brand-text{
  font-weight: 900;
  letter-spacing: .2px;
}

.ogmdct-hp__nav{
  display: none;
  align-items: center;
  gap: 22px;
}

.ogmdct-hp__link{
  color: #2D1810;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.ogmdct-hp__link:hover{
  color: #7B1113;
}

.ogmdct-hp__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: #7B1113;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.ogmdct-hp__btn:hover{
  background: #5D0D0F;
}

.ogmdct-hp__btn--block{
  width: 100%;
}

.ogmdct-hp__menu{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(123,17,19,.18);
  border-radius: 12px;
  background: #fff;
  color: #7B1113;
}

.ogmdct-hp__menu-lines{
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 999px;
}

.ogmdct-hp__menu-lines::before,
.ogmdct-hp__menu-lines::after{
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.ogmdct-hp__menu-lines::before{ top: -6px; }
.ogmdct-hp__menu-lines::after{ top: 6px; }

.ogmdct-hp__header.is-menu-open .ogmdct-hp__menu-lines{
  background: transparent;
}

.ogmdct-hp__header.is-menu-open .ogmdct-hp__menu-lines::before{
  top: 0;
  transform: rotate(45deg);
}

.ogmdct-hp__header.is-menu-open .ogmdct-hp__menu-lines::after{
  top: 0;
  transform: rotate(-45deg);
}

.ogmdct-hp__nav-mobile{
  padding: 12px 0 16px;
  border-top: 1px solid rgba(0,0,0,.08);
  display: grid;
  gap: 10px;
}

.ogmdct-hp__hero{
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Carousel */
.ogmdct-hp__hero--carousel {
  min-height: 70vh;
  min-height: min(760px, 70vh);
}
.ogmdct-hp__hero-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ogmdct-hp__hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  will-change: transform;
}
/* Hero banner: use cover + center so image fills and is not cropped on one side. Recommended image: 1920×1080 or 1920×800 px. */
.ogmdct-hp__hero-slide {
  flex: 0 0 100%;
  min-height: 70vh;
  min-height: min(760px, 70vh);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}
.ogmdct-hp__hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.3);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  transition: background .2s ease;
}
.ogmdct-hp__hero-nav:hover {
  background: rgba(0,0,0,.5);
}
.ogmdct-hp__hero-nav--prev { left: 12px; }
.ogmdct-hp__hero-nav--next { right: 12px; }
.ogmdct-hp__hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.ogmdct-hp__hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.2);
  cursor: pointer;
  padding: 0;
  font-size: 0;
  transition: background .2s ease, border-color .2s ease;
}
.ogmdct-hp__hero-dot[aria-selected="true"],
.ogmdct-hp__hero-dot.active {
  background: var(--ogmdct-gold, #FFD700);
  border-color: var(--ogmdct-gold, #FFD700);
}

.ogmdct-hp__hero-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

/* Creedy-style decorative blob: top-right, behind content, theme colors 0.1–0.2 opacity */
.ogmdct-hero-blob {
  position: absolute;
  top: -15%;
  right: -10%;
  width: min(85vw, 520px);
  height: min(75vw, 480px);
  z-index: 0;
  pointer-events: none;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: radial-gradient(
    ellipse 80% 70% at 60% 30%,
    rgba(201, 162, 39, 0.2) 0%,
    rgba(123, 30, 30, 0.15) 45%,
    transparent 70%
  );
}
.ogmdct-hero-blob--homam {
  top: -20%;
  right: -15%;
  width: min(90vw, 480px);
  height: min(80vw, 420px);
}
@media (max-width: 767px) {
  .ogmdct-hero-blob {
    width: min(75vw, 280px);
    height: min(70vw, 260px);
    top: -10%;
    right: -20%;
    border-radius: 55% 45% 60% 40% / 50% 55% 45% 50%;
  }
  .ogmdct-hero-blob--homam {
    width: min(80vw, 260px);
    height: min(75vw, 240px);
  }
}

.ogmdct-hp__hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.28) 100%);
}
.ogmdct-hp__hero--fullwidth {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.ogmdct-hp__hero-inner{
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 100px 0 72px;
}

/* Hero: text left; banner image fills and is centered (no left crop). Same for Telugu & English. */
.ogmdct-hp__hero-slide--text-left {
  background-position: center center;
  background-size: cover;
}
.ogmdct-hp__hero-inner--left {
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.ogmdct-hp__hero-content {
  max-width: 56ch;
}
.ogmdct-hp__hero-inner--left .ogmdct-hp__hero-cta {
  justify-content: flex-start;
}

/* Hero mobile: center align banner, padding left and right */
@media (max-width: 767px) {
  .ogmdct-hp__hero .ogmdct-hp__container {
    padding-left: 24px;
    padding-right: 24px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .ogmdct-hp__hero-inner {
    padding: 88px 24px 56px;
    text-align: center;
  }
  .ogmdct-hp__hero-inner--left {
    text-align: center;
    justify-content: center;
  }
  .ogmdct-hp__hero-inner--left .ogmdct-hp__hero-cta {
    justify-content: center;
  }
  .ogmdct-hp__hero-content {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Typography: Bilbo Swash Caps (small/kicker), Oswald (hero + h2) */
.ogmdct-hp__kicker,
.ogmdct-hp__kicker--script {
  font-family: 'Bilbo Swash Caps', cursive !important;
  font-weight: 400;
}
.ogmdct-hp__hero-title,
.ogmdct-hp__h2,
.ogmdct-hp__h2--sm {
  font-family: 'Oswald', sans-serif !important;
}

.ogmdct-hp__hero-title {
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: .02em;
  font-size: clamp(34px, 6vw, 60px);
  color: #7b1e1e;
}

.ogmdct-hp__hero-mantra{
  margin: 0 auto 14px;
  max-width: 70ch;
  color: rgba(255,228,181,.98);
  font-size: clamp(16px, 2.4vw, 24px);
  line-height: 1.5;
}

.ogmdct-hp__hero-lead{
  margin: 0 auto 24px;
  max-width: 70ch;
  color: rgba(255,255,255,.92);
}

.ogmdct-hp__hero-cta{
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.ogmdct-hp__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
  font-size: 16px;
}

.ogmdct-hp__cta--primary{
  background: #FFD700;
  color: #7B1113;
}

.ogmdct-hp__cta--primary:hover{
  background: #FFC700;
}

.ogmdct-hp__cta--outline{
  border: 2px solid #fff;
  color: #fff;
}

.ogmdct-hp__cta--outline:hover{
  background: #fff;
  color: #7B1113;
}

.ogmdct-hp__section{
  padding: 64px 0;
  background: #FFF8F0;
}

.ogmdct-hp__section--white{
  background: #fff;
}

.ogmdct-hp__kicker{
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 900;
  color: #7B1113;
  margin-bottom: 8px;
}

.ogmdct-hp__h2{
  margin: 0 0 16px;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 900;
}

.ogmdct-hp__h2--sm{
  font-size: clamp(22px, 3vw, 32px);
}

/* Home page only: small headings 28px, remove extra space above/between headings */
body.home .ogmdct-hp__kicker,
body.home .ogmdct-hp__kicker--script {
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 6px;
}
body.home .ogmdct-hp__section {
  padding-top: 40px;
  padding-bottom: 40px;
}
body.home .ogmdct-hp__center {
  margin-bottom: 16px;
}
body.home .ogmdct-hp__center .ogmdct-hp__kicker,
body.home .ogmdct-hp__center .ogmdct-hp__h2 {
  margin-top: 0;
  margin-bottom: 6px;
}
body.home .ogmdct-hp__h2 {
  margin-top: 0;
  margin-bottom: 10px;
}
body.home .ogmdct-hp__section--about-mg .ogmdct-hp__about-text-wrap .ogmdct-hp__kicker,
body.home .ogmdct-hp__section--about-mg .ogmdct-hp__about-text-wrap .ogmdct-hp__h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

.ogmdct-hp__h3{
  margin: 8px 0 10px;
  font-size: 22px;
  font-weight: 900;
  color: #7B1113;
}

.ogmdct-hp__p{
  margin: 0 0 14px;
  line-height: 1.7;
  color: rgba(45,24,16,.84);
}

.ogmdct-hp__center{
  text-align: center;
  margin-bottom: 28px;
}

.ogmdct-hp__grid2{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.ogmdct-hp__grid2--gap{
  gap: 28px;
}

.ogmdct-hp__media{
  position: relative;
  padding-top: 6px;
}

.ogmdct-hp__media-frame{
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 4px solid #FFD700;
  border-radius: 14px;
}

.ogmdct-hp__media-img{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}

.ogmdct-hp__cards3{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.ogmdct-hp__cards2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .ogmdct-hp__cards2 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
.ogmdct-hp__homam-cards .ogmdct-hp__homam-card {
  padding: 28px 24px;
  border: 2px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.ogmdct-hp__homam-cards .ogmdct-hp__homam-card:hover {
  border-color: var(--ogmdct-gold, #C9A227);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}
.ogmdct-hp__homam-cards .ogmdct-hp__card-icon {
  width: 64px;
  height: 64px;
  font-size: 28px;
  margin-bottom: 16px;
}
.ogmdct-hp__homam-cards .ogmdct-hp__h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.ogmdct-hp__homam-cards .ogmdct-hp__p {
  margin-bottom: 20px;
  min-height: 3.6em;
}

.ogmdct-hp__card{
  background: #fff;
  border: 2px solid rgba(255,228,181,.95);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
}

.ogmdct-hp__card:hover{
  border-color: #FFD700;
  box-shadow: 0 16px 28px rgba(0,0,0,.10);
}

.ogmdct-hp__card-icon{
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7B1113, #A81416);
  color: #FFD700;
  font-weight: 900;
  font-size: 30px;
}

.ogmdct-hp__gallery{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ogmdct-hp__gallery--grid {
  gap: 14px;
}
.ogmdct-hp__gallery-item {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(45, 24, 16, .12);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ogmdct-hp__gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(45, 24, 16, .18);
}
.ogmdct-hp__gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.ogmdct-hp__gallery-item:hover img {
  transform: scale(1.05);
}
.ogmdct-hp__gallery img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,.10);
  transition: transform .14s ease;
}
@media (min-width: 640px) {
  .ogmdct-hp__gallery--grid .ogmdct-hp__gallery-item img,
  .ogmdct-hp__gallery img { height: 176px; }
}
.ogmdct-hp__gallery img:hover{
  transform: scale(1.02);
}

.ogmdct-hp__gallery-actions{
  margin-top: 14px;
}

/* Gallery page: less top space, filter tabs + grid */
.ogmdct-gallery-page__section {
  padding: 12px 0 56px;
  background: var(--ogmdct-cream, #FFF8E1);
}
.ogmdct-gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}
.ogmdct-gallery-filter__btn {
  padding: 0.5rem 1.25rem;
  border: 2px solid rgba(123, 30, 30, 0.25);
  background: #fff;
  color: #2D1810;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.ogmdct-gallery-filter__btn:hover,
.ogmdct-gallery-filter__btn.is-active {
  background: var(--ogmdct-primary, #7B1E1E);
  border-color: var(--ogmdct-primary, #7B1E1E);
  color: #fff;
}
/* Gallery page: simple grid, no hover effects (avoids Chrome hang/flicker) */
.ogmdct-gallery-page__section {
  overflow: visible;
}
.ogmdct-gallery-page__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}
/* Fixed square cells so any image fills with no empty space */
.ogmdct-gallery-page__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(45, 24, 16, .1);
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font: inherit;
}
.ogmdct-gallery-page__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ogmdct-gallery-page__item .ogmdct-hp__gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.4) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 10px;
  pointer-events: none;
}
.ogmdct-gallery-page__item .ogmdct-hp__gallery-item-title {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.ogmdct-gallery-page__grid .ogmdct-gallery-page__item,
.ogmdct-gallery-page__grid .ogmdct-gallery-page__item:hover,
.ogmdct-gallery-page__grid .ogmdct-gallery-page__item img {
  transform: none !important;
  transition: none !important;
}

/* Gallery lightbox */
.ogmdct-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.ogmdct-gallery-lightbox[hidden] {
  display: none !important;
}
.ogmdct-gallery-lightbox__inner {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ogmdct-gallery-lightbox__img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.ogmdct-gallery-lightbox__close,
.ogmdct-gallery-lightbox__prev,
.ogmdct-gallery-lightbox__next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.ogmdct-gallery-lightbox__close:hover,
.ogmdct-gallery-lightbox__prev:hover,
.ogmdct-gallery-lightbox__next:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
}
.ogmdct-gallery-lightbox__close {
  top: 16px;
  right: 16px;
  font-size: 2rem;
  line-height: 1;
}
.ogmdct-gallery-lightbox__prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.ogmdct-gallery-lightbox__next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.ogmdct-hp__video{
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #7B1113, #4A0404);
  box-shadow: 0 14px 26px rgba(0,0,0,.14);
}

.ogmdct-hp__video::before{
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1616308913689-cb92c5bea67e?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
  opacity: .65;
}

.ogmdct-hp__video-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 18px;
}

.ogmdct-hp__play{
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 4px solid rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
  margin-bottom: 12px;
  position: relative;
}

.ogmdct-hp__play::after{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}

.ogmdct-hp__video-title{
  font-weight: 900;
  font-size: 20px;
}

.ogmdct-hp__video-sub{
  margin-top: 6px;
  opacity: .85;
}

.ogmdct-hp__cards4{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.ogmdct-hp__mini{
  background: #fff;
  border: 2px solid rgba(255,228,181,.95);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.ogmdct-hp__mini:hover{
  border-color: #FFD700;
}

.ogmdct-hp__mini-icon{
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7B1113, #A81416);
  color: #FFD700;
  font-weight: 900;
  font-size: 22px;
}

.ogmdct-hp__mini-title{
  font-weight: 900;
  color: #7B1113;
  margin-bottom: 6px;
}

.ogmdct-hp__mini-text{
  color: rgba(45,24,16,.84);
  line-height: 1.55;
}

.ogmdct-hp__footer{
  background: linear-gradient(180deg, #b30000 0%, #7a1113 100%);
  color: #fff;
  padding: 56px 0 22px;
}

.ogmdct-hp__footer-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.ogmdct-hp__footer-title{
  color: #FFD700;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 10px;
}

.ogmdct-hp__footer-text{
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  margin-bottom: 10px;
}

.ogmdct-hp__footer-link{
  display: block;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  margin: 8px 0;
}

.ogmdct-hp__footer-link:hover{
  color: #FFD700;
}

.ogmdct-hp__footer-bottom{
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}
.ogmdct-hp__footer-reg {
  opacity: .9;
}
.ogmdct-hp__footer-powered {
  margin-left: auto;
}
.ogmdct-hp__footer-powered a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
}
.ogmdct-hp__footer-powered a:hover {
  color: #FFD700;
}
/* Hide theme footer: duplicate on home (we have our own in shortcode), and on inner pages (we output global footer) */
body.home .site-footer,
body.home .site-footer-wrap,
body.home #colophon,
body.home footer[role="contentinfo"],
body.ogmdct-inner-page .site-footer,
body.ogmdct-inner-page .site-footer-wrap,
body.ogmdct-inner-page #colophon,
body.ogmdct-inner-page footer[role="contentinfo"] {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: none !important;
}
/* Inner pages: ensure our global footer is visible and below content */
body.ogmdct-inner-page .ogmdct-global-footer,
body.ogmdct-inner-page .ogmdct-hp__footer.ogmdct-global-footer {
  display: block !important;
  position: relative;
  z-index: 2;
  visibility: visible;
}
body.ogmdct-inner-page .site-inner,
body.ogmdct-inner-page #inner-wrap {
  overflow: visible;
}

/* Homam product category page (/product-category/homam/): banner/title color */
body.tax-product_cat .page-title,
body.tax-product_cat .entry-title,
body.tax-product_cat .product-category-title {
  color: #7b1e1e;
}

/* Remove empty space below our footer on home (theme content area bottom padding) */
body.home .site-inner,
body.home #inner-wrap,
body.home .content-area,
body.home main {
  padding-bottom: 0 !important;
}
body.home .ogmdct-hp__footer {
  margin-bottom: 0;
}
body.home .site-content {
  padding-bottom: 0 !important;
}
/* Prevent theme/page wrapper from forcing min-height and creating white space below footer */
body.home #wrapper,
body.home #page,
body.home .site,
body.home .site-inner,
body.home .content-area {
  min-height: 0 !important;
}
body.home .ogmdct-hp + .site-footer-wrap,
body.home .ogmdct-hp + #colophon,
body.home .ogmdct-hp + footer {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ogmdct-hp__footer-brand .ogmdct-hp__footer-title {
  font-size: 18px;
  margin-bottom: 8px;
}

/* Inner pages: content area margin (used on gallery, contact, etc.) */
#primary.content-area,
.content-area {
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 0;
}

/* Inner pages: no drop shadow above banner / content (Kadence content-bg) – verified removed */
.entry.content-bg.single-entry,
article.entry.content-bg.single-entry,
.content-bg.single-entry {
  box-shadow: none !important;
  background: transparent !important;
}
.site .entry-content-wrap.content-style-unboxed,
body.ogmdct-inner-page .content-style-unboxed {
  box-shadow: none !important;
  background: transparent !important;
}
.single-content h3 {
  margin-top: 0;
}

/* ========== Subpages: typography, spacing, readability (e.g. about-trust-english) ========== */
body.ogmdct-inner-page .content-area {
  padding-top: 0;
  padding-bottom: 48px;
}
body.ogmdct-inner-page .entry-header .entry-title,
body.ogmdct-inner-page .page-title {
  font-family: 'Oswald', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  color: #2D1810;
  margin: 0;
  line-height: 1.3;
}
/* Do not constrain width: let theme and Elementor control layout for best quality */
body.ogmdct-inner-page .entry-content-wrap {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 24px;
  padding-bottom: 32px;
  max-width: none;
}
body.ogmdct-inner-page .entry-content,
body.ogmdct-inner-page .entry-content-wrap .entry-content {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #2D1810;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
body.ogmdct-inner-page .entry-content p {
  margin-top: 0;
  margin-bottom: 1.25em;
}
body.ogmdct-inner-page .entry-content p:last-child {
  margin-bottom: 0;
}
body.ogmdct-inner-page .entry-content h1,
body.ogmdct-inner-page .entry-content h2,
body.ogmdct-inner-page .entry-content h3,
body.ogmdct-inner-page .entry-content h4 {
  font-family: 'Oswald', 'Playfair Display', Georgia, serif;
  color: #2D1810;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.3;
  font-weight: 600;
}
body.ogmdct-inner-page .entry-content h1 { font-size: 1.75rem; margin-top: 0; }
body.ogmdct-inner-page .entry-content h2 { font-size: 1.5rem; }
body.ogmdct-inner-page .entry-content h3 { font-size: 1.25rem; }
body.ogmdct-inner-page .entry-content h4 { font-size: 1.125rem; }
body.ogmdct-inner-page .entry-content ul,
body.ogmdct-inner-page .entry-content ol {
  margin-top: 0;
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}
body.ogmdct-inner-page .entry-content li {
  margin-bottom: 0.4em;
}
body.ogmdct-inner-page .entry-content a {
 /* color: var(--ogmdct-primary, #7B1E1E);*/
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.ogmdct-inner-page .entry-content a:hover {
  text-decoration: none;
}
body.ogmdct-inner-page .entry-content blockquote {
  margin: 1.5em 0;
  padding-left: 1.25em;
  border-left: 4px solid var(--ogmdct-primary, #7B1E1E);
  color: #444;
  font-style: italic;
}
body.ogmdct-inner-page .entry-content img {
  max-width: 100%;
  height: auto;
  margin: 1em 0;
  border-radius: 8px;
}
body.ogmdct-inner-page .entry-content hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid rgba(45, 24, 16, 0.12);
}
@media (min-width: 768px) {
  body.ogmdct-inner-page .entry-content-wrap {
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 40px;
    padding-bottom: 48px;
  }
  body.ogmdct-inner-page .entry-content {
    font-size: 1.125rem;
  }
  body.ogmdct-inner-page .entry-content h1 { font-size: 2rem; }
  body.ogmdct-inner-page .entry-content h2 { font-size: 1.625rem; }
  body.ogmdct-inner-page .entry-content h3 { font-size: 1.375rem; }
}

/* About Trust (Telugu + English): align all .e-con-inner blocks so both pages match */
body.ogmdct-page-about-trust .entry-content .e-con-inner,
body.ogmdct-page-about-trust-english .entry-content .e-con-inner {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
body.ogmdct-page-about-trust .entry-content .e-con-inner .e-con,
body.ogmdct-page-about-trust-english .entry-content .e-con-inner .e-con {
  max-width: 100%;
}

/* Contact page form */
.ogmdct-contact-form-heading {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}
.ogmdct-contact-map-wrap iframe {
  display: block;
}
.ogmdct-contact-form-wrap {
  max-width: 560px;
  margin-top: 2rem;
  padding: 1.5rem 0;
}
.ogmdct-contact-form-message {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}
.ogmdct-contact-form-success {
  background: rgba(40, 167, 69, 0.12);
  color: #1e7e34;
}
.ogmdct-contact-form-error {
  background: rgba(220, 53, 69, 0.1);
  color: #c82333;
}
.ogmdct-contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: #333;
}
.ogmdct-contact-form .required {
  color: var(--ogmdct-primary, #B30000);
}
.ogmdct-contact-form input[type="text"],
.ogmdct-contact-form input[type="email"],
.ogmdct-contact-form input[type="tel"],
.ogmdct-contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
.ogmdct-contact-form input:focus,
.ogmdct-contact-form textarea:focus {
  border-color: var(--ogmdct-primary, #B30000);
  outline: none;
  box-shadow: 0 0 0 2px rgba(179, 0, 0, 0.15);
}
.ogmdct-contact-form p {
  margin-bottom: 1rem;
}
.ogmdct-contact-submit {
  background: var(--ogmdct-primary, #B30000);
  color: #fff;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}
.ogmdct-contact-submit:hover {
  background: #8c0000;
}

/* ========== Contact page layout (3 blocks + map + form section) ========== */
.ogmdct-contact__container {
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 0 20px;
}
.ogmdct-contact__section {
  padding: 56px 0 64px;
}
.ogmdct-contact__section--blocks {
  background: var(--ogmdct-cream, #FFF8E1);
}
.ogmdct-contact__section--map {
  padding: 0;
  background: #e8e4dc;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}
.ogmdct-contact__section--form {
  background: var(--ogmdct-cream, #FFF8E1);
}

/* 3 info blocks: desktop 3 columns, mobile stacked */
.ogmdct-contact__blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .ogmdct-contact__blocks {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}
/* Info blocks: desktop left align (icon + text), mobile center align */
.ogmdct-contact__block {
  text-align: left;
}
.ogmdct-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  margin-left: 0;
  border-radius: 50%;
  background: var(--ogmdct-primary, #7B1E1E);
  color: #fff;
  font-size: 24px;
}
.ogmdct-contact__icon .dashicons {
  font-size: 28px;
  width: 28px;
  height: 28px;
}
@media (max-width: 767px) {
  .ogmdct-contact__block {
    text-align: center;
  }
  .ogmdct-contact__icon {
    margin-left: auto;
    margin-right: auto;
  }
}
.ogmdct-contact__title {
  margin: 0 0 0.5em;
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 26px);
  font-weight: 700;
  color: #2D1810;
}
.ogmdct-contact__content {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}
.ogmdct-contact__content a {
  color: var(--ogmdct-primary, #7B1E1E);
  text-decoration: none;
}
.ogmdct-contact__content a:hover {
  text-decoration: underline;
}

/* Full-width map: 100% end to end */
.ogmdct-contact__section--map .ogmdct-contact-map-wrap,
.ogmdct-contact-map-wrap--full {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.ogmdct-contact__section--map .ogmdct-contact-map-wrap iframe,
.ogmdct-contact-map-wrap--full iframe {
  width: 100% !important;
  height: 450px !important;
  max-width: none;
  display: block;
}

/* Form section: heading + 2-col (image left, form right) — aesthetic UI */
.ogmdct-contact-form-section__header {
  text-align: left;
  margin: 0 0 1.5rem;
}
.ogmdct-contact-form-section__heading {
  margin: 0 0 0.35em;
  font-family: 'Bilbo Swash Caps', cursive !important;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  color: var(--ogmdct-primary, #7B1E1E);
}
.ogmdct-contact-form-section__subheading {
  margin: 0;
  font-family: 'Oswald', sans-serif !important;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: #2D1810;
}
.ogmdct-contact-form-twocol {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 768px) {
  .ogmdct-contact-form-twocol {
    grid-template-columns: 40% 60%;
    gap: 48px;
  }
}
.ogmdct-contact-form-twocol__image {
  order: 1;
}
.ogmdct-contact-form-section__img {
  width: 100%;
  height: auto;
  min-height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
}
.ogmdct-contact-form-twocol__form {
  order: 2;
}
/* When no image is set, form spans full width */
.ogmdct-contact-form-twocol__form:only-child {
  grid-column: 1 / -1;
}
.ogmdct-contact-form-twocol__form .ogmdct-contact-form-wrap {
  max-width: none;
  margin-top: 0;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  border: 1px solid rgba(123, 30, 30, 0.08);
}
.ogmdct-contact-form-twocol__form .ogmdct-contact-form input[type="text"],
.ogmdct-contact-form-twocol__form .ogmdct-contact-form input[type="email"],
.ogmdct-contact-form-twocol__form .ogmdct-contact-form input[type="tel"],
.ogmdct-contact-form-twocol__form .ogmdct-contact-form textarea {
  border-radius: 10px;
  border-color: rgba(0,0,0,.12);
}
.ogmdct-contact-form-twocol__form .ogmdct-contact-submit {
  border-radius: 10px;
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(179, 0, 0, 0.25);
}
.ogmdct-contact__section--blocks .ogmdct-contact__block {
  padding: 1.25rem 1rem;
  background: rgba(255,255,255,.7);
  border-radius: 14px;
  border: 1px solid rgba(123, 30, 30, 0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

/* About Maha Gaytridevi: text left, image right (desktop); image top, text below (mobile) */
.ogmdct-hp__section--about-mg .ogmdct-hp__grid2--about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.ogmdct-hp__section--about-mg .ogmdct-hp__about-img-wrap {
  order: -1;
  position: relative;
  min-height: 200px;
}
.ogmdct-hp__section--about-mg .ogmdct-hp__about-decorative {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.ogmdct-hp__section--about-mg .ogmdct-hp__about-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: right center;
  border-radius: 14px;
 /* box-shadow: 0 12px 32px rgba(45, 24, 16, 0.12); */
}
.ogmdct-hp__section--about-mg .ogmdct-hp__about-text-wrap {
  order: 0;
}
/* About Maha Gaytridevi: typography and divider */
.ogmdct-hp__section--about-mg .ogmdct-hp__about-text-wrap .ogmdct-hp__h2 {
  font-family: "Playfair Display", Georgia, serif;
  margin-bottom: 28px;
}
.ogmdct-hp__section--about-mg .ogmdct-hp__about-text-wrap .ogmdct-hp__h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ogmdct-primary, #7B1E1E), rgba(123, 30, 30, 0.5));
}
.ogmdct-hp__section--about-mg .ogmdct-hp__about-text-wrap .ogmdct-hp__p {
  line-height: 1.75;
  max-width: 65ch;
  margin-top: 0;
  margin-bottom: 1em;
}
.ogmdct-hp__section--about-mg .ogmdct-hp__about-text-wrap .ogmdct-hp__p:last-child {
  margin-bottom: 0;
}
.ogmdct-hp__kicker--script {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.ogmdct-hp__btn--readmore {
  margin-top: 8px;
  background: var(--ogmdct-primary, #7B1E1E);
  color: #fff;
}
.ogmdct-hp__btn--readmore:hover {
  background: #5D0D0F;
}
/* About Maha Gaytridevi: Learn More button (section-specific) */
.ogmdct-hp__section--about-mg .ogmdct-hp__btn--readmore {
  margin-top: 8px;
  padding: 14px 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7B1E1E 0%, #5D0D0F 100%);
  box-shadow: 0 4px 14px rgba(123, 30, 30, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.ogmdct-hp__section--about-mg .ogmdct-hp__btn--readmore:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #6B1818 0%, #4D0A0C 100%);
  box-shadow: 0 6px 20px rgba(123, 30, 30, 0.45);
}

/* About Trust: founders (circular photos) */
.ogmdct-hp__founders {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.ogmdct-hp__founder {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 2px solid rgba(255,228,181,.95);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
}
.ogmdct-hp__founder-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 4px solid var(--ogmdct-gold, #C9A227);
}
.ogmdct-hp__founder-name {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 900;
  color: var(--ogmdct-primary, #7B1E1E);
}
.ogmdct-hp__founder-title {
  margin: 0 0 8px;
  font-size: 14px;
  color: rgba(45,24,16,.7);
}
.ogmdct-hp__founder-bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(45,24,16,.84);
}
/* About Trust: reference layout – image left, text right, beige bg */
/* About Trust section: background pattern (left 270, right 268+269) only in this section */
.ogmdct-hp__section--about-trust {
  position: relative;
  background: #F8F6F2 !important;
  overflow: hidden;
}
.ogmdct-hp.ogmdct-hp--pattern .ogmdct-hp__section--about-trust::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 320px;
  max-width: 40vw;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image: var(--ogmdct-pattern-left);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  animation: ogmdct-pattern-breathe 8s ease-in-out infinite;
}
.ogmdct-hp.ogmdct-hp--pattern .ogmdct-hp__section--about-trust::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 320px;
  max-width: 40vw;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image: var(--ogmdct-pattern-right-2, none), var(--ogmdct-pattern-right);
  background-repeat: no-repeat, no-repeat;
  background-size: contain, contain;
  background-position: right center, right center;
  animation: ogmdct-pattern-breathe 8s ease-in-out infinite 0.5s;
}
@media (max-width: 1023px) {
  .ogmdct-hp.ogmdct-hp--pattern .ogmdct-hp__section--about-trust::before,
  .ogmdct-hp.ogmdct-hp--pattern .ogmdct-hp__section--about-trust::after {
    width: 160px;
    max-width: 45vw;
    opacity: 0.9;
  }
}
.ogmdct-hp__about-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}
.ogmdct-hp__about-trust-img-wrap {
  position: relative;
  min-height: 320px;
}
.ogmdct-hp__about-trust-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Scalloped / wave bottom edge on image area (curved top of section bg) */
.ogmdct-hp__about-trust-img-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 32px;
  background: #F8F6F2;
  border-radius: 50% 50% 0 0 / 24px 24px 0 0;
}
.ogmdct-hp__about-trust-content {
  padding: 32px 0 40px;
}
.ogmdct-hp__about-trust-kicker {
  color: #9B5C37;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.ogmdct-hp__about-trust-title {
  margin: 0 0 20px;
  font-size: clamp(26px, 4vw, 34px);
  color: #2D1810;
}
.ogmdct-hp__about-trust-founder-name {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #9B5C37;
}
.ogmdct-hp__about-trust-founder-role {
  margin: 0 0 16px;
  font-size: 1rem;
  color: rgba(45, 24, 16, 0.8);
  font-weight: 500;
}
.ogmdct-hp__about-trust-bio {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(45, 24, 16, 0.88);
}
@media (min-width: 768px) {
  .ogmdct-hp__about-trust-grid {
    grid-template-columns: 42% 1fr;
    gap: 48px;
    align-items: center;
  }
  .ogmdct-hp__about-trust-img-wrap {
    min-height: 520px;
  }
  .ogmdct-hp__about-trust-img-wrap::after {
    display: none;
  }
  .ogmdct-hp__about-trust-content {
    padding: 48px 0 56px;
  }
}

/* Legacy single founder card (kept for any other use) */
.ogmdct-hp__founders--single {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.ogmdct-hp__founder--single {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.ogmdct-hp__founder-photo--single {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  border-radius: 50%;
  margin: 0;
}
.ogmdct-hp__founder-body {
  flex: 1;
  min-width: 0;
}
@media (min-width: 640px) {
  .ogmdct-hp__founder--single {
    flex-direction: row;
    text-align: left;
    gap: 32px;
    padding: 32px;
  }
  .ogmdct-hp__founder-photo--single {
    width: 220px;
    height: 220px;
  }
}
.ogmdct-hp__founder--single .ogmdct-hp__founder-name {
  font-size: 24px;
  margin-bottom: 6px;
}
.ogmdct-hp__founder--single .ogmdct-hp__founder-title {
  font-size: 15px;
  margin-bottom: 12px;
}
.ogmdct-hp__founder--single .ogmdct-hp__founder-bio {
  font-size: 15px;
  line-height: 1.65;
}

/* Activities: stat number + description */
.ogmdct-hp__stat-wrap {
  text-align: center;
  margin: 24px 0;
  padding: 28px;
  background: linear-gradient(135deg, rgba(123,30,30,.08), rgba(201,162,39,.12));
  border-radius: 16px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
.ogmdct-hp__stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--ogmdct-primary, #7B1E1E);
  line-height: 1.1;
}
.ogmdct-hp__stat-label {
  font-size: 14px;
  color: rgba(45,24,16,.8);
  margin-top: 6px;
}
.ogmdct-hp__activities-desc {
  max-width: 72ch;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
  color: rgba(45,24,16,.84);
}

/* Gallery home: subtitle + grid */
/* Gallery section: 100% width, reduced h2 margin */
.ogmdct-hp__section--gallery {
  box-sizing: border-box;
}
.ogmdct-hp__gallery-wrap {
  width: 100%;
  padding: 0 16px;
  margin-top: 20px;
  box-sizing: border-box;
}
.ogmdct-hp__section--gallery .ogmdct-hp__center .ogmdct-hp__h2,
#gallery .ogmdct-hp__h2 {
  margin-top: 0;
  margin-bottom: 12px;
}
.ogmdct-hp__gallery-sub {
  margin: -8px 0 20px;
  color: rgba(45,24,16,.7);
}

/* Masonry gallery: Pinterest-style, responsive columns */
.ogmdct-hp__gallery--masonry.ogmdct-hp__gallery--home {
  display: block;
  column-count: 1;
  column-gap: 14px;
  margin: 0 auto;
  max-width: none;
}
.ogmdct-hp__gallery--home .ogmdct-hp__gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}
.ogmdct-hp__gallery--home .ogmdct-hp__gallery-item.ogmdct-fade-in {
  opacity: 1;
  transform: translateY(0);
}
.ogmdct-hp__gallery--home .ogmdct-hp__gallery-item img {
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
  display: block;
  vertical-align: bottom;
  transition: transform 0.4s ease;
}
.ogmdct-hp__gallery--home .ogmdct-hp__gallery-item:hover img {
  transform: scale(1.05);
}
.ogmdct-hp__gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ogmdct-hp__gallery-item:hover .ogmdct-hp__gallery-item-overlay {
  opacity: 1;
}
.ogmdct-hp__gallery-item-title {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* Homam intro + CTA */
.ogmdct-hp__homam-intro {
  max-width: 72ch;
  margin: 0 auto 28px;
  text-align: center;
  line-height: 1.7;
  color: rgba(45,24,16,.84);
}

/* Donation CTA block: image + content */
.ogmdct-hp__section--donation {
  background: linear-gradient(135deg, rgba(123,30,30,.06), var(--ogmdct-cream, #FFF8E1));
}
.ogmdct-hp__donation-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
  /*background: #fff;
  box-shadow: 0 14px 32px rgba(0,0,0,.1);*/
}
.ogmdct-hp__donation-img {
  min-height: 220px;
  background-size: cover;
  background-position: center;
}
.ogmdct-hp__donation-content {
  padding: 24px;
}

/* Homepage: gradients (Creedy-style, not solid) */
.ogmdct-hp--gradients.ogmdct-hp {
  background: linear-gradient(180deg, var(--ogmdct-cream) 0%, #FFFDF5 50%, #fff 100%);
}
.ogmdct-hp--gradients .ogmdct-hp__section {
  background: linear-gradient(180deg, rgba(255,248,225,.4) 0%, #fff 100%);
}
.ogmdct-hp--gradients .ogmdct-hp__section--white {
  background: linear-gradient(180deg, #fff 0%, rgba(255,248,225,.25) 100%);
}
.ogmdct-hp--gradients .ogmdct-hp__footer {
  background: linear-gradient(180deg, #b30000 0%, #7a1113 100%);
}
/* Menu: ensure all items (e.g. Homam) visible – no overflow clip */
#masthead .header-menu-container,
#masthead .primary-navigation {
  overflow: visible !important;
}
#masthead .header-menu-container ul li,
#masthead .primary-navigation ul li,
#masthead .nav-menu > li {
  display: list-item !important;
  visibility: visible !important;
}
#masthead .header-menu-container ul li a,
#masthead .nav-menu > li > a {
  display: inline-flex !important;
}

/* Menu: Donation = primary button (must override theme link color) */
#masthead .ogmdct-menu-donation-btn,
.ogmdct-menu-donation-btn {
  margin-left: 1rem;
}
#masthead .ogmdct-menu-donation-btn a,
#masthead .ogmdct-menu-donation-btn > a,
#masthead li.ogmdct-menu-donation-btn a,
.ogmdct-menu-donation-btn a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 10px 24px !important;
  background: var(--ogmdct-primary, #7B1E1E) !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  border: 2px solid var(--ogmdct-primary, #7B1E1E) !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(123, 30, 30, 0.35) !important;
}
#masthead .ogmdct-menu-donation-btn a:hover,
#masthead .ogmdct-menu-donation-btn > a:hover,
#masthead li.ogmdct-menu-donation-btn a:hover,
.ogmdct-menu-donation-btn a:hover {
  background: #5D0D0F !important;
  border-color: #5D0D0F !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(93, 13, 15, 0.4) !important;
}

/* Language switcher in global nav – top right */
#masthead .header-menu-container ul,
#masthead .primary-navigation ul,
#masthead .nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.ogmdct-lang-switcher-menu-item {
  display: flex !important;
  align-items: center;
  margin-left: 1.25rem !important; /* space from Donation button */
  flex-shrink: 0;
  visibility: visible !important;
}
.ogmdct-lang-switcher-menu-item .ogmdct-lang-switcher {
  margin: 0;
  visibility: visible !important;
}
#primary-menu .ogmdct-lang-switcher__trigger {
  visibility: visible !important;
}
#masthead .header-menu-container,
#masthead #primary-menu {
  overflow: visible !important;
}
/* Switcher visible on transparent header (home) */
body.home:not(.ogmdct-header-scrolled) #masthead .ogmdct-lang-switcher__trigger,
body.home:not(.ogmdct-header-scrolled) #masthead .ogmdct-lang-switcher__btn {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}
body.home:not(.ogmdct-header-scrolled) #masthead .ogmdct-lang-switcher__trigger:hover,
body.home:not(.ogmdct-header-scrolled) #masthead .ogmdct-lang-switcher__btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}
body.home:not(.ogmdct-header-scrolled) #masthead .ogmdct-lang-switcher__btn.is-active {
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
}

/* Global menu: when body has .home, style theme header to match */
body.home #masthead .site-header-inner,
body.home .site-header-inner {
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--ogmdct-primary, #7B1E1E), var(--ogmdct-gold, #C9A227)) 1;
}
body.home .main-navigation a:hover,
body.home .main-navigation .current-menu-item a {
  color: var(--ogmdct-primary, #7B1E1E) !important;
}
/* Navigation: Homam submenu + language dropdown – above hero, readable on hover */
#masthead .menu-item-has-children {
  position: relative;
}
#masthead .main-navigation .sub-menu,
#masthead .primary-navigation .sub-menu,
#masthead .nav-menu .sub-menu {
  background: #2D1810 !important;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  z-index: 99998 !important;
  min-width: 200px;
}
#masthead .main-navigation .sub-menu a,
#masthead .primary-navigation .sub-menu a,
#masthead .nav-menu .sub-menu a,
#masthead .sub-menu .current-menu-item a,
#masthead .sub-menu a.current-menu-item {
  color: #fff !important;
  display: block;
  padding: 10px 16px;
}
#masthead .main-navigation .sub-menu a:hover,
#masthead .primary-navigation .sub-menu a:hover,
#masthead .nav-menu .sub-menu a:hover,
#masthead .sub-menu .current-menu-item a:hover,
#masthead .sub-menu a.current-menu-item:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, .18) !important;
}
body.home #masthead .sub-menu a,
body.home:not(.ogmdct-header-scrolled) #masthead .sub-menu a,
body.home #masthead .sub-menu a:hover,
body.home:not(.ogmdct-header-scrolled) #masthead .sub-menu a:hover,
body.home #masthead .sub-menu .current-menu-item a,
body.home #masthead .sub-menu .current-menu-item a:hover {
  color: #fff !important;
}
/* Submenu: force white text (override theme current-menu-item red) */
#masthead #primary-menu .sub-menu li a,
#masthead #primary-menu .sub-menu li.current-menu-item a,
#masthead #primary-menu .sub-menu li a:hover {
  color: #fff !important;
  background-color: transparent !important;
}
#masthead #primary-menu .sub-menu li a:hover {
  background: rgba(255, 255, 255, .18) !important;
}
#masthead .main-navigation li:hover > a,
#masthead .primary-navigation li:hover > a {
  color: var(--ogmdct-primary, #7B1E1E) !important;
}
body.home:not(.ogmdct-header-scrolled) #masthead .main-navigation li:hover > a:not(.ogmdct-lang-switcher__item),
body.home:not(.ogmdct-header-scrolled) #masthead .primary-navigation li:hover > a:not(.ogmdct-lang-switcher__item) {
    color: #fff !important;
}
/* Language switcher: Toggle (default) and Dropdown – use in header/menu */
.ogmdct-lang-switcher {
  font-size: 14px;
}
/* Toggle: two buttons side by side – best for 2 languages (EN | Telugu) */
.ogmdct-lang-switcher--toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(123, 30, 30, .25);
  background: rgba(255, 248, 225, .5);
}
.ogmdct-lang-switcher__btn {
  display: inline-block;
  padding: 8px 14px;
  color: inherit;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
  font-weight: 600;
}
.ogmdct-lang-switcher__btn:hover {
  background: rgba(123, 30, 30, .08);
  color: #000;
}
.ogmdct-lang-switcher__btn.is-active {
  background: var(--ogmdct-primary, #7B1E1E);
  color: #fff;
}
.ogmdct-lang-switcher__btn.is-active:hover {
  color: #000;
}
/* Dropdown: compact, opens on click */
.ogmdct-lang-switcher--dropdown {
  position: relative;
  display: inline-block;
  z-index: 99999;
}
.ogmdct-lang-switcher__select-wrap {
  position: relative;
  z-index: 99999;
}
.ogmdct-lang-switcher__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(123, 30, 30, .25);
  border-radius: 10px;
  background: rgba(255, 248, 225, .6);
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.ogmdct-lang-switcher__trigger:hover {
  border-color: var(--ogmdct-primary, #7B1E1E);
  background: #fff;
  color: #000;
}
.ogmdct-lang-switcher__arrow {
  font-size: 10px;
  opacity: .8;
  transition: transform .2s ease;
}
.ogmdct-lang-switcher__trigger[aria-expanded="true"] .ogmdct-lang-switcher__arrow {
  transform: rotate(180deg);
}
/* Language dropdown: standard white panel, dark text, clear hover */
.ogmdct-lang-switcher__list {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 4px 0 0;
  padding: 4px 0;
  min-width: 100%;
  list-style: none;
  background: #fff !important;
  color: #1a1a1a !important;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
  z-index: 99999;
}
.ogmdct-lang-switcher__list[hidden] {
  display: none !important;
}

#masthead .ogmdct-lang-switcher__list,
#masthead .ogmdct-lang-switcher__list a {
  background: #fff !important;
  color: #1a1a1a !important;
}
body.home:not(.ogmdct-header-scrolled) #masthead .ogmdct-lang-switcher__list,
body.home:not(.ogmdct-header-scrolled) #masthead .ogmdct-lang-switcher__list a {
  background: rgba(0, 0, 0, 0.85) !important;
  color: #fff !important;
}


.ogmdct-lang-switcher__item {
  display: block;
  padding: 10px 16px;
  color: #1a1a1a !important;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
#masthead .ogmdct-lang-switcher__item,
body.home #masthead .ogmdct-lang-switcher__item,
body.home:not(.ogmdct-header-scrolled) #masthead .ogmdct-lang-switcher__item {
  color: #1a1a1a !important;
}
.ogmdct-lang-switcher__item:hover {
  background: #f0f0f0 !important;
  color: #1a1a1a !important;
}
#masthead .ogmdct-lang-switcher__item:hover,
#masthead .ogmdct-lang-switcher__list a:hover,
#masthead a.ogmdct-lang-switcher__item:hover,
body.home #masthead .ogmdct-lang-switcher__item:hover,
body.home #masthead .ogmdct-lang-switcher__list a:hover,
body.home #masthead a.ogmdct-lang-switcher__item:hover,
body.home:not(.ogmdct-header-scrolled) #masthead .ogmdct-lang-switcher__item:hover,
body.home:not(.ogmdct-header-scrolled) #masthead .ogmdct-lang-switcher__list a:hover,
body.home:not(.ogmdct-header-scrolled) #masthead a.ogmdct-lang-switcher__item:hover {
  color: #1a1a1a !important;
  background: #fff !important;
}

body.home:not(.ogmdct-header-scrolled) #masthead .ogmdct-lang-switcher__list a:hover,
body.home:not(.ogmdct-header-scrolled) #masthead a.ogmdct-lang-switcher__item:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.2) !important;
}



.ogmdct-lang-switcher__item.is-active {
  font-weight: 700;
  color: #1a1a1a !important;
  background: #e8e8e8 !important;
}
.ogmdct-lang-switcher__item.is-active:hover,
#masthead .ogmdct-lang-switcher__item.is-active:hover,
body.home #masthead .ogmdct-lang-switcher__item.is-active:hover {
  color: #1a1a1a !important;
  background: #f0f0f0 !important;
}
/* Above-hero (transparent header): force dropdown dark text + hover so it’s visible */
body.home:not(.ogmdct-header-scrolled) #masthead .nav-menu .ogmdct-lang-switcher-menu-item .ogmdct-lang-switcher__list,
body.home:not(.ogmdct-header-scrolled) #masthead .nav-menu .ogmdct-lang-switcher-menu-item .ogmdct-lang-switcher__list a {
  background: rgba(0, 0, 0, 0.85) !important;
  color: #fff !important;
}
body.home:not(.ogmdct-header-scrolled) #masthead .nav-menu .ogmdct-lang-switcher-menu-item .ogmdct-lang-switcher__list a:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

@media (min-width: 640px){
  .ogmdct-hp__hero-cta{ flex-direction: row; }
}

@media (min-width: 768px){
  .ogmdct-hp__container{ padding: 0 20px; }
  .ogmdct-hp__nav{ display: flex; }
  .ogmdct-hp__menu{ display: none; }
  .ogmdct-hp__nav-mobile{ display: none; }
  .ogmdct-hp__grid2{ grid-template-columns: 1fr 1fr; gap: 34px; }
  .ogmdct-hp__section--about-mg .ogmdct-hp__grid2--about {
    grid-template-columns: 1fr 42%;
    gap: 40px;
    align-items: center;
  }
  .ogmdct-hp__section--about-mg .ogmdct-hp__about-img-wrap {
    order: 0;
    display: flex;
    justify-content: flex-end;
  }
  .ogmdct-hp__section--about-mg .ogmdct-hp__about-text-wrap {
    order: 0;
  }
  .ogmdct-hp__section--about-mg .ogmdct-hp__about-img {
    height: 100%;
    max-width: 100%;
  }
  .ogmdct-hp__founders {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
  .ogmdct-hp__donation-cta {
    grid-template-columns: 45% 1fr;
  }
  .ogmdct-hp__donation-img { min-height: 320px; }
  .ogmdct-hp__donation-content { padding: 36px; }
  .ogmdct-hp__gallery-wrap { padding: 0 20px; }
  .ogmdct-hp__gallery--masonry.ogmdct-hp__gallery--home { column-count: 2; column-gap: 18px; }
  .ogmdct-hp__gallery--home .ogmdct-hp__gallery-item { margin-bottom: 18px; }
  .ogmdct-gallery-page__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .ogmdct-hp__cards3{ grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .ogmdct-hp__cards4{ grid-template-columns: repeat(2, 1fr); }
  .ogmdct-hp__gallery img{ height: 176px; }
}

@media (min-width: 1024px){
  .ogmdct-hp__founders { grid-template-columns: repeat(3, 1fr); }
  .ogmdct-hp__gallery-wrap { padding: 0 24px; }
  .ogmdct-hp__gallery--masonry.ogmdct-hp__gallery--home { column-count: 4; column-gap: 20px; }
  .ogmdct-hp__gallery--home .ogmdct-hp__gallery-item { margin-bottom: 20px; }
  .ogmdct-gallery-page__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .ogmdct-hp__cards4{ grid-template-columns: repeat(4, 1fr); }
  .ogmdct-hp__footer-grid{ grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
@media (min-width: 1280px){
  .ogmdct-hp__gallery--masonry.ogmdct-hp__gallery--home { column-count: 5; }
  .ogmdct-gallery-page__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ========== Homam Event Page (ogmdct-he) ========== */
/* Typography: Playfair Display (headings), Lato (body) - loaded via Google Fonts */
.ogmdct-he--page {
  width: 100%;
  min-height: 100vh;
  background: var(--ogmdct-cream, #FFF8E1);
  color: #2D1810;
  font-family: 'Lato', sans-serif;
}

.ogmdct-he__hero-title,
.ogmdct-he__h2,
.ogmdct-he__cta-title {
  font-family: 'Playfair Display', serif;
}

/* Scroll-in animation: subtle fade + slide up */
.ogmdct-he__section--animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.ogmdct-he__section--animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.ogmdct-he__cta-band.ogmdct-he__section--animate {
  transform: translateY(20px);
}
.ogmdct-he__cta-band.ogmdct-he__section--animate.is-visible {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .ogmdct-he__section--animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.ogmdct-he__container {
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1140px;
  width: 100%;
}

/* Hero: 100% viewport width, text centered */
.ogmdct-he__hero {
  position: relative;
  min-height: 56vh;
  min-height: min(420px, 56vh);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ogmdct-he__hero--fullwidth {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

/* ========== Consistent subpage banner: 100% width, 106px height, all inner pages ========== */
/* Kadence theme page hero: full width, consistent height (Contact, Donation, etc.) */
body.ogmdct-inner-page .page-hero-section,
body.ogmdct-inner-page .entry-hero-section,
body.ogmdct-inner-page .entry-hero.page-hero-section {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  min-height: 106px !important;
  height: 106px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}
body.ogmdct-inner-page .page-hero-section .entry-hero-container-inner,
body.ogmdct-inner-page .page-hero-section .hero-section-overlay,
body.ogmdct-inner-page .entry-hero.page-hero-section .entry-hero-container-inner,
body.ogmdct-inner-page .entry-hero.page-hero-section .hero-section-overlay {
  min-height: 106px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

/* Remove grey background from Kadence entry hero (e.g. donation page) */
.entry-hero-container-inner {
  background: transparent !important;
}
body.ogmdct-inner-page .page-hero-section .entry-hero-container-inner {
  background: transparent !important;
}

/* Gallery page & Contact Us 2: primary/accent color #802D00 */
body.ogmdct-page-gallery,
body.ogmdct-page-contact-us-2 {
  --ogmdct-primary: #802D00;
}

/* Elementor: no plugin overrides – let Elementor control sections and layout */

/* WooCommerce cart / checkout: title area consistent height when theme shows hero */
body.ogmdct-inner-page.woocommerce-page .page-hero-section,
body.ogmdct-inner-page.woocommerce-cart .page-hero-section,
body.ogmdct-inner-page.woocommerce-checkout .page-hero-section {
  min-height: 106px !important;
  height: 106px !important;
}

/* Single product: content not hidden under sticky header – offset so breadcrumbs/title sit below header */
body.single-product #inner-wrap,
body.single-product main#inner-wrap {
  padding-top: 100px !important;
}
body.single-product .product-title.product-above,
body.single-product #kadence-breadcrumbs,
body.single-product .kadence-breadcrumbs,
body.single-product .kadence-breadcrumb-container {
  scroll-margin-top: 100px;
}
/* First visible product block (breadcrumbs + title): reserve space so it is not under the sticky header */
body.single-product .product-title.product-above {
  margin-top: 0;
  padding-top: 24px;
}
body.single-product .content-area .product:first-child,
body.single-product .site-main .product {
  padding-top: 0;
}

/* ========== Donation page: standard width for card and layout ========== */
body.ogmdct-page-donation .ogmdct-donate--layout-split {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (min-width: 900px) {
  body.ogmdct-page-donation .ogmdct-donate--layout-split .ogmdct-donate__grid {
    grid-template-columns: 56% 44%;
    gap: 56px;
  }
  body.ogmdct-page-donation .ogmdct-donate--layout-split .ogmdct-donate-card--single {
    min-width: 380px;
  }
}

/* ========== Contact Us 2: slightly larger info cards and grid ========== */
body.ogmdct-page-contact-us-2 .ogmdct-contact__blocks {
  gap: 40px;
}
@media (min-width: 768px) {
  body.ogmdct-page-contact-us-2 .ogmdct-contact__blocks {
    gap: 48px;
  }
}
body.ogmdct-page-contact-us-2 .ogmdct-contact__section--blocks .ogmdct-contact__block {
  padding: 1.75rem 1.35rem;
  min-height: 140px;
}
body.ogmdct-page-contact-us-2 .ogmdct-contact__icon {
  width: 64px;
  height: 64px;
  font-size: 28px;
  margin-bottom: 18px;
}
body.ogmdct-page-contact-us-2 .ogmdct-contact__icon .dashicons {
  font-size: 32px;
  width: 32px;
  height: 32px;
}
body.ogmdct-page-contact-us-2 .ogmdct-contact__title {
  font-size: clamp(24px, 2.5vw, 28px);
}
body.ogmdct-page-contact-us-2 .ogmdct-contact__content {
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Subpage banner (Kadence page hero): overlay uses our class so only page hero is affected */
.ogmdct-subpage-banner-overlay {
  background-color: #F4DFD1 !important;
}

/* Consistent sub-banner: shortcode/plugin sections — bg #F4DFD1, height 106px, text middle */
.ogmdct-sub-banner,
.ogmdct-he__hero.ogmdct-sub-banner {
  min-height: 106px;
  height: 106px;
  background-color: #F4DFD1 !important;
  background-image: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.ogmdct-he__hero.ogmdct-sub-banner .ogmdct-he__hero-inner {
  padding: 0;
}
.ogmdct-sub-banner .ogmdct-sub-banner__title {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  color: #2D1810;
}

.ogmdct-he__hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(123,30,30,.25) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.6) 100%);
}
.ogmdct-he__hero-inner {
  position: relative;
  z-index: 2;
  padding: 100px 24px 56px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.ogmdct-he__hero-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ogmdct-gold, #C9A227);
}
.ogmdct-he__hero-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.ogmdct-he__hero-line {
  width: 64px;
  height: 4px;
  margin: 0 auto 20px;
  background: linear-gradient(90deg, var(--ogmdct-gold, #C9A227), #FFD700);
  border-radius: 2px;
}
.ogmdct-he__hero-lead {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,.92);
}
.ogmdct-he__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.ogmdct-he__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.ogmdct-he__cta--primary {
  background: var(--ogmdct-gold, #C9A227);
  color: var(--ogmdct-primary, #7B1E1E);
  border: 2px solid transparent;
}
.ogmdct-he__cta--primary:hover {
  background: #FFD700;
  color: #5D0D0F;
  box-shadow: 0 8px 24px rgba(201, 162, 39, .4);
  transform: translateY(-1px);
}
.ogmdct-he__cta--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.8);
}
.ogmdct-he__cta--outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}
.ogmdct-he__cta--large {
  min-height: 56px;
  padding: 0 32px;
  font-size: 17px;
}

/* Sections */
.ogmdct-he__section {
  padding: 56px 0 64px;
}
.ogmdct-he__section--cream {
  background: var(--ogmdct-cream, #FFF8E1);
}
.ogmdct-he__section--white {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

/* Homam detail: two-column layout — content left, ticket card right */
.ogmdct-he__twocol {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.ogmdct-he__ticket-card {
  position: relative;
}
.ogmdct-he__ticket-card-inner {
  background: #fff;
  border: 2px solid rgba(201, 162, 39, 0.4);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  position: sticky;
  top: 100px;
}
.ogmdct-he__ticket-card-title {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #2D1810;
}
.ogmdct-he__ticket-card-price {
  font-size: 28px;
  font-weight: 900;
  color: var(--ogmdct-primary, #7B1E1E);
  margin-bottom: 8px;
}
.ogmdct-he__ticket-card-note {
  font-size: 13px;
  color: rgba(45,24,16,.7);
  margin: 0 0 20px;
}
.ogmdct-he__cta--block {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}
.ogmdct-he__ticket-card-link {
  display: block;
  text-align: center;
  font-size: 14px;
  color: var(--ogmdct-primary, #7B1E1E);
  text-decoration: none;
  font-weight: 600;
}
.ogmdct-he__ticket-card-link:hover {
  text-decoration: underline;
}
/* Book Your Participation card (reference layout) */
.ogmdct-he__ticket-card--book-participation .ogmdct-he__ticket-card-kicker {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ogmdct-primary, #7B1E1E);
  margin: 0 0 6px;
  text-transform: none;
  letter-spacing: 0;
}
.ogmdct-he__ticket-card--book-participation .ogmdct-he__ticket-card-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.ogmdct-he__ticket-card-price-suffix {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(45,24,16,.7);
}
.ogmdct-he__book-form {
  margin: 16px 0 20px;
}
.ogmdct-he__ticket-count {
  margin-bottom: 14px;
}
.ogmdct-he__ticket-count label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2D1810;
  margin-bottom: 8px;
}
.ogmdct-he__qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 2px solid rgba(123,30,30,.25);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.ogmdct-he__qty-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(123,30,30,.08);
  color: var(--ogmdct-primary, #7B1E1E);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  font-weight: 600;
  padding: 0;
  flex-shrink: 0;
}
.ogmdct-he__qty-btn:hover {
  background: rgba(123,30,30,.15);
}
.ogmdct-he__qty-input {
  width: 56px;
  height: 44px;
  border: 0;
  border-left: 1px solid rgba(123,30,30,.2);
  border-right: 1px solid rgba(123,30,30,.2);
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  -moz-appearance: textfield;
}
.ogmdct-he__qty-input::-webkit-outer-spin-button,
.ogmdct-he__qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ogmdct-he__whats-included {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(201,162,39,.35);
}
.ogmdct-he__whats-included-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: #2D1810;
}
.ogmdct-he__whats-included-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ogmdct-he__whats-included-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(45,24,16,.9);
  margin-bottom: 8px;
}
.ogmdct-he__whats-included-icon {
  color: var(--ogmdct-primary, #7B1E1E);
  font-weight: 800;
  flex-shrink: 0;
}
.ogmdct-he__schedule-block {
  margin-top: 32px;
}

/* Homam listing page: two cards */
.ogmdct-he--listing .ogmdct-he__container {
  max-width: 900px;
}
.ogmdct-he__listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.ogmdct-he__listing-card {
  display: block;
  background: #fff;
  border: 2px solid rgba(201, 162, 39, 0.35);
  border-radius: 16px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ogmdct-he__listing-card:hover {
  border-color: var(--ogmdct-gold, #C9A227);
  box-shadow: 0 14px 32px rgba(0,0,0,.1);
}
.ogmdct-he__listing-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px 12px 0 0;
  margin: -28px -28px 16px -28px;
  background-color: rgba(123, 30, 30, 0.08);
}
.ogmdct-he__listing-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}
.ogmdct-he__listing-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ogmdct-primary, #7B1E1E);
}
.ogmdct-he__listing-desc {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(45,24,16,.85);
}
.ogmdct-he__listing-price {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ogmdct-primary, #7B1E1E);
  margin-bottom: 10px;
}
.ogmdct-he__listing-cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ogmdct-primary, #7B1E1E);
}
@media (min-width: 768px) {
  .ogmdct-he__twocol {
    grid-template-columns: 1fr 320px;
    gap: 48px;
  }
  .ogmdct-he__listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ogmdct-he__kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ogmdct-primary, #7B1E1E);
}
.ogmdct-he__h2 {
  margin: 0 0 20px;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  color: #2D1810;
}
.ogmdct-he__h2--sm {
  font-size: clamp(20px, 2.8vw, 26px);
  margin-bottom: 12px;
}

/* About */
.ogmdct-he__about {
  max-width: 60ch;
}
.ogmdct-he__about-text {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(45, 24, 16, .88);
}
.ogmdct-he__about-text p {
  margin: 0 0 1em;
}
.ogmdct-he__about-text p:last-child {
  margin-bottom: 0;
}

/* Schedule: timeline (mobile) */
.ogmdct-he__schedule {
  display: block;
  margin-top: 24px;
}
.ogmdct-he__schedule-table-wrap {
  display: none;
}
.ogmdct-he__schedule-row {
  position: relative;
  padding: 20px 0 20px 28px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.ogmdct-he__schedule-row:last-child {
  border-bottom: 0;
}
.ogmdct-he__schedule-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--ogmdct-gold, #C9A227), var(--ogmdct-primary, #7B1E1E));
  border-radius: 2px;
}
.ogmdct-he__schedule-time {
  font-size: 14px;
  font-weight: 700;
  color: var(--ogmdct-primary, #7B1E1E);
  margin-bottom: 6px;
}
.ogmdct-he__schedule-dot {
  position: absolute;
  left: -4px;
  top: 26px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ogmdct-gold, #C9A227);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--ogmdct-gold, #C9A227);
}
.ogmdct-he__schedule-event {
  font-size: 16px;
  line-height: 1.5;
  color: #2D1810;
}
@media (min-width: 640px) {
  .ogmdct-he__schedule-row {
    display: grid;
    grid-template-columns: 100px 20px 1fr;
    gap: 0 16px;
    padding: 18px 0 18px 0;
    padding-left: 0;
  }
  .ogmdct-he__schedule-row::before {
    display: none;
  }
  .ogmdct-he__schedule-time {
    grid-column: 1;
    margin-bottom: 0;
  }
  .ogmdct-he__schedule-dot {
    position: relative;
    left: 0;
    top: 4px;
    grid-column: 2;
    justify-self: center;
    width: 10px;
    height: 10px;
  }
  .ogmdct-he__schedule-event {
    grid-column: 3;
  }
}
@media (min-width: 768px) {
  .ogmdct-he__schedule {
    display: none;
  }
  .ogmdct-he__schedule-table-wrap {
    display: block;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    border: 1px solid rgba(123, 30, 30, .12);
  }
  .ogmdct-he__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
  }
  .ogmdct-he__table th,
  .ogmdct-he__table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,.06);
  }
  .ogmdct-he__table th {
    background: var(--ogmdct-primary, #7B1E1E);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
  }
  .ogmdct-he__table tbody tr:last-child td {
    border-bottom: 0;
  }
  .ogmdct-he__table tbody tr:hover {
    background: rgba(201, 162, 39, .06);
  }
  .ogmdct-he__table td:first-child {
    font-weight: 700;
    color: var(--ogmdct-primary, #7B1E1E);
    width: 28%;
  }
}

/* Instructions card */
.ogmdct-he__instructions {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 24px;
  background: #fff;
  border-radius: 16px;
  border-left: 4px solid var(--ogmdct-gold, #C9A227);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.ogmdct-he__instructions-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, .15);
  color: var(--ogmdct-primary, #7B1E1E);
  font-size: 20px;
  font-weight: 700;
  border-radius: 12px;
}
.ogmdct-he__instructions-text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(45, 24, 16, .88);
}

/* CTA band */
.ogmdct-he__cta-band {
  padding: 56px 0 64px;
  background: linear-gradient(135deg, var(--ogmdct-primary, #7B1E1E) 0%, #5D0D0F 100%);
  color: #fff;
  text-align: center;
}
.ogmdct-he__cta-inner {
  max-width: 480px;
}
.ogmdct-he__cta-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: #fff;
}
.ogmdct-he__cta-lead {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,.88);
}
.ogmdct-he__cta-band .ogmdct-he__cta--primary {
  background: var(--ogmdct-gold, #C9A227);
  color: var(--ogmdct-primary, #7B1E1E);
}
.ogmdct-he__cta-band .ogmdct-he__cta--primary:hover {
  background: #FFD700;
  color: #5D0D0F;
  box-shadow: 0 8px 28px rgba(0,0,0,.3);
}

/* Container wider for schedule section */
.ogmdct-he__section--white .ogmdct-he__container {
  max-width: 800px;
}

@media (max-width: 480px) {
  .ogmdct-he__hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .ogmdct-he__cta {
    width: 100%;
  }
  .ogmdct-he__hero-inner {
    padding: 88px 20px 44px;
  }
  .ogmdct-he__section {
    padding: 40px 0 48px;
  }
  .ogmdct-he__instructions {
    flex-direction: column;
    padding: 20px 18px;
    gap: 14px;
  }
}

/* Brand gradient background: shop, cart, checkout, single product — consistent with theme colors */
body.woocommerce-page,
body.woocommerce-cart,
body.woocommerce-checkout,
body.post-type-archive-product,
body.single-product {
  background: linear-gradient(180deg, var(--ogmdct-cream) 0%, rgba(123, 30, 30, 0.04) 20%, rgba(201, 162, 39, 0.06) 50%, rgba(123, 30, 30, 0.04) 80%, var(--ogmdct-cream) 100%) !important;
  background-attachment: fixed;
}
body.woocommerce-page #wrapper,
body.woocommerce-cart #wrapper,
body.woocommerce-checkout #wrapper,
body.post-type-archive-product #wrapper,
body.single-product #wrapper {
  background: transparent;
}

/* Donation: mobile card alignment */
@media (max-width: 899px) {
  body.ogmdct-page-donation .ogmdct-donate--layout-split {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  body.ogmdct-page-donation .ogmdct-donate--layout-split .ogmdct-donate__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
    justify-items: center;
  }
  body.ogmdct-page-donation .ogmdct-donate--layout-split .ogmdct-donate-card--single {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Homepage donation CTA block – mobile */
@media (max-width: 767px) {
  .ogmdct-hp__donation-cta {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .ogmdct-hp__donation-content {
    padding: 20px 16px;
  }
  .ogmdct-hp__donation-img {
    min-height: 200px;
  }
}

/*Footer P*/
   .ogmdct-hp__footer-legal {
     display: inline-flex;
     align-items: center;
     flex-wrap: wrap;
     gap: 0.25rem 0.5rem;
   }
   .ogmdct-hp__footer-legal .ogmdct-hp__footer-link {
     color: inherit;
     opacity: 0.9;
     text-decoration: none;
   }
   .ogmdct-hp__footer-legal .ogmdct-hp__footer-link:hover {
     opacity: 1;
     text-decoration: underline;
   }
   .ogmdct-hp__footer-sep {
     opacity: 0.6;
   }