/* ===========================
   RESET & BASE STYLES
=========================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f172a;
    padding: 20px;
}


/* ===========================
   RESPONSIVE HEADER IMAGE
=========================== */

/*
Desktop:
main_header.jpg

Mobile:
main_headerv2.jpg
*/


.desktop-only {
    display: block !important;
  	margin:30px 0px 0px 0px;
}


.mobile-only {
    display: none !important;
  	margin:20px 0px 0px 0px;
}



/* ===========================
   MOBILE HEADER IMAGE
=========================== */

@media screen and (max-width:768px) {

    .desktop-only {
        display: none !important;
    }


    .mobile-only {
        display: block !important;
    }

}



/* =========================================
   HERO SLIDER
========================================= */

.hero-slider {
    position: relative;

    width: 100%;
    max-width: 1800px;
    margin: 0 auto;

    overflow: hidden;

    border: 4px solid #776956;
    border-radius: 0 0 40px 40px;

    background-color: #776956;
}


/* =========================================
   SLIDER TRACK
========================================= */

.hero-track {
    display: flex;

    width: 100%;

    /* Prevent the old animation from running */
    animation: none;

    transform: translateX(0);
    transition: transform 0.7s ease-in-out;
}


/* =========================================
   INDIVIDUAL SLIDES
========================================= */

.hero-slide {
    position: relative;

    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
}


/* Main background image */

.hero-image {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================
   SLIDE CONTENT
========================================= */

.hero-content {
    position: absolute;

    top: 0;
    left: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    width: 55%;
    height: 100%;
    padding-left: 7%;

    box-sizing: border-box;
}


/* Title image */

.hero-title {
    display: block;

    width: 65%;
    max-width: 420px;
    height: auto;

    margin-bottom: 3%;
}


/* Description */

.hero-text {
    width: 80%;
    margin: 0 0 4%;

    color: #ffffff;

    font-size: clamp(14px, 1.5vw, 26px);
    font-weight: 600;
    line-height: 1.5;

    text-shadow: -3px 3px 5px rgba(0, 0, 0, 0.4);
}


/* Explore button */

.hero-button {
    display: block;

    transition: transform 0.25s ease;
}

.hero-button img {
    display: block;

    width: 100%;
    max-width: 400px;
    height: auto;
}

.hero-button:hover {
    transform: translateX(8px) scale(1.05);
}

/* =========================================
   SLIDER DOT NAVIGATION
========================================= */

.hero-slider .slider-dots {
    position: absolute;
    z-index: 20;

    bottom: 20px;
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: auto;
    margin: 0;
    padding: 0;

    transform: translateX(-50%);
}


/* Scoped strongly to override global button styling */

.hero-slider .slider-dot {
    flex: 0 0 16px !important;

    display: block !important;

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

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

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

    aspect-ratio: 1 / 1;

    background-color: rgba(255, 255, 255, 0.55) !important;
    background-image: none !important;

    border: 2px solid #ffffff !important;
    border-radius: 50% !important;

    box-shadow: none !important;
    appearance: none;
    cursor: pointer;

    transform: none;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.hero-slider .slider-dot:hover {
    background-color: #ffffff !important;
    transform: scale(1.15);
}


.hero-slider .slider-dot.active {
    background-color: #ffffff !important;
    transform: scale(1.25);
}


.hero-slider .slider-dot:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}


/* =========================================
   MOBILE DOTS
========================================= */

@media screen and (max-width: 768px) {

    .hero-slider .slider-dots {
        bottom: 10px;
        gap: 9px;
    }

    .hero-slider .slider-dot {
        flex-basis: 12px !important;

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

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

        border-width: 1px !important;
    }
}


/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 768px) {

    .hero-slider {
        border-radius: 0 0 25px 25px;
    }

    .hero-content {
        align-items: flex-start;
        justify-content: flex-end;

        width: 100%;
        padding: 8% 8% 12%;

        text-align: left;
    }

    .hero-title {
        width: 55%;
        margin-bottom: 5%;
    }

    .hero-text {
        display: none;
    }

    .hero-button img {
        width: 45%;
    }

    .slider-arrow {
        width: 42px;
        height: 42px;

        border-width: 2px;
        font-size: 22px;
    }

    .slider-arrow--previous {
        left: 10px;
    }

    .slider-arrow--next {
        right: 10px;
    }

    .slider-dots {
        bottom: 10px;
        gap: 8px;
    }

    .slider-dot {
        width: 11px;
        height: 11px;
        border-width: 1px;
    }

    .slider-dot.active {
        width: 28px;
    }
}


/* Respect reduced-motion settings */

@media (prefers-reduced-motion: reduce) {

    .hero-track,
    .hero-button,
    .slider-arrow,
    .slider-dot {
        transition: none;
    }
}




/* ===========================
   CULTURE GRID
=========================== */

.culture-row {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:16px;
    width:100%;
    margin:15px auto;
    padding:0px 0;
}

.culture-row-text {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:16px;
    width:100%;
    margin:15px auto;
    padding:0px 0;
}

.culture-card {
    width:calc(25% - 16px);
    max-width:300px;
	
}

.culture-card img {
    width:100%;
    height:auto;
    display:block;

    border:4px solid #776956;

    border-radius:40px 40px 40px 40px;
}



