/*
Theme Name: VEGA THEME
Theme URI: https://vegaindonesia.com
Description: Tema WordPress mandiri VEGA THEME, dikembangkan oleh Kristali Vega dan diterbitkan oleh PT VEGA INDO NESIA.
Author: Kristali Vega
Author URI: https://vegaindonesia.com
Version: 1.0.0
Text Domain: vega-theme
*/

/* HOMEPAGE - FULL WIDTH CONTENT WRAPPER */
.home .entry-content.wp-block-post-content {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.home .entry-content.wp-block-post-content > * {
    max-width: none !important;
}


/* HOMEPAGE - RELEASE MAIN CONSTRAINT */
.home main.wp-block-group.is-layout-constrained {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* HOMEPAGE - REMOVE GLOBAL PADDING AND CONSTRAINT */
.home main.wp-block-group.has-global-padding.is-layout-constrained {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

.home main.wp-block-group.has-global-padding.is-layout-constrained > .wp-block-group.alignfull {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}




/* HERO CONTROLS */
.vega-theme-hero-controls .vega-theme-prev {
    order: 1 !important;
}

.vega-theme-hero-controls .vega-theme-next {
    order: 2 !important;
}

.vega-theme-hero-controls .vega-theme-progress {
    order: 3 !important;
}

.vega-theme-hero-controls .vega-theme-counter {
    order: 4 !important;
}

.vega-theme-hero-controls {
    margin-top: 1vw !important;
}

@media (min-width: 768px) {
    .vega-theme-hero-controls {
        margin-top: 2.5vw !important;
    }
}

/* HERO IDENTITY - SITE TITLE AND TAGLINE */
.vega-theme-hero-identity {
    position: relative;
    z-index: 3;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    color: #ffffff;
    padding: 0 20px 5vw !important;
}

.vega-theme-hero-identity-title {
    font-size: clamp(32px, 4vw, 60px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: .04em;
    text-shadow: 0 2px 8px rgba(0,0,0,.65);
}

.vega-theme-hero-identity-tagline {
    margin-top: 8px;
    font-size: clamp(20px, 2.2vw, 32px) !important;
    font-weight: 500;
    line-height: 1.3;
    text-shadow: 0 2px 6px rgba(0,0,0,.65);
}

/* HERO IDENTITY - MOBILE VISIBILITY */

/* HOMEPAGE - REMOVE GAP ABOVE MAIN CONTENT */
body.home main#wp--skip-link--target {
    margin-top: 0 !important;
}


/* =========================================================
   VEGA THEME — BERITA UNGGULAN
   ========================================================= */

.home .vega-featured-news {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 40px 5vw !important;
    box-sizing: border-box !important;
    background: #efefef !important;
}

.home .vega-featured-news-inner {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.home .vega-featured-news-inner > h2 {
    margin: 0 0 28px !important;
    text-align: center !important;
    color: #000000 !important;
    font-weight: 700 !important;
}

.home .vega-featured-news-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
    width: 100% !important;
    margin: 0 !important;
}

.home .vega-featured-news-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #dddddd !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
}

.home .vega-featured-news-image {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background: #dddddd !important;
}

.home .vega-featured-news-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform .3s ease !important;
}

.home .vega-featured-news-image:hover img {
    transform: scale(1.03) !important;
}

.home .vega-featured-news-card-body {
    padding: 18px 20px 22px !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

.home .vega-featured-news-date {
    margin: 0 0 8px !important;
    color: #555555 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.home .vega-featured-news-card h3 {
    margin: 0 !important;
    font-size: clamp(19px, 2vw, 24px) !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

.home .vega-featured-news-card h3 a {
    color: #0066cc !important;
    text-decoration: none !important;
}

.home .vega-featured-news-card h3 a:hover {
    color: #004f9e !important;
    text-decoration: underline !important;
}

.home .vega-latest-news-more {
    margin: 32px auto 0 !important;
    text-align: center !important;
}

.home .vega-latest-news-more a {
    display: inline-block !important;
    padding: 10px 22px !important;
    background: #0066cc !important;
    color: #ffffff !important;
    border: 1px solid #0066cc !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.home .vega-latest-news-more a:hover {
    background: #ffffff !important;
    color: #0066cc !important;
}

@media (max-width: 767px) {
    .home .vega-featured-news {
        padding: 32px 5vw !important;
    }

    .home .vega-featured-news-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* GLOBAL FOOTER */
.wp-block-template-part > .vega-bpbd-footer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wp-block-template-part > .vega-bpbd-footer > .wp-block-group {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 40px 5vw 30px !important;
    box-sizing: border-box !important;
    background: #222222 !important;
    color: #ffffff !important;
}

.wp-block-template-part > .vega-bpbd-footer > .wp-block-group > .wp-block-group {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wp-block-template-part > .vega-bpbd-footer h2,
.wp-block-template-part > .vega-bpbd-footer p {
    margin: 0 !important;
    padding: 0 !important;
}

.wp-block-template-part > .vega-bpbd-footer hr {
    margin: 20px 0 !important;
}

.wp-block-template-part > .vega-bpbd-footer a {
    color: #b0b0b0 !important;
}

.wp-block-template-part > .vega-bpbd-footer a[href^="https://wa.me/"] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    background: #25D366 !important;
    color: #ffffff !important;
    border: 1px solid #25D366 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.wp-block-template-part > .vega-bpbd-footer a[href^="https://wa.me/"] .vega-wa-icon {
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    vertical-align: middle !important;
    fill: currentColor !important;
}

.wp-block-template-part > .vega-bpbd-footer a[href^="https://wa.me/"]:hover {
    background: #1ebe5d !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.wp-block-template-part > .vega-bpbd-footer a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.wp-block-template-part > .vega-bpbd-footer a.vega-back-to-top {
    display: inline-block !important;
    padding: 10px 22px !important;
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.wp-block-template-part > .vega-bpbd-footer a.vega-back-to-top:hover {
    background: #333333 !important;
    color: #ffffff !important;
}

.wp-block-template-part > .vega-bpbd-footer p.has-text-align-center:last-child {
    color: #9e9e9e !important;
}

/* ACCESSIBILITY — PANEL */
.vega-a11y-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 99999;
    padding: 10px 16px;
    background: #222222;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.vega-a11y-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vega-a11y-panel {
    position: fixed;
    right: 16px;
    bottom: 66px;
    z-index: 99999;
    width: min(320px, calc(100vw - 32px));
    padding: 20px;
    box-sizing: border-box;
    background: #ffffff;
    color: #111111;
    border: 2px solid #222222;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0,0,0,.25);
}

.vega-a11y-panel[hidden] {
    display: none;
}

.vega-a11y-panel h2 {
    margin: 0 0 16px;
    font-size: 20px;
}

.vega-a11y-panel button {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    padding: 10px 12px;
    background: #f5f5f5;
    color: #111111;
    border: 1px solid #777777;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.vega-a11y-panel button:hover,
.vega-a11y-panel button:focus-visible {
    background: #222222;
    color: #ffffff;
}

.vega-a11y-panel .vega-a11y-close {
    margin-top: 12px;
}

body.vega-a11y-keyboard *:focus-visible {
    outline: 3px solid #ff6700 !important;
    outline-offset: 3px !important;
}

body.vega-a11y-underline a {
    text-decoration: underline !important;
}

body.vega-a11y-grayscale > *:not(.vega-a11y-ui) {
    filter: grayscale(100%);
}

body.vega-a11y-contrast {
    background: #000000 !important;
    color: #ffffff !important;
}

body.vega-a11y-contrast > *:not(.vega-a11y-ui) {
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.vega-a11y-contrast > *:not(.vega-a11y-ui) a {
    color: #ffff00 !important;
}

body.vega-a11y-contrast > *:not(.vega-a11y-ui) button,
body.vega-a11y-contrast > *:not(.vega-a11y-ui) input,
body.vega-a11y-contrast > *:not(.vega-a11y-ui) select,
body.vega-a11y-contrast > *:not(.vega-a11y-ui) textarea {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 600px) {
    .vega-a11y-toggle {
        right: 12px;
        bottom: 12px;
        padding: 9px 12px;
        font-size: 14px;
        gap: 6px;
    }

    .vega-a11y-icon {
        width: 19px;
        height: 19px;
        flex-basis: 19px;
    }

    .vega-a11y-panel {
        right: 12px;
        bottom: 62px;
        width: calc(100vw - 24px);
        max-height: calc(100vh - 82px);
        overflow-y: auto;
        padding: 16px;
    }
}


/* BERITA TERBARU — BUTTON LIHAT SEMUA BERITA */
.home .vega-latest-news-more a {
    display: inline-block !important;
    padding: 10px 22px !important;
    background: #0066cc !important;
    color: #ffffff !important;
    border: 1px solid #0066cc !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
}

.home .vega-latest-news-more a:hover {
    background: #ffffff !important;
    color: #0066cc !important;
}




/* VEGA NEWS CARDS - HOMEPAGE */
.home .vega-featured-news-section {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 48px 5vw 56px !important;
    box-sizing: border-box !important;
    background: #f7f8fa;
}

.home .vega-featured-news-heading {
    max-width: 1200px;
    margin: 0 auto 28px !important;
    color: #202a35;
    font-size: clamp(25px, 3vw, 34px) !important;
    line-height: 1.2;
    font-weight: 750;
}

.home .vega-featured-news-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
}

.home .vega-featured-news-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    height: 100%;
    margin: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #e0e5eb !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 12px rgba(20, 40, 60, .06) !important;
}

.home .vega-featured-news-image {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background: #e5e9ee !important;
}

.home .vega-featured-news-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform .3s ease !important;
}

.home .vega-featured-news-image:hover img {
    transform: scale(1.04) !important;
}

.home .vega-featured-news-card-body {
    display: flex !important;
    flex: 1 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 18px 20px 22px !important;
    box-sizing: border-box !important;
}

.home .vega-featured-news-date {
    margin: 0 0 10px !important;
    color: #6b7280 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.home .vega-featured-news-card .wp-block-post-title {
    margin: 0 0 12px !important;
    font-size: clamp(18px, 1.6vw, 22px) !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}

.home .vega-featured-news-card .wp-block-post-title a {
    color: #183b5b !important;
    text-decoration: none !important;
}

.home .vega-featured-news-card .wp-block-post-title a:hover {
    color: #0066cc !important;
}

.home .vega-featured-news-card .wp-block-post-excerpt {
    margin: 0 !important;
    color: #505b66 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

.home .vega-featured-news-card .wp-block-post-excerpt__more-link {
    display: inline-block !important;
    margin-top: 12px !important;
    color: #0066cc !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.home .vega-featured-news-card .wp-block-post-excerpt__more-link:hover {
    text-decoration: underline !important;
}

.home .vega-news-pagination {
    max-width: 1200px !important;
    margin: 36px auto 0 !important;
    gap: 12px !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .home .vega-featured-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px !important;
    }
}

@media (max-width: 767px) {
    .home .vega-featured-news-section {
        padding: 32px 5vw 40px !important;
    }

    .home .vega-featured-news-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .home .vega-featured-news-heading {
        margin-bottom: 20px !important;
    }
}

/* VEGA FOOTER - LEFT ALIGNED, BALANCED WIDTH */
.wp-block-template-part footer.wp-block-group.alignfull.vega-bpbd-footer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 36px 5vw 28px !important;
    box-sizing: border-box !important;
    background: #222222 !important;
    color: #ffffff !important;
    text-align: left !important;
}

.wp-block-template-part footer.wp-block-group.alignfull.vega-bpbd-footer > .wp-block-group {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

.wp-block-template-part footer.wp-block-group.alignfull.vega-bpbd-footer h2,
.wp-block-template-part footer.wp-block-group.alignfull.vega-bpbd-footer p {
    margin: 0 0 12px !important;
    padding: 0 !important;
    text-align: left !important;
}

.wp-block-template-part footer.wp-block-group.alignfull.vega-bpbd-footer h2 {
    font-size: 20px !important;
}

.wp-block-template-part footer.wp-block-group.alignfull.vega-bpbd-footer p:last-child {
    margin-bottom: 0 !important;
}

.wp-block-template-part footer.wp-block-group.alignfull.vega-bpbd-footer a {
    color: #d0d8e2 !important;
    text-decoration: none;
}

.wp-block-template-part footer.wp-block-group.alignfull.vega-bpbd-footer a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .wp-block-template-part footer.wp-block-group.alignfull.vega-bpbd-footer {
        padding: 30px 5vw 24px !important;
    }
}

/* BPBD HOMEPAGE — APP WRAPPERS */
.home .vega-kentongan,
.home .vega-smal,
.home .vega-portal-bencana {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    box-sizing: border-box;
}

.home .vega-kentongan {
    background: #FFE0B2 !important;
}

.home .vega-smal {
    background: #DCEEFF !important;
}

.home .vega-app-embed {
    width: 100% !important;
    height: 500px !important;
    overflow: hidden !important;
}

.home .vega-app-embed iframe {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

/* KENTONGAN */
.home .vega-kentongan .wp-block-columns {
    display: flex !important;
    width: 100% !important;
    margin: 24px 0 !important;
}

.home .vega-kentongan .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
}

.home .vega-kentongan .wp-block-column img {
    display: block !important;
    width: 100% !important;
    max-width: 260px !important;
    height: auto !important;
    margin: 0 auto !important;
}

/* PORTAL INFORMASI BENCANA — CARDS */
.home .vega-portal-bencana {
    background: #efefef !important;
}

.home .vega-portal-bencana .wp-block-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
    margin: 24px 0 !important;
}

.home .vega-portal-bencana .wp-block-column {
    box-sizing: border-box !important;
    margin: 12px 0 !important;
    padding: 28px 24px !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
}

.home .vega-portal-bencana .wp-block-column h3 {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    color: #0066cc !important;
}

.home .vega-portal-bencana .wp-block-column p {
    margin-bottom: 12px !important;
}

.home .vega-portal-bencana .wp-block-column p:last-child {
    margin-bottom: 0 !important;
}

/* HOMEPAGE BUTTONS */
.home .vega-kentongan > .wp-block-group > p:last-child a,
.home .vega-smal > .wp-block-group > p:last-child a,
.home .vega-portal-bencana .wp-block-column > p:last-child a {
    display: inline-block !important;
    padding: 10px 22px !important;
    background: #0066cc !important;
    color: #fff !important;
    border: 1px solid #0066cc !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.home .vega-kentongan > .wp-block-group > p:last-child a:hover,
.home .vega-smal > .wp-block-group > p:last-child a:hover,
.home .vega-portal-bencana .wp-block-column > p:last-child a:hover {
    background: #fff !important;
    color: #0066cc !important;
}

@media (max-width: 767px) {
    .home .vega-portal-bencana .wp-block-columns {
        grid-template-columns: 1fr !important;
    }
}

/* BPBD — LAYANAN BUTTON HOVER */
.home .wp-block-buttons .wp-block-button__link:hover,
.home .wp-block-buttons .wp-element-button:hover {
    background-color: #0052a3 !important;
    border-color: #0052a3 !important;
    color: #ffffff !important;
    transition: background-color .2s ease, color .2s ease;
}

/* SINGLE POST - STANDARD NEWS LAYOUT */
body.single-post .vega-single-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 40px 24px 60px !important;
    box-sizing: border-box;
}

body.single-post .vega-single-inner {
    width: 100% !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.single-post .vega-single-title {
    max-width: 950px;
    margin: 0 auto 18px;
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.2;
    font-weight: 750;
}

body.single-post .vega-single-meta {
    max-width: 950px;
    margin: 0 auto 28px;
    color: #686868;
    font-size: 14px;
    gap: 8px 18px;
}

body.single-post .vega-single-featured-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 35px;
}

body.single-post .vega-single-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 6px;
}

