/* -----------------------------
   HERO SLIDER
------------------------------ */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #fff;
}

/* Track just fills the container — slides stack on top of each other */
.hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Each slide is absolute, fills the full slider, hidden by default */
.hero-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-text-panel {
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(40px, 5vw, 80px) clamp(28px, 5vw, 72px) 140px;
  border-right: 1px solid #f5f5f5;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.hero-text-content h1 {
  font-family: 'Limerick Serial', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 56px);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #1a1a1a;
  max-width: 18ch;
  margin-bottom: 24px;
}

@media (min-width: 1200px) {
  .hero-swiper {
    height: 89vh;
    max-height: 900px;
    min-height: 520px;
  }
}

.hero-meta {
  margin-top: 24px;
}

.hero-meta .cat-tag {
  margin-bottom: 24px;
}

.hero-excerpt {
  font-family: 'Limerick Serial', Georgia, 'Times New Roman', serif;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: #555;
  max-width: 42ch;
  margin-bottom: 20px;
}

.hero-slider-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px clamp(28px, 5vw, 72px) clamp(40px, 5vw, 80px);
  border-top: 1px solid #efefef;
  background: #fff;
  box-sizing: border-box;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #dcdcdc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: border-color .2s, background .2s, color .2s;
}

.slider-arrow:hover {
  border-color: #1a1a1a;
  background: #1a1a1a;
  color: #fff;
}

.slider-counter {
  font-size: 13px;
  letter-spacing: .2em;
  color: #666;
  margin-left: auto;
}

.hero-image-panel {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.hero-image-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
}


/* -----------------------------
   TOP STORIES CAROUSEL
------------------------------ */
.top-stories-carousel {
  max-width: 1400px;
  margin: 72px auto 0;
  padding: 0 24px;
}

.ts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #efefef;
  gap: 24px;
}

.ts-title {
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.ts-nav {
  display: flex;
  gap: 8px;
}

.ts-arrow {
  width: 44px;
  height: 44px;
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #dcdcdc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s, color .2s;
}

.ts-arrow:hover {
  border-color: #1a1a1a;
  background: #1a1a1a;
  color: #fff;
}

.ts-scroller {
  /* Swiper wrapper handles layout */
  padding-bottom: 8px;
}

.ts-card {
  cursor: pointer;
}

.ts-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
  margin-bottom: 14px;
}

.ts-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: brightness(.88);
  transition: transform .6s cubic-bezier(.25, .46, .45, .94);
}

.ts-card:hover .ts-img-wrap img {
  transform: scale(1.04);
}

.ts-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ts-card-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.25;
}


/* -----------------------------
   CONTENT GRID (MAIN + SIDEBAR)
------------------------------ */
.content-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  margin-top: 72px;
}

.explore-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #efefef;
}

.explore-title {
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.explore-filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.explore-filters button {
  background: none;
  border: none;
  color: #888;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 4px 10px;
  font-family: inherit;
  border-bottom: 1px solid transparent;
  transition: color .2s;
}

.explore-filters button.active {
  color: #1a1a1a;
  border-bottom-color: #1a1a1a;
}

.explore-filters button:hover {
  color: #1a1a1a;
}


.feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  /* background: #f5f5f5; */
}

.feed-card {
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.feed-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.feed-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: brightness(.85);
  transition: transform .6s cubic-bezier(.25, .46, .45, .94);
}

.feed-card:hover .feed-img-wrap img {
  transform: scale(1.04);
}

.feed-card-body {
  padding: 20px 20px 24px;
}

.feed-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.feed-title {
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.2;
}


.load-more-container {
  text-align: center;
  margin-top: 48px;
  margin-bottom: 16px;
}