.culture-card:hover {

    z-index:10;

}



.culture-card:hover img {

    transform:scale(1.1);
	
    transition:transform .25s ease, opacity .25s ease;

}





.culture-card-static {
    width:calc(16.5% - 16px);
    max-width:300px;
	
}

.culture-card-static img {
    width:100%;
    height:auto;
    display:block;

    border:2px solid #776956;

    border-radius:20px 20px 20px 20px;
}



.culture-card-static:hover {

    z-index:10;

}



.culture-card-static:hover img {

    transform:scale(1);
	
    transition:transform .25s ease, opacity .25s ease;

}





/* ===========================
   HIGHLIGHT GRIDS
=========================== */


/* First group:
   Desktop = 2 columns
   Mobile = 1 column
*/

.highlight-row {

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:16px;


    width:100%;

    margin:15px auto;

    padding:0px 0;


    justify-items:center;

    align-items:center;

}





/* Second group:
   Desktop = 3 columns
   Mobile = 2 columns
*/

.highlite-row {

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:16px;


    width:100%;

    margin:15px auto;

    padding:0px 0;


    justify-items:center;

    align-items:center;

}





.highlight-card {

    display:block;

    width:100%;


    overflow:visible;


    position:relative;

    z-index:1;

}





.highlight-card img {

    display:block;

    width:100%;

    height:auto;


    border:4px solid #776956;
	

    border-radius:40px;


    transition:transform .25s ease, opacity .25s ease;
	

}



.highlight-cardv2 {

    display:block;

    width:100%;


    overflow:visible;


    position:relative;

    z-index:1;

}





.highlight-cardv2 img {

    display:block;

    width:100%;

    height:auto;


    border:4px solid #776956;
	

    border-radius:40px;


    transition:transform .25s ease, opacity .25s ease;
	

}





.highlight-card:hover {

    z-index:10;

}





.highlight-card:hover img {

    transform:scale(1.04);

}
.highlight-cardv2:hover img {

    transform:scale(1.0);

}





/* ===========================
   TEXT BOX
=========================== */


.text-box {

    background:#ffffff;


    border:4px solid #776956;


    border-radius:50px;


    padding:30px;


    max-width:100%;


    margin:20px auto;


}



.text-box h2 {

    margin:0 0 15px;
	


    font-size:2.2rem;


    color:#242424;

}

.text-box h3 {

    margin:0 0 15px;


    font-size:2rem;


    color:#242424;

}


.textv2-box {

    background:#ffffff;


    border:4px solid #776956;


    border-radius:40px 40px 0px 0px;


    padding:30px;


    max-width:100%;


    margin:00px auto;


}




.textv2-box h2 {

    margin:0 0 15px;


    font-size:2rem;


    color:#242424;

}


/* ===========================
   SOCIAL MEDIA BAR
=========================== */


.social-bar {

    width:100%;


    background:#776956;


    border:4px solid #776956;


    border-radius:0;


    display:flex;


    justify-content:center;


    align-items:center;


    gap:50px;


    padding:30px 0px;


    margin:0px 0px;

}





.social-bar a {

    color:#ffffff;


    font-size:45px;


    display:flex;


    align-items:center;


    justify-content:center;


    transition:transform .25s ease, opacity .25s ease;

}





.social-bar a:hover {

    transform:scale(1.5);


    opacity:1;

}





/* ===========================
   MAIN NAVIGATION
=========================== */


.main-nav {

    width:100%;


    max-width:1500px;


    margin:0px auto;

}





/* ===========================
   DESKTOP MENU
=========================== */


.menu {

    width:100%;


    display:flex;


    justify-content:space-between;


    align-items:center;


    list-style:none;


    margin:0;


    padding:0;


    background:#776956;


    border:4px solid #776956;


    border-radius:0px;

}





.menu > li {

    flex:1;


    position:relative;


    text-align:center;

}





.menu > li > a {

    display:block;


    padding:18px 0;


    color:#ffffff;


    text-decoration:none;


    font-size:22px;


    font-weight:700;


}





.menu > li > a:hover {

    background:rgba(255,255,255,.15);

}





/* Rounded menu ends */


.menu > li> a {

    border-radius:36px 36px 36px 36px;

}



.menu > li:last-child > a {

    border-radius:36px 36px 36px 36px;

}





/* ===========================
   DROPDOWN MENUS
=========================== */


.dropdown {

    display:none;


    position:absolute;


    top:calc(100% - 4px);


    left:0;


    width:100%;


    list-style:none;


    margin:0;


    padding:10px;


    background:#ffffff;


    border-radius:25px;


    border:3px solid #dfc093;


    box-shadow: 0px 8px 18px rgba(0,0,0,.15);


    z-index:100;

}





/* Invisible hover bridge
   prevents dropdown closing */

.menu > li::after {

    content:"";


    position:absolute;


    left:0;


    right:0;


    bottom:-15px;


    height:15px;

}





.dropdown li a {

    display:block;


    padding:12px 15px;


    color:#776956;


    text-decoration:none;


    font-size:16px;


    font-weight:600;


    border-radius:15px;

}





