:root {
    --bg-color: #38422A;
    --bg-color-darker: #2D3421;
    --bg-dark-green-color: #2A371C;
    --bg-light-green-color: #616D39;
    --bg-color-light-beige: #EAE6DD;
    --text-color-light: #F0F0E0;
    --text-color-dark: #333333;
    --beige-color: #FFFBE7;
    --orange-light-color: #F8A03A;
    --orange-dark-color: #DC7727;
    --orange-button-color: #E67E22;
    --max-width: 1115px;
    --font-family-serif: 'Georgia', 'Times New Roman', serif;
    --font-family-sans: 'Montserrat', sans-serif;
    --font-family-display: 'Shrikhand', cursive;
    --font-family-title: 'Gloock', serif;
}

body {
    background: linear-gradient(to bottom, #2A371C 0%, #616D39 100%);
    background-color: #2A371C;
    color: var(--text-color-light);
    font-family: var(--font-family-sans);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    padding: 40px 20px;
    box-sizing: border-box;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    font-family: var(--font-family-serif);
    font-size: 2em;
    color: var(--highlight-color);
    margin-bottom: 5px;
    letter-spacing: 2px;
    font-weight: bold;
}

.title-section {
    font-family: var(--font-family-serif);
    color: var(--text-color-light);
    font-size: 1.8em;
    line-height: 1.2;
    margin-bottom: 15px;
}

.subtitle {
    font-family: var(--font-family-sans);
    font-weight: bold;
    font-size: 1.1em;
    color: var(--highlight-color);
    text-transform: uppercase;
}

.author {
    font-family: var(--font-family-serif);
    font-size: 1.5em;
    font-style: italic;
    color: var(--highlight-color);
    margin-top: 10px;
}

.video-section {
    margin-bottom: 40px;
    text-align: center;
}

.video-placeholder {
    width: 100%;
    padding-top: 56.25%;
    background-color: #222;
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
}

.video-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.4);
}

.main-text p {
    color: #FFFBE7;
    margin-bottom: 1.5em;
    font-size: 22px;
    font-weight: 400;
    line-height: 34px;
    text-align: left;
    font-family: var(--font-family-sans);
    padding: 40px 0 80px 0;
}

.body-text p {
    margin-bottom: 1.5em;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    font-family: var(--font-family-sans);
    padding: 40px 0 80px 0;
}

.content-section {
    margin-top: 50px;
}

.section-title {
    font-family: var(--font-family-display);
    color: var(--orange-light-color);
    font-size: 36px;
    text-align: left;
    margin-bottom: 20px;
    font-weight: 400;
}

.content-section.last-section .section-title {
    color: var(--orange-light-color);
}

.content-section .image-placeholder {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.responsive-video {
    width: 100%;
    height: auto;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: auto;
    background-color: #555;
    margin-bottom: 15px;
}

.image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.video-secondary-placeholder {
    padding-top: 56.25%;
    position: relative;
    background-color: #222;
    margin-bottom: 15px;
    cursor: pointer;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid var(--bg-color);
    margin-left: 5px;
}

.caption {
    font-size: 0.9em;
    color: #C0C0C0;
    margin-top: 10px;
    margin-bottom: 20px;
}

.SeparatorComponent {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 15px 0;
    justify-content: center;
}

.SeparatorComponent__Line {
    flex-grow: 1;
    height: 1px;
    background-color: #ffffff;
    opacity: 0.5;
    margin: 0 10px;
}

.SeparatorComponent__Line.top {
    max-width: 100px;
}

.SeparatorComponent__Line.bottom {
    max-width: 120px;
}

.header-logo {
    max-width: 100%;
}

.karley-logo-svg {
    max-width: 100%;
    height: auto;
}

.title-text {
    font-family: var(--font-family-title);
    font-size: 50px;
    line-height: 55px;
    letter-spacing: 3px;
    color: var(--beige-color);
}

.SeparatorComponent__Text {
    font-family: var(--font-family-sans);
    font-size: 1.2em;
    color: #ffffff;
    white-space: nowrap;
    letter-spacing: 1px;
}

.Footer {
    background-color: var(--bg-dark-green-color);
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.Footer > .container {
    padding: 0;
}

.Footer__Title {
    font-family: var(--font-family-title);
    font-size: 26px;
    font-weight: 400;
    color: var(--text-color-light);
    margin-bottom: 30px;
    margin-top: 0;
}

.Footer__ButtonContainer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.Footer__Button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background-color: var(--orange-dark-color);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s;
    width: 80%;
    max-width: 380px;
}

.Footer__Button:hover {
    background-color: #D35400;
}

.Footer__Icon {
    margin-left: 10px;
}

.AboutSection {
    background-color: var(--beige-color);
    color: var(--text-color-dark);
    width: 100%;
    padding: 40px 20px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 0;
    display: flex;
    justify-content: center;
}

@media (max-width: 739px) {
    .AboutSection {
        max-width: 100vw;
        margin-left: 0;
        margin-right: 0;
    }
}


.AboutSection__Item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 20px 0;
    position: relative;
}
.AboutSection__Item:first-child {
    border-top: none;
    padding-top: 0;
}
.AboutSection__Item:last-child {
    border-bottom: none;
}


