:root {
    --navy: #172b59;
    --navy2: #20345f;
    --blue: #0755c8;
    --accent: #0755c8;
    --text: #252a34;
    --muted: #707784;
    --line: #e6e8ec;
    --paper: #fff;
    --page: #f3f4f6;
    --max: 1240px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font: 16px/1.65 Inter, Arial, sans-serif;
}


a {
    color: var(--blue);
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: justify;
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

.mt-20 {
    margin-top: 20px !important;
}

.container {
    width: min(var(--max), calc(100% - 40px)) !important;
    margin-inline: auto
}

.topbar {
    background: var(--navy);
    color: #fff;
    font-size: 13px
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px
}

.topbar a {
    color: #fff
}

.social {
    display: flex;
    gap: 12px;
    align-items: center
}

.masthead {
    background: #172b59 url("../images/Lovers-in-Hand.png") center/cover no-repeat;
    color: #fff
}

.masthead-shade {
    background: linear-gradient(90deg, rgba(32, 47, 91, 0.4), rgba(13, 27, 61, .58));
    padding: 32px 0
}


.brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.brand a h1 {
    font: 700 clamp(26px, 4vw, 38px)/1.15 Montserrat, Arial, sans-serif;
    margin: 0;
    letter-spacing: -.6px;
    text-decoration: none;
}

.brand p {
    margin: 6px 0 0;
    color: #e2e8f5;
    font-size: 24px;
    text-align: center;
}

.brand a {
    color: #fff;
    text-decoration: none
}

.nav-wrap {
    background: var(--navy);
    box-shadow: 0 2px 5px #0002
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px
}

.home-link {
    color: #fff;
    font-size: 19px;
    padding: 12px 17px;
    background: var(--blue)
}

.menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0
}

.menu a {
    display: block;
    color: #fff;
    padding: 16px 15px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px
}

.menu a:hover,
.menu a[aria-current=page] {
    background: var(--blue);
    text-decoration: none
}

.active-page {
    background: var(--blue);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid #ffffff80;
    color: #fff;
    padding: 8px 12px;
    border-radius: 3px
}

/* =========================================
   1. Outer Ticker Crawl Bar
   ========================================= */
.ticker {
    background: #ffffff;
    border-bottom: 1px solid var(--line, #e5e5e5);
    padding: 0;
    /* Removed vertical padding so the blue label touches top & bottom */
    overflow: hidden;
    font-family: Montserrat, Arial, sans-serif;
}

.ticker-inner {
    display: flex;
    align-items: stretch;
    /* Makes the label and track equal height */
    gap: 0;
    white-space: nowrap;
}

/* =========================================
   2. Slanted Blue "Boomerang" Label
   ========================================= */
.ticker-label {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    background: var(--blue, #1151d3);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 32px 12px 18px;
    flex-shrink: 0;
    /* Angled right edge matching screenshot */
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0% 100%);
}

/* =========================================
   3. Scrolling Link Strip & Arrow Icons
   ========================================= */
.ticker .tag-strip {
    flex: 1;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-bottom: none;
    padding: 0;
    overflow: hidden;
    position: relative;
}

/* Override .container inside .tag-strip so links flow smoothly */
.ticker .tag-strip .maki-slider {
    width: max-content;
    margin: 0;
    padding-left: 20px;
    display: inline-flex;
    align-items: center;
    animation: tickerCrawl 5s linear infinite;
}

/* Pause scrolling when user hovers to click a link */
.ticker:hover .maki-slider {
    animation-play-state: paused;
}

.ticker .tag-strip a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: 26px;
    color: var(--blue, #1151d3);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: opacity 0.2s ease;
}

.ticker .tag-strip a:hover {
    opacity: 0.75;
}

/* Blue Circular Right-Arrow Icon before each link */
.ticker .tag-strip a::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    background-color: var(--blue, #1151d3);
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 9px 9px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M8.5 3.5a.75.75 0 0 0-1.06 1.06L10.13 7.25H3.75a.75.75 0 0 0 0 1.5h6.38l-2.69 2.69a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4z'/%3E%3C/svg%3E");
}

/* =========================================
   4. Continuous Crawl Keyframes
   ========================================= */
@keyframes tickerCrawl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


main {
    padding: 28px 0 45px
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 28px
}

.main-column,
.sidebar {
    min-width: 0
}

.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    border-bottom: 2px solid var(--blue);
    font: 700 20px/1.3 Montserrat, Arial, sans-serif
}

