:root {
  --primary-color: #d99b26;
  --secondary-color: #2c3e50;
  --text-dark: #333333;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --font-heading: 'Georgia', serif;
  --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--text-dark); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; padding: 12px 28px; background: var(--primary-color); color: #fff; text-decoration: none; border-radius: 4px; font-weight: 600; border: none; cursor: pointer; transition: 0.3s ease; }
.btn:hover { opacity: 0.9; transform: translateY(-2px); }
.section-title { font-family: var(--font-heading); font-size: 2.2rem; text-align: center; margin-bottom: 2rem; }

/* Header */
.site-header { position: absolute; width: 100%; top: 0; left: 0; z-index: 100; padding: 20px 0; background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%); }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
/* .site-logo img { max-height: 120px; filter: drop-shadow(0 40px 20px rgba(255, 255, 255, 1));} */
.site-logo img { max-height: 120px; filter:
    drop-shadow(0 20px 20px rgba(255,255,255,1))
    drop-shadow(0 5px 10px rgba(255,255,255,1));}
.nav-menu { display: flex; list-style: none; gap: 20px; align-items: center; }
.nav-menu a { color: #fff; text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.mobile-toggle { display: none;  border: none; color: #fff; font-size: 1.5rem; background: #ffd936;
    padding: 10px 20px;
    color: #000000;
    border-radius: 50%; }

/* Hero */
/* Hero Section Container */
.hero-section {
  position: relative;
  min-height: 80vh;
  padding: 120px 20px 60px;
  /* background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)); */
  background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%); /* Elegant gradient fallback background */
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

/* Hero Text Content */
.hero-content {
  flex: 1;
  max-width: 600px;
  color: #ffffff;
}

.hero-content h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color, #d99b26);
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-content h1 {
  font-family: var(--font-heading, 'Georgia', serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem); /* Responsive fluid typography */
  line-height: 1.15;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 28px;
}

/* Hero Artwork / Image */
.hero-art {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-art img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  /* filter: drop-shadow(0 100px 30px rgba(255,255,255,1));*/
  /* filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); */ /* Adds depth to graphic artwork */
   filter:
    drop-shadow(0 20px 20px rgba(255,255,255,1))
    drop-shadow(0 5px 10px rgba(255,255,255,1));
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 992px) {
  .hero-wrapper {
    flex-direction: column-reverse; /* Places text on top and image underneath on mobile */
    text-align: center;
    gap: 30px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-art img {
    max-height: 320px;
  }
}

/* Prerna Grid */
.prerna-section { padding: 80px 0; background: var(--bg-white); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: 0.3s ease; }
.card:hover { transform: translateY(-5px); }
.card img { width: 100%; height: 450px; object-fit: cover; }
.card-body { padding: 20px; }
.card-body h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--secondary-color); }

/* Quote Section */
.quote-section { padding: 80px 0; background: var(--bg-light); text-align: center; }
.quote-box blockquote { font-family: var(--font-heading); font-size: 2rem; font-style: italic; margin-bottom: 30px; }
.quote-author img { width: 170px; height: 200px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; border: 4px solid var(--primary-color); }

/* About Section */
.about-section { padding: 80px 0; }
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-img img { width: 100%; border-radius: 8px; }

/* CTA Section */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); text-align: center; }
.cta-content h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--secondary-color); }