.btn-load-more {
  background: none;
  border: 1px solid #cfcfcf;
  color: #1a1a1a;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 18px 52px;
  cursor: pointer;
  font-family: 'Limerick Serial', Georgia, serif;
  transition: border-color .3s;
  min-width: 240px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-load-more:hover {
  border-color: #1a1a1a;
}

.count-badge {
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  padding: 2px 7px;
  letter-spacing: .1em;
  font-weight: 700;
}


/* -----------------------------
   SIDEBAR 
------------------------------ */
.sidebar .widget {
  margin-bottom: 32px;
}

.widget-title {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 16px;
}

/* Agency Widget */
.agency-widget {
  border: 1px solid #e8e8e8;
  padding: 24px;
  background: #fafafa;
}

.widget-logo {
  height: 18px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

.widget-desc {
  font-size: 12px;
  letter-spacing: .12em;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Social Widget */
.social-widget {
  border-top: 1px solid #efefef;
  padding-top: 32px;
  margin-top: 40px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
  color: #1a1a1a;
  transition: opacity .2s;
}

.social-link:hover {
  opacity: .7;
}

.icon-box {
  width: 36px;
  height: 36px;
  border: 1px solid #cfcfcf;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-name {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.social-handle {
  font-size: 12px;
  letter-spacing: .05em;
  color: #777;
  margin-top: 2px;
}

.social-arrow {
  margin-left: auto;
  font-size: 22px;
  color: #888;
}

/* Apply Widget */
.apply-widget {
  border-top: 1px solid #efefef;
  padding-top: 32px;
  margin-top: 32px;
}

.apply-widget .widget-title {
  margin-bottom: 10px;
}

.apply-headline {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 14px;
}

.apply-desc {
  font-size: 13px;
  letter-spacing: .05em;
  color: #666;
  margin-bottom: 18px;
  line-height: 1.7;
}

.apply-btn {
  display: block;
  text-align: center;
  padding: 12px;
}

.apply-btn:hover {
  background: transparent;
  color: #1a1a1a;
}

/* Latest Covers Widget */
.latest-covers-widget {
  border-top: 1px solid #efefef;
  padding-top: 32px;
  margin-top: 32px;
}

.mini-post {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
  color: #1a1a1a;
  transition: opacity .2s;
}

.mini-post:hover {
  opacity: 0.7;
}

.mini-img {
  width: 52px;
  height: 52px;
  background: #f5f5f5;
  flex-shrink: 0;
  overflow: hidden;
}

.mini-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.mini-text {
  flex: 1;
}

.mini-title {
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.3;
  color: #444;
}

.mini-ago {
  font-size: 11px;
  letter-spacing: .08em;
  color: #888;
  margin-top: 4px;
}


/* -----------------------------
   INSTAGRAM CAROUSEL
------------------------------ */
.instagram-carousel {
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid #f5f5f5;
  position: relative;
}

.instagram-header {
  text-align: center;
  padding: 0 24px 36px;
}

.instagram-header a {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.instagram-header h2 {
  font-family: 'Limerick Serial', Georgia, 'Times New Roman', serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1;
  font-style: italic;
}

.instagram-header span {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #666;
}

.carousel-container {
  position: relative;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.carousel-nav-btn.prev {
  left: 16px;
}

.carousel-nav-btn.next {
  right: 16px;
}

.carousel-nav-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.ig-tile {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  display: block;
  aspect-ratio: 4/5;
}

.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: brightness(.92);
  transition: transform .6s cubic-bezier(.25, .46, .45, .94), filter .3s;
}

.ig-tile:hover img {
  transform: scale(1.05);
  filter: brightness(.7);
}

.ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.ig-tile:hover .ig-overlay {
  opacity: 1;
}

/* Responsive Overrides */
@media (max-width: 1100px) {
  /* Swiper handles breakpoints */
}

@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-slide {
    grid-template-columns: 1fr;
    grid-template-rows: 56vh auto;
    height: auto;
    max-height: none;
  }

  .hero-slider-controls {
    position: relative;
    width: 100%;
    bottom: auto;
    left: auto;
    padding: 24px 24px 40px;
    background: #fff;
    border-top: 1px solid #efefef;
    z-index: 10;
  }



  .hero-text-panel {
    order: 2;
    padding: 32px 24px;
  }

  .hero-image-panel {
    order: 1;
  }

  .feed-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .explore-header {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .feed-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px){
  .hero-text-content {
      justify-content: flex-start;
  }
  
  .see-more {
      margin-bottom: 0 !important;
  }
}

@media (max-width: 440px) {
  .ts-card {
    width: 78%;
  }

  .ig-tile {
    width: 80%;
  }
}

/* loader css */

.btn-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

.btn-load-more.loading .btn-loader {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.feed-grid {
    position: relative;
}

.feed-grid.loading::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.7);
    z-index: 10;
}

.feed-grid.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    border: 4px solid #ddd;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    z-index: 11;
}