:root {
    --green: #123b2b;
    --green2: #09271c;
    --gold: #bd9e5a;
    --cream: #f5f2ea;
    --ink: #18211b;
    --muted: #68726c;
    --line: #d8ddd8;
    --white: #fff;
    --shadow: 0 18px 45px rgba(13, 39, 28, .10)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6
}

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

a {
    color: inherit;
    text-decoration: none
}

.wrap {
    width: min(1180px, calc(100% - 48px));
    margin: auto
}

.topbar {
    background: #071d15;
    color: #d8e3dc;
    font-size: 12px;
    letter-spacing: .06em
}

.topbar .wrap {
    height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 242, 234, .96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, .08)
}

.nav-inner {
    height: 84px;
    display: flex;
    align-items: center;
    gap: 32px
}

.logo img {
    width: 190px;
    height: auto
}
.navlinks {
    display: flex;
    gap: 28px;
    margin-left: auto;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.navlinks > a,
.nav-dropdown-main {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin-left: 0;
}
.navlinks a {
    padding: 32px 0 28px;
    border-bottom: 3px solid transparent
}

.navlinks a:hover,
.navlinks a.active {
    color: var(--green);
    border-bottom-color: var(--gold)
}

.cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 13px 19px;
    border: 1px solid var(--green);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    background: transparent
}

.cta.primary {
    background: var(--green);
    color: #fff
}

.cta.gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #10231a
}

.mobilebtn {
    display: none;
    margin-left: auto;
    border: 0;
    background: none;
    font-size: 25px
}

.hero {
    min-height: 640px;
    background: linear-gradient(90deg, rgba(6, 28, 19, .96), rgba(6, 28, 19, .68) 52%, rgba(6, 28, 19, .20)), url('images/hero-home.jpg') center/cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center
}

.hero-content {
    max-width: 760px;
    padding: 95px 0
}

.eyebrow {
    color: #d4ba80;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase
}

.hero h1,
.pagehero h1,
h1,
h2,
h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400
}

.hero h1 {
    font-size: 67px;
    line-height: 1.02;
    margin: 14px 0 23px
}

.hero p {
    font-size: 20px;
    max-width: 650px;
    color: #e1e9e4
}

.actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 30px
}

.market {
    background: #fff;
    border-bottom: 1px solid var(--line)
}

.market .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.market-item {
    padding: 23px 25px;
    border-right: 1px solid var(--line)
}

.market-item:last-child {
    border: 0
}

.market-label {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase
}

.market-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--green);
    margin-top: 2px
}

.pagehero {
    height: 350px;
    color: #fff;
    display: flex;
    align-items: end;
    background-size: cover;
    background-position: center
}

.pagehero .overlay {
    width: 100%;
    padding: 85px 0 48px;
    background: linear-gradient(0deg, rgba(4, 24, 16, .90), rgba(4, 24, 16, 0))
}

.pagehero h1 {
    font-size: 52px;
    margin: 4px 0 0
}

.crumb {
    font-size: 12px;
    color: #d7dfda;
    text-transform: uppercase;
    letter-spacing: .12em
}

.section {
    padding: 88px 0
}

.section.white {
    background: #fff
}

.kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--gold);
    font-weight: 700
}

h2 {
    font-size: 43px;
    line-height: 1.1;
    margin: 10px 0 20px
}

.lead {
    font-size: 19px;
    color: #55625a;
    max-width: 800px
}

.two {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 65px;
    align-items: start
}

.three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    background: var(--line);
    gap: 1px
}

.stat {
    background: #fff;
    padding: 29px
}

.stat strong {
    display: block;
    font: 32px Georgia, serif;
    color: var(--green)
}

.stat span {
    font-size: 13px;
    color: var(--muted)
}

.dark {
    background: var(--green2);
    color: #fff
}

.dark .lead,
.dark p {
    color: #d5dfd9
}

.featuregrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 28px;
    margin: 30px 0
}

.feature {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .2)
}