body.single-post .vega-single-content {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
    line-height: 1.85;
}

body.single-post .vega-single-content p {
    margin-bottom: 1.25em;
}

body.single-post .vega-single-content h2 {
    margin-top: 1.8em;
    font-size: 1.55em;
    line-height: 1.35;
}

body.single-post .vega-single-content h3 {
    margin-top: 1.5em;
    font-size: 1.25em;
}

body.single-post .vega-single-content img {
    max-width: 100%;
    height: auto;
}

body.single-post .vega-single-categories {
    max-width: 800px;
    margin: 35px auto 0;
    font-size: 14px;
}

@media (max-width: 767px) {
    body.single-post .vega-single-page {
        padding: 25px 16px 40px !important;
    }

    body.single-post .vega-single-title {
        font-size: clamp(26px, 7vw, 34px);
    }

    body.single-post .vega-single-featured-image {
        margin-bottom: 24px;
    }

    body.single-post .vega-single-content {
        font-size: 16px;
        line-height: 1.75;
    }
}

/* FOOTER COLOR FIX */
.wp-block-template-part > .vega-bpbd-footer a[href^="https://wa.me/"] svg {
    fill: #ffffff !important;
    background: transparent !important;
}

.wp-block-template-part > .vega-bpbd-footer a.vega-back-to-top {
    background: #0052a3 !important;
    color: #ffffff !important;
    border: 1px solid #0052a3 !important;
}

