/* Premium Components Styling */

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.95rem 2.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--bg-pure);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-red-hover);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    color: var(--bg-pure);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 45, 51, 0.25);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--accent-gold);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: var(--bg-pure);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 166, 70, 0.15);
}

.btn-secondary-red {
    background-color: transparent;
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.btn-secondary-red:hover {
    background-color: var(--primary-red);
    color: var(--bg-pure);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 45, 51, 0.15);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

/* =========================================================================
   GLASS CARDS & PREMIUM CARDS
   ========================================================================= */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-glass);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold-border);
    box-shadow: var(--shadow-lg);
}

.premium-card {
    background: var(--bg-pure);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-warm-dark);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* .premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
} */

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
}

/* .premium-card:hover::before {
    transform: scaleY(1);
    transform-origin: top;
} */

/* =========================================================================
   TIMELINE
   ========================================================================= */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-lg) 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--accent-gold) 15%, var(--accent-gold) 85%, transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: var(--space-sm) 0;
    position: relative;
    width: 50%;
    opacity: 0;
    /* Handled by GSAP scroll reveal */
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item-left {
    left: 0;
    padding-right: var(--space-lg);
    text-align: right;
}

.timeline-item-right {
    left: 50%;
    padding-left: var(--space-lg);
}

.timeline-dot {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    background-color: var(--bg-warm-light);
    border: 3px solid var(--accent-gold);
    position: absolute;
    top: 10px;
    right: 10px;
    /* transform: translateX(-50%); */
    z-index: 2;
    transition: background-color 0.3s;
}

.timeline-item-right .timeline-dot{
    right: unset;
    left: 10px;
}
/* .timeline-item:hover .timeline-dot {
    background-color: var(--primary-red);
} */
.timeline-img{
    aspect-ratio: 3/2;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    margin: -2.5rem -2.5rem ;
    position: relative;
    z-index: 0;
    display: none;
}
.timeline-img::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: #ffffff;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}
.timeline-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;    
    object-position: top;
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 4.8rem;
    color: var(--primary-red-hover);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    display: block;
    position: absolute;
    top: 0;
    z-index: -1;
    right: 50%;
    transform: translate(50% ,-68%);
}

.timeline-content h3,
.timeline-content p{
    z-index: 1;
    position: relative;
}


.timeline-content {
    background-color: var(--bg-pure);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    /* border: 1px solid var(--bg-warm-dark); */
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
    /* overflow: hidden; */
}

.timeline-item-left .timeline-content {
    text-align: right;
}

.timeline-item:hover .timeline-content {
    border-color: var(--accent-gold-border);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .timeline-container::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: var(--space-lg) !important;
        padding-right: 0 !important;
    }

    .timeline-item-left .timeline-content {
        text-align: left;
    }

    .timeline-dot {
        left: 20px;
        transform: translateX(-50%);
    }
}

/* =========================================================================
   ICON CARDS (Responsibilities)
   ========================================================================= */
.icon-card {
    background-color: var(--bg-pure);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-warm-dark);
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon-card .icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    background-color: var(--bg-warm-light);
    border: 1px solid var(--accent-gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    margin-bottom: var(--space-md);
    transition: var(--transition-smooth);
}

.icon-card h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.35rem;
}

.icon-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.icon-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold-border);
}

.icon-card:hover .icon-wrapper {
    background-color: var(--primary-red);
    color: var(--bg-pure);
    border-color: var(--primary-red);
    transform: rotateY(180deg);
}

/* =========================================================================
   CUSTOM AUDIO PLAYER
   ========================================================================= */
.music-dashboard {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-lg);
    background-color: var(--bg-pure);
    border-radius: var(--radius-xl);
    border: 1px solid var(--bg-warm-dark);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

@media (max-width: 992px) {
    .music-dashboard {
        grid-template-columns: 1fr;
    }
}