.feature b {
    display: block;
    font-size: 11px;
    color: #d6bd84;
    text-transform: uppercase;
    letter-spacing: .1em
}

.image-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow)
}

.image-card img {
    width: 100%;
    height: 420px;
    object-fit: cover
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 27px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .03)
}

.card .date {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700
}

.card h3 {
    font-size: 24px;
    line-height: 1.25;
    margin: 13px 0
}

.card p {
    color: var(--muted);
    font-size: 14px
}

.card .read {
    font-size: 13px;
    color: var(--green);
    font-weight: 700
}

.person {
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px
}

.person h3 {
    font-size: 24px;
    margin: 0 0 3px
}

.role {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold);
    font-weight: 700
}

.person p {
    color: var(--muted);
    font-size: 14px
}

.docs {
    display: grid;
    gap: 10px
}

.doc {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 18px 20px
}

.doc:hover {
    border-color: var(--gold)
}

.resource-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff
}

.resource-table th,
.resource-table td {
    padding: 14px 16px;
    border: 1px solid var(--line);
    text-align: left;
    font-size: 14px
}

.resource-table th {
    background: #ece8de
}

.notice {
    padding: 17px 20px;
    border-left: 4px solid var(--gold);
    background: #efe9dc;
    color: #4f5b53;
    font-size: 14px
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px
}

.gallery img {
    height: 230px;
    width: 100%;
    object-fit: cover;
    background: #ddd;
    border: 1px solid var(--line)
}

.contactbox {
    background: #fff;
    border: 1px solid var(--line);
    padding: 34px 38px;
    max-width: 1000px
}

.contactbox b {
    color: var(--green)
}

footer {
    background: #071d15;
    color: #bdc9c1;
    padding: 58px 0 25px
}

.footergrid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 45px
}

footer .footerlogo {
    filter: brightness(0) invert(1);
    width: 190px;
    margin-bottom: 16px
}

footer h4 {
    color: #fff;
    margin-top: 0
}

footer p,
footer a {
    font-size: 13px
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 38px;
    padding-top: 20px;
    font-size: 11px;
    color: #8fa097
}

.small {
    font-size: 13px;
    color: var(--muted)
}

@media(max-width:900px) {

    .navlinks,
    .nav .cta.primary {
        display: none
    }

    .mobilebtn {
        display: block
    }

    .navlinks.open {
        display: flex;
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        border-bottom: 1px solid var(--line);
        gap: 0
    }

    .navlinks.open a {
        padding: 12px 0;
        width: 100%
    }

    .hero h1 {
        font-size: 48px
    }

    .hero {
        min-height: 560px
    }

    .market .wrap {
        grid-template-columns: 1fr 1fr
    }

    .market-item:nth-child(2) {
        border-right: 0
    }

    .two,
    .three,
    .footergrid {
        grid-template-columns: 1fr
    }

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

    .section {
        padding: 62px 0
    }

    .pagehero h1 {
        font-size: 42px
    }
}

