/* ============================================
   PASSWORD PAGE - HEADER BLOCK OVERRIDE
   ============================================ */

.th-password-hero .header-content .title{
    margin-bottom: -4rem;
    margin-top: 1rem;
}
/* ============================================
   PASSWORD PROTECTED PAGE
   ============================================ */

.th-password-section {
    background-color: #ffffff;
    padding: 80px 40px;
}

.th-password-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

/* --- Left Column --- */

.th-password-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #10184D;
    margin-bottom: 16px;
    line-height: 1.3;
}

.th-password-highlight {
    color: #FF7722;
}

.th-password-subtitle {
    font-size: 1rem;
    color: #101B4D;
    margin-bottom: 28px;
}

.th-password-fields {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 420px;
}

.th-password-input {
    flex: 1;
    padding: 14px 18px;
    font-size: 0.95rem;
    border: 1px solid #d0d0d0;
    border-right: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    color: #101B4D;
    background: #fff;
    transition: border-color 0.2s ease;
}

.th-password-input:focus {
    border-color: #FF7722;
}

.th-password-input::placeholder {
    color: #aaa;
}

.th-password-submit {
    display: inline-block;
    height: 42px;
    padding: 0 24px;
    line-height: 42px;
    background: linear-gradient(90deg, rgba(255, 147, 54, 1) 0%, rgba(255, 119, 34, 1) 100%);
    border: none;
    color: #101B4D !important;
    border-radius: 0 2px 2px 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.th-password-submit:hover {
    opacity: 0.88;
}

/* --- Right Column --- */

.th-password-lock-image {
    border-radius: 24px;
    overflow: hidden;
    /* aspect-ratio: 4 / 3; */
}

.th-lock-img {
    /* width: 100%;
    height: 100%; */
    object-fit: cover;
    display: block;
}
.th-password-error {
    color: #FF7722;
    font-size: 14px;
    margin-bottom: 12px;
}
/* --- Breakpoints --- */

@media (max-width: 1024px) {
    .th-password-inner {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .th-password-hero .header-content .title{
        margin-bottom: 30px;
    }
    .th-password-section {
        padding: 60px 24px;
    }

    .th-password-inner {
        grid-template-columns: 1fr;
    }

    .th-password-right {
        order: -1;
    }

    .th-password-lock-image {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .th-password-fields {
        flex-direction: column;
    }

    .th-password-input {
        border-right: 1px solid #d0d0d0;
        border-bottom: none;
        border-radius: 4px 4px 0 0;
    }

    .th-password-submit {
        border-radius: 0 0 2px 2px;
        text-align: center;
        width: 100%;
    }
}
/* Hide default page title and content padding on password protected pages */
.post-password-required .entry-title,
.post-password-required .entry-header,
.post-password-required .page-header {
    display: none;
}

.post-password-required .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.post-password-required .site-main,
.post-password-required #main,
.post-password-required #content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}