.playlist-section {
    padding: var(--space-lg);
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.search-bar {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border: 1px solid var(--accent-gold-border);
    border-radius: var(--radius-full);
    background-color: var(--bg-warm-light);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.search-bar input:focus {
    border-color: var(--primary-red);
    background-color: var(--bg-pure);
}

.search-bar svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    width: 16px;
    height: 16px;
}

.song-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    max-height: 400px;
    overflow-y: auto;
}

.song-item {
    display: grid;
    grid-template-columns: 40px 1fr 120px 80px;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.song-item:hover {
    background-color: var(--bg-warm-light);
    border-color: var(--bg-warm-dark);
}

.song-item.active {
    background-color: var(--primary-red-light);
    border-color: rgba(210, 45, 51, 0.15);
}

.song-item.active .song-title {
    color: var(--primary-red);
    font-weight: 500;
}

.song-number {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.song-info {
    display: flex;
    flex-direction: column;
}

.song-title {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.song-category {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.song-duration {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: right;
}

.song-action {
    display: flex;
    justify-content: flex-end;
}

.song-action button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.song-action button:hover {
    color: var(--primary-red);
}

/* Floating Player Dashboard Side */
.player-widget-section {
    background: linear-gradient(180deg, var(--bg-warm-dark) 0%, var(--bg-warm-light) 100%);
    border-left: 1px solid var(--bg-warm-dark);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

@media (max-width: 992px) {
    .player-widget-section {
        border-left: none;
        border-top: 1px solid var(--bg-warm-dark);
    }
}

.album-art-wrapper {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-lg);
    background-color: var(--bg-pure);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--accent-gold-border);
}

.album-art-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-art-wrapper .overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-gold);
    width: 48px;
    height: 48px;
    opacity: 0.15;
}

.track-meta h4 {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.track-meta p {
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.player-controls-container {
    width: 100%;
    margin-top: var(--space-md);
}

.playback-slider-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.current-time,
.total-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    width: 40px;
}

.progress-bar-container {
    flex-grow: 1;
    height: 4px;
    background-color: rgba(26, 26, 26, 0.08);
    border-radius: var(--radius-full);
    position: relative;
    cursor: pointer;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: var(--primary-red);
    border-radius: var(--radius-full);
    position: absolute;
    top: 0;
    left: 0;
}

.playback-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.playback-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.playback-btn:hover {
    color: var(--primary-red);
}

.playback-btn.btn-play-pause {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background-color: var(--primary-red);
    color: var(--bg-pure);
    box-shadow: 0 4px 12px rgba(210, 45, 51, 0.2);
}

.playback-btn.btn-play-pause:hover {
    background-color: var(--primary-red-hover);
    color: var(--bg-pure);
    transform: scale(1.05);
}

.volume-control-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
}

.volume-control-wrapper svg {
    color: var(--text-secondary);
    width: 16px;
    height: 16px;
}

.volume-slider {
    flex-grow: 1;
    height: 3px;
    background-color: rgba(26, 26, 26, 0.08);
    position: relative;
    cursor: pointer;
}

.volume-slider-fill {
    height: 100%;
    width: 75%;
    background-color: var(--accent-gold);
}

/* Lyrics Expand Panel */
.lyrics-accordion {
    width: 100%;
    border-top: 1px solid var(--accent-gold-border);
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
}

.lyrics-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.lyrics-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    text-align: left;
    margin-top: var(--space-xs);
}

.lyrics-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: var(--space-xs);
}

.lyrics-content .lyrics-original {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-gold);
    text-align: center;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.lyrics-content .lyrics-meaning {
    font-style: italic;
    color: var(--text-secondary);
}

/* =========================================================================
   GALLERY (Masonry & Lightbox)
   ========================================================================= */
.gallery-filter-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--bg-warm-dark);
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent-gold);
    color: var(--bg-pure);
    border-color: var(--accent-gold);
}

/* 4 Columns Gallery Masonry Layout */
.gallery-masonry {
    columns: 4;
    column-gap: var(--space-md);
    width: 100%;
}