@media(max-width:560px) {
    .wrap {
        width: min(100% - 30px, 1180px)
    }

    .hero h1 {
        font-size: 40px
    }

    .hero p {
        font-size: 17px
    }

    .market .wrap {
        grid-template-columns: 1fr
    }

    .market-item {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

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

    .logo img {
        width: 165px
    }
}

.archive-grid {
    display: grid;
    gap: 34px
}

.archive-year {
    background: #fff;
    border: 1px solid var(--line);
    padding: 25px
}

.archive-year h3 {
    font-size: 27px;
    margin: 0 0 17px;
    color: var(--green)
}

.archive-list {
    display: grid
}

.archive-news {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: 14px
}

.archive-news:first-child {
    border-top: 0
}

.archive-news:hover span:nth-child(2) {
    color: var(--green)
}

.archive-date {
    font-size: 12px;
    color: var(--muted);
    font-variant-numeric: tabular-nums
}

.archive-news b {
    font-size: 12px;
    color: var(--green)
}

@media(max-width:650px) {
    .archive-news {
        grid-template-columns: 1fr auto
    }

    .archive-date {
        grid-column: 1/-1
    }

    .archive-year {
        padding: 19px
    }
}

.resource-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.resource-table th {
    background: #e9e4d9;
    color: #173c2b;
    font-weight: 700;
    padding: 18px;
    text-align: left;
    border: 1px solid #d2d5d1;
}

.resource-table td {
    background: #ffffff;
    color: #1d2922 !important;
    padding: 18px;
    border: 1px solid #d2d5d1;
}

.resource-table tbody tr:nth-child(even) td {
    background: #f4f3ef;
}

/* Management and Board */

.people-section {
    background: #ffffff;
    padding: 90px 0;
}

.people-section h2 {
    margin-bottom: 32px;
}

.people-grid {
    display: grid;
    gap: 28px;
    align-items: stretch;
}

.management-grid {
    grid-template-columns: repeat(2, 1fr);
}

.board-grid {
    grid-template-columns: repeat(3, 1fr);
}

.person-card {
    border: 1px solid #d8ddd9;
    background: #ffffff;
    padding: 30px 32px;
    height: 100%;
}

.person-card h3 {
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1.2;
    color: #102d21;
    margin: 0 0 8px;
}

.person-title {
    color: #b38d42;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.person-card p {
    color: #53635b;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 15px;
}

.board-heading {
    margin-top: 75px;
}

.audit-box {
    margin-top: 35px;
    padding: 25px 30px;
    background: #f4f1e9;
    border-left: 4px solid #b99a59;
}

.audit-box h3 {
    font-family: Georgia, serif;
    color: #123b2b;
    margin: 0 0 8px;
}

.audit-box p {
    margin: 0;
    color: #53635b;
}

@media (max-width: 900px) {

    .management-grid,
    .board-grid {
        grid-template-columns: 1fr;
    }

    .board-heading {
        margin-top: 55px;
    }
}

/* Larger header logo */
.logo img,
.brand img {
    width: 230px;
    height: auto;
    max-height: 70px;
}

.nav img[alt="Candelaria Mining"] {
    width: 300px;
    height: auto;
}

/* Financial reports */

.financial-intro {
    max-width: 100%;
    margin-bottom: 45px;
    color: #596860
    text-align: justify;
}

.financial-year {
    margin-bottom: 46px;
}

.financial-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.financial-table th,
.financial-table td {
    padding: 13px 16px;
    text-align: center;
    border: none;
}

.financial-table th:first-child,
.financial-table td:first-child {
    text-align: left;
    width: 48%;
}

.financial-table thead th {
    background: transparent;
    color: #123b2b;
    font-size: 28px;
    font-weight: 700;
}

.financial-table thead th:first-child {
    font-family: Georgia, serif;
    font-size: 30px;
    color: #123b2b;
}

.financial-table thead th:not(:first-child) {
    color: #65b9b4;
}

.financial-table tbody tr:nth-child(odd) {
    background: #eef2f3;
}

.financial-table tbody tr:nth-child(even) {
    background: #f8f9f9;
}

.financial-table td {
    color: #34483e;
    font-size: 14px;
}

.financial-table a {
    color: #bd9847;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.financial-table a:hover {
    color: #123b2b;
    text-decoration: underline;
}

.previous-years {
    margin-top: 75px;
    padding: 42px 0 10px;
    border-top: 1px solid #dde2de;
}

.previous-years h3 {
    font-family: Georgia, serif;
    font-size: 28px;
    color: #123b2b;
    margin: 0 0 10px;
}

.previous-years p {
    max-width: 650px;
    color: #596860;
    margin-bottom: 22px;
}

.sedar-button {
    display: inline-flex;
    flex-direction: column;
    min-width: 185px;
    padding: 18px 25px;
    background: #c3a34d;
    color: #123b2b;
    text-decoration: none;
}

.sedar-button strong {
    font-size: 22px;
    line-height: 1;
}

.sedar-button span {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.sedar-button:hover {
    background: #123b2b;
    color: #ffffff;
}

@media (max-width: 700px) {

    .financial-table th,
    .financial-table td {
        padding: 10px 6px;
        font-size: 11px;
    }

    .financial-table thead th {
        font-size: 18px;
    }

    .financial-table thead th:first-child {
        font-size: 22px;
    }

    .financial-table th:first-child,
    .financial-table td:first-child {
        width: 42%;
    }

    .financial-table a {
        font-size: 11px;
    }
}

#financials {
    padding-top: 35px;
}

.financial-intro {
    margin-bottom: 30px;
}

.financial-year {
    margin-bottom: 38px;
}

.financial-table thead th:first-child {
    font-size: 32px;
    color: #0f3b2d;
}

.financial-table thead th:not(:first-child) {
    font-size: 25px;
}

.section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Balanced spacing for Investors page sections */
.investor-section {
    padding-top: 55px;
    padding-bottom: 55px;
}

.notice {
    margin-bottom: 55px;
}

/* AGM shareholder documents */

.agm-docs {
    margin-top: 28px;
    width: 100%;
    max-width: none;
}

.agm-doc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    text-decoration: none;
    border-bottom: 1px solid #d8ddd9;
    background: #f6f7f6;
    color: #243b31;
}