.wp-block-template-part > .vega-bpbd-footer a.vega-back-to-top:hover,
.wp-block-template-part > .vega-bpbd-footer a.vega-back-to-top:focus {
    background: #003b75 !important;
    color: #ffffff !important;
    border-color: #003b75 !important;
    text-decoration: none !important;
}


/* VEGA THEME CORE — GENERIC GLOBAL FOOTER */
.wp-block-template-part footer.wp-block-group.alignfull.vega-footer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 40px 5vw 24px !important;
    box-sizing: border-box !important;
    background: #111111 !important;
    color: #ffffff !important;
    text-align: left !important;
}

.wp-block-template-part footer.wp-block-group.alignfull.vega-footer > .vega-footer-inner {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.vega-footer .wp-block-site-title {
    margin: 0 0 10px !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

.vega-footer .wp-block-site-tagline {
    margin: 0 0 20px !important;
    color: #d0d8e2 !important;
}

.vega-footer .wp-block-separator {
    margin: 20px 0 !important;
    border-color: #555555 !important;
}

.vega-footer .wp-block-navigation {
    margin: 16px 0 !important;
}

.vega-footer .wp-block-navigation a,
.vega-footer .wp-block-social-links a {
    color: #d0d8e2 !important;
    text-decoration: none !important;
}

.vega-footer .wp-block-navigation a:hover,
.vega-footer .wp-block-social-links a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.vega-footer .wp-block-social-links {
    margin: 16px 0 0 !important;
}

@media (max-width: 767px) {
    .wp-block-template-part footer.wp-block-group.alignfull.vega-footer {
        padding: 30px 5vw 24px !important;
    }

    .vega-footer .wp-block-navigation__container {
        flex-wrap: wrap !important;
        gap: 12px 18px !important;
    }
}
