@charset "UTF-8";

/* ========================================
   CSS CUSTOM PROPERTIES & ROOT STYLES
======================================== */
:root {
    --wp--style--global--content-size: 100% !important;
    --sticky-dots-height: 300px;
}

/* ========================================
   BASE STYLES
======================================== */
body {
    font-family: var(--font-family--default);
    font-size: var(--wp--preset--font-size--medium);
    font-optical-sizing: auto;
    line-height: var(--wp--custom--typography--line-height);
}

::selection {
    background-color: var(--wp--custom--color--selection);
    color: #FFF;
}

/* Links */
a {
    color: var(--wp--preset--color--link);
}

a:hover {
    color: var(--wp--preset--color--link);
}

/* Typography */
h1 {
    font-size: var(--font-size--h1);
}

h2 {
    font-size: var(--font-size--h2);
}

h3 {
    font-size: var(--font-size--h3);
}

h4 {
    font-size: var(--font-size--h4);
}

h5 {
    font-size: var(--font-size--h5);
}

h6 {
    font-size: var(--font-size--h6);
}

/* ========================================
   HEADER & NAVIGATION
======================================== */

/* Main Header */
header {
    background-color: var(--header--background-colour);
    display: flex;
    flex-direction: column;
    height: var(--header--height);
}

header.fixed-top,
header.sticky {
    position: absolute;
    width: 100vw;
    z-index: 9999;
}

header.fixed-top + main,
header.sticky + main {
    padding-top: var(--header--height);
}

header.stuck {
    background-color: var(--header--background-colour);
    left: 0;
    position: fixed;
    right: 0;
    top: 0 !important;
    transition: top 0.5s ease;
    z-index: 1030;
}

header > * {
    width: 100%;
}

/* Sub Navigation */
.navigation--sub {
    background-color: var(--wp--preset--color--light-grey);
    display: flex;
    height: var(--header--sub-nav--height);
    min-height: var(--header--sub-nav--height);
}

.navigation--sub .container {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    padding-top: 0.75rem;
}

.navigation--sub .container > *:first-child {
    flex: 1;
}

.navigation--sub .wp-block-button__link {
    font-weight: var(--font-weight--bold);
}

.navigation--sub--time-to-congress {
    align-items: center;
    display: flex;
    font-weight: var(--font-weight--semi-bold);
}

/* Desktop Navigation - Mobile First */
.navigation--main--d > .container {
    align-items: center;
    display: flex;
    min-height: calc(var(--header--height) - var(--header--sub-nav--height));
}

.navigation--main--d--brand {
    margin-right: 15px;
}

.navigation--main--d--brand img {
    height: auto;
    width: 110px; /* Mobile default */
}

.navigation--main--d--nav {
    list-style: none;
    display: none; /* Hidden on mobile by default */
    margin: 0;
    margin-left: auto;
    padding-left: 0;
}

.navigation--main--d--nav--item {
    padding: 0 1rem;
}

.navigation--main--d--nav--item:first-child {
    padding-left: 0;
}

.navigation--main--d--nav--item:last-child {
    padding-right: 0;
}

.navigation--main--d--nav--item--link,
.navigation--main--d--nav--item--dropdown-menu--item--link {
    font-size: var(--wp--preset--font-size--medium);
    text-decoration: none;
}

.navigation--main--d--nav--item--link {
    align-items: center;
    color: var(--navbar--item--colour) !important;
    display: flex;
    height: 100%;
    line-height: 1.3;
    text-decoration: none;
}
.navigation--main--d--nav--item--link svg {
    display: inline-block;
    margin-left: 5px;
}

.navigation--main--d--nav--item--dropdown-menu--item--link {
    color: var(--navbar--dropdown--item--colour) !important;
}

.navigation--main--d--nav--item--link.active,
.navigation--main--d--nav--item--dropdown-menu--item--link.active {
    font-weight: var(--font-weight--bold);
}

.navigation--main--d--nav--item--dropdown {
    position: static;
}

.navigation--main--d--nav--item--dropdown > .navigation--main--d--nav--item--link > *:last-child {
    margin-left: 5px;
}

.navigation--main--d--nav--item--dropdown-menu {
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
    display: none;
    left: 0;
    padding-top: calc((var(--header--height) - var(--header--sub-nav--height) - (var(--wp--preset--font-size--medium) * 1.3)) / 2);
    position: absolute;
    width: 100vw;
}

