/* UCL Header & Footer Styles - Final Version Based on Actual UCL Website */
/* Updated: Primary logo 20% smaller, hamburger menu visible on right all devices */

/* ========================================
   CSS Variables - Actual UCL Brand Colors
   ======================================== */
:root {
    /* Footer background from actual UCL site: rgb(54, 26, 84) */
    --ucl-footer-purple: #361A54;
    /* Dark purple for header/accents */
    --ucl-purple: #500778;
    --ucl-dark-purple: #3D0058;
    /* White */
    --ucl-white: #FFFFFF;
    /* Greys */
    --ucl-grey: #4A4A4A;
    --ucl-light-grey: #F5F5F5;
}

/* ========================================
   Skip Link & Accessibility
   ======================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--ucl-purple);
    color: var(--ucl-white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

.sr-only,
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ========================================
   Hamburger Menu Button - Fixed Top Right
   ======================================== */
.hamburger-menu-toggle {
    position: fixed;
    top: 20px;
    right: 64px;
    z-index: 100003; /* Above slide-out menu */
    width: 48px;
    height: 48px;
    padding: 12px;
    background: rgba(80, 7, 120, 0.95); /* UCL purple */
    border: 2px solid var(--ucl-white);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hamburger-menu-toggle:hover {
    background: rgba(80, 7, 120, 1);
    transform: scale(1.05);
}

.hamburger-menu-toggle:focus {
    outline: 2px solid var(--ucl-white);
    outline-offset: 2px;
}

/* Hamburger icon - three lines */
.hamburger-icon {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ucl-white);
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Animate to X when menu is open */
.hamburger-menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   Menu Overlay - Dark Background
   ======================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   Slide-Out Menu Panel
   ======================================== */
.slide-out-menu {
    position: fixed;
    top: 0;
    right: -400px; /* Hidden off-screen */
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: var(--ucl-footer-purple);
    z-index: 100002;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

.slide-out-menu.is-open {
    right: 0;
}

.slide-out-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-out-menu__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ucl-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-out-menu__close {
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ucl-white);
    transition: all 0.2s ease;
}

.slide-out-menu__close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--ucl-white);
}

.slide-out-menu__close:focus {
    outline: 2px solid var(--ucl-white);
    outline-offset: 2px;
}

.slide-out-menu__content {
    padding: 24px;
}

/* Menu List Styles */
.slide-out-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.slide-out-menu__list li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-out-menu__list li:last-child {
    border-bottom: none;
}

