/**
 * Masthead Styles
 */
.masthead-wrapper {
    background-color: var(--color-white);
    padding: 16px 0;
    border-bottom: 2px solid var(--color-border);
}

.masthead-container {
    display: grid;
    grid-template-columns: 260px 1fr 420px;
    align-items: center;
    gap: 20px;
}

/* Left: Branding */
.brand-link {
    display: inline-flex;
    align-items: center;
    max-width: 260px;
    height: 72px;
}

.brand-logo-img {
    max-width: 100%;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.brand-logo-mark {
    position: relative;
    width: 220px;
    height: 74px;
    background: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: none;
}

.brand-logo-mark .brand-icon {
    color: #ffffff;
    font-size: 1.5rem;
    z-index: 2;
}

.logo-box {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 3px;
}
.logo-box-1 { width: 40px; height: 40px; }
.logo-box-2 { width: 32px; height: 32px; }
.logo-box-3 { width: 24px; height: 24px; }

.brand-text-group {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-english);
    font-size: 1.85rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--color-dark);
}

.brand-title-accent {
    color: var(--color-primary);
}

.brand-tagline {
    font-family: var(--font-malayalam);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-top: 3px;
}

/* Center: Kerala Landscape Scenery */
.masthead-center-art {
    display: flex;
    justify-content: center;
}

.kerala-art-card {
    width: 100%;
    max-width: 420px;
    height: 72px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-subtle);
}

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

/* Right: Masthead Houseboat Ad */
.masthead-ad-slot {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.masthead-leaderboard-banner-link {
    width: 100%;
    max-width: 460px;
}

.masthead-leaderboard-banner-link img {
    width: 100%;
    height: 75px;
    object-fit: cover;
}

.houseboat-masthead-ad {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #ffffff;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-tag-badge {
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-right: 8px;
    align-self: flex-start;
}

.ad-content-mini {
    flex: 1;
}

.ad-title-mini {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.ad-sub-mini {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 2px;
}

.ad-cta-btn {
    background-color: #ffffff;
    color: var(--color-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    margin-left: 10px;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.ad-cta-btn:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

/* Brand Logo Image */
.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

/* Brand Logo Video */
.brand-logo-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    z-index: 1;
    pointer-events: none;
}