@media (max-width: 1200px) {
    .gallery-masonry {
        columns: 3;
    }
}

@media (max-width: 900px) {
    .gallery-masonry {
        columns: 2;
    }
}

@media (max-width: 600px) {
    .gallery-masonry {
        columns: 1;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-warm-dark);
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(26, 26, 26, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item-overlay h4 {
    color: var(--bg-pure);
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.gallery-item-overlay p {
    color: var(--accent-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: transparent;
    border: none;
    color: var(--bg-pure);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent-gold);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--bg-pure);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    user-select: none;
}

.lightbox-nav:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.lightbox-prev {
    left: var(--space-md);
}

.lightbox-next {
    right: var(--space-md);
}

.lightbox-image-container {
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(201, 166, 70, 0.3);
}

.lightbox-caption {
    color: var(--bg-pure);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-align: center;
}

/* =========================================================================
   FORMS (Contact)
   ========================================================================= */
.form-group {
    margin-bottom: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--accent-gold-border);
    background-color: var(--bg-warm-light);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-red);
    background-color: var(--bg-pure);
    box-shadow: 0 0 0 3px rgba(210, 45, 51, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Banners & Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* =========================================================================
   CALL TO ACTION BANNER
   ========================================================================= */
.cta-banner {
    background: linear-gradient(135deg, var(--text-primary) 0%, #2A2A2A 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 166, 70, 0.2);
    /* margin-bottom: var(--space-xl); */
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(201, 166, 70, 0.1) 0%, transparent 70%);
    top: -150px;
    right: -150px;
}

.cta-banner h2 {
    color: var(--bg-pure);
    margin-bottom: var(--space-sm);
}

.cta-banner p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-md) auto;
}

/* =========================================================================
   REUSABLE PORTFOLIO COMPONENTS
   ========================================================================= */

/* Resource Card layout classes (index.php) */
.resource-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 24px 24px;
    overflow: hidden;
}
.resource-card-img{
    aspect-ratio: 3/2;
    overflow: hidden;
    margin: 0 -24px -20px;
    position: relative;
    z-index: -1;
}
.resource-card-img::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: #ffffff;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.resource-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.resource-icon-wrapper.red {
    background-color: var(--primary-red-light);
    color: var(--primary-red);
}

.resource-icon-wrapper.gold {
    background-color: var(--accent-gold-light);
    color: var(--accent-gold);
}

.resource-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.resource-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.resource-card-link {
    font-weight: 500;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Media Video and Info Block classes (index.php & liturgical-music.php) */
.media-video-card {
    background-color: var(--bg-pure);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    border: 1px solid var(--accent-gold-border);
    box-shadow: var(--shadow-sm);
}

.media-video-card .video-wrapper {
    width: 100%;
    aspect-ratio: 9/6;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #000;
}

.media-video-card iframe,
.media-video-card video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: cover;
}

.video-performance-section .grid-2 {
    align-items: stretch;
}

.media-info-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-sm);
}

.media-info-block .meta-label {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    font-weight: 600;
}

.media-info-block .btn-group {
    justify-content: flex-start;
    margin-top: var(--space-xs);
}

/* Playlist Thumbnail and Meta classes (liturgical-music.php) */
.playlist-thumbnail {
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    border: 1px solid var(--accent-gold-border);
}

.playlist-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-meta {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.premium-card h3 {
    font-size: 1.25rem;
    margin: 4px 0 8px 0;
}

.premium-card p {
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.playlist-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.playlist-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.playlist-count i {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    display: inline-block;
    vertical-align: middle;
}

.playlist-link {
    font-weight: 500;
    font-size: 0.85rem;
}

/* Bishop story preview layouts (index.php) */
.preview-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--accent-gold-border);
}

.preview-text .btn-secondary-red {
    margin-top: var(--space-sm);
}

.slider-link-wrapper {
    margin-top: var(--space-md);
}

