/* =========================================================
   ETRiS WEBSITE - CLEAN MASTER CSS
   ========================================================= */


/* =========================================================
   1. GENERAL
   ========================================================= */

/* Hide WordPress edit links */
.edit-post-link,
.post-edit-link,
.edit-link {
    display: none !important;
}


/* Header spacing */
.site-header {
    padding-bottom: 14px;
}


/* Hide default WordPress page titles */
body.page .entry-header .entry-title,
body.page .entry-header .page-title {
    display: none !important;
}


/* =========================================================
   2. MAIN NAVIGATION
   ========================================================= */

.main-navigation {
    position: relative;
    z-index: 10000;
    overflow: visible !important;
    margin-bottom: 18px;
}


/* Main menu */
.main-navigation > div > ul,
.main-navigation > ul {
    display: flex !important;
    flex-wrap: nowrap !important;

    justify-content: center !important;
    align-items: center !important;

    gap: 28px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    list-style: none !important;
}


/* Menu items */
.main-navigation > div > ul > li,
.main-navigation > ul > li {
    position: relative;

    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
    white-space: nowrap;
}


/* Main links */
.main-navigation > div > ul > li > a,
.main-navigation > ul > li > a {
    position: relative;
    display: block;

    padding: 12px 8px 14px !important;

    color: #282828;
    font-size: 16px;
    font-weight: 600;

    text-decoration: none !important;

    border: none !important;
    border-radius: 0 !important;

    background: transparent !important;

    transition: color 0.2s ease;
}


/* Remove theme decorations */
.main-navigation > div > ul > li > a::before,
.main-navigation > div > ul > li > a::after {
    border: none !important;
}


/* Active page */
.main-navigation > div > ul > .current-menu-item > a,
.main-navigation > div > ul > .current_page_item > a,
.main-navigation > div > ul > .current-menu-ancestor > a {
    color: #2f6fb6 !important;
    border: none !important;
}


/* Active underline */
.main-navigation > div > ul > .current-menu-item > a::after,
.main-navigation > div > ul > .current_page_item > a::after,
.main-navigation > div > ul > .current-menu-ancestor > a::after {
    content: "" !important;
    display: block !important;

    position: absolute;

    left: 8px;
    right: 8px;
    bottom: 3px;

    height: 3px;

    background: #2f6fb6;
}


/* Hover color */
.main-navigation > div > ul > li > a:hover,
.main-navigation > ul > li > a:hover {
    color: #2f6fb6 !important;
}


/* Hover underline */
.main-navigation > div > ul > li:not(.current-menu-item) > a::after {
    content: "" !important;
    display: block !important;

    position: absolute;

    left: 8px;
    right: 8px;
    bottom: 3px;

    height: 2px;

    background: #2f6fb6;

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.2s ease;
}


.main-navigation > div > ul > li:not(.current-menu-item) > a:hover::after {
    transform: scaleX(1);
}



/* =========================================================
   3. DROPDOWN MENU
   ========================================================= */

@media (min-width: 769px) {

    .site-header,
    .main-navigation,
    .main-navigation > div {
        overflow: visible !important;
    }


    /* Dropdown box */
    .main-navigation ul ul {
        display: none !important;

        position: absolute !important;

        top: 100% !important;
        left: 0 !important;

        min-width: 230px !important;

        margin: 0 !important;
        padding: 6px 0 !important;

        background: #ffffff !important;

        border: 1px solid #d9dee5 !important;
        border-top: 3px solid #2f6fb6 !important;
        border-radius: 0 !important;

        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10) !important;

        z-index: 999999 !important;
    }


    /* Open dropdown */
    .main-navigation li:hover > ul,
    .main-navigation li:focus-within > ul {
        display: block !important;
    }


    /* Dropdown items */
    .main-navigation ul ul li {
        display: block !important;
        float: none !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* Dropdown links */
    .main-navigation ul ul li a {
        display: block !important;

        width: 100% !important;

        box-sizing: border-box !important;

        padding: 11px 16px !important;

        color: #333333 !important;
        background: #ffffff !important;

        font-size: 14px !important;
        font-weight: 500 !important;

        line-height: 1.4;

        text-align: left !important;
        text-decoration: none !important;

        white-space: nowrap !important;

        border: none !important;
    }


    /* Separator */
    .main-navigation ul ul li + li {
        border-top: 1px solid #eeeeee !important;
    }


    /* Dropdown hover */
    .main-navigation ul ul li a:hover,
    .main-navigation ul ul li a:focus {
        color: #2f6fb6 !important;
        background: #f5f7fa !important;
    }


    /* Remove underline inside dropdown */
    .main-navigation ul ul li a::before,
    .main-navigation ul ul li a::after {
        display: none !important;
    }

}



