* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'PT Root UI';
    src: url('/fonts/PTRootUI-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PT Root UI';
    src: url('/fonts/PTRootUI-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PT Root UI';
    src: url('/fonts/PTRootUI-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PT Root UI';
    src: url('/fonts/PTRootUI-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


a {
    text-decoration: none;
    color: inherit;
}

body {
    margin: 0;
    font-family: 'PT Root UI', Arial, sans-serif;
    color: #383417;
    line-height: 1.5;
    font-size: 1rem;
}

.logo {
    max-width: 200px;
    height: auto;
    display: block;
}

.container-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;

}

header {
    background-color: #f8f8f8;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

footer {
    background-color: #8f7d24;
    color: #fff;
    padding: 40px 0 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 80px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-info p {
    margin-bottom: 10px;
}

footer a img {
    max-width: 150px;
    height: auto;
    display: inline-block;
}

.footer-logos {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}


.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

h2 {
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #383517;
}

.internal-h2 {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: #383117;
}


.hero-section {
    background-color: #b0ab51;
    color: #fff;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-section .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    max-width: 800px;
    margin: 0;
    text-align: left;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    margin-bottom: 15px;
}

.hero-image img {
    padding: 10px 10px;
    max-width: 80%;
    height: auto;
    object-fit: contain;
}

.flex.justify-between {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
}

.card {
    background: #fff;
    border: none;
    border-radius: 8px;
    width: calc(24% - 10px);
    display: flex;
    flex-direction: column;
    text-align: left;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 200ms ease-in-out;
    cursor: pointer;
}

.card img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.card h3 {
    margin: 0 10px 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #383717;
}

.card .date-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, rgba(176, 174, 81, 0.9), rgba(236, 221, 120, 0.9));
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #b0a851;
    transition: width 0.3s ease-in-out;
}

.card:hover::after {
    width: 100%;
}


.filter-section {
    display: none;
}

.filter-section.is-active {
    display: block;
}

/* Breadcrumbs */
.breadcrumbs {
    margin: 30px auto;
    font-size: 0.9rem;
}

.breadcrumbs ul {
    display: flex;
    gap: 10px;
    list-style: none;
}

.breadcrumbs li::after {
    content: "/";
    margin: 0 5px;
}

.breadcrumbs li:last-child::after {
    content: "";
}

.breadcrumbs a {
    color: #b0a351;
    text-decoration: none;
}

/* Hero Section */
.hero-internal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-text-internal {
    flex: 2;
    max-width: 60%;
}

.hero-date-internal {
    font-size: 1.2rem;
    color: rgba(176, 163, 81, 0.94);
    margin-bottom: 5px;
}

.hero-title-internal {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #383517;
}

.hero-subtitle-internal {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #383417;
}

.hero-links-internal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-link-internal {
    padding: 5px 10px;
    border: 1px solid #b0a051;
    border-radius: 10px;
    text-decoration: none;
    color: #b0a851;
    transition: background 0.3s, color 0.3s;
}

.hero-link-internal:hover {
    background: #b0a851;
    color: #fff;
}

.hero-link-internal.active {
    background-color: #b0a851;
    color: #fff;
}


.internal-image {
    flex: 1;
    max-width: 35%;
    height: auto;
    align-self: flex-start;
}

.internal-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Materials Section */
.materials-section {
    border: 1px solid #b0a851;
    border-radius: 10px;
    padding: 20px 40px;
    margin-top: 30px;
    font-size: 1.1rem;
}

.materials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

hr {
    height: 1px;
    border: none;
    background: #eeeeee;
    margin: 10px 0 20px;
}

.materials-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.materials-column {
    flex: 1;
    min-width: 300px;
}

.material-column-header {
    display: flex;
    justify-content: flex-start;
}

.material-icon {
    background: #b0a351;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 25px;
}

.material-icon img {

    height: auto;
    transform: scale(0.8);
}

.material-item {
    margin-bottom: 20px;
}

.material-item strong {
    font-size: 1.2rem;
    color: #383317;
}

.material-item p {
    font-size: 1rem;
    color: #555;
}

.material-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #b0a051;
    font-size: 1rem;
    transition: color 0.3s, background 0.3s;
    margin-top: 10px;
}

.material-link img {
    width: 16px;
    height: 16px;
}

.material-link:hover {
    text-decoration: underline;
    color: #c1ac59;
}

.materials-download {
    margin-left: auto;
}

.materials-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #b0a351;
    border-radius: 10px;
    text-decoration: none;
    color: #b0a851;
    font-size: 1rem;
    gap: 10px;
    transition: background 0.3s, color 0.3s;
}

.materials-button:hover {
    background: #b0a851;
    color: #fff;
}

.materials-button img {
    width: 20px;
    height: 20px;
    transition: filter 0.3s;
}

.materials-button:hover img {
    filter: brightness(0) invert(1);
}


.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, #f5e96a, #b09d51);
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 1000;
    text-align: center;
    max-width: 80%;
    word-wrap: break-word;
}


