@keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes gentleGlow {
            0%, 100% { opacity: 0.6; }
            50% { opacity: 1; }
        }
    
        #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: start;
            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-info-wrap {
  max-width: var(--container);
  margin: 24px auto 0;
  padding: 0 20px;
}
        .ceremony-info-card {
            position: relative;
            bottom: auto;
            background: rgba(255,255,255,0.96);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 28px 32px;
            box-shadow: 0 18px 40px rgba(0,0,0,0.15);
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            z-index: 10;
        }

        .info-item {
            text-align: center;
            padding: 0 12px;
            border-right: 1px solid rgba(28,74,60,0.1);
        }

        .info-item:last-child {
            border-right: none;
        }

        .info-icon {
            font-size: 1.5rem;
            margin-bottom: 8px;
        }

        .info-item-label {
            font-size: 0.7rem;
            color: var(--accent-gold);
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 4px;
        }

        .info-item-value {
            font-size: 0.9rem;
            color: var(--primary-jade);
            font-weight: 500;
        }

        .info-item-sub {
            font-size: 0.75rem;
            color: rgba(44,44,44,0.6);
            margin-top: 2px;
        }

        .after-hero-spacer {
            height: 24px;
        }
    
        .ceremony-main-section {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 60px;
            margin-bottom: 90px;
            align-items: flex-start;
            position: relative;
        }
    
        .ceremony-image-wrapper {
            position: relative;
        }
    
        .ceremony-image-main {
            width: 100%;
            height: 450px;
            background-color: rgba(28, 74, 60, 0.06);
            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;
            animation: gentleGlow 3s ease-in-out infinite;
        }
    
        .ceremony-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);
        }
    
        .ceremony-details {
            animation: fadeIn 1.2s ease-out;
        }
    
        .ceremony-details h2 {
            font-size: 1.625rem;
            margin: 0 0 20px 0;
            color: var(--primary-jade);
            font-weight: 400;
            position: relative;
            padding-left: 20px;
        }
    
        .ceremony-details h2::before {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 60%;
            background: var(--accent-gold);
            border-radius: 2px;
        }
    
        .ceremony-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;
        }

        ul.star-list {
            padding-left: 1.1em;
        }
    
        ul.star-list li::marker {
            content: "✤ ";
        }

        .register-section {
            background: linear-gradient(135deg, var(--primary-jade), #2a5c4a);
            border-radius: 24px;
            padding: 48px;
            margin-top: 60px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .register-section::before {
            content: "";
            position: absolute;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(184,134,11,0.1) 0%, transparent 60%);
            border-radius: 50%;
            top: -150px;
            right: -100px;
        }

        .register-section::after {
            content: "";
            position: absolute;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
            border-radius: 50%;
            bottom: -100px;
            left: -50px;
        }

        .register-title {
            color: white;
            font-size: 1.5rem;
            margin-bottom: 12px;
            font-weight: 400;
        }

        .register-subtitle {
            color: rgba(255,255,255,0.8);
            font-size: 0.9rem;
            margin-bottom: 32px;
        }

        .register-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--accent-gold);
            color: white;
            padding: 16px 40px;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
        }

        .register-btn:hover {
            background: #d4a017;
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(184,134,11,0.4);
        }

        .register-note {
            color: rgba(255,255,255,0.6);
            font-size: 0.75rem;
            margin-top: 16px;
        }

        .offering-section {
            margin-top: 80px;
            padding-top: 60px;
            border-top: 2px dashed rgba(28, 74, 60, 0.08);
        }

        .offering-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .offering-title {
            font-size: 1.5rem;
            color: var(--primary-jade);
            margin-bottom: 8px;
            font-weight: 400;
        }

        .offering-subtitle {
            font-size: 0.7rem;
            color: var(--accent-gold);
            letter-spacing: 0.2em;
            text-transform: uppercase;
        }

        .offering-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 24px;
        }

        .offering-card {
            flex: 0 1 220px;
            max-width: 280px;
            min-width: 180px;
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,248,240,0.7));
            border-radius: 16px;
            padding: 32px 24px;
            text-align: center;
            box-shadow: 0 8px 25px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            text-decoration: none;
            color: inherit;
            display: block;
            border: none;
            cursor: default;
        }

        a.offering-card {
            cursor: pointer;
        }

        .offering-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-gold), transparent);
        }

        .offering-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(28,74,60,0.12);
        }

        .offering-icon {
            font-size: 2.5rem;
            margin-bottom: 16px;
        }

        .offering-name {
            font-size: 1.1rem;
            color: var(--primary-jade);
            font-weight: 500;
            margin-bottom: 8px;
        }

        .offering-price {
            font-size: 0.9rem;
            color: var(--accent-gold);
            margin-bottom: 12px;
        }

        .offering-desc {
            font-size: 0.8rem;
            color: rgba(44,44,44,0.7);
            line-height: 1.6;
        }

        .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);
        }

        @media (max-width: 900px) {
            .hero-inner {
                flex-direction: column;
                align-items: flex-start;
            }
            .hero-visual {
                align-self: stretch;
                max-width: none;
            }
            .ceremony-info-card {
                grid-template-columns: repeat(2, 1fr);
                bottom: auto;
            }
            .after-hero-spacer {
                height: 24px;
            }
            .ceremony-main-section {
                grid-template-columns: 1fr;
            }
            .ceremony-image-main {
                border-radius: 80px 20px 20px 20px;
            }
        }
    
        @media (max-width: 768px) {
            .info-columns {
                grid-template-columns: 1fr;
            }
            .ceremony-info-card {
                grid-template-columns: 1fr;
                gap: 16px;
                padding: 24px;
            }
            .info-item {
                border-right: none;
                border-bottom: 1px solid rgba(28,74,60,0.1);
                padding-bottom: 16px;
            }
            .info-item:last-child {
                border-bottom: none;
                padding-bottom: 0;
            }
            .after-hero-spacer {
                height: 24px;
            }
            .register-section {
                padding: 36px 24px;
            }
        }

        @media (max-width: 480px) {
            .gallery-masonry {
                grid-template-columns: 1fr;
            }
        }
