.activities-page {
    background: #f1ede4;
    color: #171814;
}

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

.activities-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    height: auto;
    max-height: none;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    padding: 170px 0 82px;
    background: none;
    color: #f8f4ec;
}

.activities-hero::before {
    position: absolute;
    inset: 0;
    z-index: -3;
    content: "";
    background-image: url("../images/melidoni-village-hero.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.activities-hero::after {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(3, 4, 3, 0.91),
            rgba(3, 4, 3, 0.48) 58%,
            rgba(3, 4, 3, 0.16)
        ),
        linear-gradient(
            180deg,
            rgba(3, 4, 3, 0.18),
            rgba(3, 4, 3, 0.88)
        );
}

.activities-eyebrow {
    margin: 0 0 16px;
    color: #d0a45e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.activities-hero h1,
.activities-heading h2,
.activities-empty h2,
.activity-card h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
}

.activities-hero h1 {
    max-width: 800px;
    margin: 0 0 18px;
    font-size: clamp(2.3rem, 3vw, 3.4rem);
    line-height: 1;
}

.activities-hero-content > p:last-child {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    line-height: 1.7;
}

.activities-section {
    padding: 92px 0 120px;
}

.activities-heading {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 48px;
}

.activities-heading h2,
.activities-empty h2 {
    margin: 0;
    font-size: clamp(2.3rem, 3vw, 3.4rem);
    line-height: 1.04;
}

.activities-heading > p {
    margin: 0 0 7px;
    color: #68685f;
    line-height: 1.75;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.activity-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #faf8f2;
    border: 1px solid rgba(30, 31, 26, 0.14);
}

.activity-card-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 23px 23px 0 0;
    background: #141611;
}

.activity-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-card-media img {
    transform: scale(1.035);
}

.activity-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, #282820, #10110e 72%);
    color: #d0a45e;
    font-size: 44px;
}

.activity-card-content {
    padding: 29px 28px 32px;
}

.activity-card time {
    color: #9b6c2c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.activity-card h2 {
    margin: 15px 0 13px;
    font-size: 28px;
    line-height: 1.12;
}

.activity-location {
    display: flex;
    gap: 8px;
    margin: 0 0 16px;
    color: #51534b;
    font-size: 13px;
}

.activity-location i {
    color: #ad7934;
}

.activity-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #66675f;
    font-size: 14px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.activities-empty {
    padding: 78px 28px;
    border: 1px solid rgba(30, 31, 26, 0.15);
    text-align: center;
}

.activities-empty > i {
    display: inline-block;
    margin-bottom: 20px;
    color: #bd8d47;
    font-size: 38px;
}

.activities-empty p {
    max-width: 560px;
    margin: 14px auto 0;
    color: #68685f;
    line-height: 1.7;
}

@media (max-width: 980px) {
    .activities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .activities-shell {
        width: min(100% - 32px, 1180px);
    }

    .activities-hero {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    height: auto;
    max-height: none;
    padding: 176px 0 62px;
}

.activities-hero::before {
    background-position: 58% center;
}

.activities-hero::after {
    background:
        linear-gradient(
            180deg,
            rgba(3, 4, 3, 0.30),
            rgba(3, 4, 3, 0.96) 80%
        );
}

    .activities-hero h1 {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .activities-hero-content > p:last-child {
        font-size: 15px;
    }

    .activities-section {
        padding: 68px 0 82px;
    }

    .activities-heading {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 35px;
    }

    .activities-heading h2,
    .activities-empty h2 {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .activity-card-content {
        padding: 25px 22px 28px;
    }

    .activity-card h2 {
        font-size: 27px;
    }
}
.activity-card {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 250ms ease,
        box-shadow 250ms ease,
        border-color 250ms ease;
}

.activity-card:hover {
    color: inherit;
    text-decoration: none;
    transform: translateY(-4px);
    border-color: rgba(208, 164, 94, 0.55);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
}

.activity-card-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(208, 164, 94, 0.24);
    color: #a8762e;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.activity-card-more i {
    transition: transform 250ms ease;
}

.activity-card:hover .activity-card-more i {
    transform: translateX(5px);
}

.activity-single-main {
    min-height: 100vh;
    padding: 150px 20px 100px;
    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(208, 164, 94, 0.10),
            transparent 35%
        ),
        #f1ede3;
}

.activity-single-panel {
    width: min(900px, 52vw);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(160, 113, 45, 0.26);
    background: #f8f5ed;
    box-shadow: 0 30px 75px rgba(16, 18, 15, 0.14);
}

.activity-single-panel .activity-detail-back {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 22px 28px;
    border-bottom: 1px solid rgba(160, 113, 45, 0.20);
    color: #686b62;
    text-decoration: none;
}

.activity-single-panel .activity-detail-back:hover {
    color: #a8762e;
}

.activity-single-image {
    margin: 0;
    padding: 0;
    background: #0b0d0c;
    border-radius: 28px 28px 0 0;
    overflow: hidden;
}

.activity-single-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    border-radius: 28px 28px 0 0;
    clip-path: inset(0 round 28px 28px 0 0);
}

.activity-single-content {
    padding: clamp(32px, 5vw, 65px);
}

