/* ==========================================================================
   STATE OFFICE BEARERS PAGE STYLES
   Prefix: sob-
   ========================================================================== */

/* Hero Banner */
.sob-hero {
    position: relative;
    overflow: hidden;
    padding: 75px 20px 68px;
    background:
        radial-gradient(
            circle at 15% 30%,
            rgba(255, 255, 255, 0.08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #073b18 0%,
            #087f23 55%,
            #0b8f12 100%
        );
    color: #fff;
}

.sob-hero::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    right: -120px;
    top: -150px;
}

.sob-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 55%);
    pointer-events: none;
}

.sob-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.sob-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.sob-hero h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.18;
    font-weight: 800;
}

.sob-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.65;
}

/* Main Section Layout */
.sob-main-section {
    background: #f7f9f7;
    padding: 30px 0 70px;
}

.sob-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 16px;
    margin-bottom: 30px;
    border-bottom: 1px solid #dfe7df;
    color: #69736c;
    font-size: 0.82rem;
}

.sob-breadcrumb a {
    color: #087f23;
    text-decoration: none;
    font-weight: 600;
}

.sob-breadcrumb a:hover {
    color: #075d1a;
}

.sob-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
}

/* Heading Block */
.sob-heading-block {
    margin-bottom: 25px;
}

.sob-heading-block h2 {
    margin: 0;
    color: #087f23;
    font-size: 1.6rem;
    font-weight: 800;
}

.sob-heading-line {
    width: 44px;
    height: 4px;
    background: #f05a57;
    margin-top: 6px;
    border-radius: 2px;
}

/* Cards List */
.sob-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sob-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0ebe1;
    box-shadow: 0 4px 16px rgba(19, 55, 29, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sob-card:hover {
    transform: translateY(-2px);
    border-color: #c4dcc6;
    box-shadow: 0 8px 22px rgba(19, 55, 29, 0.08);
}

.sob-card-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sob-name {
    margin: 0 0 6px;
    color: #087f23;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
}

.sob-state-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 4px 12px;
    background: #eef7f0;
    color: #175e26;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 14px;
    border: 1px solid #d4ebd7;
}

.sob-state-badge i {
    color: #e63946;
}

.sob-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sob-detail-item {
    margin: 0;
    color: #48544a;
    font-size: 0.86rem;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.sob-detail-item i {
    color: #087f23;
    font-size: 0.85rem;
    margin-top: 3px;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.sob-detail-item strong {
    color: #1c3622;
    font-weight: 700;
}

.sob-twitter a {
    color: #087f23;
    text-decoration: none;
    font-weight: 600;
}

.sob-twitter a:hover {
    text-decoration: underline;
}

/* Card Avatar / Image */
.sob-card-avatar {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: #f0f4f1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sob-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svg-wrapper svg{
    width: 20px;
    height: 20px;
    fill: #073b18;
}

.sob-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2ece3;
    color: #9cb5a0;
    font-size: 3.5rem;
}

.sob-avatar-placeholder svg{
    width: 70px;
    height: 70px;
    fill: #073b18;
}

.sob-state-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.68rem;
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    font-weight: 600;
}

/* Sidebar Widgets */
.sob-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sob-social-widget {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e8e1;
}

.sob-social-widget a {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sob-social-widget a:hover {
    opacity: 0.9;
}

.sob-soc-fb { background: #1877f2; }
.sob-soc-tw { background: #1da1f2; }
.sob-soc-insta { background: #e4405f; }
.sob-soc-yt { background: #ff0000; }

.sob-sidebar-card {
    padding: 22px;
    border: 1px solid #e0e8e1;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(19, 55, 29, 0.04);
}

.sob-widget-title {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e2e9e3;
}

.sob-widget-title span {
    width: 4px;
    height: 20px;
    border-radius: 4px;
    background: #087f23;
}

.sob-widget-title h3 {
    margin: 0;
    color: #173b20;
    font-size: 1.1rem;
    font-weight: 700;
}

.sob-widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sob-widget-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #d9e1da;
}

.sob-widget-list li:last-child {
    border-bottom: none;
}

.sob-widget-list a {
    text-decoration: none;
    color: inherit;
}

.sob-widget-list strong {
    display: block;
    color: #3a443d;
    font-size: 0.83rem;
    line-height: 1.45;
}

.sob-widget-list a:hover strong {
    color: #087f23;
}

.sob-widget-date {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    color: #8a938c;
    font-size: 0.72rem;
}

.sob-widget-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    border-radius: 4px;
    background: #087f23;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Newsletter Band */
.sob-newsletter-band {
    background: #087f23;
    padding: 40px 20px;
    color: #fff;
}

.sob-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.sob-newsletter-inner h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    max-width: 600px;
}

.sob-newsletter-form {
    display: flex;
    gap: 8px;
    background: #fff;
    padding: 4px;
    border-radius: 30px;
}

.sob-newsletter-form input {
    border: none;
    outline: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    width: 250px;
}

.sob-newsletter-form button {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 991px) {
    .sob-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .sob-card {
        grid-template-columns: 1fr;
    }
    
    .sob-card-avatar {
        height: 240px;
        order: -1;
    }

    .sob-newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .sob-newsletter-form input {
        width: 100%;
    }
}