html {
    position: relative;
    min-height: 100%;

}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #333333;
    line-height: 1.6;
}

body.page-template-login .site-header {
    position: static;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Мінімальна висота в 100% вікна браузера */
}


/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 20px 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Footer Styles */
.site-footer {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    padding: 60px 20px 30px;
    margin-top: auto;
}

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

.footer-main {
    text-align: center;
    padding-bottom: 80px;
}

.footer-tagline {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 30px 0;
    color: #ffffff;
    text-transform: uppercase;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer-logo--img {
    width: 150px;
    filter: invert(100%);
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 20px;
}

.footer-nav {
    display: flex;
    justify-content: right;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 12px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.footer-copyright {
    color: #ffffff;
    opacity: 0.8;
}

/* Front Page Styles */
.front-page {
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-image {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    width: 100%;
    max-width: 1170px;
    margin-top: -72px;
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.95);
}

.hero-content .hero-content__inner {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px 20px;
}

.hero-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    color: #000000;
}

.hero-description {
    margin: 20px 0 30px 0;
}

.hero-description p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 15px 0;
    color: #000000;
}

.hero-button {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: #333333;
}

/* Video Grid Section */
.video-grid-section {
    padding: 40px 0 80px;
    background-color: #ffffff;
}

.video-date-group {
    margin-bottom: 60px;
}

.video-info {
    margin: 0 auto 30px;
    max-width: 840px;
}

.video-date {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #000000;
}

.video-subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.video-item {
    position: relative;
    aspect-ratio: 16/9;
}

.video-item--wide {
    grid-column: span 2;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background-color: #000000;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.video-placeholder img {
    filter: invert(100%);
    width: 50%;
}

.video-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.vimeo-player {
    width: 100%;
    height: 100%;
}

.vimeo-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 100;
}

.play-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content .container {
        margin-left: 50px;
    }
}

@media (max-width: 768px) {
    .front-page {
        padding-top: 60px;
    }

    .hero-section {
        min-height: 500px;
    }

    .hero-content .container {
        margin-left: 20px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 24px;
    }

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

    .video-item--wide {
        grid-column: unset;
    }

    .footer-tagline {
        font-size: 24px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.container-pdf {
    max-width: 840px;
    margin: 0 auto;
    height: auto;
    margin-top: 20px;
}

/* Login Form Styles */
.login-form {
    padding: 60px 0;
}

.login-form .container {
    max-width: 600px;
}

.login-form .forminator-custom-form {
    max-width: 100%;
}

/* Form Title */
.login-form .forminator-title {
    font-size: 25px;
    font-weight: bold;
    margin: 0;
    color: #000000;
    line-height: 1;
}

/* Form Fields */
.login-form .forminator-field {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.login-form .forminator-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 -12px 13px;
    position: relative;
    z-index: 1;
    background-color: #fff;
    padding: 0 2px;
}

.login-form .forminator-required {
    display: none;
}

.login-form .forminator-response-message {
    display: none !important;
}

.login-form .forminator-has_error .forminator-input {
    border-color: #ff0000;
}

.login-form .forminator-error-message {
    color: #ff0000;
    font-size: 16px;
    margin-left: 13px;
}

.login-form .forminator-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    color: #666666;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.login-form .forminator-input:focus {
    outline: none;
    border-color: #000000;
}

.login-form .forminator-input::placeholder {
    color: #999999;
}

/* Submit Button */
.login-form .forminator-button-submit {
    width: 100%;
    padding: 16px;
    background-color: #000000;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.login-form .forminator-button-submit:hover {
    background-color: #333333;
}

/* Horizontal Rule */
.login-form hr {
    margin: 40px 0 30px 0;
    border: none;
    border-top: 1px solid #cccccc;
}

/* Bottom Text */
.login-form .buttom-flogin-text {
    text-align: left;
}

.login-form .buttom-flogin-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    margin: 0;
}

.login-form .buttom-flogin-text a {
    color: #000000;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.login-form .buttom-flogin-text a:hover {
    opacity: 0.7;
}

.login-form .buttom-flogin-text a.notColor {
    color: #000000;
    font-weight: 700;
    text-decoration: none;
}

.login-form .lwib-email {
    color: #AB7A51 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .login-form {
        padding: 40px 0;
    }

    .login-form .forminator-title {
        font-size: 24px;
    }

    .login-form .forminator-input {
        font-size: 14px;
    }

    .login-form .buttom-flogin-text p {
        font-size: 13px;
    }
}

/* region 404 */

.error-404 {
    padding: 100px 0;
    text-align: center;
    background-color: #fff;
}

.error-content {
    max-width: 800px;
    margin: 0 auto;
}

.error-404 .main-title {
    font-size: 120px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #000;
}

.error-404 .sub-title {
    font-size: 48px;
    color: #B69F7D;
    margin: 0 0 30px;
    font-weight: 500;
}

.error-404 .error-description {
    font-size: 24px;
    color: #000;
    margin: 0 0 40px;
}

.error-404 .back-home {
    display: inline-block;
    padding: 15px 40px;
    background-color: #B69F7D;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s;
}

.error-404 .back-home:hover {
    background-color: #9a856a;
}

/* end 404 region */