/*
 * Celebrity Portal — Layout Styles (cp-layout.css)
 * Version: 20260530.3
 * Loaded as a SEPARATE file to bypass WordPress stylesheet cache.
 * All classes use "cp-" prefix — zero conflict with existing theme CSS.
 */

/* ================================================================
   HOMEPAGE WRAPPER
   ================================================================ */
.cp-homepage {
  padding: 24px 0 40px;
}

/* ================================================================
   SECTION WRAPPER
   ================================================================ */
.cp-section {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 36px;
  padding: 0 0 6px;
}

/* ================================================================
   SECTION HEADER
   ================================================================ */
.cp-section-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border-bottom: 3px solid #111;
  margin-bottom: 16px;
}
.cp-section-title {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  background: #111;
  padding: 9px 18px;
  border-left: 5px solid #d40000;
  white-space: nowrap;
  margin: 0;
  line-height: 1;
}
.cp-view-all {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: #d40000 !important;
  color: #fff !important;
  border: 2px solid #d40000 !important;
  padding: 5px 12px;
  border-radius: 2px;
  white-space: nowrap;
  text-decoration: none !important;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.cp-view-all:hover,
.cp-view-all:visited,
.cp-view-all:active,
.cp-view-all:focus {
  background: #a30000 !important;
  border-color: #a30000 !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ================================================================
   EMPTY STATE
   ================================================================ */
.cp-empty {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 32px 16px;
  gap: 8px;
  color: #999;
}
.cp-empty i { font-size: 28px; opacity: 0.35; }
.cp-empty p { font-size: 13px; font-style: italic; margin: 0; }

/* ================================================================
   VIEW ALL BUTTON (bottom of each section)
   ================================================================ */
.cp-view-all-wrap {
  text-align: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e8e8e8;
}
.cp-view-all-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  background: #d40000 !important;
  border: 2px solid #d40000 !important;
  color: #fff !important;
  padding: 9px 22px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 2px;
  text-decoration: none !important;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.cp-view-all-btn:hover,
.cp-view-all-btn:visited,
.cp-view-all-btn:active,
.cp-view-all-btn:focus {
  background: #a30000 !important;
  border-color: #a30000 !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ================================================================
   LAYOUT 1 — GRID
   3-column grid of uniform cards (image top, text bottom)
   ================================================================ */
.cp-grid__wrap {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 14px 1fr 14px 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cp-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-radius: 7px;
  overflow: hidden;
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.09);
          box-shadow: 0 1px 4px rgba(0,0,0,0.09);
  border: 1px solid #e8e8e8;
  background: #fff;
  -webkit-transition: -webkit-transform 0.25s, -webkit-box-shadow 0.25s;
  transition: transform 0.25s, box-shadow 0.25s;
}
.cp-card:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  -webkit-box-shadow: 0 6px 20px rgba(0,0,0,0.14);
          box-shadow: 0 6px 20px rgba(0,0,0,0.14);
}
.cp-card__img-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  text-decoration: none;
}
.cp-card__img-link img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
}
.cp-card:hover .cp-card__img-link img {
  -webkit-transform: scale(1.07);
          transform: scale(1.07);
}
.cp-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #d40000;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 2px;
  z-index: 2;
}
.cp-card__body {
  padding: 12px 13px 14px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.cp-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin: 0 0 8px;
}
.cp-card__title a {
  color: inherit;
  text-decoration: none;
}
.cp-card__title a:hover { color: #d40000; }
.cp-card__meta {
  font-size: 11px;
  color: #999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  margin-top: auto;
  font-family: 'Nunito', sans-serif;
}

/* ================================================================
   LAYOUT 2 — MAGAZINE
   Big featured (left, overlay) + compact list of 5 (right)
   ================================================================ */
.cp-mag__wrap {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 3fr 2fr;
  grid-template-columns: 3fr 2fr;
  gap: 0;
  min-height: 340px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
}
.cp-mag__featured {
  position: relative;
  overflow: hidden;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.cp-mag__featured-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  overflow: hidden;
  text-decoration: none;
}
.cp-mag__featured-link img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  -webkit-transition: -webkit-transform 0.6s ease;
  transition: transform 0.6s ease;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}