.dropdown li a:hover {

    background:#f4eadd;

}





/* Open dropdown */


.menu > li:hover > .dropdown {

    display:block;

}


.text-box p {

    margin:0;


    font-size:1.1rem;


    line-height:1.7;


    color:#444;

}

.textv2-box p {

    margin:0;


    font-size:1.1rem;


    line-height:1.7;


    color:#444;

}


/* ===========================
   MOBILE ELEMENTS
=========================== */


.menu-toggle {

    display:none;

}


.mobile-menu {

    display:none;

}





/* ===========================
   MOBILE VERSION
=========================== */


@media screen and (max-width:768px) {


    /* ===========================
       MAIN NAV
    =========================== */


    .main-nav {

        width:100%;

        margin:0px auto;

    }





    /* Hide desktop menu */


    .menu {

        display:none;

    }





    /* ===========================
       EXPLORE BUTTON
    =========================== */


    .menu-toggle {


        display:flex;


        width:100%;


        height:80px;


        justify-content:center;


        align-items:center;


        gap:0px;


        background:#776956;


        border:4px solid #776956;


        border-radius:0px;


        color:#ffffff;


        font-size:26px;


        font-weight:700;


        cursor:pointer;


        box-shadow:0 8px 18px rgba(0,0,0,.15);


    }





    .menu-toggle:hover,
    .menu-toggle:focus,
    .menu-toggle:active {


        background:#776956;


        color:#ffffff;


        transform:none;


        opacity:1;


    }





    /* ===========================
       FULL SCREEN MOBILE MENU
    =========================== */


    .mobile-menu {


        display:none;


        position:fixed;


        top:0;


        left:0;


        width:100%;


        height:100vh;


        background:#776956;


        z-index:9999;


        padding:160px 25px 30px;


        overflow-y:auto;

    }





    .mobile-menu.active {


        display:block;

}





    .mobile-menu ul {


        list-style:none;


        padding:0;


        margin:0;

}





    .mobile-menu li {


        margin-bottom:12px;

}





    .mobile-menu a {


        display:block;


        padding:15px 20px;


        background:#ffffff;


        color:#776956;


        text-decoration:none;


        font-size:18px;


        font-weight:700;


        border-radius:100px;

}





    .mobile-menu a:hover {


        background:#f4eadd;

}





    /* ===========================
       CLOSE BUTTON
    =========================== */


    .menu-close {


        position:absolute;


        top:30px;


        left:50%;


        transform:translateX(-50%);


        background:none;
		
		
        border:3px solid #dfc093;


        border-radius:100px;


        outline:none;


        color:#ffffff;


        font-size:35px;


        line-height:1;


        cursor:pointer;


        padding:0;


        box-shadow:none;

    }










    /* ===========================
       MOBILE IMAGE GRIDS
    =========================== */


.culture-row {

    grid-template-columns:repeat(2, 1fr);

    gap:12px;

    width:100%;

}

	
.culture-card {
    width: calc(50% - 8px);
}



    .highlight-row {


        grid-template-columns:1fr;


        gap:14px;


    }

	
.culture-card-static {
    width: calc(33% - 8px);
}



    .highlight-row {


        grid-template-columns:1fr;


        gap:14px;


    }





/* ===========================
   MOBILE HIGHLIGHT GRID
=========================== */

.highlite-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.highlite-row .highlight-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 5px);
}





}


/* ===========================
   IMAGE LINK TOOLTIPS
=========================== */


.highlight-card[data-tooltip],
.culture-card[data-tooltip] {

    position:relative;

}





/* Tooltip box */

.highlight-card[data-tooltip]::after,
.culture-card[data-tooltip]::after {


    content:attr(data-tooltip);


    position:absolute;


    left:50%;


    bottom:15px;


    transform:translateX(-50%) translateY(15px);


    background:#ffffff;


    color:#242424;


    border:3px solid #dfc093;


    border-radius:25px;


    padding:10px 18px;


    font-size:15px;


    font-weight:600;


    white-space:nowrap;


    opacity:0;


    pointer-events:none;


    transition:.25s ease;


    z-index:100;


    box-shadow:0 5px 15px rgba(0,0,0,.15);

}





/* Tooltip arrow */


.highlight-card[data-tooltip]::before,
.culture-card[data-tooltip]::before {


    content:"";


    position:absolute;


    left:50%;


    bottom:8px;


    transform:translateX(-50%);


    border-left:8px solid transparent;


    border-right:8px solid transparent;


    border-top:8px solid #dfc093;


    opacity:0;


    transition:.25s ease;


    z-index:101;

}





/* Show tooltip */

.highlight-card[data-tooltip]:hover::after,
.highlight-card[data-tooltip]:hover::before,
.culture-card[data-tooltip]:hover::after,
.culture-card[data-tooltip]:hover::before {


    opacity:1;

}





.highlight-card[data-tooltip]:hover::after,
.culture-card[data-tooltip]:hover::after {


    transform:translateX(-50%) translateY(0);

}





/* ===========================
   MOBILE TOOLTIP REMOVAL
=========================== */


@media screen and (max-width:768px) {


    .highlight-card[data-tooltip]::after,
    .highlight-card[data-tooltip]::before,
    .culture-card[data-tooltip]::after,
    .culture-card[data-tooltip]::before {


        display:none;

    }

}







