/* ==========================================================================
   SITE THEME - Metals Mining Market Review logo colours.
   This file loads after style.css, so these values replace the template's
   default colours everywhere they are used: text, hover, lines, borders,
   labels, buttons and tabs.
   ========================================================================== */
:root {
    --primaryColor: #123c8b;   /* logo blue */
    --secondaryColor: #0c2a63; /* darker logo blue */
    --primaryTint: #e7ecf3;    /* logo blue at about 10%, for light panels */
    --bs-info-rgb: 18, 60, 139; /* Bootstrap bg-info and text-info labels */
    --bs-link-color: #123c8b;
    --bs-link-hover-color: #123c8b;
    --bs-link-color-rgb: 18, 60, 139;
    --bs-link-hover-color-rgb: 18, 60, 139;
}

/* Keeps the "Subscribe Now" style button readable on the dark secondary colour */
.btn.style-three {
    color: var(--whiteColor);
}
.btn.style-three img {
    filter: brightness(0) invert(1);
}
.btn.style-three:after {
    background-color: var(--whiteColor);
}
.btn.style-three:hover {
    color: var(--titleColor);
}
.btn.style-three:hover img {
    filter: none;
}

/* Form fields: logo blue focus border instead of Bootstrap blue */
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--primaryColor);
    box-shadow: 0 0 0 0.2rem rgba(18, 60, 139, 0.2);
}
.form-check-input:checked {
    background-color: var(--primaryColor);
    border-color: var(--primaryColor);
}

.card {
    --bs-card-inner-border-radius: 0;
}

.badge {
    --bs-badge-border-radius: 0;
}

/* Home page */
.navbar-area.style-one .navbar-bottom.custom-navbar-bottom {
    padding: 0 !important;
}


.custom-navbar-top {
    border-bottom: none !important;
}

.line-height {
    line-height: 18px;
}

.drop-tag {
    position: relative;
    background-color: var(--primaryColor);
}

.drop-tag::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 25px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--primaryColor);
}

a:hover {
    color: var(--primaryColor) !important;
}
a.card-link h5 {
    transition: color 0.3s ease;
}
a:hover h6 {
    color: var(--primaryColor);
}

a:hover h4 {
    color: var(--primaryColor);
}

a.card-link:hover h5 {
    color: var(--primaryColor) !important;
}
a:hover h5 {
    color: var(--primaryColor);
    transition: 0.3s ease;
}

/* Reduce image size on mobile */
@media (max-width: 576px) {
    .small-card-img {
        width: 120px !important;
        height: 90px !important;
    }
}

/* Contact us */
.contact-label {
    background-color: var(--primaryColor);
    color: #fff;
    padding: 6px 16px;
    font-weight: 600;
    display: inline-block;
    border-radius: 3px;
}

.contact-line {
    border-bottom: 2px solid #000;
    margin-bottom: 20px;
}

/* Nominate */
.btn-nominate:hover {
    color: #fff !important;
}

.hover-color:hover h5 {
    color: var(--primaryColor) !important;
    transition: color 0.3s ease;
}

/* grc */
.sticky-logo {
    display: none;
}

.navbar-area.sticky .sticky-logo {
    display: block !important;
}

.custom-banner {
    height: 80px;
    object-fit: contain;
    width: 100%;
}

.nav-padding-small .nav-link {
    padding-top: 23px !important;
    padding-bottom: 23px !important;
}

.custom-toggle-arrow::before {
    color: black !important;
}

.custom-toggle-arrow:hover::before {
    color: #0c0202 !important;
}

.page-min-height {
    min-height: 100vh;
}

.bg-info {
    background-color: var(--primaryColor) !important;
}

.custom-green {
    color: var(--primaryColor) !important;
}

.btn-green:hover {
    opacity: 0.8;
}

.custom-green-border {
    border-color: var(--primaryColor) !important;
}

.custom-teal {
    background-color: var(--primaryColor);
    color: #fff;
    transition: 0.3s ease;
    border: none;
}

.custom-teal:hover {
    background-color: var(--primaryColor) !important;
    opacity: 0.85;
    color: #fff !important;
}
/* Custom Button Style */
.btn-custom {
    background-color: var(--primaryColor);
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-custom:hover {
    background-color: var(--primaryColor); /* darker shade on hover */
    color: #ffffff !important;
}


/* ================================
   NAVBAR FONT STYLE (MATCHING .tdi_37)
=================================== */

/* Desktop Navbar Links */
.navbar-area .navbar-nav>.nav-item>.nav-link,
.navbar-area .navbar-nav .dropdown-menu a,
.navbar-area .btn,
.navbar-area .user-options a {
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 1px !important;
}

/* Region Dropdown Items */
#regionDropdown,
#regionDropdown+.dropdown-menu a {
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 1px !important;
}

