/* ============================================================
   Press Section Manager — style.css  (v1.1 — hover reveal)
   Desktop:
     Press Release  → 2-col card grid (title top blue, meta+date bottom, view report HOVER only)
     Press Coverage → single-col list  (meta top, title below blue, date+view report HOVER bottom)
   Mobile:
     Press Release  → single-col list with dark pill year bar
     Press Coverage → dark pill year bar + white month bar with prev/next arrows
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────── */
.psm-section {
    --psm-blue:           #1a73e8;
    --psm-blue-link:      #0095DA;
    --psm-dark-pill:      #1c1c1e;
    --psm-text-primary:   #111827;
    --psm-text-secondary: #6b7280;
    --psm-text-meta:      #374151;
    --psm-border:         #e5e7eb;
    --psm-border-card:    #d1d5db;
    --psm-card-bg:        #ffffff;
    --psm-nav-active:     #1a73e8;
    --psm-nav-text:       #374151;
    --psm-font:           inherit;
	--psm-nav-scroll:     #CDEAF8D7;
    font-family: var(--psm-font);
    box-sizing: border-box;
}

.psm-section *,
.psm-section *::before,
.psm-section *::after { box-sizing: border-box; }

/* ── Layout: side-nav left, main right ─────────────────── */
.psm-section {
    display: flex;
    gap: 0;
    align-items: flex-start;
    width: 100%;
}

/* ── Side Nav ──────────────────────────────────────────── */
.psm-side-nav {
    display: flex;
    flex-direction: column;
    gap: 0px;
    min-width: 300px;
    width: 300px;
    flex-shrink: 0;
    padding-top: 4px;
    padding-right: 24px;
}

