@keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
    
        #ed-container {
            max-width: var(--container);
            margin: 0 auto;
            padding: 60px 20px 90px;
        }
    
        .hero-section {
            width: 100%;
            background-color: var(--bg-color);
            padding: 40px 0 90px;
        }
    
        .hero-inner {
            max-width: var(--container);
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            /* align-items: center; */
            justify-content: space-between;
            gap: 40px;
            position: relative;
            animation: fadeIn 0.8s ease-out;
        }
    
        .hero-copy {
            flex: 1 1 48%;
            max-width: 520px;
        }
    
        .hero-kicker {
            font-size: 0.7rem;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: var(--accent-gold);
            opacity: 0.85;
            margin-bottom: 10px;
        }
    
        .hero-title {
            font-size: 1.75rem;
            margin: 0 0 12px;
            color: var(--primary-jade);
            padding-top: 60px;
        }
    
        .hero-slogan {
            font-size: 1.125rem;
            color: var(--accent-gold);
            margin: 16px 0;
            font-style: italic;
            letter-spacing: 2px;
        }
        
        .hero-text {
            font-size: 0.875rem;
            opacity: 0.9;
        }

    
        .hero-photo {
            position: absolute;
            inset: 0;
            background-image: url('../../../assets/pagephotos/lamp-offering.webp');
            background-size: cover;
            background-position: center;
            border-radius: 32px;
            overflow: hidden;
            box-shadow: 0 20px 45px rgba(0,0,0,0.18);
        }

        .hero-photo::before {
            content: "";
            position: absolute;
            top: -10%;
            left: -35%;
            width: 70%;
            height: 120%;
            background: var(--bg-color);
            border-radius: 60% 40% 40% 60% / 100% 60% 40% 0%;
        }
    
        .hero-photo::after {
            content: "";
            position: absolute;
            top: -8%;
            left: -18%;
            width: 40%;
            height: 116%;
            background: radial-gradient(circle at 10% 50%, rgba(255,255,255,0.7), transparent 60%);
            opacity: 0.7;
            filter: blur(2px);
        }
    
        .hero-info-wrap {
  max-width: var(--container);
  margin: -60px auto 0;
  padding: 0 20px;
}
        .hero-events-row {
            position: relative;
            bottom: -44px;
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            margin-top: 40px;
        }
    
        .hero-event-card {
            flex: 1 1 260px;
            min-width: 240px;
            background: rgba(255,255,255,0.96);
            backdrop-filter: blur(10px);
            border-radius: 14px;
            padding: 14px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 18px 40px rgba(0,0,0,0.25);
            text-decoration: none;
            color: var(--text-main);
        }
    
        .hero-event-main {
            display: flex;
            gap: 14px;
            align-items: center;
        }
    
        .hero-event-date {
            text-align: center;
            padding: 6px 10px;
            border-radius: 10px;
            background: rgba(28,74,60,0.06);
            font-size: 0.75rem;
            color: var(--primary-jade);
        }
    
        .hero-event-title {
            font-size: 0.875rem;
            font-weight: 500;
        }
    
        .hero-event-tag {
            font-size: 0.7rem;
            color: rgba(44,44,44,0.6);
        }
    
        .hero-event-arrow {
            font-size: 1rem;
            color: var(--accent-gold);
        }
    
        .after-hero-spacer {
            height: 70px;
        }
    
        .practice-main-section {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 60px;
            margin-bottom: 90px;
            align-items: flex-start;
            position: relative;
        }
    
        .practice-image-wrapper {
            position: relative;
        }
    
        .practice-image-main {
            width: 100%;
            height: 450px;
            background-color: var(--warm-cream);
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            position: relative;
            border-radius: 50% 10px;
            overflow: hidden;
            animation: fadeIn 1s ease-out;
            box-shadow: 0 15px 40px rgba(28,74,60,0.1);
        }
    
        .floating-circle {
            position: absolute;
            width: 80px;
            height: 80px;
            border: 1px solid rgba(184,134,11,0.2);
            border-radius: 50%;
            top: -10px;
            right: -10px;
            opacity: 0.4;
        }
    
        .floating-dot {
            position: absolute;
            width: 12px;
            height: 12px;
            background: linear-gradient(135deg, var(--accent-gold), transparent);
            border-radius: 50%;
            bottom: 50px;
            left: -6px;
            opacity: 0.6;
        }
    
        .practice-meta-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 20px 32px;
            background: linear-gradient(135deg, #fff, var(--warm-cream));
            border-radius: 20px;
            padding: 20px 28px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.08);
            margin-top: -40px;
            margin-left: 30px;
            position: relative;
            z-index: 10;
            max-width: 90%;
        }
    
        .meta-block {
            min-width: 180px;
        }
        .meta-label {
            letter-spacing: 3px;
            color: var(--accent-gold);
            margin-bottom: 6px;
            font-weight: 600;
            text-transform: uppercase;
        }
        .meta-text {
            color: var(--text-main);
        }
    
        .practice-details {
            animation: fadeIn 1.2s ease-out;
        }
    
        .practice-details h2 {
            font-size: 1.625rem;
            margin: 0 0 20px 0;
            color: var(--primary-jade);
            font-weight: 400;
            position: relative;
            padding-left: 20px;
        }
    
        .practice-details h2::before {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 60%;
            background: var(--accent-gold);
            border-radius: 2px;
        }
    
        .practice-tagline {
            font-size: 0.7rem;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: var(--accent-gold);
            margin-bottom: 12px;
            font-weight: 600;
        }
    
        .info-columns {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin-bottom: 28px;
        }
    
        .info-card {
            background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,248,240,0.5));
            border-radius: 12px;
            padding: 22px 24px;
            box-shadow: 0 6px 20px rgba(0,0,0,0.03);
            position: relative;
            overflow: hidden;
        }
    
        .info-card::after {
            content: "";
            position: absolute;
            width: 50px;
            height: 50px;
            background: radial-gradient(circle, rgba(184,134,11,0.03), transparent);
            border-radius: 50%;
            top: -25px;
            right: -25px;
        }
    
        .info-label {
            color: var(--primary-jade);
            font-weight: 600;
            letter-spacing: 2px;
            margin-bottom: 12px;
            display: block;
        }
        .info-content {
            color: var(--text-main);
        }
    
        .warning-label {
            color: var(--primary-warning);
            font-weight: 600;
            letter-spacing: 2px;
            margin-bottom: 12px;
            display: block;
        }
    
        .warning-label a {
            color: var(--primary-warning);
            text-decoration: none;
        }
    
        .gallery-section {
            border-top: 2px dashed rgba(28, 74, 60, 0.08);
            padding-top: 60px;
            margin-top: 80px;
        }
    
        .gallery-header {
            text-align: center;
            margin-bottom: 40px;
        }
    
        .gallery-title {
            font-size: 1.5rem;
            color: var(--primary-jade);
            margin-bottom: 8px;
            font-weight: 400;
            letter-spacing: 1px;
        }
    
        .gallery-subtitle {
            font-size: 0.7rem;
            color: var(--accent-gold);
            letter-spacing: 0.2em;
            text-transform: uppercase;
        }
    
        .gallery-masonry {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }
    
        .gallery-tile {
            break-inside: avoid;
            margin-bottom: 20px;
            position: relative;
            transition: all 0.4s ease;
        }
    
        .gallery-tile:nth-child(2n) .tile-image {
            height: 320px;
        }
    
        .gallery-tile:nth-child(3n) .tile-image {
            height: 260px;
        }
    
        .gallery-tile:nth-child(5n) .tile-image {
            height: 340px;
        }
    
        .tile-image {
            width: 100%;
            height: 280px;
            background-size: cover;
            background-position: center;
            border-radius: 16px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            transition: all 0.4s ease;
        }
    
        .tile-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(28,74,60,0.9), transparent);
            padding: 20px 16px 16px;
            transform: translateY(100%);
            transition: transform 0.4s ease;
        }
    
        .tile-caption {
            color: white;
            font-size: 0.8125rem;
            opacity: 0.95;
        }
    
        .tile-date {
            color: var(--accent-gold);
            font-size: 0.7rem;
            margin-top: 4px;
            opacity: 0.9;
        }
    
        .gallery-tile:hover .tile-overlay {
            transform: translateY(0);
        }
    
        .gallery-tile:hover .tile-image {
            transform: scale(1.02);
            box-shadow: 0 12px 35px rgba(28,74,60,0.15);
        }
    
        .gallery-more {
            text-align: center;
            margin-top: 40px;
        }
    
        .btn-more {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            background: white;
            border: 1px solid rgba(28,74,60,0.2);
            border-radius: 24px;
            color: var(--primary-jade);
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }
    
        .btn-more:hover {
            background: var(--primary-jade);
            color: #fff;
            border-color: var(--primary-jade);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(28,74,60,0.2);
        }
    
        ul.star-list {
            padding-left: 1.1em;
        }
    
        ul.star-list li::marker {
            content: "✤ ";
        }
    
        @media (max-width: 900px) {
            .hero-inner {
                flex-direction: column;
                align-items: flex-start;
                gap: 24px;
            }
            .hero-title {
                padding-top: 12px;
            }
            .hero-visual {
                align-self: stretch;
                max-width: none;
            }
            .hero-events-row {
                bottom: -48px;
            }
            .practice-main-section {
                grid-template-columns: 1fr;
            }
            .practice-image-main {
                border-radius: 80px 20px 20px 20px;
            }
            .gallery-masonry {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            }
        }
    
        @media (max-width: 768px) {
            .info-columns {
                grid-template-columns: 1fr;
            }
            .gallery-masonry {
                grid-template-columns: 1fr 1fr;
                gap: 15px;
            }
        }
    
        @media (max-width: 480px) {
            .gallery-masonry {
                grid-template-columns: 1fr;
            }
        }