/* Mobile Menu Items */
.responsive-navbar .responsive-menu li a,
.responsive-navbar .responsive-menu-items li a {
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 1px !important;
}

/* Search Dropdown Text */
.dropdown-menu input,
.dropdown-menu button,
.dropdown-menu a {
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
}

/* Topbar Icons */
.navbar-area .user-options i {
    font-size: 14px !important;
}

h6 {
    margin: 0px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px !important;
}

h5 {
    font-size: 16px !important;
    line-height: 24px !important;
}

.text-info {
    color: var(--primaryColor) !important;
    font-weight: bold;
}

.badge {
    font-size: 10px;
    font-weight: 100;
    line-height: 1;
}

.custom-head {
    font-size: 12px !important;
    line-height: 2 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.info {
    font-size: 12px;
    margin-bottom: 7px;
    line-height: 1.4;
    min-height: 17px;
}

small {
    font-size: 12px;
}

.font-style {
    font-size: 16px !important;
    line-height: 28px !important;
    color: #000;
}

.custom-fontsize {
    font-size: 15px !important;
    line-height: 1.5 !important;
}
.custom-p-size{
    font-size: 17px !important;
    color: black;
}
.custom-p-size:hover{
    color: var(--primaryColor);
}
/* Mobile */
#featureCarousel .carousel-item img {
    height: 100%;
    object-fit: cover;
}

/* Tablet */
@media (min-width: 768px) {
    #featureCarousel .carousel-item img {
        height: 100%;
    }
}

/* Desktop */
@media (min-width: 992px) {
    #featureCarousel .carousel-item img {
        height: 550px;
    }
}

.share-box {
    display: flex;
    align-items: stretch;
    width: fit-content;
}

.share-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    width: 45px;
}

.share-item i {
    font-size: 20px;
}

.share-item:hover {
    filter: brightness(1.15);
}

.social-icon {
    transition: 0.3s ease;
    text-decoration: none;
    font-size: 20px
}
.h-font-size{
    font-size: 18px;
}
.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.bg-colour-custom {
    background-color: #f3f6fb;
}

:root {
    --color-tab-switcher-accent: var(--primaryColor);
    --color-tab-switcher-base: rgba(255, 255, 255, 0.07);
    --transition: 0.45s ease-out;
}

[data-switcher] {
    margin-top: 15px;
}

body.light {
    --color-tab-switcher-base: #050506;
}

/* Tab Switcher */

.switch-item {
    position: relative;
    line-height: 1.2;
    font-weight: 500;
    color: black;
    transition: color var(--transition);
}

.active>.switch-item {
    color: white;
}

/* Segmented Switcher */

.segmented-switcher {
    position: relative;
    display: flex;
    align-items: center;
    width: 70%;
    border-radius: 20px;
    overflow: hidden;
}

.segmented-switch {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0px;
    width: 100%;
    background-color: rgba(12, 42, 99, 0.08); /* neutral grey from the logo black, was navy */
    transition: background-color var(--transition),
        border-radius var(--transition), margin var(--transition);
    cursor: pointer;
}

.segmented-switch.active {
    background-color: var(--color-tab-switcher-accent);
    border-radius: 20px;
    margin: 0 20px;
}

.segmented-switch:has(+ .segmented-switch.active),
.segmented-switch:last-child {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.segmented-switch.active+.segmented-switch,
.segmented-switch:first-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

/* Contained Switcher */

/* Responsive */

@media screen and (max-width: 767.9px) {
    .tab-switcher {
        row-gap: 30px;
    }

    .switch-item {
        font-size: 1.25rem;
    }

    .segmented-switcher,
    .contained-switcher {
        border-radius: 12px;
    }

    .segmented-switch.active {
        margin: 0 10px;
        border-radius: 12px;
    }

    .segmented-switch.active+.segmented-switch,
    .segmented-switch:first-child {
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }

    .segmented-switch:has(+ .segmented-switch.active),
    .segmented-switch:last-child {
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .segmented-switch,
    .contained-switch {
        padding: 16px 8px;
    }
}

@media screen and (max-width: 575.9px) {
    .switch-item {
        font-size: 0.75rem;
    }

    .segmented-switch,
    .contained-switch {
        padding: 12px 8px;
    }
}

/* nav logo hide */
.scroll-logo-col {
    display: none;
}

.sticky-nav .scroll-logo-col {
    display: block;
}

/* Translate */
body {
    top: 0px !important;
}

.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none;
}

.goog-te-gadget>span,
.goog-te-gadget>span * {
    display: none !important;
}

#google_translate_element .skiptranslate {
    font-size: 0 !important;
}

.goog-te-combo {
    padding: 4px 8px;
    border-radius: 5px;
    width: 160px !important;
    min-width: 160px !important;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    min-width: 100px;
}

