/* Basic reset + root */
:root { --wpw-accent:#203a4a; --wpw-muted:#6b7280; --wpw-bg:#fff; --wpw-border:#e6e6e6; --tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1}

.whitepaper { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; color:#0f1724; }

/* Card */
.wpw-card {
  width: 100%;
  display:flex;
  justify-content:space-between;
  gap:24px;
  background:var(--wpw-bg);
  border-radius:12px;
  padding:28px;

  margin-bottom:18px;
  align-items:flex-start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
border: 1px solid #eee;
transition: all .3s ease;
}
.wpw-card:hover { transition: .15s;

  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  transform: translateY(-2px);
}

.wpw-card > svg {
    fill: none;
    width: 1.3em;
}

/* Left column */
.wpw-card-left { flex:1 1 65%; }
.wpw-card-left h2 { font-size:20px; margin:0 0 8px; font-weight:700; color:var(--wpw-accent); }
.wpw-card-left p { margin:0 0 12px; color:#334155; line-height:1.5; }
.wpw-tags { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.wpw-tags span { display:inline-block; background:#f8fafc; color:#0f1724; padding:6px 10px; border-radius:999px; font-weight:600; font-size:13px; border:1px solid #eef2f6; }

/* Key insights */
.wpw-key-insights h4 { margin:0 0 8px; font-size:16px; }
.wpw-key-insights ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:3px; color:#374151; }

/* Right column */
.wpw-card-right {
    flex: 1 1 30%;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 18px;

    text-align: left;
}
.wpw-meta { font-size:14px; color:var(--wpw-muted); }
.wpw-meta .meta-item {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.wpw-meta .meta-item svg { fill: none;}

.wpw-download-btn {
    justify-content: center;
    margin-top: auto;
    background: #23405c;
    color: #fff;
    padding: 7px 12px;
    border-radius: 10px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}


.wpw-download-btn:hover {
    background: #23405c;
    color:#fff;
    --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    --tw-scale-x: 1.05;
    --tw-scale-y: 1.05;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.wpw-download-btn svg {
    fill: none;
}
/* Filters area */
.wpw-filters { display:flex; flex-direction:column; gap:14px; margin-bottom:20px; }
.wpw-filter-row { display:flex; gap:20px; align-items:flex-start; justify-content:space-between; }
.wpw-filter-left, .wpw-filter-right { flex:1; }
.wpw-filter-label { font-weight:700; color:#0f1724; display:flex; align-items:center; gap:8px; }
.wpw-filter-label .available { font-weight:600; color:var(--wpw-muted); font-size:13px; margin-left:6px; }
.wpw-key-insights ul li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}
.wpw-key-insights ul li svg {
    fill: none;
}

.wpw-input { width:100%; padding:12px 14px; border:1px solid var(--wpw-border); border-radius:12px; font-size:14px; }
.wpw-select { appearance:none; width:100%; padding:10px 14px; border:1px solid var(--wpw-border); border-radius:12px; background:#fff; font-size:14px; height: auto;}
input.wpw-search-input.wpw-input {
    height: auto !important;
    padding: 10px 16px;
    border-radius: 12px;
}


/* List container */
.wpw-list { display:flex; flex-direction:column; gap:16px; }

/* Pagination */
.wpw-pagination-bar { display:flex; justify-content:space-between; align-items:center; margin-top:18px; gap:12px; flex-wrap:wrap; }
.wpw-pagination-links ul { display:flex; gap:8px; list-style:none; padding:0; margin:0; }
.wpw-pagination-links ul li a { display:block; padding:8px 12px; border-radius:6px; border:1px solid var(--wpw-border); text-decoration:none !important; color:#0f1724; }
.wpw-pagination-links ul li.active a { background:var(--wpw-accent); color:#fff; border-color:var(--wpw-accent); }




.whitepaper-modal{position:fixed;inset:0;background:rgba(0,0,0,.6);display:none;justify-content:center;align-items:center;z-index:9999}
.whitepaper-modal-content{background:#fff;padding:30px;border-radius:12px;width:90%;max-width:600px;position:relative;box-shadow:0 10px 30px rgba(0,0,0,.2);animation:fadeIn .3s ease}
.whitepaper-close{position:absolute;top:10px;right:15px;font-size:24px;cursor:pointer;color:#333}
@keyframes fadeIn {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}


/* Responsive */
@media(max-width:820px){
  .wpw-card { flex-direction:column; }
  .wpw-card-right { align-items:flex-start; text-align:left; }
  .wpw-filter-row { flex-direction:column; gap:12px; }
  .wpw-filter-left, .wpw-filter-right { width: 100%;}
}

/*Ritesh CSS*/

/* =========================
   MAIN WRAPPER
========================= */
.wpw-list {
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 0px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* =========================
   CARD LAYOUT
========================= */
.wpw-card {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 32px;
  background: #EBEBEB66;
  border-radius: 18px;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.wpw-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  background-color: #ffff; 
}

/* Left Section */
.wpw-card-left {
  flex: 1.5;
}

/* Right Section */
.wpw-card-right {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =========================
   TYPOGRAPHY
========================= */
.wpw-card-left h2 {
  font-size: 26px;
  font-weight: 700;
  color: #0f2f3f;
  margin-bottom: 14px;
  line-height: 1.3;
}

.wpw-card-left p {
  font-size: 16px;
  color: #4a5a65;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* =========================
   TAGS
========================= */
.wpw-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.wpw-tags span {
  background: #ff7a3d;
  color: #ffff;
  font-size: 14px;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: 999px;
}


.wpw-tags span:last-child {
  background: #0f2f3f;
  color: #ffffff;
}

/* =========================
   KEY INSIGHTS
========================= */
.wpw-key-insights h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f2f3f;
  margin-bottom: 10px;
}

.wpw-key-insights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wpw-key-insights ul li {
  font-size: 15px;
  color: #4a5a65;
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.wpw-key-insights ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #ff7a3d;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

/* =========================
   META SECTION
========================= */
.wpw-meta {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 16px;
  color: #000;
  margin-bottom: 20px;
}

.wpw-meta .meta-item {
  position: relative;
  font-weight: 500;
  background-color: #FF6B3512;
  padding: 10px 20px;
  border-radius: 20px;
}


/* =========================
   DOWNLOAD BUTTON
========================= */
.wpw-download-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  background: #003d5b;
  color: #ffffff !important;
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.wpw-download-btn:hover {
  background: #ff6b35;
  transform: translateY(-2px);
}

.wpw-download-btn svg {
  transition: transform 0.3s ease;
}

.wpw-download-btn:hover svg {
  transform: translateY(4px);
}

/* =========================
   RESPONSIVE
========================= */

/* Tablet */
@media (max-width: 992px) {
  .wpw-card {
    flex-direction: column;
    gap: 24px;
  }

  .wpw-card-right {
    align-items: flex-start;
  }

  .wpw-card-left h2 {
    font-size: 22px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .wpw-list {
    padding: 40px 0px;
  }

  .wpw-card {
    padding: 22px;
  }

  .wpw-card-left h2 {
    font-size: 20px;
  }

  .wpw-card-left p {
    font-size: 14px;
  }

  .wpw-key-insights ul li {
    font-size: 14px;
  }

  .wpw-meta {
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
  }

  .wpw-meta .meta-item::after {
    display: none;
  }

  .wpw-download-btn {
    width: 100%;
  }
  
}

/*Ritesh CSS hide download Button*/
a.wpw-download-btn.open-whitepaper-popup {
    display: none;
}

