/* ==========================================================================
   NATIONAL OFFICE BEARERS PAGE STYLES
   Prefix: nob-
   ========================================================================== */

/* Hero Banner */
.nob-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;
}

.nob-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;
}

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

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

.nob-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;
}

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

.nob-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 */
.nob-main-section {
    background: #f7f9f7;
    padding: 30px 0 70px;
}

.nob-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;
}

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

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

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

/* Category Sections */
.nob-category-group {
    margin-bottom: 40px;
}

.nob-category-header {
    margin-bottom: 20px;
}

.nob-category-header h2 {
    margin: 0;
    color: #087f23;
    font-size: 1.45rem;
    font-weight: 800;
}

.nob-category-line {
    width: 42px;
    height: 3px;
    background: #f05a57;
    margin-top: 6px;
    border-radius: 2px;
}

/* Member Cards Grid/List */
.nob-cards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nob-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    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;
}

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

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

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

.nob-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    background: #eef7f0;
    color: #175e26;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 14px;
    border: 1px solid #d4ebd7;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.nob-soc-fb {
    background: #1877f2;
}

.nob-soc-tw {
    background: #1da1f2;
}

.nob-soc-insta {
    background: #e4405f;
}

.nob-soc-yt {
    background: #ff0000;
}

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

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

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

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

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

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

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

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

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

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

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

.nob-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 */
.nob-newsletter-band {
    background: #087f23;
    padding: 40px 20px;
    color: #fff;
}

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

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

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

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

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

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

.nob-widget-date svg,
.nob-detail-item svg {
    fill: #073b18 !important;
}

.nob-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nob-avatar-placeholder svg {
    width: 70px;
    height: 70px;
    fill: #075d1a;
}

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

@media (max-width: 650px) {
    .nob-card {
        grid-template-columns: 1fr;
    }

    .nob-card-avatar {
        height: 240px;
        order: -1;
        /* Mobile Screen par image upper display hogi */
    }

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

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