.navigation--main--d--nav--item--dropdown-menu.show {
    display: block;
}

.navigation--main--d--nav--item--dropdown-menu--inner {
    background-color: var(--wp--preset--color--light-grey);
    background-image: url(../images/dots-dark.svg);
    background-position: right;
    background-repeat: repeat-y;
    padding-bottom: 3rem;
    padding-top: 3rem;
}

.navigation--main--d--nav--item--dropdown-menu--inner--nav {
    display: grid;
    font-size: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    padding-left: 0;
    row-gap: 2.25rem;
}

/* Mobile Navigation Buttons - Mobile First */
.navigation--main--m--buttons {
    align-items: center;
    display: flex; /* Show by default on mobile */
    gap: 0.5rem;
    margin-left: auto;
}

.navigation--main--m--button {
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: 0;
}

.navigation--main--m--button img {
    height: 24px;
    width: 24px;
}

/* Mobile Menu */
.navigation--main--m {
    -webkit-overflow-scrolling: touch;
    background-color: var(--wp--preset--color--light-grey);
    display: none;
    height: auto;
    left: 0;
    max-height: calc(100vh - var(--header--height));
    overflow-y: scroll;
    position: absolute;
    top: var(--header--height);
    width: 100%;
    z-index: 1000;
}

/* Mobile Menu Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navigation--main--m.fade-in {
    animation: fadeInDown 0.3s ease forwards;
    display: block;
}

.navigation--main--m .container {
    padding: 2rem 1rem;
}

.navigation--main--m--nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navigation--main--m--nav--item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.navigation--main--m--nav--item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.navigation--main--m--nav--item--link {
    color: var(--navbar--item--colour) !important;
    display: block;
    font-size: var(--wp--preset--font-size--medium);
    font-weight: var(--font-weight--semi-bold);
    text-decoration: none;
}

.navigation--main--m--nav--item--link.active {
    font-weight: var(--font-weight--bold);
}

.navigation--main--m--nav--item--children {
    list-style: none;
    margin: 1rem 0 0 0;
    padding: 0 0 0 1.5rem;
}

.navigation--main--m--nav--item--children--item {
    margin-bottom: 0.75rem;
}

.navigation--main--m--nav--item--children--item:last-child {
    margin-bottom: 0;
}

.navigation--main--m--nav--item--children--item--link {
    color: var(--navbar--item--colour) !important;
    display: block;
    font-size: var(--wp--preset--font-size--small);
    text-decoration: none;
}

.navigation--main--m--nav--item--children--item--link.active {
    font-weight: var(--font-weight--bold);
}

/* Hamburger Menu Animation */
.navigation--main--m--button--hamburger {
    background: none !important;
    border: none;
    box-shadow: none !important;
    color: var(--wp--preset--color--eao-red);
    outline: none;
}

.navigation--main--m--button--hamburger:focus {
    outline: none;
    box-shadow: none !important;
}

.navigation--main--m--button--hamburger:hover {
    background: none !important;
    box-shadow: none !important;
}

.navigation--main--m--button--hamburger .line-top,
.navigation--main--m--button--hamburger .line-bottom {
    transition: transform 0.3s ease;
    transform-origin: 15px center;
}

.navigation--main--m--button--hamburger.active .line-top {
    transform: translateY(5px) rotate(45deg);
}

.navigation--main--m--button--hamburger.active .line-bottom {
    transform: translateY(-7px) rotate(-45deg);
}

.navigation--main--m--button--hamburger.active img {
    opacity: 0.7;
}

/* Navigation Button Styling */
.navigation .wp-block-button__link {
    font-size: 14px;
    padding: 0.25rem 0.75rem;
}

/* Header Basket */
.header__navbar__basket {
    margin-right: 0;
    margin-left: auto;
}

.header__navbar__basket a {
    color: var(--wp--preset--color--eao-red);
    font-size: 1.2rem;
}

.header__navbar__basket__hidden {
    display: none;
}