/* =====================================
   FULL WIDTH HERO IMAGE
===================================== */

.page-hero {

    width:100%;

    position:relative;

    overflow:hidden;

    border:4px solid #776956;

    border-radius:0px 0px 30px 30px;

    background:#f4eadd;

}


/* DESKTOP HERO IMAGE */

.page-hero > img {

    width:100%;

    height:auto;

    display:block;

    object-fit:contain;

}



/* MOBILE IMAGE VERSION */

.page-hero .mobile-hero-image {

    display:none;

}


/* =====================================








/* =====================================
   MAIN CONTENT BOX
===================================== */


.myth-content {

    background:#ffffff;

    border:4px solid #776956;

    border-radius:50px;

    padding:50px;

    margin:40px auto;

    max-width:1200px;

    overflow:hidden;

    color:#242424; /* CHANGE THIS COLOUR */

}


.myth-content h1,
.myth-content h2 {

    text-align:left;
    color:#776956;
    line-height:1.2;
	font-weight:700;

}

.myth-content h3{

    text-align:left;
    color:#776956;
    line-height:1.2;
	font-weight:600;

}


.myth-content p {

    font-size:1.15rem;

    line-height:1.7;

}

.secondarymyth-content {

    background:#ffffff;

    border:4px solid #776956;

    border-radius:0px 0px 50px 50px;

    padding:50px;

    margin:0px auto;

    max-width:1200px;

    overflow:hidden;

    color:#242424; /* CHANGE THIS COLOUR */

}


.secondarymyth-content h1,
.secondarymyth-content h2 {

    text-align:left;
    color:#776956;

}


.secondarymyth-content p {

    font-size:1.15rem;

    line-height:1.7;

}




/* =====================================
   FULL WIDTH CONTENT IMAGE
===================================== */