.section-title span {
    background: var(--blue);
    color: #fff;
    padding: 10px 14px;
    display: inline-block
}

.featured {
    position: relative;
    min-height: 390px;
    background: #1d2b49;
    overflow: hidden;
    margin-bottom: 26px
}

.featured img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    opacity: .82
}

.featured-copy {
    position: absolute;
    inset: auto 0 0;
    padding: 26px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .88));
    color: #fff;
}

.featured-copy h2 a {
    font: 700 clamp(23px, 3vw, 34px)/1.2 Montserrat, Arial, sans-serif;
    margin: 8px 0;
    text-decoration: none;
}

.featured-copy a {
    color: #fff;
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #fff;
    background: var(--blue);
    padding: 4px 8px;
    display: inline-block;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.post-card,
.article-panel {
    background: #fafafa;
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px #00000008;
}

.post-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: #e9edf3;
}

.post-body {
    padding: 16px;
    text-align: center;
}

.post-body a:hover {
    color: #1151d3;
    text-decoration: none;
}

.post-body h3 {
    font: 700 18px/1.35 Montserrat, Arial, sans-serif;
    margin: 8px 0;
}

.post-body h3 a {
    color: #202631;
}

.meta {
    font-size: 16px;
    color: #000;
    font-weight: bold;
    text-decoration: wavy;
}

.meta:hover[aria-current=page] {
    color: var(--blue);
    text-decoration: none;
}

.excerpt {
    font-size: 14px;
    color: #1151d3;
    margin: 8px 0 0;
    text-align: center;
}

.text-center {
    text-align: center !important;
}

.text-bold {
    font-weight: bold !important;
}

/* =========================================
   1. Widget Sidebar
   ========================================= */
