/*
Theme Name: Ashe Child
Theme URI: https://theoldestgold.com/
Description: Child theme for Ashe.
Author: Dobri Zhekov
Template: ashe
Version: 1.0.0
Text Domain: ashe-child
*/

/* ==========================================================
   THE OLDEST GOLD — CUSTOM HOMEPAGE
========================================================== */

#tog-homepage {
    background: #000000;
    color: #a5a5a5;
}

.tog-home-inner {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
}


/* ==========================================================
   SECTION TYPOGRAPHY
========================================================== */

#tog-homepage h2,
#tog-homepage h3 {
    color: #ffffff;
}

.tog-section-label {
    color: #a9782b;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.tog-section-heading {
    text-align: center;
    margin-bottom: 32px;
}

.tog-section-heading h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 34px;
    font-weight: 500;
    margin: 0;
}

.tog-title-line {
    width: 55px;
    height: 1px;
    background: #b38b42;
    margin: 18px 0 24px;
}

.tog-text-link,
.tog-card-link {
    color: #b38b42 !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none !important;
}

.tog-text-link span,
.tog-card-link span {
    margin-left: 8px;
}


/* ==========================================================
   OUR HERITAGE
========================================================== */

.tog-heritage {
    padding: 55px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.tog-heritage-grid {
    display: grid;
    grid-template-columns: 42fr 58fr;
    align-items: center;
    gap: 60px;
}

.tog-heritage-text {
    padding: 15px 20px;
}

.tog-heritage-text h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 36px;
    font-weight: 500;
    margin: 0;
}

.tog-heritage-text p {
    color: #a5a5a5 !important;
    font-size: 15px;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 25px;
}

.tog-heritage-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #1d1d1d;
    border-radius: 4px;
    overflow: hidden;
}

.tog-heritage-media iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


/* ==========================================================
   VARNA MUSEUM VIRTUAL TOUR
========================================================== */

.tog-museum-tour {
    padding: 55px 0 60px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}


/* VIDEO + TEXT CONTAINER */

.tog-museum-tour-media {
    position: relative;

    width: 90%;
    max-width: 1500px;

    margin: 0 auto;

    aspect-ratio: 16 / 9;

    background: #000000;
    overflow: hidden;
}


/* VIDEO */

.tog-museum-tour-media iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


/* ==========================================================
   VIDEO POSTER
========================================================== */

.tog-museum-tour-poster {
    position: absolute;
    inset: 0;
    z-index: 2;

    background: #000000;

    opacity: 1;
    visibility: visible;

    transition:
        opacity .45s ease,
        visibility .45s ease;
}

.tog-museum-tour-poster img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* Virtual tour start button */

.tog-museum-tour-start {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;

    transform: translate(-50%, -50%);

    display: inline-block;

    padding: 15px 28px;

    color: #b38b42;
    background: rgba(0, 0, 0, 0.78);

    border: 1px solid #b38b42;
    border-radius: 0;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.tog-museum-tour-start span {
    margin-left: 9px;
}

.tog-museum-tour-start:hover,
.tog-museum-tour-start:focus {
    color: #000000;
    background: #b38b42;
    border-color: #b38b42;

    transform: translate(-50%, -50%) scale(1.025);

    outline: none;
}

.tog-museum-tour-start:hover span,
.tog-museum-tour-start:focus span {
    color: #000000;
}


/* Mobile */

@media (max-width: 767px) {

    .tog-museum-tour-start {
        padding: 12px 18px;
        font-size: 10px;
        letter-spacing: .8px;
    }

}


/* Hide poster when video begins */

.tog-museum-tour-media.is-playing .tog-museum-tour-poster {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* TEXT ABOVE VIDEO */

.tog-museum-tour-overlay {
    position: absolute;

    top: 32px;
    left: 38px;

    z-index: 2;

    max-width: 520px;

    padding: 22px 26px;

    background: rgba(0, 0, 0, 0.72);
}


/* SMALL GOLD LABEL */

.tog-museum-tour-overlay .tog-section-label {
    margin: 0 0 10px;

    color: #b38b42;
}


/* TITLE */

.tog-museum-tour-overlay h2 {
    margin: 0 0 10px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 500;

    color: #ffffff;
}


/* DESCRIPTION */

.tog-museum-tour-overlay p {
    margin: 0;

    color: #d0d0d0 !important;

    font-size: 14px;
    line-height: 1.6;
}


/* ==========================================================
   VIRTUAL TOUR — MOBILE
========================================================== */

@media (max-width: 767px) {

    .tog-museum-tour {
        padding: 40px 0;
    }

    .tog-museum-tour-media {
        width: 88%;
    }

    .tog-museum-tour-overlay {
        top: 16px;
        left: 16px;

        max-width: calc(100% - 32px);

        padding: 14px 16px;
    }

    .tog-museum-tour-overlay h2 {
        font-size: 24px;
    }

    .tog-museum-tour-overlay p {
        display: none;
    }

}


/* ==========================================================
   FEATURED TREASURES
========================================================== */

.tog-featured {
    padding: 45px 0 55px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.tog-treasure-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.tog-treasure-card {
    background: #1d1d1d;
    border: 1px solid rgba(255,255,255,.08);
}

.tog-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: radial-gradient(circle at center,#68130f 0%,#360705 50%,#180303 100%);
}

.tog-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tog-card-content {
    padding: 18px 20px 22px;
}

.tog-card-content h3 {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #ffffff;
}

.tog-card-content p {
    color: #a5a5a5 !important;
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 15px;
}


/* ==========================================================
   BULGARIAN TREASURES INTRO
========================================================== */

.tog-treasures-intro {
    padding: 55px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.tog-treasures-intro .tog-heritage-grid {
    grid-template-columns: 58fr 42fr;
}


/* ==========================================================
   VARNA NECROPOLIS EXPLORE
   British Museum inspired cards
========================================================== */

.tog-varna-explore {
    padding: 55px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.tog-varna-explore-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 55px;
    max-width: 1100px;
    margin: 0 auto;
}


/* ==========================================================
   CARD
========================================================== */

.tog-varna-explore-card {
    min-width: 0;
    background: #1d1d1d;
    overflow: hidden;
}


/* ==========================================================
   IMAGE
========================================================== */

.tog-varna-explore-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #1d1d1d;
    text-decoration: none !important;
}

.tog-varna-explore-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    transform: scale(1);
    transition: transform .45s ease;
}


/* Image zoom when the whole card is hovered */

.tog-varna-explore-card:hover .tog-varna-explore-image img {
    transform: scale(1.055);
}


/* ==========================================================
   CARD CONTENT
========================================================== */

.tog-varna-explore-content {
    padding: 24px 28px 28px;
}

.tog-varna-explore-content h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 500;
    margin: 0 0 12px;
}

.tog-varna-explore-content h3 a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color .25s ease;
}