img.content-image-full {
    width: 70%;
    display: block;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {

    img.content-image-full {
        width: 100%;
    }

}


img.content-image-fullv2 {
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {

    img.content-image-full {
        width: 100%;
    }

}




/* =====================================
   FLOATING WRAPPED IMAGES
===================================== */


.content-image-left {

    width:40%;

    float:left;

    margin:

    10px 35px 20px 0;

    border-radius:0px;

}



.content-image-right {

    width:40%;

    float:right;

    margin:

    10px 0 20px 35px;

    border-radius:0px;

}



/* clear floats */

.myth-content::after {

    content:"";

    display:block;

    clear:both;

}



/* =====================================
   BUTTON LINKS
===================================== */


.myth-buttons {

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

    margin:0px 0px 0px 0px;

}



.myth-button {

    background:#776956;

    color:white;

    text-decoration:none;

    padding:12px 30px;

    border-radius:50px;

    border:4px solid #776956;

    box-shadow:

    -6px 8px 0 rgba(0,0,0,.25);

    font-size:1.2rem;

    transition:.3s ease;

}



.myth-button:hover {

    transform:scale(1.08);

}



/* =====================================
   IMAGE BUTTON
===================================== */


.myth-image-link {

    display:block;

    width:300px;

    margin:40px auto;

}



.myth-image-link img {

    width:100%;

    border-radius:300px;

    border:4px solid #776956;

    box-shadow:

    -6px 8px 0 rgba(0,0,0,.25);

    transition:.3s ease;

}



.myth-image-link img:hover {

    transform:scale(1.08);

}



/* =====================================
   YOUTUBE VIDEO
===================================== */


.youtube-container {

    position:relative;

    width:100%;

    padding-bottom:56.25%;

    height:0;

    overflow:hidden;

    border-radius:40px;

    border:4px solid #776956;

    margin:50px 0;

}



.youtube-container iframe {

    position:absolute;

    width:100%;

    height:100%;

    top:0;

    left:0;

}



/* =====================================
   MOBILE
===================================== */


@media(max-width:768px){


.myth-content {

    padding:25px;

    border-radius:35px;

}



.hero-overlay {

    width:70%;

}



.content-image-left,
.content-image-right {

    width:100%;

    float:none;

    margin:20px 0;

}



.myth-buttons {

    gap:20px;

}


.myth-button {

    width:100%;

    text-align:center;

}



}






/* ===========================
   COPYRIGHT FOOTER
=========================== */

.site-footer {

    width:100%;

    background:#776956;

    border:4px solid #776956;

    border-radius:0px 0px 40px 40px;

    padding:0px 20px 40px 20px;

    margin:0px 0px 60px 0px;

    text-align:center;

    color:#ffffff;

}


.site-footer p {

    margin:8px 0;

    font-size:0.95rem;

    line-height:1.6;

}


.site-footer p:first-child {

    font-weight:700;

}

.character-block {
    display: flow-root;
    width: 100%;
    margin-bottom: 60px;
}



main.constellation-widget {
    display: grid;
    width: 100%;
    max-width: 900px;
    margin: 40px auto !important;
}



/* Keep map controls small and square */

.constellation-widget .map-controls {
    width: auto !important;
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

.constellation-widget .map-controls button {
    flex: 0 0 32px !important;

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

    height: 32px !important;
    min-height: 32px !important;

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

    line-height: 32px;
}

.links-panel {
    width: 100%;
    max-width: 1600px;
    margin: 0px auto;
    padding: 50px;
    background-color: #f7f0df;
    border-radius: 50px;
}

.links-panel h1 {
    margin: 0 0 35px;
    color: #776956;
    text-align: center;
	line-height: 35px;
		
    font-size:2rem;
}

.links-panel h3 {
    margin: 0 0 35px;
    color: #776956;
    text-align: center;
	line-height: 35px;		
    font-size:1.3rem;
    font-weight: 500;
}

.links-panel h3 strong {
    margin: 0 0 35px;
    color: #776956;
    text-align: center;
	line-height: 35px;		
    font-size:1.3rem;
    font-weight: 700;
}

.myth-button.current {
    background-color: #a99b86;
    border-color: #a99b86;
    color: #e9dfcf;
    box-shadow: none;
    transform: none;
    cursor: default;
    pointer-events: none;
}

.myth-button.current:hover {
    transform: none;
}

.battle-result {
    clear: both;
    max-width: 100%;
    margin: 0px auto 0px;
    padding: 15px 35px;
	
	
    text-align: center;
    font-size: 28px;
    line-height: 1.4;
    color: #776956;

    background-color: #f7f0df;
    border: 0px solid #776956;
    border-radius: 25px;
}	

.battle-result span {
    display: block;
    margin-top: 5px;
    font-size: 20px;
    color: #776956;
    font-weight: 500;
}

.battle-result strong {
    font-weight: 700;
    color: #776956;
}

@media screen and (max-width: 768px) {
    .battle-result {
        margin: 30px 15px;
        padding: 20px;
        font-size: 22px;
        border-width: 0px;
        border-radius: 18px;
    }

    .battle-result span {
        font-size: 17px;
    }
}

/* Introductory sentence */
.battle-intro {
    margin: 0 0 35px;
}


/* Two-column table layout */
.battle-tables {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 30px;

    width: 100%;
    margin: 0 0 35px;
}


/* Individual comparison table */
.battle-table {
    width: 100%;
    height: 100%;

    border-collapse: separate;
    border-spacing: 0;

    background-color: #f7f0df;
    border: 3px solid #776956;
    border-radius: 25px;
    overflow: hidden;
}


/* Character name */
.battle-table thead th {
    padding: 22px 25px;

    color: #ffffff;
    background-color: #776956;

    font-size: 30px;
    line-height: 1.2;
    text-align: center;
}


/* Strength and weakness rows */
.battle-table tbody th,
.battle-table tbody td {
    padding: 24px;
    vertical-align: top;
    text-align: left;
    line-height: 1.5;
}


/* Strengths and Weaknesses labels */
.battle-table tbody th {
    width: 145px;

    color: #776956;
    background-color: #eee4ce;

    font-weight: 700;
}


/* Description text */
.battle-table tbody td {
    color: #2e2e2e;
    background-color: #f7f0df;
}


/* Divider between rows */
.battle-table tbody tr + tr th,
.battle-table tbody tr + tr td {
    border-top: 2px solid #d7cbb3;
}


/* Final question */
.battle-question {
    margin: 0 0 30px;
    text-align: center;
}

.battle-question strong {
    color: #776956;
    font-weight: 600;
}


/* Mobile layout */
@media screen and (max-width: 768px) {

    .battle-tables {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .battle-table thead th {
        padding: 18px 20px;
        font-size: 25px;
    }

    .battle-table tbody th,
    .battle-table tbody td {
        display: block;
        width: 100%;
        padding: 16px 20px;
    }

    .battle-table tbody th {
        padding-bottom: 6px;
    }

    .battle-table tbody td {
        padding-top: 6px;
    }

    .battle-table tbody tr + tr th {
        border-top: 2px solid #d7cbb3;
    }

    .battle-table tbody tr + tr td {
        border-top: 0;
    }
}




/* =================================
   COMPLETE CONTAINED ELEMENT
================================= */

.jocelyn-page-box {
    width: 100%;
    max-width: 1500px;

    margin: 25px auto;

    overflow: hidden;

    color: #252525;
    background-color: #ffffff;

    border: 3px solid #776956;
    border-radius: 65px;

    box-shadow: 0 10px 0 rgba(119, 105, 86, 0.20);

    font-family: "Poppins", sans-serif;
}


/* Ensure padding stays inside elements */

.jocelyn-page-box,
.jocelyn-page-box * {
    box-sizing: border-box;
}


/* =================================
   MEET JOCELYN LAYOUT
================================= */

.jocelyn-feature {
    display: grid;
    grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 6vw, 85px);

    width: 100%;
    margin: 0;
    padding: clamp(48px, 6vw, 85px);

    background-color: #ffffff;
}


/* =================================
   SQUARE IMAGE
================================= */

.jocelyn-image-box {
    width: 100%;
    aspect-ratio: 1;

    overflow: hidden;
}


.jocelyn-image {
    display: block;

    width: 100%;
    height: 100%;
    margin: 0;

    object-fit: contain;
    object-position: center bottom;
}


/* =================================
   TEXT AREA
================================= */

.jocelyn-feature-copy {
    min-width: 0;
    text-align: left;
}


/* Main heading */

.jocelyn-feature-copy h1 {
    margin: 0 0 38px;

    color: #776956;

    font-family: "Poppins", sans-serif;
    font-size: clamp(48px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
}


/* Bold introductory line */

.jocelyn-feature-copy h2 {
    max-width: 950px;
    margin: 0 0 27px;

    color: #776956;

    font-family: "Poppins", sans-serif;
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -1px;
}


/* Main paragraph */

.jocelyn-feature-copy p {
    max-width: 950px;
    margin: 0 0 34px;

    color: #252525;

    font-family: "Poppins", sans-serif;
    font-size: clamp(19px, 1.8vw, 27px);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
}


/* =================================
   BUTTON
================================= */

.jocelyn-button {
    display: inline-block;

    margin: 0;
    padding: 15px 30px;

    color: #ffffff;
    background-color: #776956;

    border: 0px solid #776956;
    border-radius: 999px;

    box-shadow: 0 6px 0 #776956;

    font-family: "Poppins", sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;

    cursor: pointer;

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


.jocelyn-button:hover {
    transform: translateY(-3px);
    background-color: #867c6c;
    box-shadow: 0 9px 0 #776956;
}


.jocelyn-button:focus-visible {
    outline: 0px solid rgba(77, 125, 204, 0.35);
    outline-offset: 5px;
}


/* =================================
   CONTAINED FOOTER
================================= */

.mythfits-footer {
    width: 100%;
    margin: 0;
    padding: 0px 45px 65px;

    color: #ffffff;
    background-color: #776956;

    text-align: center;
}


/* =================================
   SOCIAL LINKS
================================= */

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;

    margin: 0px;
    padding: 0;
}


.footer-socials a {
    display: grid;
    place-items: center;

    width: 76px;
    height: 76px;

    border-radius: 50%;

    transition:
        transform 0.18s ease,
        background-color 0.18s ease;
}


.footer-socials a:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.12);
}


.footer-socials a:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 5px;
}


.footer-socials img {
    display: block;

    width: 54px;
    height: 54px;
    margin: 0;

    object-fit: contain;
}


/* =================================
   FOOTER TEXT
================================= */

.footer-copyright {
    margin: 0 0 25px;

    color: #ffffff;

    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
}


.footer-description {
    max-width: 1200px;
    margin: 0 auto;

    color: #ffffff;

    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.55;
}


/* =================================
   TABLET
================================= */

@media screen and (max-width: 1000px) {

    .jocelyn-feature {
        grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
        gap: 40px;

        padding: 50px 45px;
    }

    .jocelyn-feature-copy h1 {
        margin-bottom: 27px;
        font-size: 51px;
    }

    .jocelyn-feature-copy h2 {
        margin-bottom: 20px;
        font-size: 25px;
    }

    .jocelyn-feature-copy p {
        margin-bottom: 28px;
        font-size: 19px;
        line-height: 1.55;
    }
}


/* =================================
   MOBILE
================================= */

@media screen and (max-width: 768px) {

    .jocelyn-page-box {
        width: calc(100% - 20px);

        margin: 15px auto;

        border-width: 4px;
        border-radius: 34px;

        box-shadow: 0 6px 0 rgba(119, 105, 86, 0.20);
    }


    /* Image, text and button stack */

    .jocelyn-feature {
        grid-template-columns: 1fr;
        gap: 32px;

        padding: 30px 22px 42px;

        text-align: center;
    }


    .jocelyn-image-box {
        width: min(100%, 340px);
        margin: 0 auto;

        border-width: 3px;
        border-radius: 25px;

        box-shadow: 0 6px 0 rgba(119, 105, 86, 0.22);
    }


    .jocelyn-feature-copy {
        text-align: center;
    }


    .jocelyn-feature-copy h1 {
        margin-bottom: 24px;

        font-size: 44px;
        line-height: 1.05;
        letter-spacing: -1px;
    }


    .jocelyn-feature-copy h2 {
        margin-bottom: 19px;

        font-size: 23px;
        line-height: 1.35;
        letter-spacing: 0;
    }


    .jocelyn-feature-copy p {
        margin-bottom: 28px;

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


    .jocelyn-button {
        padding: 13px 25px;
        font-size: 17px;
    }


    /* Mobile footer */

    .mythfits-footer {
        padding: 42px 22px 45px;
    }


    .footer-socials {
        gap: 27px;
        margin-bottom: 35px;
    }


    .footer-socials a {
        width: 58px;
        height: 58px;
    }


    .footer-socials img {
        width: 42px;
        height: 42px;
    }


    .footer-copyright {
        margin-bottom: 20px;
        font-size: 17px;
    }


    .footer-description {
        font-size: 16px;
        line-height: 1.55;
    }
}


/* =================================
   SMALL MOBILE
================================= */

@media screen and (max-width: 420px) {

    .jocelyn-feature {
        padding-right: 17px;
        padding-left: 17px;
    }

    .jocelyn-feature-copy h1 {
        font-size: 38px;
    }

    .jocelyn-feature-copy h2 {
        font-size: 21px;
    }

    .footer-socials {
        gap: 18px;
    }
}




/* =========================================
   MYTHOLOGY TODAY CONTENT CARDS
========================================= */

.today-sections {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0px;
    font-family: "Poppins", sans-serif;
}


/* =========================================
   MAIN CARD
========================================= */

.today-card {
    --accent-colour: #776956;
    --panel-colour: #f6f3ec;

    position: relative;
    display: flow-root;

    width: 100%;
    margin: 0 0 40px;
    padding: 55px 70px 50px 90px;

    overflow: hidden;
    box-sizing: border-box;

    background-color: var(--panel-colour);
    border-radius: 35px;

    color: #292929;
}


/* Coloured strip down the left side */

.today-card::before {
    content: "";
    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;

    width: 34px;

    background-color: var(--accent-colour);
}


/* =========================================
   CARD COLOURS
========================================= */

.today-card--science {
    --accent-colour: #63b77e;
    --panel-colour: #eef8f1;
}

.today-card--brands {
    --accent-colour: #4d7dcc;
    --panel-colour: #f2f5fc;
}

.today-card--media {
    --accent-colour: #50bbb5;
    --panel-colour: #edf9f8;
}

.today-card--language {
    --accent-colour: #858660;
    --panel-colour: #f5f4ed;
}


/* =========================================
   HEADINGS
========================================= */

.today-card h2 {
    margin: 0 0 2px;
    padding: 0;

    color: var(--accent-colour);

    font-family: "Poppins", sans-serif;
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    font-weight: 800;
    line-height: 1.05;
}

.today-card h3 {
    margin: 0 0 35px;
    padding: 0;

    color: var(--accent-colour);

    font-family: "Poppins", sans-serif;
    font-size: clamp(1.5rem, 2.4vw, 2.7rem);
    font-weight: 600;
    line-height: 1.2;
}


/* =========================================
   BODY COPY
========================================= */

.today-card p {
    margin: 0 0 20px;
    padding: 0;

    font-family: "Poppins", sans-serif;
    font-size: clamp(1rem, 1.25vw, 1.35rem);
    font-weight: 400;
    line-height: 1.55;
}

.today-card p:last-child {
    margin-bottom: 0;
}


/* =========================================
   GREY HOLDING IMAGE
========================================= */

.today-placeholder {
    float: right;

    display: flex;
    align-items: center;
    justify-content: center;

    width: min(35%, 440px);
    aspect-ratio: 1 / 1;

    margin: 15px 0 35px 65px;

    box-sizing: border-box;

    background-color: #707070;
    color: #ffffff;
}

.today-placeholder span {
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}


/* =========================================
   REAL IMAGES
   Use this class when placeholders are replaced
========================================= */

.today-image {
    float: right;

    display: block;

    width: min(35%, 440px);
    aspect-ratio: 1 / 1;
    object-fit: cover;

    margin: 15px 0 35px 65px;

    border-radius: 0;
}


/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 1000px) {

    .today-card {
        padding: 45px 50px 45px 75px;
    }

    .today-placeholder,
    .today-image {
        width: 40%;
        margin-left: 40px;
        margin-bottom: 25px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 700px) {

    .today-sections {
        padding: 12px;
    }

    .today-card {
        margin-bottom: 25px;
        padding: 35px 25px 30px 42px;

        border-radius: 25px;
    }

    .today-card::before {
        width: 18px;
    }

    .today-placeholder,
    .today-image {
        float: none;

        width: 100%;
        max-width: none;

        margin: 0 0 30px;
    }

    .today-card h2 {
        font-size: 2.4rem;
    }

    .today-card h3 {
        margin-bottom: 25px;
        font-size: 1.45rem;
    }

    .today-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

	
	
	
/* =========================================
   FACT AND LINK PANEL — DESKTOP
========================================= */

.myth-content .fact-link-panel {
    clear: both;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;

    width: 100%;
    margin: 45px 0 65px;
    padding: 30px 40px;

    box-sizing: border-box;

    background-color: #f8f0df;
    border-radius: 40px;
}


/* Fun fact */

.myth-content .fact-link-panel__fact {
    margin: 0;
    padding: 0;

    color: #776956;
    font-family: "Poppins", sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}

.myth-content .fact-link-panel__fact strong {
    color: #776956;
    font-weight: 800;
}


/* Link button */

.myth-content .fact-link-panel__button {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 320px;
    margin: 0;
    padding: 18px 35px;

    box-sizing: border-box;

    background-color: #877861;
    border-radius: 50px;
    box-shadow: 0 10px 0 #c8c8c8;

    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.myth-content .fact-link-panel__button:hover {
    transform: translateY(3px);
    box-shadow: 0 7px 0 #c8c8c8;
}

.myth-content .fact-link-panel__button:active {
    transform: translateY(8px);
    box-shadow: 0 2px 0 #c8c8c8;
}


/* =========================================
   FACT AND LINK PANEL — MOBILE
========================================= */

@media screen and (max-width: 768px) {

    .myth-content .fact-link-panel {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 25px;

        margin: 35px 0 50px;
        padding: 30px 25px;

        border-radius: 30px;
    }

    .myth-content .fact-link-panel__fact {
        width: 100%;
        text-align: center;
    }

    .myth-content .fact-link-panel__button {
        width: 100%;
        min-width: 0;
        padding: 18px 25px;
    }
}	



/* ===========================
   STELLARIUM RECOMMENDATION
=========================== */

.stellarium-box {
    width: min(100%, 1600px);
    margin: 40px auto;
    padding: 50px;

    color: #ffffff;

    background:
        linear-gradient(
            100deg,
            #071932 0%,
            #102f4d 55%,
            #1e4c6e 100%
        );

    border: 7px solid #62afd1;
    border-radius: 65px;

    box-sizing: border-box;
}


/* Small heading */

.stellarium-label {
    margin: 0 0 16px;

    color: #62afd1;

    font-size: clamp(18px, 2.2vw, 38px);
    font-weight: 700;
    line-height: 1.1;

    letter-spacing: 0.02em;
    text-transform: uppercase;
}


/* Main heading */

.stellarium-box h2 {
    margin: 0 0 22px;

    color: #ffffff;

    font-size: clamp(38px, 4.5vw, 70px);
    font-weight: 800;
    line-height: 1.08;
}


/* Description */

.stellarium-text {
    margin: 0;

    color: #ffffff;

    font-size: clamp(20px, 2.4vw, 38px);
    font-weight: 400;
    line-height: 1.35;
}


/* Button container */

.stellarium-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 4vw, 55px);

    width: 88%;
    margin: 38px auto 0;
}


/* Store buttons */

.stellarium-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25em;

    min-height: 100px;
    padding: 18px 30px;

    color: #ffffff;
    background: #61a8c8;

    border: none;
    border-radius: 999px;

    font-size: clamp(20px, 2.2vw, 36px);
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;

    box-shadow: none;

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

.stellarium-button strong {
    color: inherit;
    font-weight: 800;
}


/* Button interaction */

.stellarium-button:hover {
    color: #ffffff;
    background: #78bddb;
    transform: translateY(-3px);
}

.stellarium-button:focus-visible {
    outline: 4px solid #ffffff;
    outline-offset: 5px;
}


/* ===========================
   MOBILE
=========================== */

@media (max-width: 750px) {

    .stellarium-box {
        width: calc(100%);
        padding: 32px 24px;
        border-width: 5px;
        border-radius: 38px;
    }

    .stellarium-label {
        margin-bottom: 12px;
    }

    .stellarium-box h2 {
        margin-bottom: 18px;
    }

    .stellarium-text br {
        display: none;
    }

    .stellarium-links {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 15px;
        margin-top: 28px;
    }

    .stellarium-button {
        width: 100%;
        min-height: 70px;
        padding: 15px 20px;
    }

}

/* Match the size of headings such as "Did You Know?" */

.stellarium-box #stellarium-title {
    margin: 0 0 22px !important;

    color: #ffffff !important;

    /* Change 48px if your other headings use a different exact size */
    font-size: 48px !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
}


/* Keep the buttons wide and evenly spaced */

.stellarium-box .stellarium-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 50px !important;

    width: 88% !important;
    margin: 38px auto 0 !important;
}