.widget {
    background: #ffffff;
    border: 1px solid var(--line, #e8e8e8);
    box-shadow: 0 1px 2px #00000008;
    margin-bottom: 20px;
    padding: 0 0 10px 0;
    /* Remove top/side padding so the header tab sits flush */
}

/* =========================================
   2. Slanted Blue "SITE MENU" Header
   ========================================= */
.widget h2 {
    position: relative;
    display: inline-block;
    background-color: var(--blue, #1151d3);
    color: #ffffff;
    font: 700 16px Montserrat, Arial, sans-serif;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    padding: 10px 32px 10px 18px;
    border-bottom: none;
    /* Creates the angled right edge */
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0% 100%);
}

/* Full-width blue horizontal line beneath the header tab */
.widget h2::after {
    content: "";
    display: block;
}

/* Wrapper trick: use a bottom border on a block or keep h2 full-width with inner span.
   To keep your exact HTML without adding a <span>, use a linear-gradient background on h2: */
.widget h2 {
    display: block;
    background: linear-gradient(to right,
            var(--blue, #1151d3) 0%,
            var(--blue, #1151d3) 145px,
            transparent 145px);
    clip-path: none;
    border-bottom: 2px solid var(--blue, #1151d3);
    padding: 10px 18px;
    position: relative;
}

/* Angled blue triangle slice to complete the slanted tab look */
.widget h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 145px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 0 0 22px;
    /* Matches header height */
    border-color: transparent transparent transparent var(--blue, #1151d3);
}

/* =========================================
   3. Vertical Left-Aligned Menu Links
   ========================================= */
.widget-tags {
    padding: 0 20px;
}

.widget-tags a {
    display: block;
    /* Forces each link onto its own full-width row */
    background: transparent;
    color: #222222;
    text-align: left;
    text-decoration: none;
    text-transform: none;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 15px 0;
    margin: 0;
    border-bottom: 1px solid var(--line, #eeeeee);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

/* Remove bottom line from the final item ("NEWS") */
.widget-tags a:last-child {
    border-bottom: none;
}

.widget-tags a:hover {
    color: var(--blue, #1151d3);
    padding-left: 4px;
}

/* =========================================
   4. Existing List Styles (Preserved)
   ========================================= */
.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
    font-size: 14px;
}

.widget-list li:last-child {
    border: 0;
}

.breadcrumb {
    background: #e9edf3;
    padding: 12px 0;
    font-size: 13px
}

.breadcrumb a {
    color: #4c5667
}

.page-heading {
    margin: 0 0 20px;
    font: 700 clamp(25px, 3vw, 34px)/1.2 Montserrat, Arial, sans-serif
}

.article-panel {
    padding: 26px
}

.article-panel h1 {
    font: 700 clamp(27px, 3vw, 38px)/1.2 Montserrat, Arial, sans-serif;
    margin: 0 0 12px
}

.article-content {
    font-size: 17px;
    line-height: 1.85
}

.article-content h2,
.article-content h3 {
    font-family: Montserrat, Arial, sans-serif;
    line-height: 1.3
}

.article-content img {
    margin: 20px auto
}

.article-content blockquote {
    border-left: 4px solid var(--blue);
    margin: 22px 0;
    padding: 10px 20px;
    background: #f5f7fa
}

.pagination {
    display: flex;
    gap: 8px;
    margin: 24px 0
}

.pagination a,
.pagination span {
    background: #fff;
    border: 1px solid var(--line);
    padding: 8px 13px
}

.pagination .current {
    background: var(--blue);
    color: #fff
}

.site-footer {
    background: #15264d;
    color: #dbe3f4;
    padding: 36px 0 18px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 25px
}

.site-footer h2 {
    color: #fff;
    font: 700 18px Montserrat, Arial, sans-serif
}

.site-footer a {
    color: #dbe3f4
}

.copyright {
    border-top: 1px solid #ffffff2a;
    margin-top: 25px;
    padding-top: 15px;
    font-size: 13px
}

.search-form {
    display: flex;
    gap: 8px
}

.search-form input {
    flex: 1;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--line)
}

.search-form button {
    background: var(--blue);
    color: #fff;
    border: 0;
    padding: 10px 15px;
    cursor: pointer
}

.justice-slot {
    border: 1px dashed #aab3c2;
    background: linear-gradient(135deg, rgb(2, 3, 129)0%, rgb(40, 116, 252)100%) !important;
    color: #fff !important;
    padding: 1.25em 2.375em;
    margin-top: 0;
    margin-bottom: 1rem;
}

.top-slot {
    font-size: 20px;
    text-align: center;
}

.lower-slot {
    font-size: 16px;
    text-align: justify;
}

@media(max-width:900px) {
    .layout {
        grid-template-columns: 1fr
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px
    }

    .widget {
        margin: 0
    }

    .header-note {
        display: none
    }
}

@media(max-width:700px) {
    .container {
        width: min(100% - 26px, var(--max))
    }

    .brand-row {
        padding: 5px 0
    }

    .nav-inner {
        position: relative;
        min-height: 52px
    }

    .menu-toggle {
        display: block;
        margin-left: auto
    }

    .menu {
        display: none;
        position: absolute;
        z-index: 20;
        top: 52px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        align-items: stretch
    }

    .menu.open {
        display: flex
    }

    .menu a {
        padding: 12px 16px;
        border-top: 1px solid #ffffff1a
    }

    .home-link {
        padding: 13px
    }

    .masthead-shade {
        padding: 24px 0
    }

    .featured,
    .featured img {
        min-height: 280px;
        height: 280px
    }

    .article-grid {
        grid-template-columns: 1fr
    }

    .sidebar {
        grid-template-columns: 1fr
    }

    .article-panel {
        padding: 18px
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .topbar-inner {
        font-size: 11px
    }

    .tag-strip {
        white-space: nowrap;
        overflow: auto
    }
}

/* MAKI    */
.topbar-time {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.maki-slider a::before {
    content: "\f0a9";
    font-family: 'Font Awesome 6 Free';
    font-size: 14px;
    margin-right: 4px;
    font-weight: 900;
    text-decoration: none;
    color: #1151d3;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url(../webfonts/fa-regular-400.woff2) format("woff2"), url(../webfonts/fa-regular-400.ttf) format("truetype");
}


div {
    display: block;
    unicode-bidi: isolate;
}

/* =========================================
   1. Two-Sided Tab Navigation
   ========================================= */
#exTab2 {
    background: #ffffff;
    border: 1px solid #eeeeee;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

#exTab2 .nav-tabs {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Split tabs into two equal 50% sides */
#exTab2 .nav-tabs .nav-item {
    flex: 1;
    text-align: center;
    margin-bottom: -1px;
    /* Overlaps bottom border */
}

#exTab2 .nav-tabs .nav-item:first-child {
    border-right: 1px solid #e5e5e5;
}

#exTab2 .nav-tabs .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    background-color: #ffffff;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

#exTab2 .nav-tabs .nav-link:hover {
    color: #1151d3;
}

/* Active Tab Styling (Blue Bottom Border) */
#exTab2 .nav-tabs .nav-link.active {
    color: #111111;
    font-weight: 600;
    border-bottom: 3px solid #1151d3;
}

#exTab2 .nav-tabs .nav-link i {
    font-size: 15px;
    color: #111111;
}

/* =========================================
   2. Post List Items
   ========================================= */
#exTab2 .tab-content {
    padding: 0;
}

#exTab2 .small-list-post {
    padding: 0;
}

