/* Wrapper (reuses .ces-events-tabs / .ces-tab from your list CSS) */
.ces-exec-archive { width: 100%; }
.ces-exec-archive.is-loading { opacity:.6; pointer-events:none; transition:opacity .15s ease; }

/* Panels + list */
.ces-exec-rows {
    margin-top: 80px;
 }
.ces-exec-list { display: grid; gap: 40px; }

/* One post per row */
.ces-exec-row { display: block; }

/* Title row */
.ces-exec-title {
    margin: 0 0 10px 0;
    font-family: "Manrope", Sans-serif;
    font-weight: 800;
    font-size: 36px;
    line-height: 1.25;
    color: #000000;
}
.ces-exec-title a { color: #000000; text-decoration: none; }
.ces-exec-title a:hover { text-decoration: none; }

/* Full-width red separator */
.ces-exec-sep {
  width: 100%;
  height: 2px;
  background: #9E0303;
  margin: 0 0 18px 0;
}

/* 2-column grid under the red line */
.ces-exec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Media */
.ces-exec-media { position: relative; }
.ces-exec-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

/* Right column: content + sticky CTA at bottom */
.ces-exec-body {
  display: grid;
  grid-template-rows: 1fr auto;  /* content grows, button sticks */
  gap: 12px;
  min-height: 100%;
}

.ces-exec-content {
  font-family: "Manrope", Sans-serif;
  color: #000000;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  --exec-lines: 6;                  /* change to 5 if you want 5 lines */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--exec-lines);
  line-clamp: var(--exec-lines);    /* modern spec */
  overflow: hidden;
}
.ces-exec-content h2 {
    font-size: 28px;
}


.ces-exec-content :where(img, figure, iframe, video, embed) {
  display: none !important;         /* remove big media from the preview */
}

.ces-exec-content :where(p, ul, ol) { margin: 0 0 .65em 0; }
.ces-exec-content :where(h1,h2,h3,h4,h5,h6) {
  margin: 0 0 .4em 0;
}

/* CTA (same vibe as news button) */
.ces-exec-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-family: "Manrope", Sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #9E0303;
  text-decoration: none;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  transition: transform .3s ease;
}
.ces-exec-btn:hover { color: #9E0303; }
.ces-exec-btn:hover svg {
    transform: translateX(2px); 
}
.ces-exec-btn-icon svg { display: block; width: 18px; height: 18px; transition: transform .3s ease; }
.ces-exec-btn:hover .ces-exec-btn-icon svg { transform: translateX(10px); }

/* Empty state */
.ces-exec-empty { font-family: "Manrope", Sans-serif; font-size: 16px; color: #444; }

/* Pagination (numbers) */
.ces-exec-pagination { margin-top: 16px; text-align: center; }
.ces-exec-pagination .page-numbers {
  display: inline-flex;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.ces-exec-pagination .page-numbers li { list-style: none; }
.ces-exec-pagination a,
.ces-exec-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #9E0303;
  border-radius: 4px;
  font-family: "Manrope", Sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: #9E0303;
}
.ces-exec-pagination .current { background: #9E0303; color: #fff; }

/* ===== Smaller desktops (≤ 1400px) ===== */
@media (max-width: 1400px) {
  .ces-exec-list { gap: 36px; }
  .ces-exec-grid { gap: 22px; }

  .ces-exec-title { font-size: 26px; }

  .ces-exec-content { font-size: 17px; }
  .ces-exec-content h2 { font-size: 24px; }

  .ces-exec-btn { font-size: 17px; }
  .ces-exec-btn-icon svg { width: 18px; height: 18px; }
}

/* ===== Laptops (≤ 1200px) ===== */
@media (max-width: 1200px) {
  .ces-exec-grid { gap: 20px; grid-template-columns: 1fr 1fr; }

  .ces-exec-title { font-size: 24px; }

  .ces-exec-content { font-size: 16px; }
  .ces-exec-content h2 { font-size: 22px; }

  .ces-exec-btn { font-size: 16px; }
  .ces-exec-btn-icon svg { width: 18px; height: 18px; }
}

/* ===== Tablets landscape (≤ 992px) ===== */
@media (max-width: 992px) {
  .ces-exec-grid { grid-template-columns: 1fr; gap: 18px; }

  .ces-exec-title { font-size: 22px; }

  .ces-exec-content { font-size: 16px; }
  .ces-exec-content h2 { font-size: 21px; }
}

/* ===== Tablets portrait (≤ 768px) ===== */
@media (max-width: 768px) {
  .ces-exec-title { font-size: 20px; }

  .ces-exec-content { font-size: 16px; --exec-lines: 5; } 
  .ces-exec-content h2 { font-size: 20px; }
}

/* ===== Phones (≤ 576px) ===== */
@media (max-width: 576px) {
  .ces-exec-list { gap: 14px; }

  .ces-exec-title { font-size: 18px; }

  .ces-exec-content { font-size: 15px; --exec-lines: 5; }
  .ces-exec-content h2 { font-size: 18px; }

  .ces-exec-btn { font-size: 14px; }
  .ces-exec-btn-icon svg { width: 16px; height: 16px; }
}