.media-video-card .video-info {
    padding: var(--space-sm) var(--space-xs) 0 var(--space-xs);
}

.media-video-card .video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.media-video-card .video-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* =========================================================================
   TABLES & RESOURCE ACTION BUTTONS
   ========================================================================= */
.resource-search-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--space-sm);
}

.resource-search-wrapper .search-bar {
    max-width: 400px;
    width: 100%;
}

.resource-search-wrapper input {
    width: 100%;
}

.table-responsive-container {
    overflow-x: auto;
    background-color: var(--bg-pure);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-warm-dark);
    box-shadow: var(--shadow-sm);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.premium-table thead tr {
    background-color: var(--bg-warm-dark);
    border-bottom: 1px solid var(--accent-gold-border);
}

.premium-table th {
    padding: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.premium-table tbody tr {
    border-bottom: 1px solid var(--bg-warm-dark);
    transition: background-color 0.2s;
}

.premium-table td {
    padding: 1.2rem;
}

.premium-table td.file-title {
    font-weight: 500;
    color: var(--text-primary);
}

.premium-table td.text-right {
    text-align: right;
}

.tag-label {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tag-label.pdf {
    background-color: #fee2e2;
    color: #991b1b;
}

.tag-label.mp3 {
    background-color: #dbeafe;
    color: #1e40af;
}

.btn-table-action {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-color: var(--accent-gold-border);
}

.icon-table-action {
    width: 12px;
    height: 12px;
    margin-right: 4px;
}

/* =========================================================================
   MELODIES PLAYER WORKSPACE (syriac-melodies.php)
   ========================================================================= */
.music-filters-container {
    display: flex;
    gap: var(--space-xs);
}

.audio-btn-icon {
    width: 20px;
    height: 20px;
}

.audio-btn-icon-play {
    width: 22px;
    height: 22px;
}

.volume-slider-box {
    margin-bottom: var(--space-sm);
}

.download-track-btn {
    font-size: 0.75rem;
    padding: 0.5rem 1.2rem;
    width: 100%;
    border-color: var(--accent-gold-border);
}

.download-track-btn i {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

.lyrics-toggle-icon {
    width: 16px;
    height: 16px;
}

.divider-subtle {
    border: 0;
    border-top: 1px solid rgba(201, 166, 70, 0.15);
    margin: 8px 0;
}

.lyrics-heading-label {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-primary);
}

/* Subtitle descriptions in CTA blocks */
.section-footer-paragraph {
    max-width: 600px;
    margin: var(--space-xs) auto var(--space-md) auto !important;
}

/* =========================================================================
   UTILITIES & GENERAL SPACING HELPERS
   ========================================================================= */

/* Icon dimensions */
.icon-xs {
    width: 12px;
    height: 12px;
}

.icon-sm {
    width: 14px;
    height: 14px;
}

.icon-md {
    width: 16px;
    height: 16px;
}

.icon-lg {
    width: 20px;
    height: 20px;
}

.icon-xl {
    width: 22px;
    height: 22px;
}

.icon-2xl {
    width: 24px;
    height: 24px;
}

.icon-3xl {
    width: 32px;
    height: 32px;
}

.inline-middle {
    display: inline-block;
    vertical-align: middle;
}

/* Layout align stretches */
.contact-section .grid-2 {
    align-items: stretch;
}

.contact-form-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-form-card h2 {
    font-size: 1.8rem;
    margin-bottom: var(--space-xs);
}

.contact-form-card p {
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.contact-form-card .form-group-msg {
    margin-bottom: var(--space-md);
}

.btn-full-width {
    width: 100%;
}

.contact-details-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    justify-content: space-between;
}

.contact-details-column h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-xs);
}

.contact-details-column .footer-contact-info {
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.contact-map-wrapper {
    flex-grow: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--accent-gold-border);
    box-shadow: var(--shadow-sm);
    min-height: 250px;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    min-height: 250px;
}