/* Override any existing site-wide button rules */

.stellarium-box .stellarium-button {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.28em !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 90px !important;

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

    color: #ffffff !important;
    background: #61a8c8 !important;

    border: 0 !important;
    border-radius: 999px !important;

    font-size: clamp(18px, 1.8vw, 30px) !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;

    box-shadow: none !important;
    box-sizing: border-box !important;
}

.stellarium-box .stellarium-button span,
.stellarium-box .stellarium-button strong {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    white-space: nowrap !important;
}

.stellarium-box .stellarium-button strong {
    font-weight: 800 !important;
}

.stellarium-box .stellarium-button:hover {
    color: #ffffff !important;
    background: #78bddb !important;
    transform: translateY(-3px);
}


/* Mobile */

@media (max-width: 750px) {

    .stellarium-box #stellarium-title {
        font-size: 36px !important;
    }

    .stellarium-box .stellarium-links {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        width: 100% !important;
        margin-top: 28px !important;
    }

    .stellarium-box .stellarium-button {
        min-height: 68px !important;
        padding: 14px 18px !important;
        font-size: 20px !important;
    }

}

/* Desktop Stellarium button correction */

@media (min-width: 751px) {

    .stellarium-box .stellarium-links {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 32px !important;

        width: 96% !important;
        margin: 38px auto 0 !important;
    }

    .stellarium-box .stellarium-button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 90px !important;

        padding: 18px 20px !important;

        /* Small enough to remain inside the buttons */
        font-size: clamp(17px, 1.35vw, 24px) !important;
        line-height: 1 !important;
        white-space: nowrap !important;

        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .stellarium-box .stellarium-button span,
    .stellarium-box .stellarium-button strong {
        display: inline !important;
        flex: 0 0 auto !important;

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

        font-size: inherit !important;
        line-height: inherit !important;
        white-space: nowrap !important;
    }

}

.character-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.audio-button {
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 0;
}

.audio-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.audio-button:hover {
  transform: scale(1.06);
}

.audio-button:active {
  transform: scale(0.96);
}

@media (max-width: 600px) {
  .character-title {
    gap: 10px;
  }

  .audio-button {
    width: 44px;
    height: 44px;
  }
}