#exTab2 .small-post {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eeeeee;
    gap: 15px;
}

#exTab2 .small-post:last-child {
    border-bottom: none;
}

/* Square Thumbnail Image */
#exTab2 .img-small-post {
    flex-shrink: 0;
    width: 85px;
    height: 85px;
    overflow: hidden;
    background-color: #f9f9f9;
}

#exTab2 .img-small-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right-Side Text & Category Content */
#exTab2 .small-post-content {
    flex: 1;
    min-width: 0;
    /* Prevents text overflow */
}

/* Blue Category Pill Badge */
#exTab2 .mg-blog-category {
    margin-bottom: 6px;
}

#exTab2 .newsup-categories {
    display: inline-block;
    background-color: #1151d3;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.4px;
    text-decoration: none;
    line-height: 1.2;
}

#exTab2 .newsup-categories:hover {
    background-color: #0b3ba1;
    color: #ffffff;
}

/* Post Title */
#exTab2 .title_small_post .title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

#exTab2 .title_small_post .title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

#exTab2 .title_small_post .title a:hover {
    color: #1151d3;
}

/* Hide inactive tab panes by default */
#exTab2 .tab-content>.tab-pane {
    display: none;
}

/* Show active tab pane with a subtle fade-in */
#exTab2 .tab-content>.tab-pane.active {
    display: block;
    animation: exTab2FadeIn 0.25s ease-in-out;
}

@keyframes exTab2FadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.text__media video {
    height: auto;
    max-width: unset;
    vertical-align: middle;
    width: 100%;
}

.lovers {
    font: 700 11px Montserrat, Arial, sans-serif;
    background: #fff;
    text-align: center;
}

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

.lovers:hover,
.lovers-list[aria-current=page] {
    color: var(--blue);
    text-decoration: none
}


/* =========================================
   1. Outer Widget Card & Top/Bottom Black Lines
   ========================================= */
.widget:has(.block-pullquote) {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--line, #eeeeee);
    padding: 55px 22px;
    margin-bottom: 20px;
}

/* Thick black horizontal bars at top and bottom */
.widget:has(.block-pullquote)::before,
.widget:has(.block-pullquote)::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    height: 4px;
    background-color: #111111;
}

.widget:has(.block-pullquote)::before {
    top: 12px;
}

.widget:has(.block-pullquote)::after {
    bottom: 12px;
}

/* =========================================
   2. Gray Pullquote Box & Royal Blue Left Border
   ========================================= */
