/* -------------------------------------------
   CLIMATE WATCH INFO 
------------------------------------------- */

.cw-info-section {
    padding: 80px 0;
    background: var(--light-grey); /* Soft brand grey */
}

.cw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* CARD */
.cw-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    padding: 40px 32px;
    backdrop-filter: blur(10px);

    /* Subtle green border */
    border: 2px solid var(--primary-green);

    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    transition: 0.35s ease;
    text-align: center;
}

/* Hover Glow */
.cw-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 18px 40px rgba(0, 0, 0, 0.18),
        0 0 25px rgba(180, 225, 20, 0.45); /* Green Glow */
}

/* ICON */
.cw-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px auto;
    border-radius: 50%;

    background: var(--primary-blue);
    color: var(--primary-green);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* TITLE */
.cw-card h3 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--secondary-blue);
}

/* DESCRIPTION */
.cw-card p {
    font-family: var(--font-body);
    font-size: 1.08rem;
    line-height: 1.7;
    color: #333;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .cw-grid {
        grid-template-columns: 1fr;
    }

    .cw-card {
        padding: 34px 28px;
    }
}

/* -------------------------------------------------
    CARD SECTION
------------------------------------------------- */

.buzz-section {
  padding: 100px 0;
  background: var(--light-grey); /* Softer background */
}

/* TITLE */
.buzz-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--secondary-blue);
  margin-bottom: 50px;
}

/* GRID */
.buzz-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* CARD */
.buzz-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: 0.35s ease;
  position: relative;
}

.buzz-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

/* IMAGE */
.buzz-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 4px solid var(--primary-green);
}

/* CARD CONTENT */
.buzz-body {
  padding: 22px 24px;
  font-family: var(--font-body);
}

.buzz-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--secondary-blue);
  margin-bottom: 10px;
}

.buzz-body p {
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: #333;
  line-height: 1.65;
}

/* FOOTER */
.buzz-footer {
  text-align: right;
  padding: 14px 24px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--primary-blue);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .buzz-title {
    font-size: 2.2rem;
  }

  .buzz-img img {
    height: 180px;
  }
}


/* -------------------------------------------------
    BUZZ - climate details 
------------------------------------------------- */

/* Container */
.article-container {
    max-width: 950px;
    margin: 60px auto;
    padding: 30px 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Back Button */
.article-container .btn {
    font-family: var(--font-heading);
    border-radius: 30px;
    padding: 8px 20px;
    border-color: var(--primary-green);
    color: var(--primary-blue);
}

.article-container .btn:hover {
    background: var(--primary-green);
    color: #000;
}

/* Title */
.article-container h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    line-height: 1.2;
}

/* Meta Info */
.article-meta {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--secondary-blue);
    margin-bottom: 25px;
}

.article-meta i {
    color: var(--primary-blue);
    margin-right: 5px;
}

/* Main Content */
.article-content {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
}

/* Subheadings */
.article-content h4 {
    font-family: var(--font-heading);
    color: var(--secondary-blue);
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Lists */
.article-content ul {
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.article-content ul li {
    margin-bottom: 8px;
    color: #222;
}

/* Images */
.article-content img {
    width: 100%;
    border-radius: 18px;
    margin: 25px 0;
    /* box-shadow: 0 10px 25px rgba(0,0,0,0.15); */
}

/* Responsive */
@media (max-width: 768px) {
    .article-container h1 {
        font-size: 2rem;
    }
    .article-content {
        font-size: 1.05rem;
    }
}



/* ----------------------------------------- */
/* --- climate talk --- */
/* Modern Glass Box in Hero Section */
.cw-description-box {
    margin-top: 20px;
    max-width: 900px;
    background: rgba(0, 0, 0, 0.35); /* darker for better text clarity */
    padding: 25px 32px;
    border-radius: 18px;

    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);

    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.45),  /* outer shadow */
        inset 0 1px 2px rgba(255, 255, 255, 0.25); /* inner glow */

    color: #fff;
    font-size: 1.15rem;
    line-height: 1.7;
    text-align: center;
}


.cw-description-box p {
    margin: 0;
}

/* Responsive */
@media(max-width: 768px) {
    .cw-description-box {
        padding: 16px 18px;
        font-size: 0.95rem;
    }
}

/* --- climate talk details ---- */


.article-title {
    text-align: center;
    font-size: 1rem;
    /* font-weight: 00; */
    margin-bottom: 30px;
}

.article-video-box {
    max-width: 900px;
    margin: 0 auto 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 6px 20px rgba(0,0,0,0.15);
}

.article-text {
    max-width: 900px;
    margin: 20px auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}

.article-date {
    max-width: 900px;
    margin: 10px auto 0;
    color: #333;
    font-weight: 500;
}

.article-date i {
    color: #1d4ed8; /* nice blue shade */
    margin-right: 6px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-title {
        font-size: 1.5rem;
        /* padding: 0 15px; */
    }

    .article-video-box iframe {
        height: 200px;
    }

    .article-text {
        font-size: 1rem;
        padding: 0 15px;
    }
}