/* Body Menu State */
body.menu-open {
    height: 100%;
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* ========================================
   UTILITY COMPONENTS
======================================== */

/* Sticky Dots Background */
.has-sticky-dark-dots-background {
    position: relative;
}

.sticky-dots-bg {
    height: var(--sticky-dots-height);
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

.sticky-dots-bg--inner {
    background-image: url(../images/dots-dark.svg);
    background-repeat: repeat;
    height: 100%;
    width: 100%;
}

/* Time to Congress Widget */
.eao-widget--time-to-congress {
    display: flex;
    margin: 0;
}

.eao-widget--time-to-congress > * {
    align-items: center;
    display: flex;
    font-size: 40px;
    flex-direction: column;
    justify-content: center;
}

.eao-widget--time-to-congress > * > *:first-child {
    color: #A5A5A5;
    font-weight: bold;
}

.eao-widget--time-to-congress > * > *:nth-child(2) {
    font-size: 0.3em;
    margin-right: 1em;
    text-align: center;
}

/* Ticker */
.ticker {
    background-color: var(--wp--preset--color--eao-red);
    color: #FFF;
    overflow: hidden;
    padding: 0.5rem 0;
    position: relative;
    width: 100%;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
}

.ticker-content.paused {
    animation-play-state: paused;
}

.ticker-content > * {
    flex-shrink: 0;
    padding: 0 1rem;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Counters */
.eao--counter {
    font-size: 3rem;
    font-weight: var(--font-weight--bold);
}

/* ========================================
   UI COMPONENTS
======================================== */

/* Accordions */
.pb--accordion--item {
    margin-top: 0;
}

.pb--accordion--item--heading {
    position: relative;
}

.pb--accordion--item--heading:hover {
    cursor: pointer;
}

.pb--accordion--item--heading::after {
    border-bottom: 1px solid #4a6e78;
    border-right: 1px solid #4a6e78;
    content: " ";
    height: 12px;
    right: 10px;
    position: absolute;
    top: calc(50% - 6px);
    width: 12px;
    transform: rotate(-45deg);
    transition: all 0.2s ease-in-out;
}

.pb--accordion--item.active .pb--accordion--item--heading::after {
    transform: rotate(45deg);
    transition: all 0.2s ease-in-out;
}

.pb--accordion--item--heading > :is(h1, h2, h3, h4, h5, h6) {
    line-height: 2;
    margin-bottom: 0;
    padding-right: 4rem;
}

.pb--accordion--item--content {
    margin-top: 0;
    padding-bottom: 30px;
    padding-top: 10px;
}

.pb--accordion--item:not(.active) .pb--accordion--item--content {
    display: none;
}

/* Swiper */
.swiper {
    margin-bottom: 2rem;
    position: relative;
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    height: auto;
}

.swiper--button-prev,
.swiper--button-next {
    background-color: var(--wp--preset--color--eao-red);
    border-radius: 50%;
    color: #FFF;
    cursor: pointer;
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    z-index: 10;
}
.swiper--button-prev > img,
.swiper--button-next > img {
    display: none;
}

.swiper--button-prev {
    left: 10px;
}

.swiper--button-next {
    right: 10px;
}

.swiper--button-prev::after,
.swiper--button-next::after {
    align-items: center;
    display: flex;
    font-size: 1.5rem;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.swiper--button-prev::after {
    content: "<";
}

.swiper--button-next::after {
    content: ">";
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--footer--background-colour);
    color: var(--footer--colour);
    padding-bottom: 6rem;
    padding-top: 6rem;
}

.footer a {
    color: var(--wp--preset--color--black) !important;
    text-decoration: none;
}

.footer--navigation {
    list-style: none;
    padding-left: 0;
    margin-bottom: 3rem;
}

.footer--navigation > li {
    margin-bottom: 12px;
}

.footer--navigation > li:first-child {
    font-weight: bold;
}

.footer--navigation > li:last-child {
    margin-bottom: 0;
}

.footer--socials {
    align-items: center;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding-left: 0;
}

.footer--socials li a {
    align-items: center;
    border: 1px solid var(--wp--preset--color--eao-red);
    border-radius: 999px;
    display: flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.footer--socials i {
    color: var(--wp--preset--color--eao-red) !important;
    font-size: 18px;
}

.footer--legals a {
    display: inline-block;
    font-size: 13px;
    text-decoration: underline;
}

.footer--legals a:not(:last-child)::after {
    content: '|';
    margin-left: 8px;
    margin-right: 3px;
}
/* ========================================
   FORMS & BUTTONS
======================================== */

/* General Button Styling */
button, 
input[type="submit"] {
    background-color: var(--wp--preset--color--eao-red);
    border: none;
    border-radius: 999px;
    color: var(--wp--preset--color--white);
    font-family: var(--font-family--default);
    font-size: 14px;
    font-weight: var(--font-weight--bold);
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

button:not(:disabled):hover, 
input[type="submit"]:hover {
    background: var(--wp--preset--color--eao-red); 
    box-shadow: 0 0 0 2px white, 0 0 0 calc(2px + 2px) var(--wp--preset--color--eao-red);
    color: var(--wp--preset--color--white) !important; 
    text-decoration: none !important;
}

button:disabled, 
a:not([href]), 
input[type="submit"]:disabled {
    background-color: #E4E6E7;
    color: #5F6265;
}

a:not([href]):hover {
    box-shadow: none;
    color: #5F6265 !important;
    cursor: default;
}

/* Required Field Indicators */
.form-group.required label::after {
    content: " *";
    color: var(--wp--preset--color--eao-red);
    font-weight: bold;
}

/* Gravity Forms Styling */
.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), 
.gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), 
.gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), 
.gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), 
.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), 
.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), 
.gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    background-color: var(--wp--preset--color--eao-red) !important;
    border: none;
    border-radius: 999px !important;
    color: var(--wp--preset--color--white);
    font-family: var(--font-family--default);
    font-size: 14px;
    font-weight: var(--font-weight--bold);
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    background: #F9F9FB !important;
}