.goog-te-combo:hover {
    border-color: #888;
    cursor: pointer;
}

.active{
    color: var(--primaryColor) !important;
}

.active > a {
    color: var(--primaryColor) !important;
}
a:hover:after{
    color: var(--primaryColor) !important;
}

.active>.page-link, .page-link.active {
    z-index: 3;
    color: white !important;
    background-color: var(--primaryColor);
    border-color:var(--primaryColor);
}

.page-link {
    color:var(--primaryColor);
}


.active>.page-link, .page-link.active {
    z-index: 3;
    color: white !important;
    background-color: var(--primaryColor);
    border-color:var(--primaryColor);
}

.page-link {
    color:var(--primaryColor);
}

.news-text {
    font-size: 12px !important;
    font-weight: bold !important;
    line-height: 10px !important;
}
.innovate-text {
    font-size: 12px !important;
    line-height: 10px !important;
}
.custom-size{
    width: 1000px;
}
.carousel_text_bg{
    right: 0% !important;
    bottom: 0% !important;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0)
    );
}

.sitemap-link {
    background: #f8f9fa;
    transition: all 0.25s ease;
    border: 1px solid #e9ecef;
}

.sitemap-link:hover {
    background: #ffffff;
    color: var(--primaryColor) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.sitemap-link .arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid #6c757d;
    border-top: 2px solid #6c757d;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.sitemap-link:hover .arrow {
    transform: rotate(45deg) translate(3px, -3px);
}

#advSubmitBtn:disabled,
#advSubmitBtn.disabled,
#submitBtn:disabled,
#submitBtn.disabled,
#subsSubmitBtn:disabled,
#subsSubmitBtn.disabled {
    color: transparent !important;
}

.hover-card {
    border-radius: 12px;
}

/* rotate */
#magCarousel .carousel-item {
    opacity: 0;
    transform: rotateY(70deg) scale(0.9);
    transition: transform 1.2s ease, opacity 1.2s ease;
    transform-origin: center;
}

#magCarousel .carousel-item.active {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
}

#magCarousel .carousel-item.carousel-item-start {
    opacity: 0;
    transform: rotateY(-70deg) scale(0.9);
}

#magCarousel .carousel-item.carousel-item-end {
    opacity: 0;
    transform: rotateY(70deg) scale(0.9);
}

#magCarousel .carousel-item-next,
#magCarousel .carousel-item-prev {
    left: 0 !important;
}





/* slide */
/* #magCarousel {
    --bs-carousel-transition-duration: 1.2s;
}

#magCarousel .carousel-item {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1.2s ease, transform 1.2s ease !important;
}

#magCarousel .carousel-item.active {
    opacity: 1;
    transform: translateX(0);
}

#magCarousel .carousel-item.carousel-item-start {
    opacity: 0;
    transform: translateX(60px);
}

#magCarousel .carousel-item.carousel-item-end {
    opacity: 0;
    transform: translateX(60px);
}

.carousel-item-next.carousel-item-start,
.carousel-item-prev.carousel-item-end {
    transform: translateX(-60px) !important;
} */

/* Section headings: 1.5rem across the site. Headings with their own size class
   or inline size (such as the Nominate banner) keep that size. */
h2 {
    font-size: 1.5rem;
}

/* Innovator page sidebar: logo, company name, contact, award and quote
   are spaced evenly instead of 4px to 16px apart. */
.innovator-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.innovator-card .author-widget {
    margin: 0 !important;
}
.innovator-contact p {
    margin: 0;
    line-height: 1.6;
}

/* Homepage arrow buttons: 30% shorter (37px to 26px) */
.pagination-compact .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
}


/* ==========================================================================
   Inner-page rules from the reference layout (usa-staging.thegrcoutlook.com).
   The templates already use these classes; only the styles were missing.
   Its navy accent is mapped to the logo blue.
   ========================================================================== */

/* Category pages: centre the pointer under centred section tags */
.drop-center::after {
    left: 50% !important;
    transform: translateX(-50%);
}

