/* Temple Hero Section - Новая структура */
.temple-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--section-bg) 0%, var(--darker-brown) 100%);
    width: 100%;
    margin: 0;
}

.temple-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.temple-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Левая карточка с текстом */
.temple-hero-left {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.temple-hero-title {
    font-size: 2.5rem;
    color: var(--gold-orange);
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold-orange);
    font-weight: 700;
}

.temple-hero-text {
    margin-bottom: 1.5rem;
}

.temple-hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: justify;
    margin: 0 0 1.5rem 0;
}

.temple-hero-text p:last-child {
    margin-bottom: 0;
}

.temple-bonus-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.25) 0%, rgba(255, 184, 77, 0.25) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 184, 77, 0.5);
    margin: 1.5rem 0;
}

.temple-bonus-heading {
    font-size: 1.5rem;
    color: var(--gold-orange);
    margin: 0 0 0.8rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.temple-bonus-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

.temple-bonus-content strong {
    color: var(--gold-orange);
    font-weight: 700;
}

.temple-register-btn {
    margin-top: 1rem;
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    text-decoration: none;
    display: inline-block;
}

/* Правая карточка с изображением */
.temple-hero-right {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 107, 53, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.temple-hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.temple-hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.temple-hero-image-wrapper:hover img {
    transform: scale(1.05);
}

.page-content {
    padding: 3rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--gold-orange);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--gold-orange);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
}

.content-section {
    background: var(--card-bg);
    padding: 2.5rem;
    margin-bottom: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.content-section h2 {
    font-size: 2rem;
    color: var(--gold-orange);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold-orange);
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.table-section {
    margin: 3rem 0;
}

.table-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.layers-table {
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.table-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.table-col {
    padding: 2rem;
    border-right: 1px solid rgba(255, 107, 53, 0.2);
}

.table-col:last-child {
    border-right: none;
}

.table-col h3 {
    font-size: 1.5rem;
    color: var(--gold-orange);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-orange);
}

.table-col p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.accordion-section {
    margin: 3rem 0;
}

.accordion-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

@media (max-width: 968px) {
    .temple-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .temple-hero-left {
        order: 1;
    }

    .temple-hero-right {
        order: 2;
    }

    .table-row {
        grid-template-columns: 1fr;
    }

    .table-col {
        border-right: none;
        border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    }

    .table-col:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .temple-hero {
        padding: 2rem 0;
    }

    .temple-hero-left {
        padding: 1.5rem;
    }

    .temple-hero-title {
        font-size: 2rem;
    }

    .temple-hero-text p {
        font-size: 1rem;
    }

    .temple-hero-right {
        padding: 1.5rem;
    }

    .temple-register-btn {
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .table-col {
        padding: 1.5rem;
    }
}

