/* =====================================================
   AdRotate Groups 13 & 15 — horizontal marquee, no fade
   ===================================================== */

/* Clipped viewport */
div:has(> .g.g-13),
div:has(> .g.g-15) {
    overflow: hidden !important;
    width: 100% !important;
    padding: 8px 0;
}

/* Scrolling strip */
.g.g-13,
.g.g-15 {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    width: max-content !important;
    animation: g-marquee 28s linear infinite;
}

/* Pause on hover */
div:has(> .g.g-13):hover .g.g-13,
div:has(> .g.g-15):hover .g.g-15 {
    animation-play-state: paused;
}

/* Each ad */
.g.g-13 .g-col,
.g.g-15 .g-col {
    flex: 0 0 auto !important;
    width: auto !important;
    float: none !important;
}

/* Images */
.g.g-13 .g-col img,
.g.g-15 .g-col img {
    display: block !important;
    height: 130px !important;
    width: auto !important;
    border-radius: 4px;
    object-fit: cover;
}

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


/* ── Shared container ── */
.tre-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.dcc-julbanner {
  display: block;
  position: relative;
  width: 100%;
  max-width: 2000px;
  height: 350px;
  background-image: url('https://www.talkradioeurope.com/wp-content/uploads/2026/05/Devices-Final-Size-edit.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  font-family: 'Arial Black', Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
  transition: filter 200ms ease;
}

.dcc-julbanner:hover  { filter: brightness(1.1); }
.dcc-julbanner:active { filter: brightness(0.9); }


/* Video thumbnail with play badge */
.tre-video-thumb-wrap {
    position: relative;
    display: block;
    line-height: 0;
}

.tre-video-thumb-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.tre-play-badge {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    pointer-events: none;
}

.tre-video-thumb-wrap:hover .tre-play-badge {
    background: rgba(232, 81, 19, 0.9);
}

/* Full video player on single post */
.tre-featured-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-bottom: 1.5rem;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}

.tre-featured-video iframe,
.tre-featured-video video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}


/* ================================================================
   TOP BAR
   ================================================================ */
.tre-topbar {
    background: #1d3461;
    padding: 15px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #fff;
}

.tre-topbar .tre-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.tre-topbar__social {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.tre-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.18);
    border-radius: 3px;
    transition: background .2s;
    color: #fff;
    text-decoration: none;
}

.tre-social-icon:hover {
    background: rgba(255,255,255,0.35);
}

.tre-social-icon svg {
    display: block;
}

.tre-topbar__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    flex: 1;
}

.tre-topbar__links a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
}

.tre-topbar__links a:hover {
    opacity: .7;
}

.tre-pipe {
    color: rgba(255,255,255,0.45);
}

.tre-topbar__phone {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-size: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.tre-topbar__phone em {
    font-style: italic;
    opacity: .85;
}

.tre-social-icon i {
    font-size: 14px;
    line-height: 1;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tre-badge i {
    font-size: 20px;
    line-height: 1;
    flex: 0 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

/* ================================================================
   MAIN HEADER
   ================================================================ */
.tre-main-header {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}

.tre-main-header .tre-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Logo */
.tre-main-header__logo a {
    display: inline-block;
    text-decoration: none;
}

.tre-main-header__logo img {
    height: 80px;
    width: auto;
    display: block;
}

.tre-logo-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tre-logo-fallback__circle {
    width: 72px;
    height: 72px;
    border: 3px solid #1d3461;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tre-logo-fallback__circle span {
    font-size: 26px;
    font-weight: 900;
    font-style: italic;
    font-family: Georgia, serif;
    color: #1d3461;
    letter-spacing: -1px;
}

.tre-logo-fallback small {
    font-size: 9.5px;
    color: #555;
    font-family: Arial, sans-serif;
    letter-spacing: .4px;
}

/* Badges */
.tre-main-header__badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.tre-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #d4d4d4;
    border-radius: 7px;
    padding: 6px 11px;
    text-decoration: none;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.tre-badge:hover {
    border-color: #999;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.tre-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.tre-badge__sub {
    font-size: 9px;
    color: #555;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.tre-badge__main {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    font-family: Arial, sans-serif;
    white-space: nowrap;
}

.tre-badge:first-child .tre-badge__sub {
    text-transform: lowercase;
    font-size: 11px;
    color: #222;
}

.tre-badge:first-child .tre-badge__main {
    font-size: 16px;
}

/* Frequency */
.tre-main-header__frequency {
    flex-shrink: 0;
}

.tre-frequency-wrap {
    position: relative;
    display: inline-block;
}

.tre-frequency-wrap select {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    padding: 9px 34px 9px 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: #333;
    font-family: Arial, sans-serif;
    background: #fff;
    cursor: pointer;
    min-width: 185px;
    outline: none;
    transition: border-color .2s;
}

.tre-frequency-wrap select:hover,
.tre-frequency-wrap select:focus {
    border-color: #1d3461;
}

.tre-frequency-wrap__arrow {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #666;
    pointer-events: none;
}

/* Hamburger */
.tre-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.tre-hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #1d3461;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}

.tre-hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7.75px) rotate(45deg);
}

.tre-hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.tre-hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7.75px) rotate(-45deg);
}