.cp-mag__featured:hover .cp-mag__featured-link img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.cp-mag__featured-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 80px 20px 20px;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0,0,0,0.92)), to(rgba(0,0,0,0)));
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0) 100%);
  z-index: 2;
}
.cp-mag__badge {
  display: inline-block;
  background: #d40000;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
}
.cp-mag__featured-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 8px;
}
.cp-mag__featured-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  font-family: 'Nunito', sans-serif;
}
.cp-mag__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: #fff;
  border-left: 1px solid #e8e8e8;
}
.cp-mag__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-height: 0;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.cp-mag__item:last-child { border-bottom: none; }
.cp-mag__item:hover { background: #f9f9f9; text-decoration: none; }
.cp-mag__item-img {
  width: 88px;
  min-width: 88px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  overflow: hidden;
  -ms-flex-item-align: stretch;
      align-self: stretch;
}
.cp-mag__item-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.cp-mag__item-body {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 10px 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-width: 0;
}
.cp-mag__item-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cp-mag__item-meta {
  font-size: 10px;
  color: #999;
  font-family: 'Nunito', sans-serif;
}

/* ================================================================
   LAYOUT 3 — OVERLAY
   3 portrait cards, full-image with gradient text overlay
   ================================================================ */
.cp-overlay__wrap {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 12px 1fr 12px 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cp-overlay__card {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background: #111;
  aspect-ratio: 2 / 3;
  -webkit-transition: -webkit-transform 0.25s, -webkit-box-shadow 0.25s;
  transition: transform 0.25s, box-shadow 0.25s;
}
.cp-overlay__card:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  -webkit-box-shadow: 0 8px 24px rgba(0,0,0,0.3);
          box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  text-decoration: none;
}
.cp-overlay__card-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  display: block;
  position: absolute;
  top: 0; left: 0;
  -webkit-transition: -webkit-transform 0.6s ease;
  transition: transform 0.6s ease;
}
.cp-overlay__card:hover .cp-overlay__card-img {
  -webkit-transform: scale(1.06);
          transform: scale(1.06);
}
.cp-overlay__card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 60px 14px 16px;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0,0,0,0.92)), to(rgba(0,0,0,0)));
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0) 100%);
  z-index: 2;
}
.cp-overlay__badge {
  display: inline-block;
  background: #d40000;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 7px;
}
.cp-overlay__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cp-overlay__meta {
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  font-family: 'Nunito', sans-serif;
}

/* ================================================================
   LAYOUT 4 — NEWSLIST
   Large hero (left, overlay) + compact horizontal list of 5 (right)
   ================================================================ */