.tog-varna-explore-content h3 a:hover {
    color: #b38b42 !important;
}

.tog-varna-explore-content p {
    color: #a5a5a5 !important;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 20px;
}


/* ==========================================================
   CARD LINK
========================================================== */

.tog-varna-explore-content .tog-card-link {
    display: inline-block;
    color: #b38b42 !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none !important;
}

.tog-varna-explore-content .tog-card-link span {
    margin-left: 8px;
}


/* ==========================================================
   OUTLINED BUTTONS — SELECTED HOMEPAGE LINKS ONLY
========================================================== */

.tog-heritage .tog-text-link,
.tog-treasures-intro .tog-text-link,
.tog-varna-explore .tog-card-link {
    display: inline-block;

    color: #b38b42 !important;
    background: transparent !important;

    border: 1px solid #b38b42;
    border-radius: 0;

    padding: 14px 26px;

    text-decoration: none !important;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}


/* HOVER */

.tog-heritage .tog-text-link:hover,
.tog-treasures-intro .tog-text-link:hover,
.tog-varna-explore .tog-card-link:hover {
    color: #000000 !important;
    background: #b38b42 !important;
    border-color: #b38b42;
}


/* ARROW COLOR ON HOVER */

.tog-heritage .tog-text-link:hover span,
.tog-treasures-intro .tog-text-link:hover span,
.tog-varna-explore .tog-card-link:hover span {
    color: #000000 !important;
}


/* ==========================================================
   LATEST DISCOVERIES
========================================================== */

.tog-discoveries {
    padding: 45px 0 60px;
}

.tog-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px;
}

.tog-news-card {
    display: grid;
    grid-template-columns: 48% minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    background: #1d1d1d;
}

.tog-news-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 3px;
}

.tog-news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tog-news-content {
    min-width: 0;
    padding: 14px 14px 14px 0;
}

.tog-news-content h3 {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 7px;
}

.tog-news-content h3 a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.tog-news-date {
    color: #777777;
    font-size: 9px;
    line-height: 1.3;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.tog-news-content p {
    color: #a5a5a5 !important;
    font-size: 11px;
    line-height: 1.4;
    margin: 0 0 8px;
}


/* ==========================================================
   FOOTER — COLOR ONLY
   Existing footer content/structure remains unchanged.
========================================================== */

.site-footer {
    background: #3b0509 !important;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1100px) {

    .tog-treasure-grid,
    .tog-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tog-varna-explore-grid {
        gap: 35px;
    }

}


@media (max-width: 767px) {

    .tog-home-inner {
        width: 88%;
    }

    .tog-heritage {
        padding: 40px 0;
    }

    .tog-heritage-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tog-heritage-text {
        padding: 0;
    }

    .tog-heritage-text h2,
    .tog-section-heading h2 {
        font-size: 28px;
    }

    .tog-heritage-media {
        min-height: 230px;
    }

    .tog-heritage-image img {
        height: 230px;
    }

    .tog-treasure-grid,
    .tog-news-grid,
    .tog-varna-explore-grid {
        grid-template-columns: 1fr;
    }

    .tog-varna-explore {
        padding: 40px 0;
    }

    .tog-varna-explore-grid {
        gap: 38px;
    }

    .tog-varna-explore-content {
        padding-top: 14px;
    }

    .tog-varna-explore-content h3 {
        font-size: 23px;
    }

    .tog-news-card {
        grid-template-columns: 38% 62%;
    }

}