.slide-out-menu__list a {
    display: block;
    padding: 16px 0;
    color: var(--ucl-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.slide-out-menu__list a:hover {
    color: #BA8EE6; /* Light purple */
    padding-left: 8px;
}

/* Sub-menu styles */
.slide-out-menu__list .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 16px;
}

.slide-out-menu__list .sub-menu li {
    border-bottom: none;
}

.slide-out-menu__list .sub-menu a {
    font-size: 14px;
    font-weight: 400;
    padding: 10px 0;
    opacity: 0.85;
}

.slide-out-menu__list .sub-menu a:hover {
    opacity: 1;
}

/* ========================================
   Header Styles - Logo stays same size until scroll
   ======================================== */
.site-header {
    background-color: var(--ucl-white);
    border-bottom: 1px solid #E0E0E0;
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    width: 100%; /* Full width instead of max-width */
    margin: 0;
    padding: 20px 64px; /* UCL uses 64px left/right padding */
    box-sizing: border-box;
}

/* Logo Styles - PRIMARY LOGO 20% SMALLER */
.site-branding {
    flex-shrink: 0;
}

.ucl-logo {
    display: block;
}

.logo-img {
    height: 68px; /* Was 85px - now 20% smaller */
    width: auto;
}

/* Header disappears when scrolled */
.site-header.scrolled {
    position: absolute;
    top: -200px;
    opacity: 0;
    pointer-events: none;
}

/* ========================================
   Secondary Header - "UCL Graduation Ceremonies" with Small Logo
   ======================================== */
.secondary-header {
    background-color: var(--ucl-white);
    border-top: 0.5px solid #E0E0E0; /* Thinner border - was 1px */
    border-bottom: 0.5px solid #E0E0E0; /* Thinner border - was 1px */
    position: relative; /* Start as relative */
    z-index: 99999; /* Very high z-index to stay on top */
    transition: all 0.3s ease;
    width: 100%;
}

/* When scrolled, switch to FIXED positioning to ensure it stays visible */
.secondary-header.scrolled {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Add shadow when fixed */
}

.secondary-header__container {
    width: 100%; /* Full width instead of max-width */
    margin: 0;
    padding: 16px 64px; /* Matched to UCL200 */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Small logo - hidden initially with 0 width, expands when scrolled */
.secondary-header__logo {
    width: 0;
    height: 0;
    overflow: hidden;
    transition: width 0.3s ease, height 0.3s ease;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.secondary-header__logo a {
    display: block;
    line-height: 0;
}

.secondary-logo-img {
    height: 36.45px !important; /* Exact UCL200 value */
    width: auto;
    display: block;
}

/* When scrolled, expand the logo container to show the logo */
.secondary-header.scrolled .secondary-header__logo {
    width: 130px; /* Correct width for 36px height at 1394:391 aspect ratio */
    height: 36.45px;
}

.secondary-header__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--ucl-purple);
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* ========================================
   Video Hero Section
   ======================================== */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    background-color: #000;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Video Toggle Button - UCL Style */
.video-toggle {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(54, 26, 84, 0.8);
    border: 2px solid var(--ucl-white);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.video-toggle:hover {
    background: rgba(54, 26, 84, 0.95);
    transform: scale(1.05);
}

.video-toggle svg {
    pointer-events: none;
}

/* Video Overlay - For Content on Top of Video */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ucl-white);
    text-align: center;
    padding: 40px;
    background: linear-gradient(180deg, rgba(54, 26, 84, 0.3) 0%, rgba(54, 26, 84, 0.7) 100%);
}

.video-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.video-content p {
    font-size: 20px;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* ========================================
   Main Content
   ======================================== */
#main-content,
.site-content {
    min-height: 50vh;
    padding-left: 64px; /* Align with header/logo */
    padding-right: 64px;
    padding-top: 20px;
    box-sizing: border-box;
}

/* ========================================
   Highlights Section (Lighter Purple Band)
   ======================================== */
.highlights-section {
    background-color: #40176D !important; /* Exact UCL purple - force this color */
    padding: 60px 0;
    margin-bottom: 0; /* NO white bar between highlights and footer */
}

.highlights-container {
    width: 100%; /* Full width instead of max-width */
    margin: 0;
    padding: 0 64px; /* UCL uses 64px left/right padding */
    box-sizing: border-box;
}

/* Layout: Heading LEFT, Cards RIGHT */
.highlights-layout {
    display: grid;
    grid-template-columns: 280px 1fr; /* Increased from 240px to 280px to definitely prevent wrapping */
    gap: 40px;
    align-items: start;
}

.highlights-heading {
    font-size: 48px;
    font-weight: 700;
    color: var(--ucl-white);
    margin: 0;
    line-height: 1.2;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px; /* Reduced from 30px to make images smaller */
}

.highlight-card {
    background-color: transparent;
    color: var(--ucl-white);
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
    max-width: 100%; /* Prevent cards from being too wide */
}

.highlight-card:hover {
    transform: translateY(-4px);
}

.highlight-image {
    width: 100%;
    aspect-ratio: 14 / 9; /* Changed from 16/9 to 14/9 for narrower images */
    height: auto;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
}

.highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Zoom effect on hover */
.highlight-card:hover .highlight-image img {
    transform: scale(1.05);
}

.highlight-content {
    padding: 0;
}

/* CYAN label - matching UCL site */
.highlight-label {
    display: block;
    font-size: 14px; /* Increased from 12px */
    font-weight: 900; /* Changed from 700 to 900 for extra bold */
    text-transform: uppercase;
    letter-spacing: 0.5px; /* Reduced from 1.5px for tighter, more condensed look */
    color: #00BCD4; /* Cyan color from UCL site */
    margin-bottom: 8px;
}

.highlight-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--ucl-white);
    margin: 0 0 12px 0;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

/* Underline appears on hover */
.highlight-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--ucl-white);
    transition: width 0.3s ease;
}

.highlight-card:hover .highlight-title::after {
    width: 100%;
}

.highlight-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ucl-white);
    margin: 0;
    opacity: 0.9;
}

/* ========================================
   Footer Styles - Exact UCL Dark Purple Section
   ======================================== */
.footer {
    background-color: var(--ucl-footer-purple);
    color: var(--ucl-white);
    padding: 50px 0 30px;
    margin-top: 0; /* NO white bar between highlights and footer */
}

.footer__container {
    width: 100%; /* Full width instead of max-width */
    margin: 0;
    padding: 0 64px; /* UCL uses 64px left/right padding */
    box-sizing: border-box;
}

/* Footer Menu Columns - MAIN ROW: 3 columns LEFT + Logo/Contact/Social RIGHT */
.footer__main-row {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 320px); /* Give more space to left, fixed smaller width for right */
    gap: 60px; /* Reduced from 100px */
    margin-bottom: 40px;
    padding-bottom: 40px;
    /* Removed border-bottom - no line above Back to top */
}