.psm-nav-link {
    display: block;
    padding: 5px 0 5px 12px;
    font-size: 1.2vw;
    color: var(--psm-nav-text);
    text-decoration: none;
    border-left: 2px solid #CDEAF8D7;
    transition: color .15s, border-color .15s;
    line-height: 30px;
    text-decoration: none !important;
    letter-spacing: -0.04em;
    font-weight: 400;
}
.psm-nav-link:hover { color: #686A6A; }
.psm-nav-link.is-active {
    color: var(--psm-nav-active);
    border-left-color: #0095DA !important;
    font-weight: 500;
}
.psm-side-nav .psm-nav-link {
  color: #5E5E5E;
}
/* ── Main content ──────────────────────────────────────── */
.psm-main { flex: 1; min-width: 0; }

/* ── Filters row (Desktop dropdowns) ───────────────────── */
.psm-filters {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
/*     margin-bottom: 40px; */
    margin-top: 0%;
}

/* ── Custom Dropdown ───────────────────────────────────── */
.psm-dropdown { position: relative; display: inline-block; }

.psm-pr-grid {padding-top: 3%;}
.psm-pc-list {
    padding-top: 8% !important;
}

.psm-dd-btn {
        display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    white-space: nowrap;
    transition: background .15s, border-color .15s;
    line-height: normal;
    letter-spacing: -0.72px;
}

/* Year — dark pill */
.psm-year-dd .psm-dd-btn  { background: var(--psm-dark-pill); color: #fff; border-color: var(--psm-dark-pill); }
.psm-year-dd .psm-dd-btn:hover { background: #2d2d2f; }

/* Month — white outlined */
.psm-month-dd .psm-dd-btn { background: #fff; color: var(--psm-text-primary); border-color: var(--psm-border-card); }
.psm-month-dd .psm-dd-btn:hover { background: #f9fafb; border-color: #9ca3af; }

.psm-dd-btn svg { flex-shrink: 0; transition: transform .2s; }
.psm-dropdown.is-open .psm-dd-btn svg { transform: rotate(180deg); }

.psm-dd-list {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid var(--psm-border);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
    padding: 6px;
    z-index: 999;
    margin: 0;
    list-style: none;
}
.psm-dropdown.is-open .psm-dd-list { display: block; }

.psm-dd-item {
    padding: 9px 12px;
    font-size: 13.5px;
    color: var(--psm-text-primary);
    border-radius: 6px;
    cursor: pointer;
    transition: background .12s;
    list-style: none;
}

.psm-dd-item.is-selected { background: #eff6ff; color: var(--psm-blue); font-weight: 600; }

/* ── Mobile bars (hidden on desktop) ───────────────────── */
.psm-mobile-bar,
.psm-mobile-month-bar { display: none; }

/* ============================================================
   "View report →"  HOVER-REVEAL  — both section types
   Hidden & shifted left by default.
   Fades + slides into place on article :hover.
   On touch devices (mobile), always visible.
   ============================================================ */
.psm-hover-reveal {
    opacity: 0;
    transform: translateX(-6px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.psm-pr-card:hover .psm-hover-reveal,
.psm-pc-row:hover  .psm-hover-reveal {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.psm-view-report {
        display: inline-flex;
    align-items: center;
    gap: 18px;
    font-size: 1.3vw;
    font-weight: 600;
    color: #000;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: gap .18s, opacity .2s, transform .2s, color .15s;
    line-height: normal;
    letter-spacing: -0.72px;
}
.psm-view-report:hover { gap: 18px; color: #000; }
.psm-view-report svg  { flex-shrink: 0; }

/* ============================================================
   PRESS RELEASE — 2-column card grid  (Desktop / Screenshot 2)
   ============================================================ */
/* ── Press Release 2-col grid ───────────────────────────
   Screenshot exact layout:
   - Full-width horizontal line between every row
   - Single vertical center line between columns
   - No outer border, no gap, cards touch the dividers
   ────────────────────────────────────────────────────── */

.psm-pr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* No gap — borders do the spacing visually */
    gap: 0;
}

/* Horizontal row dividers — border-top on every card creates full-width lines */
.psm-pr-card {
    position: relative;
    border-bottom: 1px solid var(--psm-border-card);
}

/* First two cards (row 1) get no top border — clean top edge */
.psm-pr-card:nth-child(1),
.psm-pr-card:nth-child(2) {
    border-top: none;
}

/* Vertical center divider — right border on every odd (left-column) card */
/* .psm-pr-card:nth-child(odd) {
    border-right: 1px solid var(--psm-border-card);
} */
/* vertical border */
.psm-pr-card:nth-child(odd) {
  position: relative;
  border-right: none;
}

/* Custom 80% vertical divider */
.psm-pr-card:nth-child(odd)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 80%; /* control height here */
  width: 1px;
  background: var(--psm-border-card);
}

/* Bottom border for last row */
/* .psm-pr-card:nth-last-child(-n+2) {
  border-bottom: 1px solid var(--psm-border-card);} */
.psm-pr-grid {
  position: relative;
}

.psm-pr-grid::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--psm-border-card);
}
/* If last card is alone in left column, still show its right border */
/* .psm-pr-card:last-child:nth-child(odd) {
    border-right: 1px solid var(--psm-border-card);
} */

/* Subtle hover */
.psm-pr-card.has-link { cursor: pointer; }

/* Card inner layout: title at top, footer pinned to bottom */
.psm-pr-card-inner {
    /* Padding inside each card: top/bottom generous, left/right for breathing room */
    padding: 28px 28px 24px 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 200px;
}

/* Right column cards get left padding instead of right */
.psm-pr-card:nth-child(even) .psm-pr-card-inner {
    padding: 28px 0 24px 28px;
}

.psm-pr-card.has-link:hover .psm-pr-title,
.psm-pr-card.has-link:hover .psm-pr-title a {
    color: #0095DA;
	transition: color 0.25s ease;
}
/* Title — takes up remaining space above footer */
.psm-pr-title {
    color: #000 !important;
    margin: 0;
    flex: 1;
	font-size: 1.6vw;
	font-weight: 600;
	line-height: 30px; /* 125% */
	letter-spacing: -0.96px;
	text-decoration: none !important;
}
.psm-pr-title-link  { color: #000; text-decoration: none !important; transition: color .15s; }
.psm-pr-card.has-link .psm-pr-title-link:hover { color: var(--psm-blue-link); }

/* Invisible spacer between title and footer */
.psm-pr-spacer { flex: 1; min-height: 16px; }

/* Footer: "Press Release • date" left | "View report →" right */
.psm-pr-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.psm-pr-meta-row {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.psm-pr-type  { color: #000; white-space: nowrap; font-size: 1.3vw; font-style: normal; font-weight: 600; line-height: normal; letter-spacing: -0.72px;}
.psm-pr-date  { color: #5E5E5E; white-space: nowrap; font-size: 1.3vw; font-style: normal; font-weight: 600; line-height: normal; letter-spacing: -0.72px; }
.psm-meta-dot { color: #5E5E5E; flex-shrink: 0; width: 5px; aspect-ratio: 1/1; opacity: 0.6;}

/* ============================================================
   PRESS COVERAGE — Single-column list  (Desktop / Screenshot 1)
   Three sub-rows per article:
     1. "Press Coverage • Hindustan Times"
     2. Title (blue link or plain text)
     3. "January 01, 2025"  |  "View report →"  (hover only)
   ============================================================ */
.psm-pc-list {
    display: flex;
    flex-direction: column;
}

.psm-pc-row {
    padding: 24px 0;
    border-bottom: 1px solid var(--psm-border);
    cursor: default;
    transition: background .15s;
}
.psm-pc-row:first-child { padding-top: 0; }
.psm-pc-row:last-child  { border-bottom: none; }
.psm-pc-row.has-link    { cursor: pointer; }

/* Row 1 — "Press Coverage • Source" */
.psm-pc-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}
.psm-pc-type   { font-size: 1.3vw; color: #000; font-weight:600;}
.psm-pc-source { font-size: 1.3vw; color: #5E5E5E; font-weight:600;}

/* Row 2 — Title */
.psm-pc-title {
    font-size: 1.6vw;
    font-weight: 500;
    color: var(--psm-text-primary);
    margin: 0 0 14px;
    line-height: 1.5;
}
.psm-pc-title-link { color: #000; text-decoration: none !important; transition: color .15s; }


/* Change title color when entire card is hovered */
.psm-pc-row:hover .psm-pc-title-link {
  color: var(--psm-blue-link);
  text-decoration: none;
  transition: color .15s ease;
}



/* Row 3 — date left, view report right */
.psm-pc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.psm-pc-date { font-size: 1.3vw; color: #686A6A; }

/* ── Empty + Loading ───────────────────────────────────── */
.psm-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--psm-text-secondary);
    font-size: 14px;
}

.psm-items-wrap.is-loading {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.psm-items-wrap.is-loading::after {
    content: '';
    width: 28px; height: 28px;
    border: 3px solid rgba(26,115,232,.15);
    border-top-color: var(--psm-blue);
    border-radius: 50%;
    animation: psm-spin .7s linear infinite;
}
@keyframes psm-spin { to { transform: rotate(360deg); } }

/* ── Load More ─────────────────────────────────────────── */
.psm-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}
.psm-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2% 4%;
    background: #363939;
    color: #fff;
    border: 1px solid var(--psm-border-card);
    border-radius: 8px;
    font-size: 1.2vw;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .12s;
}
.psm-load-more-btn:hover  { background: #363939; border-color: #363939; }
.psm-load-more-btn:active { transform: scale(.98); }
.psm-load-more-btn.is-loading { opacity: .6; pointer-events: none; background: #363939; color: #fff; }

/* ── Dark theme ────────────────────────────────────────── */
.psm-theme-dark {
    --psm-text-primary:   #f9fafb;
    --psm-text-secondary: #9ca3af;
    --psm-text-meta:      #d1d5db;
    --psm-border:         rgba(255,255,255,.12);
    --psm-border-card:    rgba(255,255,255,.15);
    --psm-nav-text:       #d1d5db;
}
.psm-theme-dark .psm-load-more-btn {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.2);
    color: #f9fafb;
}
.psm-theme-dark .psm-load-more-btn:hover { background: rgba(255,255,255,.1); }

/*astra padding removed*/
.entry-content .psm-dd-list {
   padding-left: 0 !important;
  
}

/* ── Mobile Nav Dropdown (hidden on desktop) ───────────── */
.psm-mobile-nav {
    display: none;
    position: relative;
    width: 100%;
    z-index: 100;
}

/* ============================================================
   MOBILE   ≤768px
   ============================================================ */
@media (max-width: 768px) {

    .psm-section  { flex-direction: column; align-items: stretch; }
    .psm-side-nav { display: none; }
    .psm-filters  { display: none; }
    .psm-main     { width: 100%; }

    /* ── Mobile Nav Dropdown ─────────────────────────── */
    .psm-mobile-nav {
        display: block;
        margin-bottom: 16px;
    }

    .psm-mobile-nav-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 12px 16px;
        background: #fff;
        border: 1px solid var(--psm-border-card);
        border-radius: 8px;
        cursor: pointer;
        font-family: inherit;
        font-size: 15px;
        font-weight: 600;
        color: var(--psm-text-primary);
        letter-spacing: -0.03em;
        transition: border-color .15s, background .15s;
    }

    .psm-mobile-nav-btn:hover {
        border-color: #9ca3af;
        background: #f9fafb;
    }

    .psm-mobile-nav-chevron {
        flex-shrink: 0;
        transition: transform .2s ease;
    }

    .psm-mobile-nav.is-open .psm-mobile-nav-chevron {
        transform: rotate(180deg);
    }

    .psm-mobile-nav-list {
        display: none;
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid var(--psm-border);
        border-radius: 10px;
        box-shadow: 0 8px 28px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
        padding: 6px;
        margin: 0;
        list-style: none;
        z-index: 200;
    }

    .psm-mobile-nav.is-open .psm-mobile-nav-list {
        display: block;
    }

    .psm-mobile-nav-item {
        padding: 11px 14px;
        font-size: 14px;
        color: var(--psm-text-primary);
        border-radius: 6px;
        cursor: pointer;
        transition: background .12s;
        font-weight: 500;
        list-style: none;
    }

    .psm-mobile-nav-item:hover {
        background: #f3f4f6;
    }

    .psm-mobile-nav-item.is-active {
        background: #eff6ff;
        color: var(--psm-blue);
        font-weight: 600;
    }

    /* Dark year pill */
    .psm-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: var(--psm-dark-pill);
        color: #fff;
        border-radius: 8px;
        padding: 10px 4px;
        margin-bottom: 0;
        box-sizing: border-box;
    }

    /* White month bar */
    .psm-mobile-month-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 10px 16px;
        border-bottom: 1px solid var(--psm-border);
        margin-bottom: 4px;
        box-sizing: border-box;
    }

    .psm-mobile-bar-prev, .psm-mobile-bar-next,
    .psm-mobile-month-prev, .psm-mobile-month-next {
        background: none;
        border: none;
        color: inherit;
        font-size: 22px;
        line-height: 1;
        padding: 4px 14px;
        cursor: pointer;
        opacity: .7;
        font-family: inherit;
        transition: opacity .15s;
    }
    .psm-mobile-bar-prev:hover, .psm-mobile-bar-next:hover,
    .psm-mobile-month-prev:hover, .psm-mobile-month-next:hover { opacity: 1; }

/*     .psm-mobile-bar-prev:disabled, .psm-mobile-bar-next:disabled,
    .psm-mobile-month-prev:disabled, .psm-mobile-month-next:disabled { opacity: .25; cursor: not-allowed; } */

    .psm-mobile-bar-label    { font-size: 15px; font-weight: 600; letter-spacing: .03em; color: #fff; flex: 1; text-align: center; }
    .psm-mobile-month-label  { font-size: 14px; font-weight: 500; color: var(--psm-text-primary); flex: 1; text-align: center; }

    /* Press Release mobile — vertical list */
    .psm-type-press-release .psm-pr-grid {
        display: flex;
        flex-direction: column;
        border: none;
    }
    .psm-type-press-release .psm-pr-card {
        border: none;
        border-bottom: 1px solid var(--psm-border);
        background: transparent;
    }
    .psm-type-press-release .psm-pr-card:last-child { border-bottom: none; }
    .psm-type-press-release .psm-pr-card-inner { padding: 18px 0; min-height: unset; }
    .psm-type-press-release .psm-pr-title { font-size: 15px; font-weight: 600; }
    .psm-type-press-release .psm-pr-footer { margin-top: 12px; }

    /* Always show view report on mobile (touch = no hover) */
    .psm-type-press-release .psm-hover-reveal,
    .psm-type-press-coverage .psm-hover-reveal {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    /* Press Coverage mobile */
    .psm-type-press-coverage .psm-pc-row  { padding: 18px 0; }
    .psm-type-press-coverage .psm-pc-title { font-size: 15px; }

    /* Load more */
    .psm-load-more-btn { width: 100%; max-width: 340px; padding: 13px 20px; }
}

@media (max-width: 480px) {
    .psm-pr-title, .psm-pc-title { font-size: 14.5px; }
}
/*css for press release arrow animatiom*/
/* Trigger animation when entire card is hovered */
.psm-pr-card:hover .view_icon_change svg,
.psm-pr-card:hover .view_icon_change svg path {
  fill: #0095DA !important;
}

.psm-pr-card:hover .view_icon_change {
  transform: translateX(1.5px);
}

.psm-pr-card:hover .view_icon_change::before {
  width: 8px;
  background: #0095DA;
}

.view_icon_change {
  width: 32px;
  height: 19px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view_icon_change svg {
  width: 14px;
  height: 12px;
  z-index: 2;
  fill: #000;
  transition: fill 0.25s ease, transform 0.25s ease;
}

.view_icon_change::before {
  content: "";
  position: absolute;
	
  left: 4px;
  top: 50%;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: #0095DA;
  transform: translateY(-50%);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}


/*css for press coverage arrow animatiom*/
/* Trigger when full card is hovered */
.psm-pc-row:hover .view_icon_change svg,
.psm-pc-row:hover .view_icon_change svg path {
  fill: #0095DA !important;
}

.psm-pc-row:hover .view_icon_change {
  transform: translateX(1.5px);
}

.psm-pc-row:hover .view_icon_change::before {
  width: 8px;
}


/* Only inside Press Coverage footer */
.psm-pc-footer .view_icon_change::before {
  left: 5.5em;
}

/* Fix icon container */
.psm-pc-footer .view_icon_change {
 
  display: inline-flex;   /* not flex */

  width: auto;            /* REMOVE fixed width */
 
}

/* Enable scrolling */
.psm-dd-list {
    max-height: 55vh !important;
    overflow-y: auto !important;
}

/* scrollbar style */
.psm-dd-list::-webkit-scrollbar {
    width: 6px;
}

.psm-dd-list::-webkit-scrollbar-track {
    border-radius: 4px;
    background: rgba(198, 197, 198, 0.20);
}

.psm-dd-list::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: linear-gradient(157deg, #0095DA 30.16%, #013356 207.71%);
}