/* Footer */
.site-footer { background: #111; color: #aaa; padding: 25px 0; font-size: 0.9rem; }
.footer-wrapper { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.footer-links a { color: #aaa; text-decoration: none; margin-right: 15px; }
.footer-links a:hover { color: #fff; }

/* Mobile Optimization */
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .header-btn  { display: none; }
  .nav-menu { display: none; width: 100%; position: absolute; top: 100%; left: 0; background: rgba(0,0,0,0.95); flex-direction: column; padding: 20px; }
  .nav-menu.active { display: flex; }
  .hero-content h1 { font-size: 2.2rem; }
  .two-col-grid { grid-template-columns: 1fr; }
}




:root {
  --jts-gold: #c5a059;
  --jts-gold-dark: #9a7836;
  --jts-dark: #2c3e50;
  --jts-bg-light: #f9f8f6;
  --jts-card-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* JTS Hero Section */
.jts-hero {
  background: linear-gradient(135deg, #4a3e1c 0%, #1e1b12 100%);
  color: #ffffff;
  padding: 150px 0 60px;
  min-height: 75vh;
  display: flex;
  align-items: center;
}
.jts-hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.jts-hero-text { flex: 1.2; }
.jts-hero-text h1 {
  font-family: 'Georgia', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 15px;
}
.jts-hero-subtitle {
  font-size: 1.3rem;
  color: var(--jts-gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.jts-hero-desc {
  font-size: 1.1rem;
  color: #dcdcdc;
  max-width: 550px;
}
.jts-hero-art { flex: 0.8; text-align: center; }
.jts-hero-art img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* Secondary Navigation Buttons */
.jts-nav-bar {
  background: var(--jts-bg-light);
  padding: 25px 0;
  border-bottom: 1px solid #e2e8f0;
}
.jts-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.jts-nav-btn {
  background: #8da411;
  color: #ffffff;
  text-align: center;
  padding: 12px 8px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  line-height: 1.2;
}
.jts-nav-btn:hover {
  background: #768a0d;
  transform: translateY(-2px);
}

/* Blessings / Mentors Section */
.jts-blessings {
  padding: 70px 0;
  background: #ffffff;
}
.blessing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  text-align: center;
}
.blessing-card {
  padding: 20px;
  border-radius: 8px;
  background: var(--jts-bg-light);
  border-top: 3px solid var(--jts-gold);
  transition: 0.3s ease;
}
.blessing-card:hover { transform: translateY(-4px); box-shadow: var(--jts-card-shadow); }
.blessing-card h3 { color: var(--jts-gold-dark); font-size: 1.3rem; margin-bottom: 8px; }
.blessing-card p { font-size: 0.92rem; color: #4a5568; line-height: 1.5; }

/* Tirth Detail Section */
.jts-detail-section { padding: 70px 0; background: var(--jts-bg-light); }
.jts-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.jts-detail-img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--jts-card-shadow);
}
.jts-detail-content h2 { font-family: 'Georgia', serif; font-size: 2rem; color: var(--jts-dark); margin-bottom: 12px; }
.jts-detail-content h3 { font-size: 1.4rem; color: #c53030; margin-bottom: 15px; }
.jts-detail-content p { font-size: 1.05rem; color: #4a5568; margin-bottom: 12px; }

/* Donation Opportunities Section */
.jts-donation { padding: 80px 0; background: #ffffff; text-align: center; }
.jts-section-header { font-family: 'Georgia', serif; font-size: 2.2rem; color: #4a7c59; margin-bottom: 30px; }
.tier-grid-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.tier-card {
  background: var(--jts-bg-light);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 25px 15px;
  text-align: center;
  transition: 0.3s ease;
}
.tier-card.featured { border: 2px solid var(--jts-gold); background: #fffdf9; }
.tier-card h4 { font-size: 1.1rem; color: #2d3748; margin-bottom: 8px; }
.tier-card .amount { font-size: 1.5rem; font-weight: 700; color: var(--jts-gold-dark); }
.tier-grid-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}
.jts-donate-btn {
  display: inline-block;
  padding: 14px 45px;
  background: var(--jts-gold);
  color: #fff;
  font-weight: 700;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: 0.3s ease;
}
.jts-donate-btn:hover { background: var(--jts-gold-dark); }

/* Fund Utilization List */
.jts-utilization {
  max-width: 900px;
  margin: 50px auto 0;
  text-align: left;
  background: var(--jts-bg-light);
  padding: 30px;
  border-radius: 8px;
}
.jts-utilization h4 { font-size: 1.15rem; color: var(--jts-dark); margin-bottom: 15px; border-bottom: 2px solid var(--jts-gold); padding-bottom: 8px; }
.jts-utilization ul { list-style: none; padding: 0; }
.jts-utilization li { margin-bottom: 12px; line-height: 1.6; font-size: 0.95rem; }
.jts-utilization li strong { color: #2d3748; }

/* Registration Rules Section */
.jts-rules { padding: 70px 0; background: #fafafa; border-top: 1px solid #e2e8f0; }
.rules-container { max-width: 950px; margin: 0 auto; }
.rules-container h2 { font-family: 'Georgia', serif; font-size: 2rem; color: var(--jts-dark); margin-bottom: 10px; }
.rules-intro { font-style: italic; color: #718096; margin-bottom: 25px; }
.rules-list {
  counter-reset: rule-counter;
  list-style: none;
  padding: 0;
}
.rules-list li {
  counter-increment: rule-counter;
  position: relative;
  padding-left: 45px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.6;
}
.rules-list li::before {
  content: counter(rule-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--jts-gold);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
  font-size: 0.85rem;
}


.jts-form { padding: 70px 0; background: #fafafa; border-top: 1px solid #e2e8f0; }
.jts-form-container { max-width: 950px; margin: 0 auto; }

/* Responsiveness */
@media (max-width: 992px) {
  .jts-hero-grid, .jts-detail-grid { flex-direction: column; text-align: center; }
  .jts-detail-grid { grid-template-columns: 1fr; }
  .jts-hero-text { max-width: 100%; }
}



/* JTS Hero Section */
.inner-page-hero {
  background: linear-gradient(135deg, #4a3e1c 0%, #1e1b12 100%);
  color: #ffffff;
  padding: 100px 0 0px;
  min-height: 50vh;
  display: flex;
  align-items: center;
}
.inner-page-hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.inner-page-hero-text { flex: 1.2; }
.inner-page-hero-text h1 {
  font-family: 'Georgia', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 15px;
}

/* Responsiveness */
@media (max-width: 992px) {
  .inner-page-hero-grid, .inner-page-detail-grid { flex-direction: column; text-align: center; }
  .inner-page-detail-grid { grid-template-columns: 1fr; }
  .inner-page-hero-text { max-width: 100%; }
}

.inner-page-section { padding: 70px 0; background: #fafafa; border-top: 1px solid #e2e8f0; }
.inner-page-section-container { max-width: 950px; margin: 0 auto; }


.chittorgarh-history-pdf { padding: 70px 0; background: #fafafa; border-top: 1px solid #e2e8f0; }
.chittorgarh-history-pdf-container { max-width: 950px; margin: 0 auto; }


/* card-section Grid */
.card-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.card-section .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.card-section .card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

/* .card-section .card a {
    color: var(--primary-color);
    text-decoration: none;
} */

.card a {
    color: var(--bs-card-color);
    text-decoration: none;
}

.card-section .card:hover {
    transform: translateY(-5px);
}

.card-section .card img {
    width: 100%;
    height: 315px;
    object-fit: cover;
}

.card-section .card-body {
    padding: 20px;
}

.card-section .card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Mobile */
@media (max-width: 768px) {
    .card-section .grid-2 {
        grid-template-columns: 1fr;
    }
}

.header-btn {
  color: rgb(255, 255, 255);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    background: rgb(197, 160, 89);
    padding: 14px 40px;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    border-radius: 6px;
    transition: 0.3s;
    text-decoration: none;
}


.page-template-template-cms-page .card img.emoji {
  height: 1em !important;
  width: 1em !important; 
}
img.emoji {
  height: 1em !important;
  width: 1em !important; 
}

body.page-template-template-cms-page .inner-page-section{
  padding: 160px 0; background: #fafafa; border-top: 1px solid #e2e8f0;
}

body.page-template-template-container .inner-page-section{
  padding: 70px 0; background: #fafafa; border-top: 1px solid #e2e8f0;
}

body.page-template-template-cms-page .inner-page-section .card-body{
     padding: 60px;
}

body.woocommerce-page main.inner-page-section{
  padding: 160px 0; background: #fafafa; border-top: 1px solid #e2e8f0;
}

.woocommerce-checkout .inner-page-section .card .card-body ul.payment_methods li img {
    vertical-align: middle;
    margin: -2px 0 0 .5em;
    padding: 0;
    position: relative;
    box-shadow: none;
    height: auto;
    width: auto;
    max-width: 100%;
}

.woocommerce-checkout #payment ul.payment_methods li img {
   height: auto;
    width: auto;
    max-width: 100%;

}


/* ==========================================================================
   Contact Form 7 - Custom Responsive Styling
   ========================================================================== */

/* Main Form Wrapper */
form.wpcf7-form {
  max-width: 1160px; /*850px*/
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  font-family: inherit;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 0;
}

/* Force Default Form Paragraph Tags into Grid System */
form.wpcf7-form > p {
  width: 100%;
  margin: 0 0 15px 0;
  display: flex;
  flex-direction: column;
}

/* Responsive 2-Column Grid Transformation for Standard Inputs */
form.wpcf7-form > p:has(input[type="text"]),
form.wpcf7-form > p:has(input[type="email"]),
form.wpcf7-form > p:has(input[type="tel"]),
form.wpcf7-form > p:has(input[type="date"]) {
  width: 48%;
  margin-right: 4%;
}

form.wpcf7-form > p:has(input[type="text"]):nth-of-type(even),
form.wpcf7-form > p:has(input[type="email"]):nth-of-type(even),
form.wpcf7-form > p:has(input[type="tel"]):nth-of-type(even),
form.wpcf7-form > p:has(input[type="date"]):nth-of-type(even) {
  margin-right: 0;
}

/* Typography & Labels */
form.wpcf7-form label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #2c3e50;
  margin-bottom: 6px;
  display: block;
}

.wpcf7-form-control-wrap {
  display: block;
  position: relative;
  width: 100%;
}

/* Input Fields & Textarea Styling */
.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-date,
.wpcf7-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #333333;
  background-color: #f8fafc;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-date:focus,
.wpcf7-textarea:focus {
  outline: none;
  border-color: #c5a059; /* Accent Theme Gold */
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.wpcf7-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Radio Buttons Styling */
.wpcf7-radio {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.wpcf7-radio .wpcf7-list-item {
  margin: 0;
}

.wpcf7-radio label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
}

.wpcf7-radio input[type="radio"] {
  accent-color: #c5a059;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Checkbox Grid Layout (Multi-column Options for 'Interested In') */
.wpcf7-checkbox {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 10px;
  width: 100%;
}

.wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.wpcf7-checkbox .wpcf7-list-item:hover {
  border-color: #c5a059;
  background: #ffffff;
}

.wpcf7-checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
}

.wpcf7-checkbox input[type="checkbox"] {
  accent-color: #c5a059;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Submit Button & Loader Wrapper */
form.wpcf7-form > p:has(.wpcf7-submit) {
  width: 100%;
  margin-top: 15px;
  align-items: center;
}

.wpcf7-submit {
  background: #c5a059;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 40px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpcf7-submit:hover {
  background: #9a7836;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

.wpcf7-spinner {
  margin-left: 10px;
}

/* Validation Errors & Alert Styling */
.wpcf7-not-valid-tip {
  color: #e53e3e;
  font-size: 0.82rem;
  margin-top: 4px;
  display: block;
}

.wpcf7-not-valid {
  border-color: #e53e3e !important;
  background-color: #fff5f5 !important;
}

.wpcf7-response-output {
  width: 100%;
  padding: 12px 18px;
  margin: 20px 0 0 0 !important;
  border-radius: 6px;
  font-size: 0.95rem;
  text-align: center;
}

.wpcf7-form.sent .wpcf7-response-output {
  background-color: #f0fff4;
  border: 1px solid #68d391;
  color: #22543d;
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output {
  background-color: #fff5f5;
  border: 1px solid #fc8181;
  color: #742a2a;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  form.wpcf7-form {
    padding: 25px 20px;
  }
  
  form.wpcf7-form > p:has(input[type="text"]),
  form.wpcf7-form > p:has(input[type="email"]),
  form.wpcf7-form > p:has(input[type="tel"]),
  form.wpcf7-form > p:has(input[type="date"]) {
    width: 100%;
    margin-right: 0;
  }

  .wpcf7-checkbox {
    grid-template-columns: 1fr;
  }

  .wpcf7-submit {
    width: 100%;
  }
}


/* ==========================================================================
   WooCommerce Donation Checkout Form Styling
   ========================================================================== */

/* Main Form Wrapper Card */
form.wcdp-choose-donation {
  max-width: 550px;
  margin: 20px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
}

/* Row & Field Layout */
.wcdp-row {
  margin-bottom: 20px;
}

.wcdp-amount {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Label & Required Star */
.wcdp-amount label {
  font-weight: 600;
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.wcdp-amount label .required {
  color: #e53e3e;
  text-decoration: none;
  font-size: 1.1rem;
  margin-left: 3px;
}

/* Input Container with Currency Symbol Prefix */
.wcdp-amount {
  position: relative;
}

/* Currency Symbol Styling (₹) */
.wcdp-amount .woocommerce-Price-currencySymbol {
  position: absolute;
  left: 16px;
  bottom: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #c5a059; /* Theme Accent Gold */
  pointer-events: none;
  z-index: 2;
}

/* Donation Number Field */
.wcdp-input-field.wcdp-donation-amount {
  width: 100%;
  padding: 12px 16px 12px 42px; /* Extra left padding for currency symbol */
  font-size: 1.3rem;
  font-weight: 700;
  color: #2d3748;
  background-color: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  -moz-appearance: textfield; /* Remove browser arrows on Firefox */
}

/* Hide Spinners (Arrows) on Chrome, Safari, Edge */
.wcdp-input-field.wcdp-donation-amount::-webkit-outer-spin-button,
.wcdp-input-field.wcdp-donation-amount::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Input Focus State */
.wcdp-input-field.wcdp-donation-amount:focus {
  outline: none;
  border-color: #c5a059;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15);
}


/* Responsive Scaling for Mobile */
@media (max-width: 576px) {
  form.wcdp-choose-donation {
    padding: 20px 15px;
  }

  .wcdp-input-field.wcdp-donation-amount {
    font-size: 1.15rem;
    padding-left: 36px;
  }

  .wcdp-amount .woocommerce-Price-currencySymbol {
    font-size: 1.15rem;
    left: 14px;
    bottom: 11px;
  }
}

.checkout.woocommerce-checkout .woocommerce-input-wrapper .input-text,
.page-template-template-donation .checkout.woocommerce-checkout .woocommerce-input-wrapper .input-text,
.page-template-template-jts-donation .checkout.woocommerce-checkout .woocommerce-input-wrapper .input-text{
   width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333333;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.static-product-dropdown {
   text-align: center;
}
.static-product-dropdown #static-product-select{
      text-align: center;
   width: 50%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333333;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.checkout.woocommerce-checkout  #place_order,
.page-template-template-donation .checkout.woocommerce-checkout  #place_order,
.page-template-template-jts-donation .checkout.woocommerce-checkout  #place_order{
      background: #c5a059;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 40px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}


/* Booking Success Section */
.booking-success-section {
  padding: 80px 20px;
  background-color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333333;
}

.booking-success-section .container {
  max-width: 1000px;
  margin: 0 auto;
}

.success-heading {
  font-family: 'Georgia', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #4a5d3e; /* Dark Olive Green accent */
  text-align: center;
  font-weight: 400;
  margin-bottom: 60px;
  line-height: 1.3;
}

/* 2-Column Grid Layout */
.booking-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.col-heading {
  font-family: 'Georgia', serif;
  font-size: 2rem;
  color: #4a5d3e;
  font-weight: 400;
  margin-bottom: 30px;
}

/* Contact Items */
.contact-item {
  margin-bottom: 30px;
}

.contact-name {
  display: block;
  color: #888888;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.contact-phone {
  display: inline-block;
  color: #2563eb; /* Primary Blue Accent */
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-phone:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Information Block Items */
.info-block {
  margin-bottom: 35px;
}

.highlight-text {
  background-color: #facc15; /* Yellow Highlight */
  color: #000000;
  display: inline;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  padding: 2px 4px;
}

.info-link-wrapper {
  margin-top: 10px;
  font-size: 1.05rem;
  color: #444444;
}

.info-link,
.download-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.info-link:hover,
.download-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.sub-text {
  color: #666666;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.download-link {
  display: inline-block;
  font-size: 1.05rem;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .booking-success-section {
    padding: 50px 20px;
  }

  .booking-details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .success-heading {
    margin-bottom: 40px;
  }
}


/* ==========================================================================
   Gutenberg Tabs Block Styling
   ========================================================================== */

/* Tabs Bar Container */
.wp-block-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 24px;
  padding: 0;
}

/* Individual Tab Buttons */
.wp-block-tab-list button[role="tab"] {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  outline: none;
  position: relative;
  margin-bottom: -2px; /* Overlaps bottom border for smooth active line transition */
}

/* Tab Hover State */
.wp-block-tab-list button[role="tab"]:hover {
  color: #2c3e50;
  background-color: rgba(197, 160, 89, 0.08); /* Light tint on hover */
  border-radius: 6px 6px 0 0;
}

/* Active Tab State (Targeted via ARIA attribute used by Gutenberg) */
.wp-block-tab-list button[role="tab"][aria-selected="true"] {
  color: #c5a059; /* Theme Accent Gold */
  border-bottom-color: #c5a059;
  background: transparent;
}

/* Focus State for Accessibility */
.wp-block-tab-list button[role="tab"]:focus-visible {
  outline: 2px solid #c5a059;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Tab Panels Container */
.wp-block-tab-panels {
  background: #ffffff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

/* Individual Tab Panel */
.wp-block-tab-panel {
  display: block;
  animation: fadeInTab 0.3s ease-in-out;
}

/* Hide Inactive Panels (Ensures hidden attribute is strictly respected) */
.wp-block-tab-panel[hidden] {
  display: none !important;
}

/* Smooth Fade-in Animation for Content Switch */
@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .wp-block-tab-list {
    flex-direction: column;
    border-bottom: none;
    gap: 6px;
  }

  .wp-block-tab-list button[role="tab"] {
    width: 100%;
    text-align: left;
    border-bottom: none;
    border-left: 3px solid transparent;
    border-radius: 6px;
    padding: 10px 16px;
    margin-bottom: 0;
    background: #f8fafc;
  }

  .wp-block-tab-list button[role="tab"][aria-selected="true"] {
    border-left-color: #c5a059;
    background: rgba(197, 160, 89, 0.12);
  }
}


/* ==========================================================================
   WordPress Comments Section - Modern & Responsive Styling
   ========================================================================== */

/* Main Comments Wrapper */
.comments-area {
  max-width: 850px;
  margin: 60px auto 0;
  padding-top: 40px;
  border-top: 2px solid #e2e8f0;
  font-family: inherit;
}

/* Headings */
.comments-title,
.comment-reply-title {
  font-family: 'Georgia', serif;
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 30px;
}

/* --------------------------------------------------------------------------
   Comment List & Items (`wp_list_comments()`)
   -------------------------------------------------------------------------- */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 50px 0;
}

.comment-list .comment {
  margin-bottom: 25px;
}

.comment-body {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  transition: all 0.2s ease;
}

.comment-body:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Author Meta (Avatar, Name, Date) */
.comment-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.comment-author .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c5a059; /* Accent Gold */
}

.comment-author .fn {
  font-weight: 700;
  font-style: normal;
  color: #1e293b;
  font-size: 1rem;
}

.comment-metadata a {
  color: #94a3b8;
  font-size: 0.85rem;
  text-decoration: none;
}

.comment-metadata a:hover {
  color: #c5a059;
}

/* Comment Content */
.comment-content {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

/* Reply Link */
.reply a {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c5a059;
  text-decoration: none;
  transition: color 0.2s ease;
}

.reply a:hover {
  color: #9a7836;
  text-decoration: underline;
}

/* Nested (Threaded) Comments */
.comment-list .children {
  list-style: none;
  padding-left: 30px;
  margin-top: 20px;
  border-left: 2px solid #e2e8f0;
}

/* --------------------------------------------------------------------------
   Comment Form (`comment_form()`)
   -------------------------------------------------------------------------- */
.comment-respond {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.comment-form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 0;
}

/* Textarea Field */
.comment-form-comment {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Author, Email, URL 3-Column Grid */
.comment-form-author,
.comment-form-email,
.comment-form-url {
  width: 32%;
  margin-right: 2%;
  display: flex;
  flex-direction: column;
}

.comment-form-url {
  margin-right: 0;
}

/* Labels */
.comment-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 6px;
}

/* Input & Textarea Styling */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #1e293b;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #c5a059;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.comment-form textarea {
  min-height: 130px;
  resize: vertical;
}

/* Save Cookies Checkbox */
.comment-form-cookies-consent {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #64748b;
  margin-top: 5px;
}

.comment-form-cookies-consent input[type="checkbox"] {
  accent-color: #c5a059;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Submit Button */
.form-submit {
  width: 100%;
  margin-top: 10px;
}

.form-submit input[type="submit"] {
  background: #c5a059;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit input[type="submit"]:hover {
  background: #9a7836;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

/* --------------------------------------------------------------------------
   Mobile Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .comment-form-author,
  .comment-form-email,
  .comment-form-url {
    width: 100%;
    margin-right: 0;
  }

  .comment-list .children {
    padding-left: 15px;
  }

  .comment-respond {
    padding: 20px 15px;
  }

  .form-submit input[type="submit"] {
    width: 100%;
  }
}

/* ==========================================================================
   Single Post Layout & Post Meta Styling
   ========================================================================== */

/* Single Post Featured Image */
.post-img-section {
  width: 100%;
  margin-bottom: 25px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.post-img-section img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Restrains oversized featured images */
}

/* Post Meta (Author & Categories) */
.post-meta {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.post-meta p {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

/* Author Link Styling */
.post-meta a {
  color: #c5a059; /* Accent Gold */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.post-meta a:hover {
  color: #9a7836;
  text-decoration: underline;
}

/* Category List Links */
.post-meta p a[rel="category tag"] {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #475569;
  display: inline-block;
  transition: all 0.2s ease;
}

.post-meta p a[rel="category tag"]:hover {
  background-color: #c5a059;
  color: #ffffff;
  border-color: #c5a059;
  text-decoration: none;
}

/* Post Main Content Section */
.post-content-section {
  color: #334155;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 50px;
}

.post-content-section p {
  margin-bottom: 20px;
}

.post-content-section h2,
.post-content-section h3 {
  font-family: 'Georgia', serif;
  color: #1e293b;
  margin: 35px 0 15px;
}

/* Utility class fallback for mt-5 */
.mt-5 {
  margin-top: 3rem !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .post-img-section img {
    max-height: 300px;
  }
  .post-meta p {
    font-size: 0.88rem;
  }


  .jts-hero {
      padding: 190px 0 60px;
  }
}


