html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    
}

hr {
    height: 1px;
    background: #e0e0e0;
    border: none;
    outline: none;
    margin-top: 3px;
}

.vg-record-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.vg-record-header {
    position: relative;
    width: 100%;
    height: 350px;
    flex-shrink: 0;
    background-color: #ccc;
    z-index: 20;
    overflow: hidden;
}

.vg-record-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(10px) brightness(0.7);
    transform: scale(1.1);
    z-index: 1;
}

.vg-record-header-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.vg-record-header-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 3;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.5));
}

.vg-record-header-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 5%, transparent 10%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 20%),
        linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 20%);
    pointer-events: none;
    z-index: 5;
}

.vg-record-header-image img {
    position: absolute;
    width: auto;
    height: auto;
    filter: brightness(0.7);
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) calc(100% - 200px),
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) calc(100% - 200px),
        rgba(0, 0, 0, 0) 100%
    );
}

.vg-record-name {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 20px;
    padding: 10px;
    border-radius: 5px;
    z-index: 30;
    color: white;
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        -2px 0 0 #000,
        2px 0 0 #000,
        0 -2px 0 #000,
        0 2px 0 #000;
    font-size: 2em;
    font-weight: bold;
}

.vg-record-dates {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 20px;
    padding: 10px;
    border-radius: 5px;
    z-index: 30;
    color: white;
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        -2px 0 0 #000,
        2px 0 0 #000,
        0 -2px 0 #000,
        0 2px 0 #000;
    text-align: right;
}

.vg-record-dates h3 {
    margin: 0;
    padding: 0;
}

.vg-record-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
    z-index: 25;
}

.vg-carousel-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: both mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.vg-carousel-container::-webkit-scrollbar {
    display: none;
}

.vg-carousel-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.vg-card-item {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background-color: white;
}

.vg-card-item:nth-child(even) {
    flex-direction: row-reverse;
}

.vg-card-photo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.vg-card-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.1);
    z-index: 0;
}

.vg-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    position: relative;
    z-index: 1;
}

.vg-card-story {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    overflow-y: auto;
}

.vg-card-story h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.vg-card-story p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #666;
}

.vg-scroll-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 200;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.vg-scroll-indicator span {
    color: #333;
    font-size: 0.75em;
    font-weight: 500;
}

.vg-scroll-arrow {
    width: 16px;
    height: 16px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(-45deg);
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
    .vg-record-header {
        height: 250px;
    }
    
    .vg-record-name {
        top: 0;
        bottom: auto;
        left: 0;
        margin: 15px;
        padding: 8px;
        font-size: 1.5em;
    }
    
    .vg-record-name h1 {
        font-size: 1em;
        margin: 0;
    }
    
    .vg-record-dates {
        margin: 15px;
        padding: 8px;
    }
    
    .vg-record-dates h3 {
        font-size: 0.9em;
        margin: 0;
    }
    
    .vg-card-item {
        flex-direction: column !important;
        height: 100%;
    }
    
    .vg-card-photo {
        flex: 0 0 50%;
        max-height: 50%;
        width: 100%;
    }
    
    .vg-card-story {
        flex: 0 0 50%;
        padding: 15px;
        overflow-y: auto;
    }
    
    .vg-card-story h3 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    
    .vg-card-story p {
        font-size: 1em;
        line-height: 1.5;
    }
    
    .vg-scroll-indicator {
        bottom: 20px;
        right: 20px;
        padding: 8px 12px;
    }
    
    .vg-scroll-indicator span {
        font-size: 0.7em;
    }
    
    .vg-scroll-arrow {
        width: 12px;
        height: 12px;
    }
}

@media screen and (max-width: 480px) {
    .vg-record-header {
        height: 200px;
    }
    
    .vg-record-name {
        margin: 10px;
        padding: 6px;
        font-size: 1.2em;
    }
    
    .vg-record-dates {
        margin: 10px;
        padding: 6px;
    }
    
    .vg-record-dates h3 {
        font-size: 0.8em;
    }
    
    .vg-card-story {
        padding: 12px;
    }
    
    .vg-card-story h3 {
        font-size: 1.3em;
        margin-bottom: 10px;
    }
    
    .vg-card-story p {
        font-size: 0.95em;
    }
}

/* Navbar styles */
nav {
    background-color: #87CEEB !important; /* Sky blue color */
}

/* Search field styles */
depr_nav .input-field {
    height: 90% !important;
}

depr_nav .input-field input[type=search] {
    display: block !important;
    background-color: white !important;
    border-radius: 1.5em !important;
    padding: 3px;
    font-weight: bold !important;
    color: #333 !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}


/* Mobile-specific adjustments for index page */
@media screen and (max-width: 768px) {
    .vg-index-section-content {
        max-width: 95%;
    }
    
    .vg-index-section {
        padding: clamp(15px, 4vw, 30px);
    }
    
    .vg-index-text-title {
        font-size: clamp(1.2rem, 6vw, 2.5rem);
    }
    
    .vg-index-section h2 {
        font-size: clamp(1rem, 4vw, 1.8rem);
    }
}

@media screen and (max-width: 480px) {
    .vg-index-section-content {
        max-width: 98%;
    }
    
    .vg-index-section {
        padding: clamp(10px, 3vw, 20px);
    }
    
    .vg-index-text-title {
        font-size: clamp(1rem, 7vw, 2rem);
        line-height: 1.3;
    }
    
    .vg-index-section h2 {
        font-size: clamp(0.9rem, 4.5vw, 1.5rem);
        margin-bottom: 15px;
    }
    
    .vg-index-section p {
        font-size: clamp(0.85rem, 3.5vw, 1.1rem);
    }
}

/* Sticky Footer Styles */
.vg-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #ffd54f 0%, #ffb300 100%);
    border-top: 3px solid #ff8f00;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 0;
    margin: 0;
}

.vg-footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    gap: 12px;
}

.vg-footer-icon {
    flex-shrink: 0;
    font-size: 24px;
    color: #f57c00;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.vg-footer-text {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .vg-footer-content {
        padding: 10px 15px;
        gap: 10px;
    }
    
    .vg-footer-icon {
        font-size: 20px;
    }
    
    .vg-footer-text {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .vg-footer-content {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .vg-footer-icon {
        font-size: 18px;
    }
    
    .vg-footer-text {
        font-size: 12px;
    }
}

/* Orientation-based visibility classes */
/* Landscape orientation */
@media (orientation: landscape) {
    .vg-portrait {
        display: none !important;
    }
    .vg-landscape {
        display: block;
    }
}

/* Portrait orientation */
@media (orientation: portrait) {
    .vg-landscape {
        display: none !important;
    }
    .vg-portrait {
        display: block;
    }
}

/* Disabled state for heading image container */
.vg-heading-image-container.disabled {
    pointer-events: none;
    opacity: 0.8;
    cursor: not-allowed;
}