/* Biography story templates layout classes (biography.php) */
.bio-section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    font-weight: 600;
}

.bio-preview-section h2,
.story-text h2 {
    margin-top: 5px;
}

.story-row-reverse {
    margin-top: var(--space-xl);
    direction: rtl;
}

.story-image{
    display: flex;
}
.story-image .image-frame{
    aspect-ratio: 1/1;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.story-col-ltr {
    direction: ltr;
}

.story-col-ltr .image-frame {
    margin-left: 0;
    margin-right: auto;
}

.btn-secondary-gold-outline {
    border-color: var(--accent-gold);
    color: var(--bg-pure);
}

.btn-secondary-gold-outline:hover {
    background-color: var(--accent-gold);
    color: var(--text-primary);
}

.hero-btn-group {
    justify-content: flex-start;
}

.calling-subtitle {
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.margin-right-xs {
    margin-right: 4px;
}

.youtube-svg {
    fill: currentColor;
    margin-right: 4px;
}

/* =========================================================================
   BIOGRAPHY PROFILE CARD (biography.php) - HORIZONTAL LAYOUT
   ========================================================================= */
.bio-profile-section {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-xl);
}

.bio-profile-card.horizontal {
    max-width: var(--max-width);
    margin: 0 auto;
    background: var(--bg-pure);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--accent-gold-border);
    display: grid;
    grid-template-columns: 280px 1fr;
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.bio-profile-card.horizontal:hover {
    box-shadow: 0 20px 48px rgba(26, 26, 26, 0.1);
}

.bio-profile-image-col {
    background: var(--bg-warm-dark);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--accent-gold-border);
}

.bio-profile-photo-frame {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.bio-profile-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform var(--transition-slow);
}

.bio-profile-card.horizontal:hover .bio-profile-photo-frame img {
    transform: scale(1.04);
}

.bio-profile-content-col {
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bio-profile-subtitle {
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    font-weight: 600;
}

.bio-profile-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin: 4px 0 8px 0;
}

.bio-profile-title {
    color: var(--primary-red);
    font-weight: 400;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.bio-profile-church {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.bio-profile-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--accent-gold-border) 0%, transparent 100%);
    margin: var(--space-md) 0;
}

.bio-profile-milestones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.bio-milestone-item {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
}

.bio-milestone-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    /* background: var(--primary-red-light);
    color: var(--primary-red); */
    /* background: var(--accent-gold-light); */
    color: var(--accent-gold);
    border: 1px solid rgba(210, 45, 51, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

/* .bio-milestone-item:hover .bio-milestone-icon {
    background: var(--primary-red);
    color: #ffffff;
} */

.bio-milestone-info {
    display: flex;
    flex-direction: column;
}

.bio-milestone-label {
    font-size: 0.78rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.bio-milestone-value {
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.35;
}

/* Tablet Responsive */
@media (max-width: 992px) {
    .bio-profile-card.horizontal {
        grid-template-columns: 240px 1fr;
    }

    .bio-profile-content-col {
        padding: var(--space-md) var(--space-lg);
    }

    .bio-profile-milestones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .bio-profile-name {
        font-size: 1.85rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bio-profile-card.horizontal {
        grid-template-columns: 1fr;
    }

    .bio-profile-image-col {
        border-right: none;
        border-bottom: 1px solid var(--accent-gold-border);
        padding: var(--space-md);
    }

    .bio-profile-photo-frame {
        max-width: 240px;
        min-height: 240px;
        margin: 0 auto;
    }

    .bio-profile-content-col {
        padding: var(--space-md);
    }

    .bio-profile-milestones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .bio-profile-milestones-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================================
   BIOGRAPHY TABS SECTION (biography.php)
   ========================================================================= */
.bio-tabs-section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.bio-tabs-nav {
    display: flex;
    gap: 4px;
    background: var(--bg-warm-dark);
    border-radius: var(--radius-lg);
    padding: 6px;
    margin-bottom: var(--space-xl);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: sticky;
    top: calc(var(--navbar-height) + 10px);
    z-index: 1;
}

.bio-tabs-nav::-webkit-scrollbar {
    display: none;
}

.bio-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
    flex: 1;
    justify-content: center;
    position: relative;
    border: 1px solid transparent;
}

.bio-tab-btn svg {
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.bio-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.6);
}

.bio-tab-btn:hover svg {
    opacity: 0.9;
}

.bio-tab-btn.active {
    background: var(--bg-pure);
    /* background: var(--primary-red-light); */
    /* color: var(--text-primary); */
    color: var(--primary-red);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-red);
}

.bio-tab-btn.active svg {
    opacity: 1;
    /* color: var(--accent-gold); */
    color: var(--primary-red);
}

/* .bio-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: var(--radius-full);
} */

/* Tab Content */
.bio-tabs-content {
    position: relative;
}

.bio-tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.bio-tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.bio-tab-panel.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.bio-tab-inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-xl);
    align-items: start;
}