/* =========================================================
   4. HOME - INTRODUCTION
   ========================================================= */

.home .etris-intro {
    margin: 5px 0 18px 0 !important;
    padding: 24px 30px !important;

    background:
        radial-gradient(
            circle at top left,
            rgba(47, 111, 182, 0.07),
            transparent 42%
        ),
        #f8fafc !important;

    border: 1px solid #dce4ea !important;
    border-radius: 7px !important;

    box-shadow: 0 4px 14px rgba(31, 55, 78, 0.05) !important;

    color: #25313d;

    font-size: 17px;
    line-height: 1.7;

    text-align: justify !important;
    text-align-last: left !important;
}


.home .etris-intro a {
    color: #1674b8 !important;

    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}



/* =========================================================
   5. HOME - PTRA INTRO TEXT
   ========================================================= */

.home .etris-ptra-intro {
    margin-top: 8px !important;
    margin-bottom: 18px !important;

    color: #34404c;

    font-size: 17px !important;
    font-weight: 500;

    line-height: 1.65;

    text-align: justify !important;
    text-align-last: left;
}



/* =========================================================
   6. HOME - RESOURCE LIST
   ========================================================= */

.home .etris-resource-list {
    list-style: none !important;

    padding-left: 0 !important;

    margin: 18px 0 26px 0 !important;
}


/* Resource cards */
.home .etris-resource-list > li {
    position: relative;

    margin: 0 0 10px 0 !important;
    padding: 14px 18px !important;

    background: #fafbfd;

    border: 1px solid #dfe5ea;
    border-radius: 6px;

    color: #3b4650;

    line-height: 1.55;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* Completely remove previous blue side accent */
.home .etris-resource-list > li::before {
    display: none !important;
    content: none !important;
}


/* Resource hover */
.home .etris-resource-list > li:hover {
    background: #f5f8fb;

    border-color: #cbd8e4;

    box-shadow: 0 4px 12px rgba(31, 55, 78, 0.06);

    transform: translateY(-1px);
}


/* Resource links */
.home .etris-resource-list a {
    color: #1674b8 !important;

    font-weight: 600;

    text-decoration: none !important;

    border-bottom: 1px solid rgba(22, 116, 184, 0.25);
}


.home .etris-resource-list a:hover {
    border-bottom-color: #1674b8;
}



/* =========================================================
   7. HOME - REFERENCE NOTE
   ========================================================= */

.home .etris-reference-note {
    margin: 26px 0 30px 0 !important;
    padding: 16px 20px !important;

    background: #ffffff !important;

    border: none !important;
    border-top: 1px solid #d9e0e6 !important;
    border-bottom: 1px solid #d9e0e6 !important;

    border-radius: 0 !important;

    box-shadow: none !important;

    color: #58636d;

    font-size: 15px;
    line-height: 1.6;

    text-align: center !important;
}


.home .etris-reference-note a {
    color: #1674b8 !important;

    font-weight: 500;

    text-decoration: none !important;

    border-bottom: 1px solid rgba(22, 116, 184, 0.30);
}


.home .etris-reference-note a:hover {
    border-bottom-color: #1674b8;
}



/* =========================================================
   8. HOME - PTRA VARIABLE DEFINITIONS
   ========================================================= */

.home .etris-variable-list {
    list-style: none !important;

    padding-left: 0 !important;

    margin: 18px 0 24px 0 !important;
}


.home .etris-variable-list > li {
    margin: 0 0 8px 0 !important;
    padding: 10px 14px !important;

    background: #fbfcfd;

    border-left: 3px solid #d7e1ea;

    color: #3a4650;

    line-height: 1.55;
}


.home .etris-variable-list strong {
    color: #25313d;

    font-weight: 700;
}



/* =========================================================
   9. HOME - SECTION TITLES
   ========================================================= */

.etris-section-title {
    margin-top: 48px !important;
    margin-bottom: 18px !important;

    padding-top: 22px;

    border-top: 1px solid #dce3e9;

    color: #25313d;

    font-size: 24px;
    font-weight: 600;

    line-height: 1.3;
}


.etris-section-intro {
    margin-bottom: 22px !important;

    color: #56616b;

    font-size: 16px;

    line-height: 1.6;
}



/* =========================================================
   10. HOME - PTRA FIGURE
   ========================================================= */

.home .etris-ptra-figure {
    max-width: 760px !important;

    margin: 28px auto 42px auto !important;
    padding: 24px !important;

    background: #ffffff;

    border: 1px solid #e1e6eb;
    border-radius: 6px;

    box-shadow: 0 4px 14px rgba(31, 55, 78, 0.04);
}


.home .etris-ptra-figure img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 0 auto;
}



