/* ── HERO ── */
.blog-hero {
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../image/anout-banner.jpg') center/cover no-repeat;
  opacity: 1;
}

.blog-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to bottom, rgba(44, 44, 44, 0.4), rgba(44, 44, 44, 0.7)); */
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.12em;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0.8rem auto;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
}

/* ── BLOG LAYOUT ── */
.blog-section {
  padding: 4rem 0 5rem;
}

/* ── POST CARD ── */
.post-card {
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.post-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.post-img-wrap {
  position: relative;
  overflow: hidden;
  display: block;
}

.post-img-wrap img {
  width: 100%;
  height: 310px;
  object-fit: inherit;
  display: block;
  transition: transform 0.55s ease, filter 0.4s;
  filter: saturate(0.8);
}

.post-card:hover .post-img-wrap img {
  transform: scale(1.04);
  filter: saturate(1);
}

.post-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #27436b;
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
}

.post-body {
  padding: 1.4rem 0 0;
}

.post-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 0.7rem;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.post-title:hover {
  color: var(--gold);
}

.post-excerpt {
  font-size: 0.83rem;
  line-height: 1.8;
  color: #666;
  font-weight: 300;
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.73rem;
  color: #999;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.post-meta i {
  color: var(--gold);
  margin-right: 4px;
  font-size: 0.65rem;
}

.post-divider {
  border: none;
  border-top: 1px solid #e8e2d8;
  margin: 2.5rem 0;
}

/* ── PAGINATION ── */
.blog-pagination {
  display: flex;
  gap: 6px;
  margin-top: 1rem;
}

.page-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  cursor: pointer;
  color: #666;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.page-btn.active,
.page-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ── SIDEBAR ── */
.blog-sidebar {
  position: sticky;
  top: 80px;
}

/* Search */
.sidebar-search {
  display: flex;
  margin-bottom: 2rem;
}

.search-input {
  flex: 1;
  border: 1px solid #ddd;
  border-right: none;
  background: #fff;
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
  font-family: 'Jost', sans-serif;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--gold);
}

.search-input::placeholder {
  color: #bbb;
}

.search-btn {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #fff;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.search-btn:hover {
  background: #9a7a22;
}

/* Sidebar block */
.sidebar-block {
  margin-bottom: 2rem;
}

.sidebar-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e8e2d8;
}

/* Categories */
.cat-list {
  list-style: none;
  padding: 0;
}

.cat-list li {
  margin-bottom: 0.5rem;
}

.cat-list a {
  display: inline-block;
  border: 1px solid #ddd;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #555;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cat-list a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* Recent Posts */
.recent-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0ebe3;
}

.recent-post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.recent-thumb {
  width: 54px;
  height: 54px;
  object-fit: cover;
  flex-shrink: 0;
  filter: saturate(0.75);
  transition: filter 0.3s;
}

.recent-post:hover .recent-thumb {
  filter: saturate(1);
}

.recent-info {
  flex: 1;
}

.recent-title {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--dark);
  font-weight: 400;
  text-decoration: none;
  display: block;
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}

.recent-title:hover {
  color: var(--gold);
}

.recent-date {
  font-size: 0.68rem;
  color: #aaa;
  letter-spacing: 0.05em;
}

/* Tags */
.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-pill {
  border: 1px solid #ddd;
  padding: 0.28rem 0.85rem;
  font-size: 0.72rem;
  color: #666;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.tag-pill:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 4rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin-top: 0.8rem;
  font-weight: 300;
}

.footer-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-address {
  font-size: 0.78rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

.footer-address i {
  color: var(--gold);
  width: 16px;
  margin-right: 8px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '—';
  color: var(--gold);
  font-size: 0.6rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.newsletter-form {
  display: flex;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
  color: #fff;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  font-family: 'Jost', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-input:focus {
  border-color: var(--gold);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--dark);
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-btn:hover {
  background: var(--gold-light);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 0.8rem;
}

.social-link {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.75rem;
  transition: border-color 0.2s, color 0.2s;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--gold);
}

@media (max-width: 991px) {
  .blog-sidebar {
    position: static;
    margin-top: 3rem;
  }
}

@media (max-width: 767px) {
  .post-img-wrap img {
    height: 220px;
  }

  .blog-hero {
    height: 200px;
  }
}