#gform_submit_button_5 {
    box-sizing: border-box;
    height: 50px;
    padding: 15px;
    width: 80px;
}

.has-blue-to-blue-gradient-background .gform_confirmation_message {
    color: #FFF;
}

.has-text-align-center--children > * {
    text-align: center;
}

/* ========================================
   EAO CHANNEL COMPONENTS - MOBILE FIRST
======================================== */

/* Channel Dashboard */
.eao-channel-dashboard .channel-item {
    border-radius: 5px;
    overflow: hidden;
}

.eao-channel-dashboard .channel-item-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.eao-channel-dashboard .channel-item-link:hover {
    text-decoration: none;
    color: inherit;
}

.eao-channel-dashboard .channel-item-link * {
    color: inherit !important;
}

.eao-channel-dashboard .channel-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #f5f5f5;
}

.eao-channel-dashboard .channel-thumbnail img {
    object-fit: cover;
}

.eao-channel-dashboard .channel-title {
    color: #000 !important;
    margin-bottom: 0.25rem !important;
    margin-top: 0.25rem !important;
}

.eao-channel-dashboard .channel-content {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    color: #000;
}

.eao-channel-dashboard .channel-meta {
    margin-bottom: 0.5rem;
}

.eao-channel-dashboard .channel-meta small {
    color: #6c757d !important;
}

.eao-channel-dashboard .channel-excerpt {
    margin-bottom: 0.5rem;
    color: #6c757d !important;
}

.eao-channel-dashboard .channel-details {
    margin-bottom: 0.5rem;
}

.eao-channel-dashboard .channel-details small {
    color: #6c757d !important;
}

.eao-channel-dashboard .channel-watch-link {
    color: var(--wp--preset--color--eao-red) !important;
    margin-top: auto;
    padding-top: 0.75rem;
}

.eao-channel-dashboard .filter-form {
    width: auto;
    margin-top: 1rem; /* Mobile default */
    justify-content: flex-start !important; /* Mobile default */
}

.eao-channel-dashboard .filter-button {
    background-color: var(--wp--preset--color--eao-red);
    border-color: var(--wp--preset--color--eao-red);
    white-space: nowrap;
}

.eao-channel-dashboard .filter-button:hover {
    background-color: var(--wp--preset--color--eao-red);
    border-color: var(--wp--preset--color--eao-red);
    opacity: 0.9;
}

/* Channel Pagination */
.eao-channel-pagination .page-item.active .page-link {
    background-color: var(--wp--preset--color--highlight);
    border-color: var(--wp--preset--color--highlight);
    color: white !important;
    font-weight: bold;
}

.eao-channel-pagination .page-item.active .page-link:hover {
    background-color: var(--wp--preset--color--highlight);
    border-color: var(--wp--preset--color--highlight);
    color: white !important;
    font-weight: bold;
}

.eao-channel-pagination .page-link:hover {
    color: var(--wp--preset--color--highlight);
    border-color: var(--wp--preset--color--highlight);
}

/* Single Channel Template - Mobile First */
.single-channel .video-navigation {
    border-top: 1px solid #dee2e6;
}