.floating-envelope {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #b0a851;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
}

.floating-envelope:hover {
    background: #ede378;
    transform: scale(1.1);
}

.floating-envelope img {
    width: 24px;
    height: 24px;
}

.floating-sferum {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 60px;
    height: 60px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
}

.floating-sferum:hover {
    background: #edeb78;
    transform: scale(1.1);
}


.floating-sferum-main {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
}

.floating-sferum-main:hover {
    background: #edda78;
    transform: scale(1.1);
}


.social-icons {
    display: flex;
    gap: 20px;
    margin: 0;
}

.social-icons a img {
    width: 28px;
    height: 28px;
    margin-left: 0;
    transition: opacity 0.3s ease;
}

.social-icons a:hover img {
    opacity: 0.7;
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
}


/* --------------------------------------------------
   Promo banner
-------------------------------------------------- */
.promo-banner {
    padding: 40px 0;
    text-align: center;
}

.promo-link {
    display: inline-block;
}

.promo-img {
    width: 100%;
    max-width: 1400px;
    height: auto;
    display: block;
}




@media (max-width: 768px) {

    .notification {
        width: 90%;
        padding: 15px 20px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .card {
        width: calc(48% - 10px);
        margin-bottom: 15px;
    }

    .flex.justify-between {
        gap: 20px;
    }

    .hero-section .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-text {
        text-align: left;
        margin-top: 20px;
    }

    .filter-section.is-active .flex.justify-between {
        display: flex;
        flex-direction: column-reverse;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        text-align: center;
        margin: 0 auto;
    }

    .hero-image img {
        max-width: 70%;
        max-height: 300px;
        height: auto;
    }

    .hero-section {
        padding: 30px 15px;
    }

    footer .container {
        flex-direction: column;
        text-align: left;
    }

    .footer-logos {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 16px;
        margin-top: 20px;
    }

    footer a img {
        margin-bottom: 10px;
    }

    .hero-internal {
        flex-direction: column-reverse;
    }
    .internal-image {
        max-width: 100%;
        margin-top: 20px;
    }
    .hero-text-internal {
        max-width: 100%;
    }

    .materials-download {
        margin-left: 0;
    }

    .materials-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

}

@media (max-width: 480px) {

    .promo-banner { padding: 25px 0; }

    .footer-logos {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 15px;
    }

    .notification {
        width: 95%;
        font-size: 0.9rem;
    }

    .hero-image {
        text-align: center;
        margin: 0 auto;
    }

    .hero-image img {
        max-width: 80%;
        max-height: 250px;
        height: auto;
    }

    .hero-section {
        padding: 20px 8px;
    }

    .card {
        width: 100%;
        margin-bottom: 15px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 0.9rem;
    }

    .hero-title-internal {
        font-size: 1.8rem;
    }

    .internal-h2 {
        font-size: 1.4rem;
    }

    .hero-text {
        text-align: left;
    }

    .flex.justify-between {
        gap: 0;
    }
    footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 8px;
    }

    .footer-info {
        margin-bottom: 20px;
        margin-left: 0;
    }

    footer a img {

        margin-bottom: 10px;
    }

}

@media (max-width: 320px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }
}