/* --------------------------------- */
/* --- climate Events --- */

.events-section {
    padding: 60px 0;
}

.events-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.events-tabs {
    text-align: center;
    margin-bottom: 30px;
}

.events-tab {
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 10px 22px;
    font-size: 1rem;
    margin: 0 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.events-tab.active {
    background: #0b1f52;
}

.events-tab:hover {
    background: #102c6c;
}

.no-event {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 30px;
}

.month-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
}

.event-card {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.event-date-box {
    width: 70px;
    text-align: center;
    border-right: 2px solid #1e3a8a;
    padding-right: 15px;
}

.event-month {
    display: block;
    font-weight: 700;
    color: #1e3a8a;
}

.event-day {
    font-size: 1.6rem;
    font-weight: bold;
}

.event-details {
    flex: 1;
}

.event-type {
    display: inline-block;
    padding: 4px 10px;
    background: #dbeafe;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.event-title {
    margin: 8px 0;
}

.event-location {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.event-desc {
    font-size: 0.95rem;
    color: #444;
}

.event-link {
    color: #1e3a8a;
    font-weight: bold;
}

.event-image img {
    width: 260px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
    }

    .event-image img {
        width: 100%;
        height: 200px;
    }
}


/* ─────────────────────────── */
/* OVERLAY */
/* ─────────────────────────── */
.event-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(18px) brightness(0.85);
    background: rgba(0,0,0,0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: 0.35s ease;
    z-index: 9990;
}

.event-popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* ─────────────────────────── */
/* POPUP CONTAINER */
/* ─────────────────────────── */
.event-popup {
    width: 100%;
    max-width: 1050px;
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 45px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.2);
    color: #111;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: 0.35s ease;
    margin-top: 55px;
}

.event-popup-overlay.active .event-popup {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* ─────────────────────────── */
/* CLOSE BUTTON */
/* ─────────────────────────── */
.popup-close {
    position: absolute;
    top: 22px;
    right: 26px;
    background: #1e293b;
    color: #fff;
    border: none;
    font-size: 1.1rem;
    border-radius: 50%;
    padding: 6px 10px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    transition: 0.2s ease;
}
.popup-close:hover {
    background: #334155;
}

/* ─────────────────────────── */
/* CONTENT LAYOUT */
/* ─────────────────────────── */
.popup-content {
    display: flex;
    gap: 35px;
    margin-top: 20px;
}

/* Column widths */
.popup-left { width: 68%; }
.popup-right { width: 32%; }

/* Title */
.popup-left h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 18px;
}

/* ─────────────────────────── */
/* IMAGE BOX */
/* ─────────────────────────── */
.popup-image-box {
    position: relative;
    margin-bottom: 18px;
}
.popup-image-box img {
    width: 100%;
    border-radius: 14px;
    height: auto;
}
.popup-status {
    position: absolute;
    bottom: 12px;
    left: 18px;
    padding: 6px 14px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border-radius: 6px;
    font-size: 0.95rem;
    font-style: italic;
}

/* ─────────────────────────── */
/* DESCRIPTION */
/* ─────────────────────────── */
.popup-description {
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* Calendar links */
.popup-calendar {
    margin-bottom: 22px;
}
.popup-calendar a {
    margin-right: 15px;
    font-weight: 500;
    color: #1e40af;
}

/* Share Area */
.popup-share p {
    margin-bottom: 6px;
    font-weight: 600;
}
.share-icons i {
    font-size: 1.3rem;
    margin-right: 10px;
    cursor: pointer;
    color: #1e3a8a;
    transition: 0.25s;
}
.share-icons i:hover {
    transform: scale(1.15);
}

/* ─────────────────────────── */
/* RIGHT PANEL */
/* ─────────────────────────── */
.popup-box {
    background: #f7f7f7;
    padding: 16px 18px;
    border-radius: 12px;
    margin-bottom: 18px;
    border: 1px solid #e5e7eb;
}

.popup-box h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.popup-box p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #444;
}

/* Visit Website Button */
.visit-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background: #1e3a8a;
    color: #fff !important;
    border-radius: 6px;
    font-size: 0.95rem;
}

.visit-btn:hover {
    background: #102c6c;
}

/* ─────────────────────────── */
/* RESPONSIVE */
/* ─────────────────────────── */
@media (max-width: 768px) {
    .popup-content {
        flex-direction: column;
    }
    .popup-left, .popup-right {
        width: 100%;
    }
    .event-popup {
        padding: 28px;
        max-height: 90vh;
    }
}

/* ------------------------------------ */
/* ============================================
   ARTICLE PREV / NEXT NAVIGATION
============================================ */

.article-nav {
    max-width: 850px;
    margin: 40px auto 80px auto;
    padding: 0 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Buttons */
.article-prev,
.article-next {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;

    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;

    background: var(--primary-blue);
    color: #fff;

    transition: 0.3s ease;
    display: inline-block;
}

/* Hover */
.article-prev:hover,
.article-next:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 600px) {
    .article-nav {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .article-prev,
    .article-next {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }
}