.bio-tab-text {
    padding-right: var(--space-md);
}

.bio-tab-text h2 {
    margin-top: 5px;
    margin-bottom: var(--space-md);
    /* font-family: var(--font-heading); */
    /* font-size: 2rem; */
    color: var(--text-primary);
}

.bio-tab-text p {
    margin-bottom: var(--space-sm);
    line-height: 1.8;
    color: var(--text-secondary);
}

.bio-tab-text p strong {
    color: var(--text-primary);
    font-weight: 500;
}

.bio-tab-text p:last-child {
    margin-bottom: 0;
}

.bio-tab-image {
    position: sticky;
    top: calc(var(--navbar-height) + 80px);
}

.bio-tab-image .image-frame {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.bio-tab-image .image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-slow);
}

.bio-tab-image .image-frame:hover img {
    transform: scale(1.03);
}

/* Read More Collapse/Expand */
.bio-tab-body {
    position: relative;
    max-height: 260px;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-tab-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.bio-tab-body.expanded {
    max-height: 2000px;
}

.bio-tab-body.expanded::after {
    opacity: 0;
}

.bio-read-more-link {
    display: inline-block;
    margin-top: var(--space-sm);
    color: var(--primary-red);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition-fast);
    user-select: none;
}

.bio-read-more-link:hover {
    color: var(--primary-red-hover);
    text-decoration: underline;
}

/* Responsive: Tablets */
@media (max-width: 992px) {
    .bio-tabs-nav {
        gap: 2px;
        padding: 4px;
    }

    .bio-tab-btn {
        padding: 12px 16px;
        font-size: 0.82rem;
    }

    .bio-tab-btn svg {
        display: none;
    }

    .bio-tab-inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .bio-tab-text {
        padding-right: 0;
    }

    .bio-tab-image {
        position: relative;
        top: auto;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Responsive: Mobile */
@media (max-width: 600px) {
    .bio-tabs-nav {
        flex-direction: column;
        gap: 4px;
        border-radius: var(--radius-md);
    }

    .bio-tab-btn {
        padding: 14px 16px;
        font-size: 0.88rem;
        justify-content: flex-start;
    }

    .bio-tab-btn svg {
        display: inline-block;
        width: 16px;
        height: 16px;
    }

    .bio-tab-btn.active::after {
        display: none;
    }

    /* .bio-tab-text h2 {
        font-size: 1.6rem;
    } */

    .bio-tab-image {
        max-width: 100%;
    }
}

/* =========================================================================
   WATERMARKS & DECORATIVE LITURGICAL ORNAMENTS
   ========================================================================= */
.hero-text-content {
    position: relative;
}

.hero-watermark-ornament {
    position: absolute;
    top: 50%;
    left: 8%;
    width: 320px;
    height: 320px;
    color: var(--accent-gold);
    opacity: 0.05;
    transform: translateY(-50%) rotate(-12deg);
    pointer-events: none;
    z-index: 1;
}

.quote-divider {
    position: relative;
    overflow: hidden;
}

.quote-watermark {
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    color: var(--accent-gold);
    opacity: 0.24;
    pointer-events: none;
    z-index: 0;
}

.preview-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-image .image-frame {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4/5;
}

/* Modern Collage for Biography Preview */
.preview-images-collage {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

/* UI Decorative radial glow behind collage */
.preview-images-collage::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.collage-main-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 68%;
    height: 82%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--accent-gold-border);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    background-color: var(--bg-warm-dark);
    transition: var(--transition-smooth);
}

.collage-main-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collage-sub-frame {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 58%;
    height: 72%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--accent-gold-border);
    box-shadow: var(--shadow-xl);
    z-index: 3;
    background-color: var(--bg-warm-dark);
    transition: var(--transition-smooth);
}