.block-pullquote {
    position: relative;
    margin: 0;
    padding: 52px 24px 32px 24px;
    background-color: #f2f2f2;
    border-left: 5px solid var(--blue, #1151d3);
    text-align: center;
}

/* Blue Double-Quote Icon (Top Left) */
.block-pullquote::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 24px;
    width: 26px;
    height: 22px;
    background-color: var(--blue, #1151d3);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' viewBox='0 0 24 20'%3E%3Cpath d='M5.5 0C2.46 0 0 2.46 0 5.5v9C0 17.54 2.46 20 5.5 20S11 17.54 11 14.5v-3C11 8.46 8.54 6 5.5 6c-.7 0-1.37.14-2 .38V5.5C3.5 4.12 4.62 3 6 3h1V0H5.5zm13 0C15.46 0 13 2.46 13 5.5v9c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5v-3C24 8.46 21.54 6 18.5 6c-.7 0-1.37.14-2 .38V5.5c0-1.38 1.12-2.5 2.5-2.5h1V0h-1.5z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' viewBox='0 0 24 20'%3E%3Cpath d='M5.5 0C2.46 0 0 2.46 0 5.5v9C0 17.54 2.46 20 5.5 20S11 17.54 11 14.5v-3C11 8.46 8.54 6 5.5 6c-.7 0-1.37.14-2 .38V5.5C3.5 4.12 4.62 3 6 3h1V0H5.5zm13 0C15.46 0 13 2.46 13 5.5v9c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5v-3C24 8.46 21.54 6 18.5 6c-.7 0-1.37.14-2 .38V5.5c0-1.38 1.12-2.5 2.5-2.5h1V0h-1.5z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* =========================================
   3. Centered Bold-Italic Quote Typography
   ========================================= */
.block-pullquote blockquote {
    margin: 0;
    padding: 0;
    border: none;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.75;
    color: #222222;
    text-align: center;
}

footer .site-title-footer {
    font-size: 34px;
    margin-bottom: 0;
    font-weight: 700;
    font-family: var(--headFont);
    letter-spacing: -0.05em;
    line-height: 1.3;
}

/* =========================================
   1. Carousel Wrapper & Slide Visibility
   ========================================= */
.featured-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 440px;
    /* Adjust height to match your column */
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid var(--line, #e8e8e8);
    font-family: Montserrat, 'Segoe UI', Arial, sans-serif;
}

.featured-carousel-wrapper .featured {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease-in-out, visibility 0.45s ease-in-out;
    z-index: 1;
}

.featured-carousel-wrapper .featured.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* =========================================
   2. Slide Image & Bottom Dark Gradient
   ========================================= */
.featured-carousel-wrapper .featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Smooth dark gradient at the bottom so white text is readable */
.featured-carousel-wrapper .featured::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.45) 55%,
            rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

/* =========================================
   3. Blue Camera Badge & Text Overlay
   ========================================= */
.featured-carousel-wrapper .featured-copy {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 24px;
    z-index: 3;
    color: #ffffff;
}

/* Blue Camera Square Icon above the Category Badge */
.featured-carousel-wrapper .featured-cam-icon {
    width: 34px;
    height: 34px;
    background-color: var(--blue, #1151d3);
    border-radius: 3px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.featured-carousel-wrapper .featured-cam-icon::before {
    content: "";
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' viewBox='0 0 24 24'%3E%3Cpath d='M9 3L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2h-3.17L15 3H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.65 0-3 1.35-3 3s1.35 3 3 3 3-1.35 3-3-1.35-3-3-3z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' viewBox='0 0 24 24'%3E%3Cpath d='M9 3L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2h-3.17L15 3H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.65 0-3 1.35-3 3s1.35 3 3 3 3-1.35 3-3-1.35-3-3-3z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Blue "BOOMERANG" Pill */
.featured-carousel-wrapper .eyebrow {
    display: inline-block;
    background-color: var(--blue, #1151d3);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* Bold White Slide Title */
.featured-carousel-wrapper .featured-copy h2 {
    margin: 0 0 8px 0;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.featured-carousel-wrapper .featured-copy h2 a {
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    transition: opacity 0.2s ease;
}

.featured-carousel-wrapper .featured-copy h2 a:hover {
    opacity: 0.85;
}

/* Subtitle / Meta Line */
.featured-carousel-wrapper .meta {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
}

/* =========================================
   4. Left & Right Carousel Navigation Arrows
   ========================================= */
.featured-carousel-btn {
    position: absolute;
    top: 52%;
    transform: translateY(-50%);
    z-index: 5;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Left Button (Royal Blue like screenshot) */
.featured-carousel-prev {
    left: 28px;
    background-color: var(--blue, #1151d3);
    color: #ffffff;
}

.featured-carousel-prev:hover {
    background-color: #0b3ba1;
}

/* Right Button (Crisp White like screenshot) */
.featured-carousel-next {
    right: 28px;
    background-color: #ffffff;
    color: #222222;
}

.featured-carousel-next:hover {
    background-color: var(--blue, #1151d3);
    color: #ffffff;
}

html {
    /* Enables smooth scrolling natively in modern browsers */
    scroll-behavior: smooth;
}

#scrollToTopBtn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background-color: #2563eb;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

/* Class added via JavaScript when scrolled down */
#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTopBtn:hover {
    background-color: #1d4ed8;
    transform: translateY(-3px);
}




/*---Back button --*/
.article-footer-nav {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.back-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #111827;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.back-card:hover {
    background-color: #ededf3;
    border-color: #e3e6eb;
    transform: translateY(-2px);
    color: #fff;
}

.back-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    font-size: 1.25rem;
    color: #2563eb;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.back-card:hover .back-card-arrow {
    transform: translateX(-4px);
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.back-card-content {
    display: flex;
    flex-direction: column;
}

.back-card-label {
    font-size: 0.85rem;
    color: #6b7280;
}

.back-card-label:hover,
.back-card-title:hover {
    color: #000;
    text-decoration: none;
}

.back-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
}


/* =========================================
JURISDICTIONAL ARGUMENT TABLE
   ========================================= */

.jurisdiction-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
}

.jurisdiction-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: #1f2328;
    border: 1px solid #d0d7de;
}

/* Header Row */
.jurisdiction-table thead th {
    background-color: #f6f8fa;
    font-weight: 700;
    text-align: left;
    padding: 12px 14px;
    border: 1px solid #d0d7de;
    color: #1f2328;
}

/* Left Column ("Issue" Labels) */
.jurisdiction-table tbody th {
    width: 24%;
    font-weight: 700;
    text-align: left;
    vertical-align: middle;
    padding: 12px 14px;
    border: 1px solid #d0d7de;
    color: #1f2328;
}

/* Right Column ("Explanation" Cells) */
.jurisdiction-table tbody td {
    width: 76%;
    text-align: left;
    vertical-align: middle;
    padding: 12px 14px;
    border: 1px solid #d0d7de;
}

.jurisdiction-table tbody td strong {
    font-weight: 700;
}

.video-center-wrapper {
    display: flex;
    justify-content: center;
    /* Centres horizontally */
    align-items: center;
    /* Centres vertically */
    min-height: 100vh;
    /* Makes the container span the full screen height */
    width: 100%;
}

.video-center-wrapper video {
    display: block;
    max-width: 100%;
    /* Prevents overflow on small mobile screens */
    height: auto;
}

.image-center-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
    margin: 20px 0 0 10px
}

.image-center-wrapper img {
    display: block;
    width: 250px;
    /* Prevents overflow on small mobile screens */
    height: auto;
}


/* =========================================
   AUTISM PAGE – TWO COLUMN EDITORIAL LAYOUT
========================================= */

.autism-page {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
    background: #ffffff;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
}

.autism-entry {
    display: grid;
    grid-template-columns: 184px minmax(0, 1fr);
    column-gap: 24px;
    align-items: start;
    width: 100%;
}

.autism-visual {
    width: 100%;
    text-align: center;
}

.autism-visual h2 {
    margin: 0 0 24px;
    padding: 0;
    color: #111111;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.autism-image {
    display: block;
    width: 184px;
    height: 123px;
    max-width: 100%;
    margin: 0 auto;
    object-fit: cover;
}

.autism-diagram {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    margin: 25px auto 0;
    object-fit: contain;
}

.autism-content {
    min-width: 0;
}

.autism-content p {
    margin: 0;
    padding: 0;
    color: #111111;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.78;
    text-align: left;
    text-align: justify;
}

/* Divider between the two entries */

.autism-divider {
    width: 100px;
    height: 2px;
    margin: 26px 0 15px calc(184px + 24px + (100% - 184px - 24px - 100px) / 2);
    background: #888888;
}


/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media screen and (max-width: 768px) {

    .autism-page {
        padding: 12px;
    }

    .autism-entry {
        grid-template-columns: 165px minmax(0, 1fr);
        column-gap: 18px;
    }

    .autism-visual h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .autism-image {
        width: 165px;
        height: 110px;
    }

    .autism-diagram {
        width: 165px;
    }

    .autism-content p {
        font-size: 16px;
        line-height: 1.75;
    }

    .autism-divider {
        margin-left: calc(165px + 18px + (100% - 165px - 18px - 90px) / 2);
        width: 90px;
    }
}


/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media screen and (max-width: 560px) {

    .autism-page {
        padding: 15px;
    }

    .autism-entry {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }

    .autism-visual {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .autism-visual h2 {
        width: 100%;
        margin-bottom: 14px;
        font-size: 19px;
        text-align: center;
    }

    .autism-image {
        width: 100%;
        max-width: 320px;
        height: auto;
        aspect-ratio: 3 / 2;
        object-fit: cover;
    }

    .autism-diagram {
        width: 100%;
        max-width: 220px;
        margin-top: 8px;
    }

    .autism-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .autism-divider {
        width: 90px;
        margin: 25px auto;
    }
}


/* =========================================
   SMALL MOBILE DEVICES
========================================= */

@media screen and (max-width: 360px) {

    .autism-page {
        padding: 10px;
    }

    .autism-content p {
        font-size: 15px;
        line-height: 1.65;
    }

    .autism-visual h2 {
        font-size: 18px;
    }

}



/* =========================================
   Q&A PAGE - VIDEO GALLERY
========================================= */

.qa-page {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 16px 15px 25px;
    box-sizing: border-box;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 38px;
    width: 100%;
    margin: 0 auto;
}

.qa-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    text-align: center;
}

.qa-video {
    width: 108px;
    height: 193px;
    max-width: 100%;
    overflow: hidden;
    background: #111111;
}

.qa-video img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111111;
}

.qa-card a h3 {
    width: 100%;
    margin: 16px 0 0;
    padding: 0 10px;
    color: #0645ad;
    font-size: 12px;
    font-weight: 700;
    line-height: 21px;
    text-align: center;
    overflow-wrap: break-word;
}


/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media screen and (max-width: 768px) {

    .qa-page {
        padding: 14px 12px 22px;
    }

    .qa-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 32px;
    }

    .qa-video {
        width: 108px;
        height: 193px;
    }

    .qa-card h3 {
        font-size: 12px;
        line-height: 20px;
        margin-top: 14px;
    }
}


/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media screen and (max-width: 560px) {

    .qa-page {
        padding: 15px 12px 25px;
    }

    .qa-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 15px;
        row-gap: 32px;
    }

    .qa-video {
        width: 108px;
        height: 193px;
    }

    .qa-card h3 {
        max-width: 190px;
        font-size: 12px;
        line-height: 19px;
        margin-top: 13px;
    }
}


/* =========================================
   SMALL MOBILE DEVICES
========================================= */

@media screen and (max-width: 360px) {

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

    .qa-video {
        width: 120px;
        height: 214px;
    }

    .qa-card h3 {
        max-width: 260px;
        font-size: 13px;
        line-height: 20px;
    }

}

/* POEM CSS */
.poem-container {
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

.poem-container p {
    margin-bottom: 1.5rem;
    text-align: center !important;
}

.stanza-divider {
    margin: 1.5rem 0;
    letter-spacing: 0.25em;
    opacity: 0.7;
    text-align: center !important;
}

.poem-end {
    margin-top: 2rem;
    letter-spacing: 0.15em;
}

.poet-img {
    box-sizing: border-box;
    height: auto;
    max-width: 50%;
    vertical-align: bottom;
}


/*SITE ICON */
.site-logo img {
    width: 180px;
    height: auto;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .site-logo img {
        width: 145px;
    }
}

@media screen and (max-width: 480px) {
    .site-logo img {
        width: 120px;
    }
}