.single-channel .video-navigation .row > div {
    margin-bottom: 1rem; /* Mobile default */
    text-align: center !important; /* Mobile default */
}

.single-channel .entry-footer {
    margin-bottom: 2rem;
}

.single-channel .youtube-embed-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* Mobile aspect ratio default */
}

.single-channel .youtube-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.single-channel .video-url-container {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.single-channel .featured-image-container {
    text-align: center;
}

.single-channel .featured-image-container img {
    border-radius: 8px;
    max-height: 500px;
    object-fit: cover;
}

.single-channel .video-meta {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.single-channel .video-meta .row > div {
    margin-bottom: 1rem; /* Mobile default */
}

.single-channel .video-meta strong {
    color: var(--wp--preset--color--eao-red);
}

.single-channel .entry-content {
    font-size: 1.1rem;
    line-height: 1.6;
}

.single-channel .entry-footer {
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
}
/* ========================================
   CUSTOM POST TYPES & CONTENT
======================================== */

/* Page Headers */
.eao--page-header img {
    border-radius: 10px;
    border: none !important;
}

/* Home Cover Video */
.home--cover-video {
    height: auto;
    width: 100vw;
}

/* Committee Single Person */
.committee--single--person {
    height: 100%;
    padding: 5px;
}

.committee--single--person--chair, 
.committee--single--person--chair a {
    color: #FFF !important;
}

.committee--single--person--image {
    text-align: center;
    border-radius: 10px;
    height: 252px !important;
    overflow: hidden;
}

.committee--single--person--image img {
    height: 252px !important;
    object-fit: cover;
    width: 100% !important;
}

.committee--single--person--contact .committee--single--person--image {
    background-color: #F5F5F5;
}

.committee--single--person--details {
    padding: 15px;
}

/* People Person */
.people--person {
    align-items: stretch;
    height: 100%;
    padding: 5px;
}

.people--person--image {
    height: 250px;
    overflow: hidden;
}

.people--person--image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.people--person--details {
    padding: 15px;
}

/* ========================================
   404
======================================== */

.page-not-found {
    background-image: url('../images/cross-pattern.svg');
    height: calc(100vh - var(--header--height));
    min-height: calc(100vh - var(--header--height));
}
.page-not-found--inner {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    width: 100%;
}
.page-not-found--inner > * {
    margin: 15px 0;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
======================================== */

/* Small devices (576px and up) */
@media (min-width: 576px) {
    /* Add small device specific styles here if needed */
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    .eao-channel-dashboard .filter-form {
        margin-top: 0;
        justify-content: flex-end !important;
    }
    
    .single-channel .video-navigation .row > div {
        margin-bottom: 0;
        text-align: left !important;
    }
    
    .single-channel .youtube-embed-container {
        padding-bottom: 56.25%; /* Standard 16:9 aspect ratio */
    }
    
    .single-channel .video-meta .row > div {
        margin-bottom: 0;
    }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
    /* Navigation */
    .navigation--main--d--nav {
        display: flex; /* Show desktop nav */
    }
    
    .navigation--main--d--brand img {
        width: 175px; /* Larger logo on desktop */
    }
    
    .navigation--sub .container > *:not(:last-child) {
        margin-right: 1rem;
    }
    
    .header__navbar__basket {
        margin-right: 1rem !important;
    }
    
    .header__navbar__basket a {
        font-size: 1.5rem;
    }
    
    /* Hide mobile elements on desktop */
    .navigation--main--m--buttons {
        display: none;
    }
    
    .navigation--main--m {
        display: none !important;
    }
    
    /* Button styling */
    .navigation .wp-block-button__link {
        font-size: 16px;
        padding: 0.5rem calc(1.333em + 2px);
    }
    
    /* Time to Congress Widget */
    .eao-widget--time-to-congress > * {
        font-size: 70px;
    }
    
    .eao-widget--time-to-congress > * > *:nth-child(2) {
        font-size: 14px;
    }
    
    /* Home Cover Video */
    .home--cover-video {
        height: calc(100vh - var(--header--height));
    }
}

/* WordPress mobile break point display management*/
.pb-display-mobile-only {
    display: none;
}
@media (max-width: 781px) {
    .pb-display-mobile-only {
        display: block;
    }
    .pb-display-desktop-only {
        display: none;
    }
}