/* Magazine detail pages: innovator carousel, plus justified card text */
.team-section {
            min-height: 60vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: #f5f5f5;
            overflow: hidden;
            position: relative;
            border-radius: 20px;
        }


        .team-section .about-title {
            font-size: 7.5rem;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: -0.02em;
            position: absolute;
            top: 25px;
            left: 50%;
            transform: translateX(-50%);
            pointer-events: none;
            white-space: nowrap;
            font-family: "Playfair Display", Georgia, serif;
            background: linear-gradient(to bottom,
                    rgb(18 60 139 / 35%) 30%,
                    rgb(255 255 255 / 0%) 76%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }


        .team-section .carousel-container {
            width: 100%;
            max-width: 1200px;
            height: 450px;
            position: relative;
            perspective: 1000px;
            margin-top: 60px;
        }


        .team-section .carousel-track {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            /* transform-style: preserve-3d; */
            transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }


        .team-section .card {
            position: absolute;
            width: 280px;
            height: 380px;
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
        }


        .team-section .card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }


        .team-section .card.center {
            z-index: 10;
            transform: scale(1.1) translateZ(0);
        }


        .team-section .card.center img {
            filter: none;
        }


        .team-section .card.left-2 {
            z-index: 1;
            transform: translateX(-400px) scale(0.8) translateZ(-300px);
            opacity: 0.7;
        }


        .team-section .card.left-2 img {
            filter: grayscale(100%);
        }


        .team-section .card.left-1 {
            z-index: 5;
            transform: translateX(-200px) scale(0.9) translateZ(-100px);
            opacity: 0.9;
        }


        .team-section .card.left-1 img {
            filter: grayscale(100%);
        }


        .team-section .card.right-1 {
            z-index: 5;
            transform: translateX(200px) scale(0.9) translateZ(-100px);
            opacity: 0.9;
        }


        .team-section .card.right-1 img {
            filter: grayscale(100%);
        }


        .team-section .card.right-2 {
            z-index: 1;
            transform: translateX(400px) scale(0.8) translateZ(-300px);
            opacity: 0.7;
        }


        .team-section .card.right-2 img {
            filter: grayscale(100%);
        }


        .team-section .card.hidden {
            opacity: 0;
            pointer-events: none;
        }


        .team-section .member-info {
            text-align: center;
            transition: all 0.5s ease-out;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }


        .team-section .member-name {
            color: rgb(18, 60, 139);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 10px;
            position: relative;
            display: inline-block;
            font-family: "Playfair Display", Georgia, serif;
            text-transform: uppercase;
        }


        .team-section .member-name::before,
        .team-section .member-name::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 100px;
            height: 2px;
            background: rgb(18, 60, 139);
        }


        .team-section .member-name::before {
            left: -120px;
        }


        .team-section .member-name::after {
            right: -120px;
        }


        .team-section .member-role {
            color: #848696;
            font-size: 1.0rem;
            font-weight: 500;
            opacity: 0.8;
            /* text-transform: uppercase; */
            letter-spacing: 0.1em;
            padding: 10px 0;
            margin-top: -15px;
            position: relative;
            font-family: "DM Sans", sans-serif;
            width: 80%;
        }


        .team-section .dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 60px;
        }


        .team-section .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(18, 60, 139, 0.2);
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            outline: none;
            padding: 0;
        }


        .team-section .dot.active {
            background: rgb(18, 60, 139);
            transform: scale(1.2);
        }


        .team-section .nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(18, 60, 139, 0.6);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 20;
            transition: all 0.3s ease;
            font-size: 1.5rem;
            border: none;
            outline: none;
            padding-bottom: 4px;
        }


        .team-section .nav-arrow:hover {
            background: rgba(0, 0, 0, 0.8);
            transform: translateY(-50%) scale(1.1);
        }


        .team-section .nav-arrow.left {
            left: 20px;
            padding-right: 3px;
        }


        .team-section .nav-arrow.right {
            right: 20px;
            padding-left: 3px;
        }


        @media (max-width: 768px) {
            .team-section .about-title {
                font-size: 4.5rem;
            }


            .team-section .card {
                width: 200px;
                height: 280px;
            }


            .team-section .card.left-2 {
                transform: translateX(-250px) scale(0.8) translateZ(-300px);
            }


            .team-section .card.left-1 {
                transform: translateX(-120px) scale(0.9) translateZ(-100px);
            }


            .team-section .card.right-1 {
                transform: translateX(120px) scale(0.9) translateZ(-100px);
            }


            .team-section .card.right-2 {
                transform: translateX(250px) scale(0.8) translateZ(-300px);
            }


            .team-section .member-name {
                font-size: 2rem;
            }


            .team-section .member-role {
                font-size: 1.2rem;
            }


            .team-section .member-name::before,
            .team-section .member-name::after {
                width: 50px;
            }


            .team-section .member-name::before {
                left: -70px;
            }


            .team-section .member-name::after {
                right: -70px;
            }
        }
        .bg-light.shadow p {
    text-align: justify;
}


.bg-light.shadow h4,
.bg-light.shadow h5,
.bg-light.shadow h6 {
    text-align: justify;
}

/* Homepage "Don't miss" list under the magazine: same title size as the post
   titles beside it (14px / 600), with tighter spacing between items. */
#magCarousel ~ .container h6.custom-fontsize {
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 0;
}
#magCarousel ~ .container a {
    margin-bottom: 0 !important;
}
#magCarousel ~ .container hr {
    margin: 8px 0;
}