.collage-sub-frame img,
.collage-sub-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-images-collage img,
.preview-images-collage video {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.collage-sub-frame video {
    cursor: pointer;
}

/* Collage Video Controls Dock */
.collage-video-controls {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--accent-gold-border);
    padding: 4px 6px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}

.collage-control-btn {
    background: transparent;
    border: none;
    color: var(--accent-gold);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
    outline: none;
    position: relative;
    z-index: 12;
    pointer-events: auto;
}

.collage-control-btn:hover {
    background: var(--accent-gold);
    color: #ffffff;
    transform: scale(1.08);
}

.collage-control-btn:active {
    transform: scale(0.95);
}

.collage-control-btn svg {
    width: 15px;
    height: 15px;
    pointer-events: none;
}

/* Base icon state: hide by default so uninitialized states don't overlap icons */
.collage-control-btn .icon-pause,
.collage-control-btn .icon-play,
.collage-control-btn .icon-muted,
.collage-control-btn .icon-unmuted {
    display: none;
}

/* Audio button state toggling */
.collage-control-btn.btn-audio.is-muted .icon-muted { display: block !important; }
.collage-control-btn.btn-audio.is-muted .icon-unmuted { display: none !important; }
.collage-control-btn.btn-audio.is-unmuted .icon-muted { display: none !important; }
.collage-control-btn.btn-audio.is-unmuted .icon-unmuted { display: block !important; }

/* Play/Pause button state toggling */
.collage-control-btn.btn-play-pause.is-playing .icon-pause { display: block !important; }
.collage-control-btn.btn-play-pause.is-playing .icon-play { display: none !important; }
.collage-control-btn.btn-play-pause.is-paused .icon-pause { display: none !important; }
.collage-control-btn.btn-play-pause.is-paused .icon-play { display: block !important; }

/* Center overlay play button indicator when paused */
.collage-video-overlay-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0;
}

.collage-video-overlay-play svg {
    margin-left: 3px;
    display: block;
    pointer-events: none;
}

.collage-sub-frame.is-video-paused .collage-video-overlay-play {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.collage-video-overlay-play:hover {
    background: var(--accent-gold);
    color: #ffffff;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Glassmorphic UI Badge */
.collage-badge {
    position: absolute;
    bottom: 8%;
    left: -10%;
    z-index: 4;
    background: #c9a64635;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--accent-gold);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 100%;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-smooth);
    aspect-ratio: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.collage-badge .badge-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1.1;
}

.collage-badge .badge-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    font-weight: 600;
    opacity: 0;
}

/* Hover effects for depth */
/* .preview-images-collage:hover .collage-main-frame {
    transform: translate(-8px, -8px) scale(1.01);
}

.preview-images-collage:hover .collage-sub-frame {
    transform: translate(8px, 8px) scale(1.01);
}

.preview-images-collage:hover .collage-badge {
    transform: translate(-4px, -4px) scale(1.03);
} */

@media (max-width: 992px) {
    .hero-watermark-ornament {
        top: 20%;
        left: 50%;
        transform: translate(-50%, -20%) rotate(0deg);
        width: 250px;
        height: 250px;
    }
}