/* ==================================================
   BLOG SPECIFIC HERO & SEARCH
================================================== */
.blog-hero {
  padding: 170px 0 60px;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse at 20% 0%, rgba(212, 175, 55, 0.12), transparent 55%), radial-gradient(ellipse at 85% 30%, rgba(15, 118, 110, 0.2), transparent 50%), var(--black);
}

.blog-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(100deg, #fff 30%, #f0e3ba 55%, var(--gold) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 20px;
}

.blog-hero p {
  margin: 20px auto 0;
  color: var(--ink-70);
  max-width: 540px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.search-row {
  margin: 36px auto 0;
  display: flex;
  gap: 16px;
  justify-content: center;
  max-width: 600px;
}

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.04);
}

.search-box svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-size: .92rem;
  width: 100%;
}

.search-box input::placeholder {
  color: var(--ink-50);
}

.cat-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 26px;
}

.cat-pill {
  padding: 9px 20px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-70);
  font-size: 12.5px;
  letter-spacing: .04em;
  transition: .35s;
  cursor: pointer;
}

.cat-pill:hover {
  border-color: var(--gold);
  color: var(--white);
}

.cat-pill.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

/* ==================================================
   FEATURED ARTICLE
================================================== */
.featured {
  padding: 20px 0 80px;
  background: var(--black);
}

.featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--charcoal);
}

@media(max-width: 860px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
}

.featured-media {
  position: relative;
  min-height: 360px;
  background:
    radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.35), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(15, 118, 110, 0.4), transparent 55%),
    linear-gradient(160deg, #171717, #0b0b0b);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.featured-media .tag {
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}

.featured-body {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media(max-width: 640px) {
  .featured-body {
    padding: 28px;
  }
}

.featured-body .eyebrow {
  margin-bottom: 16px;
}

.featured-body h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
}

.featured-body p {
  margin-top: 16px;
  color: var(--ink-70);
  line-height: 1.7;
}

.f-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.f-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.f-name {
  font-size: .88rem;
  font-weight: 600;
}

.f-role {
  font-size: .78rem;
  color: var(--ink-50);
}

.f-read {
  margin-left: auto;
  font-size: .8rem;
  color: var(--ink-50);
}

.featured-body .btn {
  align-self: flex-start;
  margin-top: 26px;
}

/* ==================================================
   BLOG GRID
================================================== */
.blog-grid-wrap {
  padding: 20px 0 100px;
  background: var(--black);
}

.grid-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.grid-head h2 {
  font-size: 1.8rem;
  font-weight: 800;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media(max-width: 980px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.blog-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--charcoal);
  transition: transform .5s var(--ease), border-color .5s var(--ease);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.blog-card.hidden {
  display: none !important;
}

.blog-thumb {
  position: relative;
  height: 190px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.blog-thumb-1 {
  background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, .35), transparent 55%), linear-gradient(160deg, #1c1c1c, #0b0b0b);
}

.blog-thumb-2 {
  background: radial-gradient(circle at 70% 30%, rgba(15, 118, 110, .4), transparent 55%), linear-gradient(160deg, #152522, #0b0b0b);
}

.blog-thumb-3 {
  background: radial-gradient(circle at 40% 70%, rgba(212, 175, 55, .28), transparent 55%), linear-gradient(160deg, #201a10, #0b0b0b);
}

.blog-thumb-4 {
  background: radial-gradient(circle at 60% 60%, rgba(15, 118, 110, .3), transparent 55%), radial-gradient(circle at 20% 20%, rgba(212, 175, 55, .2), transparent 50%), linear-gradient(160deg, #171717, #0b0b0b);
}

.blog-thumb-tag {
  padding: 7px 14px;
  border-radius: 30px;
  background: rgba(11, 11, 11, 0.7);
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  color: var(--ink-50);
}

.dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-50);
}

.blog-card-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-top: 12px;
  line-height: 1.4;
}

.blog-card-body p {
  margin-top: 10px;
  color: var(--ink-50);
  font-size: .88rem;
  line-height: 1.6;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.blog-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
}

.ba-name {
  font-size: .8rem;
  font-weight: 600;
}

.ba-role {
  font-size: .72rem;
  color: var(--ink-50);
}

.no-results {
  display: none;
  text-align: center;
  padding: 60px 0;
  color: var(--ink-50);
  font-size: 1.05rem;
}

.no-results.show {
  display: block;
}

/* ==================================================
   NEWSLETTER
================================================== */
.blog-newsletter {
  padding: 85px 0;
  background: var(--charcoal);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.blog-newsletter h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  max-width: 560px;
  margin: 0 auto;
}

.blog-newsletter p {
  margin-top: 16px;
  color: var(--ink-70);
  max-width: 460px;
  margin-inline: auto;
}

.nl-form {
  max-width: 420px;
  margin: 32px auto 0;
  display: flex;
  gap: 10px;
}

.nl-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  outline: none;
  font-size: .9rem;
}

