/* Theme Styles for Gutenberg Blocks and Page Content */

/* Page Title */
.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

/* Gutenberg Block Headings */
.wp-block-heading {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.wp-block-heading:first-child {
    margin-top: 0;
}

/* Paragraphs */
.page-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #ACACAC;
}

.page-content p:last-child {
    margin-bottom: 0;
}

/* Lists */
.wp-block-list {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.wp-block-list li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
       color: #ACACAC;
}

.wp-block-list li:last-child {
    margin-bottom: 0;
}

/* Strong text */
strong {
    font-weight: 600;
}

/* Links */
.page-content a {
    color: #3bccd0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-content a:hover {
    text-decoration: underline;
}

/* Email links */
.page-content a[href^="mailto:"] {
    font-weight: 500;
}

/* Container spacing for page content */
.page-content .container {
    margin: 0 auto;
    padding: 2rem 1rem;
}

.legal-page .page-content .container {
    padding-top: calc(var(--header-height) + 2rem);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .wp-block-heading {
        font-size: 1.5rem;
    }

    .page-content .container {
        padding: 1.5rem 1rem;
    }

    .legal-page .page-content .container {
        padding-top: calc(var(--header-height-mobile) + 1.5rem);
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 6%;
    max-width: 370px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(67, 229, 234, 0.1);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
    padding: 1rem;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.cookie-banner__content p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #fff;
}

.cookie-banner__content a {
    color: #43e5ea;
    text-decoration: underline;
}

.cookie-banner__content a:hover {
    color: #2dd4d9;
}

.cookie-banner .btn {
    align-self: flex-end;
    padding: 0.5rem 1rem;
    
}

/* Responsive for cookie banner */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .cookie-banner__content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner .btn {
        align-self: stretch;
    }
}