/* =========================================================
   11. HOME - FAIR SECTION
   ========================================================= */

/* Main FAIR paragraph */
.home .etris-fair-intro {
    margin: 18px 0 14px 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;

    border-radius: 0 !important;

    box-shadow: none !important;
    outline: none !important;

    color: #34404c;

    font-size: 16px;
    line-height: 1.7;

    text-align: justify !important;
    text-align-last: left;
}


/* License / data-quality paragraph */
.home .etris-fair-note {
    margin: 14px 0 20px 0 !important;
    padding: 8px 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;

    border-radius: 0 !important;

    box-shadow: none !important;
    outline: none !important;

    color: #4a5560;

    font-size: 15.5px;
    line-height: 1.65;

    text-align: center !important;
}


/* FAIR links */
.home .etris-fair-intro a,
.home .etris-fair-note a {
    color: #1674b8 !important;

    font-weight: 600;
}



/* =========================================================
   12. GLOBAL ETRiS FOOTER
   ========================================================= */

/*
   Muted academic purple.
   It is intentionally NOT an official UCL brand colour.
*/
.etris-global-footer {
    width: 100% !important;
    max-width: 1050px !important;

    margin: 40px auto 0 auto !important;
    padding: 26px 30px 22px !important;

    box-sizing: border-box;

    background: #7a7089 !important;
    color: #ffffff !important;

    border-radius: 6px 6px 0 0;
}


/* Remove unwanted theme background around footer */
.footer-sidebar,
#footer-sidebar {
    background: transparent !important;
}


/* Inner footer */
.etris-footer-inner {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;
}



/* =========================================================
   13. FOOTER - SOCIAL ICONS
   ========================================================= */

.etris-social-links {
    display: flex !important;

    align-items: center !important;

    gap: 12px !important;

    margin: 0 0 16px 0 !important;
    padding: 0 !important;
}


