@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  color: #333;
  background: #fafaf8;
  font-size: 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

/* ---- Utility Bar ---- */
.util-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
}

.util-bar .util-left a {
  color: #555;
  transition: color 0.2s;
}

.util-bar .util-left a:hover {
  color: #2c4a5e;
}

.util-bar .util-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.util-bar .util-right a {
  color: #555;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.util-bar .util-right a:hover {
  color: #2c4a5e;
}

.btn-follow {
  background: #2c4a5e;
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 10px;
  letter-spacing: 0.15em;
  transition: background 0.2s !important;
}

.btn-follow:hover {
  background: #1a3348 !important;
}

/* ---- Header / Logo ---- */
.site-header {
  background: #fff;
  text-align: center;padding: 20px;
}

.logo-wrap {
  display: inline-block;
  position: relative;
}

.logo-ink {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 60px;
  background: #1e3344;
  /* border-radius: 50% 48% 52% 46% / 46% 52% 48% 50%; */
  z-index: 0;
  opacity: 0.92;
}

.logo-text {
  position: relative;
  z-index: 1;
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: #fff;
  padding: 12px 36px;
  text-transform: uppercase;
}

/* ---- Primary Navigation ---- */
.primary-nav {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  border-top: 2px solid #e8e8e8;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.nav-inner a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #444;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
  position: relative;
}

.nav-inner a:hover {
  color: #2c4a5e;
}

.nav-inner a .caret {
  font-size: 8px;
  opacity: 0.6;
}

.nav-shop {
  background: #2c4a5e !important;
  color: #fff !important;
  margin-left: 12px;
  padding: 8px 18px !important;
  border-radius: 2px;
}

.nav-shop:hover {
  background: #1a3348 !important;
  color: #fff !important;
}

/* ---- Hamburger (mobile) ---- */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: all 0.3s;
}

/* ---- Main Content ---- */
.site-main {
  max-width: 1100px;
  margin: 36px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* ---- Featured Post ---- */
.featured-post {
  position: relative;
}

.featured-post .post-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.featured-post img {
  height: 480px;
  transition: transform 0.5s ease;
}

.featured-post:hover img {
  transform: scale(1.02);
}

.date-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  padding: 8px 12px;
  line-height: 1.3;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  font-weight: 700;
  border-radius: 1px;
}

.date-badge .day {
  font-size: 20px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #2c4a5e;
  display: block;
  line-height: 1;
}

.share-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
  border: none;
  border-radius: 1px;
  transition: background 0.2s;
}

.share-badge:hover {
  background: #fff;
}

.featured-post .post-meta {
  margin-top: 18px;
}

.post-category {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2c4a5e;
  font-weight: 700;
  margin-bottom: 8px;
}

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  color: #222;
  line-height: 1.4;
  margin-bottom: 12px;
}

.post-title a:hover {
  color: #2c4a5e;
}

.post-excerpt {
  color: #666;
  line-height: 1.75;
  font-size: 14px;
  margin-bottom: 16px;
}

.read-more {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: #2c4a5e;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.read-more:hover {
  opacity: 0.65;
}

/* ---- Sidebar ---- */
.sidebar {}

.sidebar-section {
  background: #fff;
  padding: 28px 24px;
  border: 1px solid #eee;
  border-radius: 2px;
}

.sidebar-section+.sidebar-section {
  margin-top: 28px;
}

.sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 16px;
  position: relative;
}

.sidebar-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: #ccc;
  margin: 12px auto 0;
}

/* Decorative swirl above title */
.sidebar-title::before {
  content: '〜';
  display: block;
  font-size: 18px;
  color: #aaa;
  margin-bottom: 6px;
  font-style: normal;
}

.reader-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.reader-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.reader-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
}

.reader-thumb img {
  width: 72px;
  height: 72px;
}

.reader-info {}

.reader-info h4 {
  font-size: 13px;
  line-height: 1.5;
  color: #2c4a5e;
  font-weight: 400;
  margin-bottom: 6px;
}

.reader-info h4 a:hover {
  text-decoration: underline;
}

.reader-info .read-more {
  font-size: 9px;
}

/* ---- Footer ---- */
.site-footer {
  background: #2c4a5e;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 36px 24px;
  margin-top: 60px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  letter-spacing: 0.2em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 20px;
}

.footer-nav a {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---- Share Toast ---- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #2c4a5e;
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 1000;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ---- Mobile Nav Drawer ---- */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 8px 0 16px;
  width: 100%;
}

.mobile-nav.open {
  display: flex;
  text-align: center;
}

.mobile-nav a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #444;
  padding: 12px 28px;
  border-bottom: 1px solid #f4f4f4;
  transition: color 0.2s;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: #2c4a5e;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .util-bar {
    padding: 8px 16px;
    font-size: 10px;
  }

  .util-bar .util-left {
    display: none;
  }

  .nav-inner {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .primary-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    flex-direction: row-reverse;
  }

  .site-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px;
  }

  .featured-post img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 20px;
    padding: 10px 24px;
  }

  .logo-ink {
    width: 210px;
    height: 52px;
  }

  .featured-post img {
    height: 240px;
  }

  .util-bar .util-right {
    gap: 12px;
  }

  .btn-follow {
    padding: 5px 10px;
  }
}