body {
    background-color: #FBF7F0;
    color: #302622;

    font-family: "DM Sans", sans-serif;
}

h1,
h2,
h3 {
    font-family: "Bricolage Grotesque", sans-serif;
}

/* Základ stránky */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    line-height: 1.6;
}

main {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
    padding: 55px 0 120px;
}


/* Typografie */

h1,
h2,
h3 {
    line-height: 1.05;
    margin-top: 0;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

h2 {
    font-size: 1.7rem;
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-top: 48px;
    margin-bottom: 18px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 650;
}

p {
    max-width: 700px;
    font-size: 1.05rem;
}


/* Odkazy */

a {
    color: #C95F45;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}


/* Navigace */

nav {
    position: sticky;
    top: 0;
    z-index: 100;

    width: 100%;
    margin: 0;
    padding: 20px max(24px, calc((100% - 1100px) / 2));

    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;

    background-color: rgba(251, 247, 240, 0.94);
    backdrop-filter: blur(10px);
}

nav a {
    color: #302622;
    font-weight: 600;
    text-decoration: none;
}

nav a:hover {
    color: #C95F45;
}

/* Homepage – úvodní sekce */

.hero {
    padding: 25px 0 60px;
}

.hero-brand {
    margin: 0 0 48px;

    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 650;
    line-height: 1;
    letter-spacing: -0.03em;
}

.hero-title {
    max-width: 900px;
    margin-bottom: 40px;

    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 0.88;
    letter-spacing: -0.055em;

    color: #C95F45;
}

.hero-intro {
    max-width: 580px;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.4;
}


/* Malé názvy sekcí */

.section-label {
    margin-bottom: 12px;

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* Nadcházející akce na homepage */

.home-events {
    padding: 10px 0 70px;
}

.event-card {
    position: relative;
    margin-bottom: 20px;
    padding: 32px;

    background-color: #F4EBDD;
    border: 1px solid rgba(48, 38, 34, 0.18);
    border-radius: 28px;

    transition: transform 0.2s ease;

    display: flex;
flex-direction: column;
}

.event-card:hover {
    transform: translateY(-4px);
}

.event-date {
    margin: 0 0 12px;

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.event-card h3 {
    margin: 0 0 12px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.event-card h3 a {
    color: #302622;
    text-decoration: none;
}

.event-card h3 a:hover {
    color: #C95F45;
}

.event-card p:last-child {
    margin-bottom: 0;
}

.event-card h3 {
    margin: 0 0 8px;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.event-card h3 a {
    color: #302622;
    text-decoration: none;
}

.event-card h3 a:hover {
    color: #C95F45;
}
.event-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.event-jam {
    background-color: #EDE5F2;
}

.event-workshop {
    background-color: #F4EBDD;
}

@media (max-width: 700px) {
    .event-grid {
        grid-template-columns: 1fr;
    }
}
.event-type {
    margin: 0 0 24px;

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.event-date,
.event-location {
    margin: 4px 0;
}

/* Karty lektorů */

.teacher-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.teacher-card {
    position: relative;
    min-height: 320px;
    padding: 28px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    background-color: #F4EBDD;
    border: 1px solid rgba(48, 38, 34, 0.18);
    border-radius: 28px;

    color: #302622;
    text-decoration: none;

    transition: transform 0.2s ease;
}

.teacher-card:hover {
    transform: translateY(-4px);
}

.teacher-shape {
    position: absolute;
    width: 190px;
    height: 190px;
    top: -45px;
    right: -35px;

    background-color: #B9A5C9;
    border-radius: 48% 52% 60% 40%;
    opacity: 0.65;
}

.teacher-info {
    position: relative;
    z-index: 1;
}

.teacher-info h3 {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.teacher-info p {
    margin: 0;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

@media (max-width: 800px) {
    .teacher-grid {
        grid-template-columns: 1fr;
    }

    .teacher-card {
        min-height: 230px;
    }
}

.teacher-photo-area {
    position: absolute;
    top: 20px;
    right: 20px;

    width: 250px;
    height: 220px;
}

.teacher-photo-shape {
    position: absolute;
    width: 175px;
    height: 175px;

    top: 25px;
    left: 0;

    background-color: #B9A5C9;
    border-radius: 58% 42% 52% 48% / 45% 58% 42% 55%;
}

.teacher-photo-wrap {
    position: absolute;
    width: 185px;
    height: 185px;

    top: 0;
    right: 0;

    overflow: hidden;

    border-radius: 46% 54% 43% 57% / 55% 42% 58% 45%;
}
.teacher-photo {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}
/* Detail akce */

.event-detail {
    position: relative;
}

.event-detail > .event-type {
    display: inline-block;
    margin-bottom: 20px;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: #C95F45;
}

.event-detail > h1 {
    max-width: 900px;
    margin-bottom: 56px;
}


/* Přehled praktických informací */

.event-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;

    margin-bottom: 24px;
}

.event-detail-item {
    min-height: 145px;
    padding: 24px;

    background-color: #F4EBDD;
    border-radius: 28px 38px 26px 42px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-detail-item p {
    margin: 0;
}

.event-detail-label {
    margin-bottom: 12px !important;

    font-size: 1rem !important;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: #302622;
}


/* Popis akce */

.event-description {
    max-width: 760px;
    margin-bottom: 64px;
}

.event-description p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.event-description h2 {
    margin-top: 32px;
    margin-bottom: 16px;

    font-size: 1.7rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.event-description > p:first-child {
    margin-top: 0;
    margin-bottom: 32px;

    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.7rem;
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.event-description > p:first-child strong {
    font-weight: inherit;
}

.event-description li {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Kontakt */

.event-contact {
    max-width: 760px;
    margin: 0 0 56px;
    padding: 32px;

    background-color: #F4EBDD;
    border-radius: 28px;
}

.event-contact h2 {
    margin: 0 0 24px;
    font-size: 1.7rem;
}

.event-contact p {
    margin: 8px 0;
}


/* Tlačítka */

.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-bottom: 64px;
}

.event-button {
    display: inline-block;
    padding: 14px 24px;

    background-color: #C95F45;
    color: #FBF7F0;

    border: 1px solid #C95F45;
    border-radius: 999px;

    font-weight: 650;
    text-decoration: none;
}

.event-button:hover {
    background-color: #302622;
    border-color: #302622;
    color: #FBF7F0;
}

.event-button-secondary {
    background-color: transparent;
    color: #302622;
    border-color: #302622;
}

.event-button-secondary:hover {
    background-color: #302622;
    color: #FBF7F0;
}


/* Detail akce na mobilu */

@media (max-width: 800px) {

    .event-details {
        grid-template-columns: 1fr 1fr;
    }

    .event-detail-item + .event-detail-item {
        border-left: none;
    }

    .event-detail-item:nth-child(even) {
        padding-left: 20px;
        border-left: 1px solid rgba(48, 38, 34, 0.18);
    }
}

@media (max-width: 550px) {

    .event-details {
        grid-template-columns: 1fr;
    }

    .event-detail-item,
    .event-detail-item:nth-child(even) {
        padding: 18px 0;
        border-left: none;
    }

    .event-detail-item + .event-detail-item {
        border-top: 1px solid rgba(48, 38, 34, 0.18);
    }
}
.event-date-highlight {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
}

/* Související akce */

.related-events {
    max-width: 760px;
    margin-top: 64px;
}

.related-events h2 {
    margin: 0 0 24px;
    font-size: 1.7rem;
}

.related-events-list {
    display: grid;
    gap: 12px;
}

.related-event {
    padding: 22px 24px;

    display: flex;
    align-items: center;
    gap: 18px;

    background-color: #F4EBDD;
    border-radius: 24px;

    color: #302622;
    text-decoration: none;

    transition: transform 0.2s ease;
}

.related-event:hover {
    transform: translateY(-3px);
}

.related-event-type {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.related-event-date {
    margin-left: auto;
    white-space: nowrap;
}

.teacher-country {
    font-size: 0.55em;
    font-weight: 500;
    letter-spacing: 0;
}

/* Homepage slogan */

.home-statement {
    position: relative;
    min-height: 420px;
    margin: 30px 0 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.statement-text {
    position: relative;
    z-index: 2;

    max-width: 850px;
    margin: 0;

    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.045em;

    color: #302622;
}

.statement-text span {
    color: #C95F45;
}

.statement-shape {
    position: absolute;
    z-index: 1;
}

.statement-shape-lilac {
    width: 300px;
    height: 260px;

    top: 30px;
    right: 5%;

    background-color: #B9A5C9;
    border-radius: 58% 42% 65% 35% / 45% 60% 40% 55%;

    opacity: 0.55;
}

.statement-shape-yellow {
    width: 180px;
    height: 180px;

    bottom: 25px;
    left: 4%;

    background-color: #E8B83F;
    border-radius: 45% 55% 38% 62% / 60% 42% 58% 40%;

    opacity: 0.7;
}

/* Homepage ohlasy */

.home-testimonials {
    padding: 30px 0 70px;
}

.home-testimonials > h2 {
    margin-bottom: 64px;
}

.testimonial-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.testimonial-trace {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.testimonial-trace path {
    fill: none;
    stroke: #C95F45;
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.35;
}

.testimonial {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
}

.testimonial p {
    margin: 0 0 16px;

    font-family: "DM Sans", sans-serif;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.testimonial footer {
    font-size: 0.9rem;
    font-weight: 700;
}

.testimonial-1 {
    grid-column: 1 / 7;
}

.testimonial-2 {
    grid-column: 7 / 13;
    margin-top: 100px;
}

.testimonial-3 {
    grid-column: 2 / 8;
    margin-top: 60px;
}

.testimonial-4 {
    grid-column: 6 / 11;
    margin-top: 20px;
}

.testimonials-link {
    margin-top: 72px;
}

@media (max-width: 700px) {

    .testimonial-grid {
        display: block;
    }

    .testimonial {
        margin: 0 0 56px;
    }

}

.home-events .event-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.home-events .event-card {
    padding: 24px;
    border-radius: 24px;
}

.home-events .event-card h3 {
    font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

.home-events .event-type {
    margin-bottom: 18px;
}

@media (max-width: 800px) {
    .home-events .event-grid {
        grid-template-columns: 1fr;
    }
}

/* Objevujte – rozbalovací otázky */

details {
    max-width: 800px;
    padding: 0;
    border-top: 1px solid rgba(48, 38, 34, 0.25);
}

details:last-of-type {
    border-bottom: 1px solid rgba(48, 38, 34, 0.25);
}

summary {
    position: relative;
    padding: 24px 50px 24px 0;

    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.25;

    cursor: pointer;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";

    position: absolute;
    right: 8px;
    top: 50%;

    font-family: "DM Sans", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;

    transform: translateY(-50%);
    color: #C95F45;
}

details[open] summary::after {
    content: "−";
}

details > p {
    max-width: none;
    width: 100%;
    margin: 0 0 18px;
    padding: 0;
    text-align: justify;
}

details > p:last-child {
    margin-bottom: 32px;
}

/* Objevujte – úvodní grafika */

.explore-intro {
    position: relative;
    max-width: 800px;
    margin: 0 0 55px;
}

/* úvodní text */

.explore-intro > p {
    position: relative;
    z-index: 3;

    margin: 0;

    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    font-weight: 550;
    line-height: 1.35;

    text-align: justify;
}

/* lila tvar vedle nadpisu Objevujte */

.explore-shape {
    position: absolute;
    z-index: 1;

    width: 170px;
    height: 135px;

    right: 5%;
    top: -160px;

    background-color: #B9A5C9;
    border-radius: 58% 42% 63% 37% / 45% 58% 42% 55%;
    opacity: 0.5;
}

/* pohybová linka vedle nadpisu */

.explore-trace {
    position: absolute;
    z-index: 2;

    width: 48%;
    height: 120px;

    right: 0;
    top: -150px;

    overflow: visible;
    pointer-events: none;
}

.explore-trace path {
    fill: none;
    stroke: #C95F45;
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.55;
}

/* Odkazy pod akcemi na homepage */

.home-events-links {
    margin-top: 28px;

    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 30px;
}

.all-events-link {
    font-weight: 600;
}

.explore-prompt {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.explore-prompt span {
    color: #302622;
    font-weight: 700;
}

.explore-prompt a {
    color: #C95F45;
    font-weight: 600;
}

@media (max-width: 700px) {
    .home-events-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .explore-prompt {
        flex-wrap: wrap;
    }
}

/* Rozbalovací menu O nás */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-arrow {
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 200;

    min-width: 170px;
    padding: 12px 0;

    display: none;
    flex-direction: column;
    gap: 0;

    background-color: #FBF7F0;
    border: 1px solid rgba(48, 38, 34, 0.12);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(48, 38, 34, 0.08);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 18px;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background-color: #F4EBDD;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: flex;
}

.nav-dropdown:hover .nav-arrow,
.nav-dropdown:focus-within .nav-arrow {
    transform: rotate(180deg);
}

/* Ohlasy – celá stránka */

.testimonials-page {
    max-width: 800px;
}

.testimonials-page > p {
    max-width: 800px;
}

/* Oddělovací linky */

.testimonials-page hr {
    border: none;
    border-top: 1px solid rgba(48, 38, 34, 0.2);
    margin: 48px 0;
}

/* Citáty */

.testimonials-page > p:has(em) {
    margin-bottom: 8px;
    font-size: 1.15rem;
    line-height: 1.7;
}

.testimonials-page > p em {
    font-style: italic;
}

/* Jména pod ohlasy */

.testimonial-author {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #786B65;
}

/* Ohlasy – terakotová linka pod úvodem */

.testimonials-page hr.testimonials-intro-divider {
    border: none;
    border-top: 2px solid #C95F45;
    margin: 20px 0 36px;
}

/* Ohlasy – menší mezery mezi odstavci jednoho citátu */

.testimonials-page > p:has(em) {
    margin-top: 0;
    margin-bottom: 0;
}

.testimonials-page > p:has(em) + p:has(em) {
    margin-top: 0;
}

/* Kontakt */

.contact-intro {
    margin-bottom: 24px;
}

.contact-direct {
    margin: 28px 0 64px;
}

.contact-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.contact-label {
    min-width: 70px;
    font-weight: 600;
}


/* Kontaktní formulář */

.contact-form-section {
    max-width: 800px;
    margin-top: 20px;
}

.contact-form-section h2 {
    margin-bottom: 12px;
}

.contact-form-section > p {
    margin-bottom: 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form label {
    margin-top: 10px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;

    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    color: #302622;

    background-color: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(48, 38, 34, 0.22);
    border-radius: 14px;

    outline: none;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #C95F45;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(48, 38, 34, 0.4);
}

.contact-form button {
    margin-top: 14px;
    padding: 14px 24px;

    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    font-weight: 700;

    color: #FBF7F0;
    background-color: #C95F45;

    border: none;
    border-radius: 999px;
}

.contact-form button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.form-note {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #786B65;
}


/* Údaje spolku */

.association-details {
    max-width: 800px;
    margin-top: 70px;
    padding-top: 22px;

    border-top: 1px solid rgba(48, 38, 34, 0.18);
}

.association-details p {
    margin: 0;

    font-size: 0.85rem;
    line-height: 1.6;
    color: #786B65;
}


/* Kontakt na mobilu */

@media (max-width: 600px) {
    .contact-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
        margin-bottom: 18px;
    }
}

/* Ohlasy – úvody jednotlivých sekcí */

.testimonials-section-intro {
    max-width: 800px;
    margin: 0 0 48px;
    padding: 30px 34px;

    border-radius: 26px;
}

.testimonials-section-intro h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.testimonials-section-intro p {
    margin: 0 0 16px;
    max-width: none;
}

.testimonials-section-intro p:last-child {
    margin-bottom: 0;
}

/* Workshopy */

.testimonials-workshops {
    background-color: #F4EBDD;
}

/* Kontaktango jamy */

.testimonials-jams {
    background-color: #EDE5F2;
    margin-top: 80px;
}

/* Lektor na kartě workshopu */

.event-card-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: auto;
}

.event-card-meta .event-date,
.event-card-meta .event-location {
    margin: 4px 0;
}

.event-card-teacher {
    margin: 0;

    color: #C95F45;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
    text-align: right;
}

@media (max-width: 500px) {
    .event-card-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .event-card-teacher {
        text-align: left;
    }
}

/* Zvýrazněný lektor v detailu workshopu */

.event-teacher-highlight {
    margin-top: 4px;

    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.event-teacher-highlight a {
    color: #C95F45;
    text-decoration: none;
}

.event-teacher-highlight a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Horní CTA na detailu akce */

.event-actions-top {
    margin: 28px 0 48px;
}

/* Kompaktnější workshopové karty na homepage */

.home-events .event-card h3 {
    font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

.home-events .event-card-teacher {
    position: relative;
    top: -3px;

    font-size: 1.0rem;
    line-height: 1.2;
}

.home-events .event-card-meta {
    gap: 14px;
}

/* Přepínač jazyka */

.language-switcher {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 0.85rem;
    font-weight: 600;
}

.language-switcher a {
    color: #786B65;
}

.language-switcher a:hover {
    color: #C95F45;
}

.language-switcher .language-active {
    color: #302622;
    font-weight: 700;
}

/* BARVY JEDNOTLIVÝCH INFORMAČNÍCH POLÍČEK */

.event-detail-jam .event-details {
    background-color: transparent;
}

.event-detail-jam .event-detail-item {
    background-color: #EDE5F2;
}

.event-detail-workshop .event-details {
    background-color: transparent;
}

.event-detail-workshop .event-detail-item {
    background-color: #F4EBDD;
}

/* DETAIL AKCE – ORGANICKÁ OZDOBA */

.event-detail {
    position: relative;
    isolation: isolate;
}

.event-detail::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 25px;
    right: 5%;
    width: 145px;
    height: 125px;
    background-color: #E8B83F;
    border-radius: 58% 42% 65% 35% / 45% 60% 40% 55%;
    transform: rotate(-18deg);
    opacity: 0.55;
    pointer-events: none;
}

/* MENŠÍ OBRAZOVKY */

@media (max-width: 700px) {
    .event-detail::before {
        top: 5px;
        right: 0;
        width: 85px;
        height: 75px;
    }

    .event-detail::after {
        top: 35px;
        right: 0;
        width: 100px;
        height: 45px;
    }
}

/* POHYBOVÁ LINKA NA DETAILU AKCE */

.event-movement-trace {
    position: absolute;
    z-index: -1;
    top: 35px;
    right: 1%;
    width: 190px;
    height: 110px;
    overflow: visible;
    pointer-events: none;
}

.event-movement-trace path {
    fill: none;
    stroke: #C95F45;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.8;
}

@media (max-width: 700px) {
    .event-movement-trace {
        top: 20px;
        right: 0;
        width: 110px;
        height: 65px;
    }
}

/* HOMEPAGE – TEXT A FOTOGRAFIE VEDLE SEBE */

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}

.hero-text {
    min-width: 0;
}

.hero-layout .hero-title {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.hero-layout .hero-intro {
    max-width: 460px;
}

.hero-photo-wrap {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 85px 28px 75px 30px;
}

.hero-photo {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
}

/* TABLET A MOBIL */

@media (max-width: 800px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-photo {
        height: 350px;
    }
}

@media (max-width: 700px) {
    .hero-photo-wrap {
        border-radius: 45px 18px 40px 18px;
    }

    .hero-photo {
        height: 300px;
    }
}

/* FOTOGRAFIE NA PROFILU LEKTORA */

.teacher-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 50px 0;
    align-items: center;
}

.teacher-gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
}

.teacher-gallery img:first-child {
    border-radius: 65px 22px 55px 20px;
    object-position: center;
}

.teacher-gallery img:last-child {
    border-radius: 22px 65px 20px 55px;
    object-position: center;
}

@media (max-width: 700px) {
    .teacher-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}