.agm-doc:nth-child(even) {
    background: #eef2f1;
}

.agm-doc span {
    font-size: 15px;
}

.agm-doc b {
    color: #bd9847;
    font-size: 12px;
    letter-spacing: .04em;
}

.agm-doc:hover {
    background: #e8ece9;
}

/* News releases */

.news-years {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    margin: 35px 0 10px;
    background: #075c73;
}

.news-year {
    border: none;
    background: transparent;
    color: #ffffff;
    padding: 14px 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
}

.news-year:hover,
.news-year.active {
    background: #123b2b;
    color: #ffffff;
}

.news-release {
    display: grid;
    grid-template-columns: 170px 1fr 70px;
    gap: 25px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #cfd6d2;
    text-decoration: none;
}

.news-date {
    color: #123b2b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.news-title {
    font-family: Georgia, serif;
    color: #075c73;
    font-size: 20px;
    line-height: 1.25;
}

.news-view {
    text-align: right;
    color: #bd9847;
    font-size: 12px;
    font-weight: 700;
}

.news-release:hover .news-title {
    color: #123b2b;
}

@media (max-width: 800px) {
    .news-years {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-release {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .news-view {
        text-align: left;
    }
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-main {
    padding: 32px 0 28px;
    border-bottom: 3px solid transparent;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -18px;
    min-width: 230px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .10);
    z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 18px;
    font-size: 13px;
    border-bottom: 1px solid #ecefea;
    white-space: nowrap;
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background: #f4f1e9;
    color: var(--green);
}

/* Investors navigation dropdown */

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-main {
    padding: 32px 0 28px;
    border-bottom: 3px solid transparent;
}

.nav-dropdown:hover .nav-dropdown-main,
.nav-dropdown-main.active {
    color: var(--green);
    border-bottom-color: var(--gold);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -18px;
    min-width: 235px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .10);
    z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 18px;
    font-size: 13px;
    border-bottom: 1px solid #ecefea;
    white-space: nowrap;
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background: #f4f1e9;
    color: var(--green);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .2s ease, transform .2s ease;
}

.social-linkedin {
    width: 15px;
    height: 15px;
    background: var(--white);
    color: #071d15;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 900;
    line-height: 15px;
    text-align: center;
    letter-spacing: -0.05em;
    transform: translateY(-1.5px);
}

.social-icon:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.social-linkedin:hover {
    background: #ffffff;
    color: #071d15;
}

.social-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-left: 2px;
    transform: translateY(-1px);
}

.social-x svg {
    width: 14px;
    height: 14px;
    fill: var(--white);
    display: block;
    transition: fill .2s ease, transform .2s ease;
}

.social-x:hover svg {
    fill: #ffffff;
    transform: translateY(-1px);
}