/* LEFT SIDE: 3 Columns */
.footer__menu-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* Reduced from 60px for tighter spacing between VISIT/STUDENTS/STAFF */
    max-width: 700px; /* Limit left side width to push right side further right */
}

.footer__column {
    margin: 0;
}

.footer__heading {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
    color: var(--ucl-white);
}

.footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__menu li {
    margin-bottom: 12px;
}

.footer__menu a {
    color: var(--ucl-white);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.6;
    transition: opacity 0.2s ease;
}

.footer__menu a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* RIGHT SIDE: Logo, Address, Phone, Social Icons */
.footer__info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start; /* Changed from flex-end to flex-start for left alignment */
    min-width: 320px;
}

.footer__logo-img {
    height: 36px; /* Reduced from 60px to 60% of size */
    width: auto;
    filter: brightness(0) invert(1);
}

.footer__contact {
    text-align: left; /* Changed from right to left */
}

.footer__contact p {
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ucl-white);
}

/* Social Icons in 2 Rows: 5 on first row, 3 on second row */
.footer__social-section {
    margin-top: 10px;
}

.footer__social-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 40px); /* Changed from 4 to 5 columns */
    gap: 12px;
    justify-content: start; /* Changed from end to start for left alignment */
}

.footer__social-menu a {
    color: var(--ucl-white);
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(138, 72, 186, 0.6); /* Thin purple border instead of white */
    border-radius: 4px;
}

.footer__social-menu a:hover {
    opacity: 0.7;
    border-color: rgba(138, 72, 186, 1); /* Brighter purple on hover */
}

/* Back to Top Link */
/* Back to Top Link - ABOVE the bottom border */
.footer__back-to-top {
    text-align: right;
    margin-bottom: 20px;
    padding-bottom: 30px;
    border-bottom: 6px solid #A965FE; /* Thick light purple border - exact UCL color */
}

.back-to-top-link {
    color: var(--ucl-white);
    text-decoration: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s ease;
}

.back-to-top-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Footer Bottom Section - Legal & Copyright (BELOW the line) */
.footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
    padding-top: 30px; /* Add padding above since border moved to back-to-top */
}

.footer__legal-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__legal-menu li {
    margin: 0;
}