.AboutSection__Toggle {
    display: none;
}

.AboutSection__Title {
    font-family: var(--font-family-title);
    font-weight: 400;
    font-size: 26px;
    line-height: 100%;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 20px;
}

.AboutSection__Title::after {
    content: '▼';
    font-size: 0.8em;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.AboutSection__Toggle:checked + .AboutSection__Title::after {
    transform: rotate(180deg);
}

.AboutSection__Content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 0;
}

.AboutSection__Toggle:checked ~ .AboutSection__Content {
    max-height: 715px;
    padding: 20px 0;
}

.AboutSection__KarleyContent {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    padding: 20px 40px 0 0;
}

.AboutSection__AboutSWGFL {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    padding: 20px 40px 0 0;
}

.AboutSection__AboutAylo {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    padding: 20px 40px 0 0;
}

@media (min-width: 600px) {
    .AboutSection__KarleyContent, .AboutSection__AboutSWGFL, .AboutSection__AboutAylo {
        flex-direction: row;
        align-items: flex-start;
    }
}

.AboutSection__ImagePlaceholder {
    min-width: 263px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    color: #777;
    font-size: 0.9em;
    flex-shrink: 0;
    margin-top: -10px;
}

.AboutSection__Text p {
    font-family: var(--font-family-sans);
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-align: left;
    margin: 0;
    padding: 0 30px;
}
.AboutSection__Text {
    flex-grow: 1;
}

@media (max-width: 600px) {
    .logo {
        font-size: 1.8em;
    }
    .Footer__Button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
}

@media (max-width: 1180px) {
    .main-text p {
        font-size: 21px;
    }

    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .main-text p {
        font-size: 18px;
    }

    .AboutSection__ImagePlaceholder {
        justify-content: center;
    }

    .AboutSection__Title {
        font-size: 22px;
    }

    .section-title {
        line-height: 35px;
    }
}

.content-toggle {
    display: none;
}

.read-more-label {
    font-family: var(--font-family-sans);
    cursor: pointer;
    font-size: 16px;
    color: #ffffff;
    text-decoration: underline;
    margin-bottom: 20px;
    font-weight: 400;
}

.read-less-text {
    display: none;
}

.body-text p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -webkit-box-orient: unset;
}

.read-more-label {
    display: none;
}

@media (max-width: 699px) {
    .body-text p {
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        padding-bottom: 0;
    }

    .read-more-label {
        display: block;
        margin-top: 10px;
    }

    .content-toggle:checked ~ .body-text p {
        -webkit-line-clamp: unset;
        display: block;
        overflow: visible;
    }

    .content-toggle:checked ~ .body-text .read-more-text {
        display: none;
    }

    .content-toggle:checked ~ .body-text .read-less-text {
        display: inline;
    }
}

.language-switch-button {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 53px;
    height: 28px;
    background-color: var(--bg-light-green-color);
    border: 1px solid var(--bg-light-green-color);
    border-radius: 20px;
    padding: 0 5px;
    text-decoration: none;
    color: var(--beige-color);
    font-family: var(--font-family-sans);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: background-color 0.2s, color 0.2s;
}

.language-switch-button:hover {
    background-color: #474f2b;
}

.container {
    position: relative;
}

@media (max-width: 768px) {
    .language-switch-button {
        top: 10px;
        right: 10px;
    }
}