/* style/terms-conditions.css */
.page-terms-conditions {
    color: #ffffff; /* Light text for dark body background */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-terms-conditions__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    background-color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-terms-conditions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.page-terms-conditions__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.page-terms-conditions__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-terms-conditions__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-terms-conditions__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-terms-conditions__button--primary {
    background-color: #FFD700;
    color: #1A1A1A;
    border: 2px solid #FFD700;
}

.page-terms-conditions__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-terms-conditions__button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-terms-conditions__button--secondary:hover {
    background-color: #FFD700;
    color: #1A1A1A;
    transform: translateY(-3px);
}

.page-terms-conditions__button--inline {
    background-color: #FFD700;
    color: #1A1A1A;
    border: 2px solid #FFD700;
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.page-terms-conditions__button--inline:hover {
    background-color: #e6c200;
}

.page-terms-conditions__content-area {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.page-terms-conditions__article {
    flex: 3;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__article-title {
    font-size: 2.2em;
    color: #FFD700;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.page-terms-conditions__article-paragraph {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-terms-conditions__list {
    list-style-type: disc;
    margin-left: 30px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-terms-conditions__list-item {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-terms-conditions__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-terms-conditions__sidebar {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-terms-conditions__sidebar-card {
    background-color: rgba(255, 255, 255, 0.07);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__sidebar-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 10px;
}

.page-terms-conditions__sidebar-list {
    list-style-type: none;
    padding: 0;
}

.page-terms-conditions__sidebar-list-item {
    margin-bottom: 10px;
}

.page-terms-conditions__sidebar-list-item a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-terms-conditions__sidebar-list-item a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.page-terms-conditions__sidebar-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
    border-radius: 5px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-terms-conditions__sidebar-text {
    font-size: 0.95em;
    line-height: 1.5;
    color: #cccccc;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-terms-conditions__hero-title {
        font-size: 3em;
    }
    .page-terms-conditions__hero-description {
        font-size: 1.1em;
    }
    .page-terms-conditions__content-area {
        flex-direction: column;
    }
    .page-terms-conditions__article, .page-terms-conditions__sidebar {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding: 60px 15px;
    }
    .page-terms-conditions__hero-title {
        font-size: 2.5em;
    }
    .page-terms-conditions__hero-description {
        font-size: 1em;
    }
    .page-terms-conditions__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-terms-conditions__button {
        width: 100%;
        padding: 12px 25px;
    }
    .page-terms-conditions__content-area {
        padding: 40px 15px;
    }
    .page-terms-conditions__article-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__article-paragraph {
        font-size: 0.95em;
    }
    .page-terms-conditions__sidebar-title {
        font-size: 1.6em;
    }
    .page-terms-conditions__hero-container {
      padding: 15px;
    }

    /* Ensure all images within .page-terms-conditions are responsive and do not overflow */
    .page-terms-conditions img {
        max-width: 100%;
        height: auto;
    }
    .page-terms-conditions__content-image,
    .page-terms-conditions__sidebar-image {
        min-width: 200px; /* Enforce minimum size even on mobile */
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero-title {
        font-size: 2em;
    }
    .page-terms-conditions__hero-description {
        font-size: 0.9em;
    }
    .page-terms-conditions__article-title {
        font-size: 1.5em;
    }
    .page-terms-conditions__sidebar-title {
        font-size: 1.4em;
    }
}