.activity-single-content h1 {
    margin: 14px 0 28px;
    color: #171914;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 3vw, 3.4rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.activity-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    margin-bottom: 35px;
    padding: 20px 0;
    border-top: 1px solid rgba(160, 113, 45, 0.22);
    border-bottom: 1px solid rgba(160, 113, 45, 0.22);
}

.activity-single-meta > div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #55584f;
    font-size: 0.9rem;
    line-height: 1.6;
}

.activity-single-meta i {
    margin-top: 2px;
    color: #a8762e;
}

.activity-single-meta small {
    color: #777a71;
    font-size: inherit;
}

.activity-single-description {
    color: #4f524a;
    font-size: 1.02rem;
    line-height: 1.9;
}

@media (max-width: 1100px) {
    .activity-single-panel {
        width: min(760px, 78vw);
    }
}

@media (max-width: 767.98px) {
    .activity-single-main {
        padding: 110px 16px 65px;
    }

    .activity-single-panel {
        width: 100%;
        border-radius: 14px;
    }

    .activity-single-panel .activity-detail-back {
        padding: 18px 20px;
        font-size: 0.7rem;
    }

    .activity-single-content {
        padding: 32px 22px;
    }

    .activity-single-content h1 {
        font-size: clamp(2.1rem, 10vw, 3rem);
    }

    .activity-single-meta {
        flex-direction: column;
        gap: 14px;
    }

    .activity-single-image img {
        max-height: 420px;
    }

    .activity-card {
        border-radius: 14px;
    }

    .activity-card-media {
        border-radius: 13px 13px 0 0;
    }

    .activity-single-image,
    .activity-single-image img {
        border-radius: 14px 14px 0 0;
        clip-path: inset(0 round 14px 14px 0 0);
    }
}

/* =========================================================
   Ηχητικό υλικό — ίδιο με τους players του σπηλαίου
   ========================================================= */

.activity-single-audio {
    margin: clamp(2.5rem, 6vw, 5rem) calc(clamp(1.5rem, 5vw, 4rem) * -1) 0;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem);
    background: #080a09;
    color: #fff;
}

.activity-single-audio .activity-single-video-heading {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.activity-audio-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(208, 164, 94, 0.20);
    border-left: 1px solid rgba(208, 164, 94, 0.20);
}

.activity-audio-item {
    position: relative;
    display: flex;
    min-height: 290px;
    flex-direction: column;
    padding: 30px;
    overflow: hidden;
    border-right: 1px solid rgba(208, 164, 94, 0.20);
    border-bottom: 1px solid rgba(208, 164, 94, 0.20);
    background: rgba(255, 255, 255, 0.018);
    transition: background-color 250ms ease;
}

.activity-audio-item::before {
    position: absolute;
    inset: 0;
    content: "";
    background: radial-gradient(circle at 85% 15%, rgba(208, 164, 94, 0.13), transparent 38%);
    opacity: 0;
    transition: opacity 250ms ease;
    pointer-events: none;
}

.activity-audio-item:hover {
    background: rgba(208, 164, 94, 0.055);
}

.activity-audio-item:hover::before {
    opacity: 1;
}

.activity-audio-number,
.activity-audio-icon,
.activity-audio-content {
    position: relative;
    z-index: 1;
}

.activity-audio-number {
    color: rgba(208, 164, 94, 0.65);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.78rem;
}

.activity-audio-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin: 34px 0 25px;
    border: 1px solid rgba(208, 164, 94, 0.32);
    border-radius: 50%;
    color: #d0a45e;
    font-size: 19px;
}

.activity-audio-content small {
    display: block;
    margin-bottom: 11px;
    color: #b58139;
    font-size: 0.57rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.activity-audio-content h3 {
    margin: 0;
    color: #fffaf0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 1.8vw, 1.85rem);
    font-weight: 400;
    line-height: 1.15;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.activity-audio-player {
    display: block;
    width: min(100%, 560px);
    margin-top: 1rem;
    color-scheme: dark;
}

@media (max-width: 1050px) {
    .activity-audio-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .activity-single-audio {
        margin-right: -20px;
        margin-left: -20px;
        padding: 60px 20px;
    }

    .activity-audio-list {
        grid-template-columns: 1fr;
    }

    .activity-audio-item {
        min-height: 250px;
        padding: 25px 22px;
    }

    .activity-audio-icon {
        margin: 28px 0 22px;
    }

    .activity-audio-player {
        width: 100%;
    }
}
.activity-single-video {
    margin-top: 48px;
    padding-top: 38px;
    border-top: 1px solid rgba(160, 113, 45, 0.22);
}

.activity-single-video-heading {
    margin-bottom: 20px;
}

.activity-single-video-heading h2 {
    margin: 10px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.2;
}

.activity-single-video-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #090a09;
    border-radius: 28px;
}

.activity-single-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 28px;
}

@media (max-width: 767.98px) {
    .activity-single-video {
        margin-top: 38px;
        padding-top: 30px;
    }

    .activity-single-video-heading h2 {
        font-size: 1.45rem;
    }

    .activity-single-video-frame,
    .activity-single-video-frame iframe {
        border-radius: 14px;
    }
}