.cp-news__wrap {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 3fr 2fr;
  grid-template-columns: 3fr 2fr;
  gap: 14px;
  min-height: 300px;
}
.cp-news__hero {
  display: block;
  position: relative;
  border-radius: 7px;
  overflow: hidden;
  text-decoration: none;
  background: #111;
  min-height: 300px;
}
.cp-news__hero-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  position: absolute;
  top: 0; left: 0;
  -webkit-transition: -webkit-transform 0.6s ease;
  transition: transform 0.6s ease;
}
.cp-news__hero:hover .cp-news__hero-img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.cp-news__hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 80px 18px 18px;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0,0,0,0.92)), to(rgba(0,0,0,0)));
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0) 100%);
  z-index: 2;
}
.cp-news__badge {
  display: inline-block;
  background: #d40000;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
}
.cp-news__hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 8px;
}
.cp-news__hero-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  font-family: 'Nunito', sans-serif;
}
.cp-news__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border: 1px solid #e8e8e8;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}
.cp-news__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-height: 0;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.cp-news__item:last-child { border-bottom: none; }
.cp-news__item:hover { background: #f9f9f9; text-decoration: none; }
.cp-news__item-img {
  width: 84px;
  min-width: 84px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  overflow: hidden;
  -ms-flex-item-align: stretch;
      align-self: stretch;
}
.cp-news__item-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.cp-news__item-body {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 9px 11px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-width: 0;
}
.cp-news__item-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cp-news__item-meta {
  font-size: 10px;
  color: #999;
  font-family: 'Nunito', sans-serif;
}

/* ================================================================
   BROWSE CATEGORIES — Responsive colorful icon grid
   ================================================================ */
.cp-browse {
  background: #111;
  padding: 36px 0 44px;
  border-top: 4px solid #d40000;
}
.cp-browse__header {
  text-align: center;
  margin-bottom: 28px;
}
.cp-browse__title {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin: 0 0 8px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}
.cp-browse__title i { color: #d40000; }
.cp-browse__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0;
  font-family: 'Nunito', sans-serif;
}
.cp-browse__grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.cp-browse__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  padding: 18px 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  -webkit-transition: -webkit-transform 0.25s, -webkit-box-shadow 0.25s, opacity 0.2s;
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.2s;
  opacity: 0.88;
  -webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.25);
          box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.cp-browse__card:hover {
  opacity: 1;
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 8px 24px rgba(0,0,0,0.35);
          box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  text-decoration: none;
}
.cp-browse__icon {
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.cp-browse__icon i {
  color: #fff;
  font-size: 18px;
}
.cp-browse__name {
  font-size: 11px;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  line-height: 1.2;
}
.cp-browse__count {
  font-size: 10px;
  color: rgba(255,255,255,0.72);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}

/* ================================================================
   RESPONSIVE — TABLET (≤992px)
   ================================================================ */
@media (max-width: 992px) {
  .cp-grid__wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .cp-overlay__wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .cp-browse__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
}

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

  /* Grid: 2 columns */
  .cp-grid__wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  /* Magazine: stack vertically */
  .cp-mag__wrap {
    display: block;
    min-height: unset;
    border-radius: 7px;
  }
  .cp-mag__featured {
    border-radius: 7px 7px 0 0;
  }
  .cp-mag__featured-link {
    min-height: 220px;
  }
  .cp-mag__list {
    border-left: none;
    border-top: 1px solid #e8e8e8;
    border-radius: 0 0 7px 7px;
  }
  .cp-mag__item-img { width: 76px; min-width: 76px; }
  .cp-mag__featured-title { font-size: 15px; }

  /* Overlay: 3 columns (compact portrait) */
  .cp-overlay__wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .cp-overlay__card { aspect-ratio: 1 / 1.4; }
  .cp-overlay__title { font-size: 11px; -webkit-line-clamp: 2; }
  .cp-overlay__card-info { padding: 40px 10px 12px; }

  /* Newslist: stack vertically */
  .cp-news__wrap {
    display: block;
    min-height: unset;
  }
  .cp-news__hero {
    min-height: 220px;
    border-radius: 7px 7px 0 0;
  }
  .cp-news__list {
    border-radius: 0 0 7px 7px;
    border-top: none;
  }
  .cp-news__item-img { width: 76px; min-width: 76px; }
  .cp-news__hero-title { font-size: 16px; }

  /* Browse categories: 3 columns */
  .cp-browse__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .cp-browse {
    padding: 24px 0 30px;
  }
  .cp-browse__icon { width: 38px; height: 38px; }
  .cp-browse__icon i { font-size: 15px; }
  .cp-browse__card { padding: 14px 8px 12px; gap: 6px; }
  .cp-browse__name { font-size: 10px; }
  .cp-browse__title { font-size: 13px; }
}

/* ================================================================
   RESPONSIVE — SMALL PHONE (≤480px)
   ================================================================ */
@media (max-width: 480px) {

  /* Grid stays 2 columns */
  .cp-grid__wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .cp-card__title { font-size: 12px; }

  /* Overlay: 2 columns */
  .cp-overlay__wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  /* Browse: 2 columns */
  .cp-browse__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .cp-browse__count { display: none; }
}

/* Hide old cat-nav-strip (replaced by cp-browse) */
.cat-nav-strip { display: none !important; }