/* ================================================================
   NAV BAR
   ================================================================ */
.tre-nav {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.tre-nav .tre-container {
    padding: 0 20px;
}

.tre-nav__menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.tre-nav__menu li a {
    display: block;
    padding: 13px 18px 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #444;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}

.tre-nav__menu li a:hover,
.tre-nav__menu li.current-menu-item > a,
.tre-nav__menu li.current_page_item > a {
    color: #e85113;
    border-bottom-color: #e85113;
}

/* ================================================================
   TABLET  ≤ 1024px
   ================================================================ */
@media (max-width: 1024px) {
    .tre-main-header__badges {
        gap: 7px;
    }

    .tre-badge {
        padding: 5px 8px;
        gap: 5px;
    }

    .tre-badge__main {
        font-size: 11.5px;
    }

    .tre-badge__sub {
        font-size: 8px;
    }

    .tre-badge:first-child .tre-badge__main {
        font-size: 13px;
    }

    .tre-nav__menu li a {
        padding: 13px 12px 10px;
        font-size: 13px;
    }
}

/* ================================================================
   MOBILE  ≤ 768px
   ================================================================ */
@media (max-width: 768px) {
    .tre-topbar {
        padding: 10px 0;
    }

    .tre-topbar .tre-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 0 14px;
    }

    .tre-topbar__social {
        width: 100%;
        justify-content: flex-start;
    }

    .tre-topbar__phone {
        width: 100%;
        white-space: normal;
        margin-left: 0;
        line-height: 1.4;
    }

    .tre-main-header .tre-container {
        flex-wrap: wrap;
        padding: 10px 14px;
        gap: 10px;
    }

    .tre-main-header__logo {
        flex: 1 1 auto;
    }

    .tre-main-header__logo img {
        height: 60px;
    }

    .tre-logo-fallback__circle {
        width: 58px;
        height: 58px;
    }

    .tre-logo-fallback__circle span {
        font-size: 21px;
    }

    .tre-main-header__badges,
    .tre-main-header__frequency {
        display: none;
    }

    .tre-hamburger {
        display: flex;
    }

    .tre-nav {
        overflow: hidden;
        max-height: 0;
        transition: max-height .35s ease;
        border-bottom: none;
    }

    .tre-nav.is-open {
        max-height: 500px;
        border-bottom: 1px solid #e5e5e5;
    }

    .tre-nav .tre-container {
        padding: 4px 0;
    }

    .tre-nav__menu {
        flex-direction: column;
    }

    .tre-nav__menu li a {
        padding: 13px 18px;
        border-bottom: 1px solid #f0f0f0;
        border-left: 3px solid transparent;
        font-size: 15px;
    }

    .tre-nav__menu li a:hover,
    .tre-nav__menu li.current-menu-item > a,
    .tre-nav__menu li.current_page_item > a {
        border-bottom-color: #f0f0f0;
        border-left-color: #e85113;
        color: #e85113;
    }
}

/* ================================================================
   SMALL MOBILE
   ================================================================ */
@media (max-width: 480px) {
    .tre-topbar__phone {
        font-size: 11px;
    }
}

/* ================================================================
   DROPDOWN MENUS
   ================================================================ */
.tre-nav__menu li {
    position: relative;
}

/* Hide dropdown by default */
.tre-nav__menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border-top: 2px solid #e85113;
    z-index: 9999;
    margin: 0;
    padding: 6px 0;
    list-style: none;
}

/* Show on hover */
.tre-nav__menu li:hover > ul {
    display: block;
}

/* Dropdown items */
.tre-nav__menu li ul li {
    width: 100%;
    border: none;
}

.tre-nav__menu li ul li a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    color: #444;
    white-space: nowrap;
    border-bottom: none;
    transition: background .2s, color .2s;
}

.tre-nav__menu li ul li a:hover {
    background: #f5f5f5;
    color: #e85113;
    border-bottom: none;
}

/* Arrow indicator on parent items that have children */
.tre-nav__menu li.menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 10px;
    opacity: 0.6;
}

/* ================================================================
   MOBILE DROPDOWN
   ================================================================ */
@media (max-width: 768px) {
    .tre-nav__menu li ul {
        display: none;
        position: static;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid #e85113;
        background: rgba(0,0,0,0.15);
        min-width: unset;
        width: 100%;
        padding: 0;
    }

    .tre-nav__menu li.is-open > ul {
        display: block;
    }

    .tre-nav__menu li ul li a {
        padding: 11px 28px;
        color: #e8eef8;
        font-size: 14px;
    }

    .tre-nav__menu li ul li a:hover {
        background: rgba(255,255,255,0.08);
        color: #e85113;
    }

    .tre-nav__menu li.menu-item-has-children > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .tre-nav__menu li.menu-item-has-children > a::after {
        content: '▾';
        font-size: 12px;
        transition: transform .25s;
    }

    .tre-nav__menu li.menu-item-has-children.is-open > a::after {
        transform: rotate(180deg);
    }
}