.etris-social-links a {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    text-decoration: none !important;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.etris-social-links a:hover {
    opacity: 0.8;

    transform: translateY(-1px);
}


.etris-social-links img {
    display: block !important;

    width: 28px !important;
    height: 28px !important;

    min-width: 28px !important;
    max-width: 28px !important;

    min-height: 28px !important;
    max-height: 28px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
}



/* =========================================================
   14. FOOTER - TEXT
   ========================================================= */

.etris-footer-main {
    margin: 0 0 10px 0 !important;

    color: #ffffff !important;

    font-size: 14px !important;
    line-height: 1.6 !important;

    text-align: left !important;
}



/* Footer links */
.etris-footer-links {
    display: flex !important;

    gap: 18px !important;

    margin: 7px 0 11px 0 !important;
}


.etris-footer-links a {
    color: #f2eff4 !important;

    font-size: 14px !important;

    text-decoration: none !important;

    border-bottom: 1px solid rgba(255,255,255,0.28) !important;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}


.etris-footer-links a:hover {
    color: #ffffff !important;

    border-bottom-color: #ffffff !important;
}



/* Copyright */
.etris-footer-copy {
    margin: 0 0 18px 0 !important;

    color: rgba(255,255,255,0.82) !important;

    font-size: 13px !important;

    text-align: left !important;
}



/* =========================================================
   15. FOOTER - EPOS / GEO-INQUIRE LOGOS
   ========================================================= */

.etris-footer-logos {
    display: flex !important;

    align-items: center !important;

    gap: 14px !important;

    margin-top: 8px !important;

    flex-wrap: wrap;
}


/*
   Both logos use exactly the same outer dimensions.
*/
.etris-footer-logos img {
    display: block !important;

    width: 120px !important;
    height: 46px !important;

    min-width: 120px !important;
    max-width: 120px !important;

    min-height: 46px !important;
    max-height: 46px !important;

    object-fit: contain !important;

    box-sizing: border-box;

    margin: 0 !important;
    padding: 5px 8px !important;

    background: #ffffff;

    border-radius: 3px;
}



/* =========================================================
   16. REMOVE EXTRA FOOTER WIDGET SPACING
   ========================================================= */

.footer-sidebar .widget,
#footer-sidebar .widget,
.widget-area .etris-global-footer {
    margin: 0 !important;
}



/* =========================================================
   17. MOBILE
   ========================================================= */

@media (max-width: 768px) {

    /* Intro */
    .home .etris-intro {
        margin: 20px 15px !important;
        padding: 20px !important;

        font-size: 16px;
    }


    /* Footer */
    .etris-global-footer {
        width: calc(100% - 30px) !important;

        margin: 30px auto 0 auto !important;

        padding: 22px 20px !important;
    }


    .etris-footer-links {
        flex-wrap: wrap;

        gap: 10px 18px !important;
    }


    .etris-footer-logos {
        flex-wrap: wrap;

        gap: 10px !important;
    }


    .etris-footer-logos img {
        width: 110px !important;
        height: 44px !important;

        min-width: 110px !important;
        max-width: 110px !important;

        min-height: 44px !important;
        max-height: 44px !important;
    }
}
/* =========================================================
   ETRiS FOOTER - REFINED VERSION
   ========================================================= */

/* Remove ugly line / theme borders above footer */
.footer-sidebar,
#footer-sidebar,
.site-footer,
.site-info,
.footer-sidebar .widget,
#footer-sidebar .widget {
    border-top: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Main footer box */
.etris-global-footer {
    width: 100% !important;
    max-width: 980px !important;

    margin: 24px auto 0 auto !important;
    padding: 24px 28px 22px !important;

    box-sizing: border-box;

    background: #847b90 !important;
    color: #ffffff !important;

    border-radius: 8px !important;
}

/* Inner content */
.etris-footer-inner {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
}

/* Top row */
.etris-footer-top {
    margin-bottom: 14px;
}

/* Social icons */
.etris-social-links {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.etris-social-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.etris-social-links a:hover {
    opacity: 0.82;
    transform: translateY(-1px);
}

.etris-social-links img {
    display: block !important;
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    max-width: 27px !important;
    min-height: 27px !important;
    max-height: 27px !important;
    object-fit: contain !important;
}

/* Main text */
.etris-footer-main {
    margin: 0 0 10px 0 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    text-align: left !important;
}

/* Links row */
.etris-footer-links {
    display: flex !important;
    gap: 18px !important;
    margin: 0 0 10px 0 !important;
    flex-wrap: wrap;
}

.etris-footer-links a {
    color: #f7f4fa !important;
    font-size: 14px !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.26) !important;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.etris-footer-links a:hover {
    color: #ffffff !important;
    border-bottom-color: #ffffff !important;
}

/* Copyright */
.etris-footer-copy {
    margin: 0 0 16px 0 !important;
    color: rgba(255,255,255,0.84) !important;
    font-size: 13px !important;
    text-align: left !important;
}

/* Logos */
.etris-footer-logos {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap;
    margin-top: 6px !important;
}

.etris-footer-logos img {
    display: block !important;
    width: 118px !important;
    height: 44px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    object-fit: contain !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    padding: 5px 8px !important;
    border-radius: 4px !important;
    margin: 0 !important;
}

/* Mobile */
@media (max-width: 768px) {
    .etris-global-footer {
        width: calc(100% - 30px) !important;
        margin: 28px auto 0 auto !important;
        padding: 20px 18px !important;
    }

    .etris-footer-main,
    .etris-footer-copy {
        text-align: left !important;
    }

    .etris-footer-logos img {
        width: 108px !important;
        height: 42px !important;
        min-width: 108px !important;
        max-width: 108px !important;
        min-height: 42px !important;
        max-height: 42px !important;
    }
}
.site-info,
.site-footer .site-info,
.powered-by,
.site-footer .powered-by {
    display: none !important;
}
/* =========================================================
   DATA PRODUCTS - INTRO
   ========================================================= */

.etris-data-intro {
    font-size: 16.5px;
    line-height: 1.7;
    color: #34404c;
}

.etris-data-intro > p:first-child {
    margin: 0 0 22px 0;
    text-align: justify;
    text-align-last: left;
}

.etris-data-intro > p:first-child a {
    color: #1674b8 !important;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(22, 116, 184, 0.28);
}

.etris-data-intro > p:first-child a:hover {
    border-bottom-color: #1674b8;
}

.etris-data-links-intro {
    margin: 0 0 12px 0 !important;
    text-align: left;
    color: #34404c;
}

.etris-data-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.etris-data-links a {
    display: inline-block;

    padding: 7px 13px;

    background: #fafbfd;
    color: #1674b8 !important;

    border: 1px solid #d7e0e8;
    border-radius: 4px;

    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none !important;

    box-shadow: none !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.etris-data-links a:hover {
    background: #f3f7fa;
    border-color: #b9ccdc;
}
/* =========================================================
   ETRiS - SIDEBAR INFO CARDS
   Reusable for Feedback, Metadata, etc.
   ========================================================= */

.etris-side-card {
    margin: 0 0 18px 0;
    padding: 18px 20px;

    background: #f8fafc;

    border: 1px solid #dce4ea;
    border-radius: 5px;

    color: #46525d;

    font-size: 14.5px;
    line-height: 1.6;

    box-shadow: 0 3px 10px rgba(31, 55, 78, 0.04);
}

.etris-side-card h3 {
    margin: 0 0 12px 0;

    color: #25313d;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;

    text-align: left;
}

.etris-side-card p {
    margin: 0;
}

.etris-side-card a {
    color: #1674b8 !important;

    font-weight: 600;

    text-decoration: none !important;

    border-bottom: 1px solid rgba(22, 116, 184, 0.28);
}

.etris-side-card a:hover {
    border-bottom-color: #1674b8;
}

.etris-side-divider {
    height: 0;

    margin: 16px 0;

    border: 0;
    border-top: 1px solid #dce4ea;
}
/* =========================================================
   DATA PRODUCTS - SCIENTIFIC SECTION HEADINGS
   ========================================================= */

.etris-data-section-title {
    margin: 34px 0 16px !important;
    padding: 0 0 9px !important;

    color: #25313d !important;

    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.35;

    letter-spacing: 0.2px;

    border-bottom: 1px solid #dce4ea;
}

.etris-data-section-label {
    margin: 0 0 14px !important;

    color: #46525d !important;

    font-size: 15.5px !important;
    font-weight: 600 !important;
    line-height: 1.5;
}
/* =========================================================
   ETRiS - SCIENTIFIC FIGURES
   Reusable across pages
   ========================================================= */

.etris-data-figure {
    max-width: 760px !important;
    margin: 24px auto 12px !important;
    padding: 18px !important;

    background: #ffffff;

    border: 1px solid #e1e6eb;
    border-radius: 5px;

    box-shadow: 0 3px 10px rgba(31, 55, 78, 0.04);
}

.etris-data-figure img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
/* Scientific figure caption */
.etris-figure-caption {
    max-width: 760px !important;
    margin: 10px auto 22px !important;
    padding: 0 2px !important;

    color: #66717c !important;

    font-size: 13.5px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.55 !important;

    text-align: left !important;
}

.etris-figure-caption em,
.etris-figure-caption i {
    color: inherit !important;
    font-style: normal !important;
    font-weight: inherit !important;
}
/* Scientific figure metadata note */
.etris-figure-meta {
    max-width: 760px !important;
    margin: 14px auto 26px !important;
    padding: 12px 2px 14px !important;

    background: transparent !important;

    border: 0 !important;
    border-top: 1px solid #dce4ea !important;
    border-bottom: 1px solid #edf1f4 !important;

    color: #56616b !important;

    font-size: 13.5px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;

    text-align: left !important;
    text-align-last: left !important;

    box-shadow: none !important;
}

.etris-figure-meta strong {
    color: #34404c !important;
    font-weight: 600 !important;
}

.etris-figure-meta a {
    color: #1674b8 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(22, 116, 184, 0.28);
}

.etris-figure-meta a:hover {
    border-bottom-color: #1674b8;
}
/* Reusable scientific resource links */
.etris-resource-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;

    margin: 0 0 30px !important;
    padding: 10px 0 0 !important;

    border-top: 1px solid #edf1f4;
}

.etris-resource-label {
    color: #56616b;
    font-size: 14px;
    font-weight: 600;
}

.etris-resource-row a {
    display: inline-block;

    padding: 5px 10px;

    color: #1674b8 !important;
    background: #fafbfd;

    border: 1px solid #dce4ea;
    border-radius: 4px;

    font-size: 13.5px;
    font-weight: 600;

    text-decoration: none !important;
}

.etris-resource-row a:hover {
    background: #f3f7fa;
    border-color: #b9ccdc;
}
/* Reusable map/dashboard cards */
.etris-map-card {
    padding: 18px !important;

    background: #ffffff;

    border: 1px solid #dfe5ea;
    border-radius: 6px;

    box-shadow: 0 3px 10px rgba(31, 55, 78, 0.04);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.etris-map-card:hover {
    border-color: #c7d6e3;
    box-shadow: 0 5px 14px rgba(31, 55, 78, 0.07);
    transform: translateY(-1px);
}

.etris-map-card img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.etris-map-card p,
.etris-map-card figcaption {
    margin: 12px 0 0 !important;

    color: #34404c;

    font-size: 15px !important;
    font-weight: 600;

    text-align: center;
}
/* Main title for internal pages */
.etris-page-title {
    margin: 0 0 22px !important;
    padding: 0 0 18px !important;

    color: #25313d;

    font-size: 28px !important;
    font-weight: 500;
    line-height: 1.35;

    text-align: center;

    border: 0 !important;
    border-bottom: 1px solid #dce3e9 !important;
}
/* =========================================================
   ETRiS - ONLINE TRAINING RECORD
   ========================================================= */

.etris-training-entry {
    margin: 0 0 34px;
    color: #34404c;
}

.etris-training-entry h2 {
    margin: 0 0 22px !important;
    padding: 0 0 14px !important;

    color: #25313d !important;

    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;

    border-bottom: 1px solid #dce4ea;
}


/* Course details */

.etris-training-meta {
    margin: 0 0 20px;

    border-top: 1px solid #edf1f4;
}

.etris-training-meta-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 16px;

    padding: 10px 0;

    border-bottom: 1px solid #edf1f4;

    font-size: 15.5px;
    line-height: 1.6;
}

.etris-training-meta-row strong {
    color: #46525d;
    font-weight: 600;
}


/* Slides / videos */

.etris-training-materials {
    margin: 22px 0 28px;
}

.etris-training-day {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    margin: 0 0 8px;
    padding: 11px 14px;

    background: #f8fafc;

    border: 1px solid #dfe5ea;
    border-radius: 4px;
}

.etris-training-day > strong {
    color: #34404c;
    font-size: 14px;
    font-weight: 600;
}

.etris-training-day > div {
    display: flex;
    gap: 8px;
}

.etris-training-day a {
    display: inline-block;

    padding: 5px 10px;

    color: #1674b8 !important;
    background: #ffffff;

    border: 1px solid #d7e0e8;
    border-radius: 4px;

    font-size: 13.5px;
    font-weight: 600;

    text-decoration: none !important;
}

.etris-training-day a:hover {
    background: #f3f7fa;
    border-color: #b9ccdc;
}


/* Learning outcomes */

.etris-training-learning {
    margin-top: 28px;
    padding-top: 20px;

    border-top: 1px solid #dce4ea;
}

.etris-training-learning h3 {
    margin: 0 0 15px !important;

    color: #25313d !important;

    font-size: 17px !important;
    font-weight: 600 !important;
}

.etris-training-learning p {
    margin: 0 0 15px !important;

    color: #46525d !important;

    font-size: 15px !important;
    line-height: 1.75 !important;

    text-align: left !important;
}


/* Mobile */

@media (max-width: 650px) {

    .etris-training-meta-row {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .etris-training-day {
        align-items: flex-start;
        flex-direction: column;
    }
}