.footer__legal-menu a {
    color: #BA8EE6; /* Light purple for legal links */
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.footer__legal-menu a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer__copyright {
    text-align: right;
}

.footer__copyright p {
    margin: 0;
    font-size: 14px;
    color: var(--ucl-white);
    opacity: 0.9;
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
    .hamburger-menu-toggle {
        right: 32px;
        top: 16px;
    }

    .header-container {
        padding: 16px 32px; /* Reduced to 32px for tablet */
    }

    .logo-img {
        height: 56px; /* Was 70px - now 20% smaller */
    }

    .secondary-header__container {
        padding: 12px 32px; /* Matched to UCL200 */
    }

    .secondary-header__title {
        font-size: 24px;
    }

    .secondary-logo-img {
        height: 30.6px !important; /* Exact UCL200 value */
    }

    .secondary-header.scrolled .secondary-header__logo {
        width: 109px; /* Correct width for aspect ratio */
        height: 30.6px;
    }

    .site-content {
        padding-left: 32px;
        padding-right: 32px;
    }

    .hero-video-section {
        height: 50vh;
        min-height: 350px;
    }

    .highlights-container {
        padding: 0 32px; /* Reduced to 32px for tablet */
    }

    .highlights-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .highlights-heading {
        font-size: 40px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__container {
        padding: 0 32px; /* Reduced to 32px for tablet */
    }

    .footer__main-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__menu-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer__info-container {
        align-items: flex-start;
    }

    .footer__contact {
        text-align: left;
    }

    .footer__social-menu {
        justify-content: start;
    }

    .footer__bottom {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer__copyright {
        text-align: left;
    }

    .back-to-top-link {
        justify-content: flex-start;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hamburger-menu-toggle {
        right: 16px;
        top: 12px;
        width: 44px;
        height: 44px;
    }

    .slide-out-menu {
        width: 320px;
    }

    .header-container {
        padding: 12px 16px; /* 16px for mobile */
    }

    .logo-img {
        height: 48px; /* Was 60px - now 20% smaller */
    }

    .secondary-header__container {
        padding: 10px 16px; /* Matched to UCL200 */
    }

    .secondary-header__title {
        font-size: 18px;
    }

    .secondary-logo-img {
        height: 26.55px !important; /* Exact UCL200 value */
    }

    .secondary-header.scrolled .secondary-header__logo {
        width: 95px; /* Correct width for aspect ratio */
        height: 26.55px;
    }

    .site-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-video-section {
        height: 40vh;
        min-height: 280px;
    }

    .video-toggle {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
    }

    .video-toggle svg {
        width: 20px;
        height: 20px;
    }

    .video-content h1 {
        font-size: 32px;
    }

    .video-content p {
        font-size: 16px;
    }

    .highlights-section {
        padding: 40px 0;
    }

    .highlights-container {
        padding: 0 16px; /* 16px for mobile */
    }

    .highlights-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .highlights-heading {
        font-size: 32px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .highlight-image {
        aspect-ratio: 14 / 9; /* Force 14:9 aspect ratio (narrower than 16:9) */
        height: auto;
        width: 100%;
        max-width: 100%; /* Use full width on mobile */
        margin: 0 0 20px 0; /* Remove auto centering */
    }

    .highlight-title {
        font-size: 20px;
    }

    .footer {
        padding: 40px 0 20px;
        margin-top: 0;
    }

    .footer__container {
        padding: 0 16px; /* 16px for mobile */
    }

    .footer__main-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .footer__menu-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__info-container {
        align-items: flex-start;
        min-width: auto;
    }

    .footer__logo-img {
        height: 30px; /* Reduced from 50px to match desktop 60% reduction */
    }

    .footer__contact {
        text-align: left;
    }

    .footer__social-menu {
        grid-template-columns: repeat(5, 36px); /* Changed from 4 to 5 columns */
        gap: 10px;
        justify-content: start;
    }

    .footer__social-menu a {
        width: 36px;
        height: 36px;
        border: 1px solid rgba(138, 72, 186, 0.6); /* Thin purple border */
    }

    .footer__social-menu svg {
        width: 20px;
        height: 20px;
    }

    .footer__legal-menu {
        flex-direction: column;
        gap: 12px;
    }

    .footer__back-to-top {
        text-align: left;
        margin-bottom: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hamburger-menu-toggle {
        right: 12px;
        top: 10px;
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    .hamburger-icon {
        width: 20px;
        height: 14px;
    }

    .hamburger-menu-toggle.is-active .hamburger-line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger-menu-toggle.is-active .hamburger-line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .slide-out-menu {
        width: 280px;
    }

    .logo-img {
        height: 40px; /* Was 50px - now 20% smaller */
    }

    .site-header.scrolled .logo-img {
        height: 32px; /* Was 40px - now 20% smaller */
    }

    .hero-video-section {
        height: 35vh;
        min-height: 240px;
    }
}

/* ============================================
   VLOG THEME OVERRIDES - Hide Old Elements
   ============================================ */

/* Widgets & Buttons */
.widget .mks_button.mks_button_small {
    margin: 0;
    width: 100%;
}

/* Content Layout */
.vlog-content {
    width: 100%;
}

.vlog-site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Add space above page titles on inner pages */
.entry-title,
.page-title,
.vlog-page-header,
h1.entry-title {
    margin-top: 40px;
}

/* Single Post Customization */
.post .vlog-single-cover {
    display: none !important;
}

.post .vlog-related-wrapper,
.vlog-author-box {
    display: none !important;
}

.vlog-single-content .entry-meta,
.vlog-single-entry-image,
.entry-headline.h4 {
    display: none !important;
}

/* Call to Action Button */
.callToActionBtn a {
    font-size: inherit !important;
}

/* Hide Old Theme Header/Navigation Elements */
.vlog-top-bar {
    display: none !important;
}

.vlog-main-navigation {
    display: none !important;
}

/* Hide the old Vlog header completely */
#header.vlog-site-header {
    display: none !important;
}

/* Hide Vlog responsive header completely - we have our own hamburger */
.vlog-responsive-header {
    display: none !important;
}

/* Hide site branding in responsive header */
.vlog-responsive-header .vlog-site-branding {
    display: none !important;
}

/* Hide Vlog hamburger elements */
.vlog-responsive-header .vlog-responsive-actions {
    display: none !important;
}

.dl-menuwrapper {
    display: none !important;
}

.vlog-action-toggle,
.vlog-hamburger,
.mobile-menu-toggle {
    display: none !important;
}

/* Remove Vlog theme container padding that's adding extra left margin */
.vlog-content .container,
.container,
.vlog-site-content,
body .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}

/* Ensure no Vlog elements have higher z-index than secondary header */
.vlog-site-content,
.vlog-content,
#main,
.site-content,
article,
.entry-content {
    position: relative;
    z-index: 1 !important;
}

/* Force secondary header to stay on top with fixed positioning when scrolled */
.secondary-header.scrolled {
    position: fixed !important;
    z-index: 99999 !important;
}