.nl-form input::placeholder {
  color: var(--ink-50);
}
/* Premium Gradient Post Card */
.post-card {
  background: linear-gradient(165deg, #1f1d17 0%, #121212 45%, #0a0a0a 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.15);
}

.post-card:hover::before {
  opacity: 1;
}

/* Card Thumbnail Image Area with Gradient Overlay */
.post-card-thumb {
  width: 100%;
  height: 220px;
  background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.12), #111 80%);
  overflow: hidden;
  position: relative;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card-thumb img {
  transform: scale(1.05);
}

/* Card Content Body */
.post-card-body {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

.post-date {
  font-size: 0.82rem;
  color: var(--gold-soft, #d4af37);
  letter-spacing: 0.03em;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.post-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 28px;
  display: -webkit-box;
-webkit-line-clamp: 3;
line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}

/* Gradient Read More Button */
.btn-read-more {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 24px;
  border-radius: 30px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(0, 0, 0, 0.4) 100%);
  color: #f5eedb;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s ease;
}

.btn-read-more span {
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold);
}

.btn-read-more:hover {
  background: linear-gradient(120deg, #f3d078, #d4af37 60%, #b8912b);
  color: #0b0b0b;
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
}

.btn-read-more:hover span {
  color: #0b0b0b;
  transform: translateX(4px);
}

/* ========================================================
   BLOG PAGE & iPHONE PRO CARD STYLING (BLACK & GOLD TITANIUM)
   ======================================================== */

/* Blog Section Header */
.blog-header-section {
  padding: 140px 0 35px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #86868b;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: #a1a1a6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #dfba73;
}

.blog-header-section h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #f5f5f7;
  letter-spacing: -0.02em;
}

/* 3-Column Responsive Grid */
.blog-list-section {
  padding: 10px 0 120px;
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .blog-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .blog-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   iPHONE PRO GOLD TITANIUM CARD ARCHITECTURE
   ======================================================== */

.post-card {
  /* Apple Deep Obsidian Glass */
  background: rgba(18, 18, 20, 0.75);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  backdrop-filter: blur(25px) saturate(180%);
  
  /* iPhone Pro Brushed Gold Titanium Rim */
  border: 1px solid rgba(229, 197, 137, 0.2);
  border-radius: 22px; /* Apple Signature Squircle Radius */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  
  /* Apple Fluid Motion Interaction */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Polished Gold Chamfer Edge Reflection */
.post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(235, 210, 155, 0.7), transparent);
  opacity: 0.5;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.post-card:hover {
  transform: translateY(-6px) scale(1.008);
  border-color: rgba(229, 197, 137, 0.55);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.8), 
              0 0 28px rgba(212, 175, 55, 0.12),
              inset 0 1px 0 rgba(235, 210, 155, 0.3);
}

.post-card:hover::before {
  opacity: 1;
}

/* Image Thumbnail Container */
.post-card-thumb {
  width: 100%;
  height: 220px;
  background: radial-gradient(circle at 50% 10%, rgba(229, 197, 137, 0.08), #09090a 85%);
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.post-card-thumb picture,
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .post-card-thumb img {
  transform: scale(1.04);
}

/* Card Body Content */
.post-card-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, transparent 100%);
}

/* Sub-label / Date */
.post-date {
  font-size: 0.78rem;
  color: #dfba73;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

/* Title Typography */
.post-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.38;
  color: #f5f5f7;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Apple Capsule Button */
.btn-read-more {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 980px; /* Full Apple Pill */
  border: 1px solid rgba(229, 197, 137, 0.35);
  background: rgba(25, 24, 22, 0.6);
  color: #f7ebd0;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-read-more span {
  font-size: 1.05rem;
  line-height: 1;
  color: #dfba73;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Button Hover State */
.btn-read-more:hover {
  background: linear-gradient(135deg, #f0d59b 0%, #c99e4f 100%);
  color: #0b0b0d;
  border-color: #f0d59b;
  box-shadow: 0 4px 18px rgba(201, 158, 79, 0.38);
}

.btn-read-more:hover span {
  color: #0b0b0d;
  transform: translateX(3px);
}