/* ==========================================================================
   STATE LEGISLATURE PAGE STYLES
   Prefix: stl-
   ========================================================================== */

/* Hero Banner */
.stl-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 20px 72px;
    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;
}

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

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

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

.stl-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 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: 16px;
}

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

.stl-hero p {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.7;
}

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

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

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

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

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

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

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

.stl-heading-line {
    width: 48px;
    height: 4px;
    background: #f05a57;
    margin-top: 8px;
}

/* Member Cards Grid/List */
.stl-members-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stl-member-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    background: #eaf2eb;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d4e4d6;
    box-shadow: 0 6px 18px rgba(19, 55, 29, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stl-member-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(19, 55, 29, 0.08);
}

.stl-member-info {
    padding: 24px;
}

.stl-member-name {
    margin: 0 0 14px;
    color: #087f23;
    font-size: 1.35rem;
    font-weight: 800;
}

.stl-meta-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stl-meta-item {
    margin: 0;
    color: #435047;
    font-size: 0.88rem;
    line-height: 1.5;
}

.stl-meta-item strong {
    color: #173b20;
    font-weight: 700;
}

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

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

.stl-member-photo {
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: #cfdecb;
}

.stl-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

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

.stl-social-card a {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
}

.stl-social-card a:nth-child(1) { background: #1877f2; }
.stl-social-card a:nth-child(2) { background: #1da1f2; }
.stl-social-card a:nth-child(3) { background: #e4405f; }
.stl-social-card a:nth-child(4) { background: #ff0000; }

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

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

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

.stl-side-title h3 {
    margin: 0;
    color: #173b20;
    font-size: 1.1rem;
}

.stl-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.stl-news-list li:last-child {
    border-bottom: none;
}

.stl-news-list a {
    text-decoration: none;
    color: inherit;
}

.stl-news-list strong {
    display: block;
    color: #3a443d;
    font-size: 0.82rem;
    line-height: 1.45;
}

.stl-news-list a:hover strong {
    color: #087f23;
}

.stl-news-list span {
    display: flex;
    margin-top: 4px;
    color: #8a938c;
    font-size: 0.72rem;
}

.stl-read-more {
    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;
}

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

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

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

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

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

.stl-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{
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 10px;
}

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

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

@media (max-width: 650px) {
    .stl-member-card {
        grid-template-columns: 1fr;
    }
    
    .stl-member-photo {
        height: 260px;
        order: -1; /* Mobile par image pehle dikhane ke liye */
    }

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

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