/* Posts Section Accent */
.posts-section-accent {
  background: linear-gradient(135deg, #f8faf9 60%, #ede7e0 100%);
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(31,85,85,0.07);
  padding: 3.5rem 2.5rem 3.5rem 2.5rem;
  margin-bottom: 4rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .posts-section-accent {
    padding: 1.2rem 0.2rem 2.2rem 0.2rem;
    border-radius: 18px;
  }
}
/* =============================================
   AthleteBlog – Shared Stylesheet
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, #ede7e0 0%, #e4dcd3 100%);
  background-attachment: fixed;
  color: #1f1f1f;
  line-height: 1.8;
}

a {
  color: #c56a2c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Header & Navigation ---------- */
header {
  background: linear-gradient(135deg, #0f2d2d 0%, #1f5555 100%);
  color: #f5f0e8;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-bottom: 3px solid #c56a2c;
  position: relative;
}

header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #c56a2c, #d4753a, transparent);
  opacity: 0.6;
}

header .brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

header .brand .logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

header .brand h1 {
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(90deg, #f5f0e8 0%, #d4a756 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

header .brand p {
  font-size: 0.85rem;
  color: #d4a756;
  font-style: italic;
  margin-top: 0.2rem;
}

nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav a {
  color: #f5f0e8;
  font-size: 1rem;
  letter-spacing: 0.06em;
  transition: color 0.2s;
  font-weight: 600;
  text-transform: uppercase;
}

nav a:hover,
nav a.active {
  color: #c56a2c;
  text-decoration: none;
}

/* ---------- Hero Banner ---------- */
.hero {
  background: linear-gradient(135deg, #c56a2c 0%, #1f5555 50%, #0f2d2d 100%);
  color: #f5f0e8;
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, rgba(255,255,255,0.03) 0%, transparent 100%),
    linear-gradient(-45deg, rgba(0,0,0,0.08) 0%, transparent 100%);
  pointer-events: none;
}


.hero::after {
  content: '';
  display: none;
}

.hero-accent {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.hero h2 {
  font-size: 3.4rem;
  margin-bottom: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  color: #e8d5c4;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}

/* ---------- Main Content ---------- */
main {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

/* ---------- Field Guides ---------- */
.field-guides-hero {
  background: linear-gradient(135deg, #c56a2c 0%, #1f5555 100%);
  color: #f5f0e8;
  text-align: center;
  padding: 4rem 2rem 2rem 2rem;
  border-radius: 0 0 18px 18px;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.field-guides-hero h2 {
  font-size: 2.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.field-guides-hero p {
  font-size: 1.2rem;
  color: #e8d5c4;
  max-width: 600px;
  margin: 0 auto;
}

.guides-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.guide-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  border-top: 5px solid #c56a2c;
  border-left: 2px solid rgba(197, 106, 44, 0.18);
  padding: 2.2rem 2rem 2rem 2rem;
  max-width: 340px;
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}

.guide-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 16px 36px rgba(197, 106, 44, 0.18);
  border-top-color: #d4753a;
}

.guide-card h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: #0f2d2d;
  margin-bottom: 0.7rem;
}

.guide-card p {
  color: #555;
  font-size: 0.98rem;
  margin-bottom: 1.2rem;
}

.guide-card .btn {
  background: linear-gradient(135deg, #c56a2c 0%, #a05620 100%);
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid #c56a2c;
  cursor: not-allowed;
  opacity: 0.7;
  font-size: 0.95rem;
}

/* ---------- Newsletter ---------- */
.newsletter {
  margin: 4rem auto 0;
  padding: 0 1.5rem;
}

.newsletter-inner {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0f2d2d 0%, #1f5555 100%);
  color: #f5f0e8;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(197, 106, 44, 0.35);
  text-align: center;
}

.newsletter-inner h2 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.newsletter-inner p {
  color: #e8d5c4;
  margin-bottom: 1.6rem;
  font-weight: 500;
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1 1 260px;
  max-width: 360px;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #f5f1ed;
  font-size: 1rem;
  color: #1f1f1f;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #d4753a;
  box-shadow: 0 0 0 3px rgba(197, 106, 44, 0.25);
}

.newsletter-form button {
  background: linear-gradient(135deg, #c56a2c 0%, #a05620 100%);
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  border: 2px solid #c56a2c;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form button:hover {
  background: linear-gradient(135deg, #a05620 0%, #8a4618 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(197, 106, 44, 0.4);
}

.newsletter-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.newsletter-inner small {
  display: block;
  margin-top: 1rem;
  color: #d4a756;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.newsletter-message {
  margin-top: 1rem;
  min-height: 1.5rem;
}

.success-message {
  color: #4caf50;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

.error-message {
  color: #ff6b6b;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Blog Post Cards (index) ---------- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  border-top: 5px solid #c56a2c;
  border-left: 2px solid rgba(197, 106, 44, 0.3);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(197, 106, 44, 0.25);
  border-top-color: #d4753a;
}

.card-cover {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background-color: #f5f1ed;
  object-position: center;
}

/* Placeholder cover when no image */
.card-cover-placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #1f5555, #2e7a7b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-meta {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  color: #0f2d2d;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.card-body p {
  font-size: 0.9rem;
  color: #555;
  flex: 1;
  margin-bottom: 1rem;
}

.card-body .btn {
  align-self: flex-start;
  background: linear-gradient(135deg, #c56a2c 0%, #a05620 100%);
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid #c56a2c;
  position: relative;
  overflow: hidden;
}

.card-body .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.15);
  transition: left 0.3s;
}

.card-body .btn:hover {
  background: linear-gradient(135deg, #a05620 0%, #8a4618 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(197, 106, 44, 0.5);
  text-decoration: none;
}

.card-body .btn:hover::before {
  left: 100%;
}

/* ---------- Section Headings ---------- */
.section-heading {
  font-size: 2.3rem;
  color: #0f2d2d;
  border-bottom: 5px solid #c56a2c;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c56a2c, transparent);
  opacity: 0.5;
}

/* ---------- Blog Post Page ---------- */
.post-header {
  margin-bottom: 2rem;
}

.post-header h1 {
  font-size: 2.4rem;
  color: #0f2d2d;
  margin-bottom: 0.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.post-meta {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.post-cover {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 2rem;
  background: #f5f1ed;
  object-position: center;
}

.post-cover-placeholder {
  width: 100%;
  height: 280px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1f5555, #2e7a7b);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

article .post-content h2 {
  font-size: 1.6rem;
  color: #0f2d2d;
  margin: 2.5rem 0 1rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

article .post-content p {
  margin-bottom: 1.2rem;
}

article .post-content ul,
article .post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

article .post-content li {
  margin-bottom: 0.4rem;
}

article .post-content blockquote {
  border-left: 4px solid #c56a2c;
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background-color: #fff8f2;
  font-style: italic;
  color: #444;
}

.back-link {
  display: inline-block;
  margin-top: 2.5rem;
  color: #c0783a;
  font-size: 0.9rem;
}

.back-link:hover {
  text-decoration: underline;
}

/* ---------- About Me Page ---------- */
.mission-section {
  background: linear-gradient(135deg, #f0e8e0 0%, #e8dcd2 100%);
  border-left: 6px solid #c56a2c;
  border-bottom: 3px solid #1f5555;
  padding: 2.8rem;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto 3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.mission-section::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #1f5555, transparent);
}

.mission-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(197, 106, 44, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.mission-section h2 {
  font-size: 2rem;
  color: #0f2d2d;
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.mission-section p {
  position: relative;
  z-index: 1;
}

.mission-section p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  color: #333;
}

.mission-section p:last-child {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.about-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #c56a2c;
}

.about-avatar-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f5555, #2e7a7b);
  border: 4px solid #c56a2c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #f5f0e8;
}

.about-bio h2 {
  font-size: 2.5rem;
  color: #0f2d2d;
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.8rem;
}

.about-bio h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #c56a2c, #1f5555);
}

.about-bio {
  max-width: 800px;
  margin: 0 auto;
}

.about-bio .tagline {
  color: #888;
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-bio p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.about-bio ul {
  margin: 1rem 0 1.2rem 2rem;
  line-height: 1.8;
}

.about-bio ul li {
  margin-bottom: 0.6rem;
}

.stats-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.stat-box {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border-radius: 8px;
  padding: 1.8rem 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  text-align: center;
  flex: 1;
  min-width: 140px;
  border-top: 5px solid #c56a2c;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: -50px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(197, 106, 44, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.stat-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(197, 106, 44, 0.18);
}

.stat-box .stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: #c56a2c;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}

.stat-box .stat-label {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-top: 0.5rem;
}

.destinations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.tag {
  background: linear-gradient(135deg, #dceaea 0%, #c5dfe0 100%);
  color: #0f2d2d;
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s;
  border: 1px solid rgba(197, 106, 44, 0.25);
}

.tag:hover {
  border-color: #c56a2c;
  background: linear-gradient(135deg, #cde2e2 0%, #b5d8da 100%);
}

/* ---------- Footer ---------- */
footer {
  background: linear-gradient(135deg, #0f2d2d 0%, #1d4e4e 100%);
  color: #8bb0b0;
  text-align: center;
  padding: 2.5rem 2rem;
  margin-top: 5rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-top: 3px solid #c56a2c;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #c56a2c, transparent);
}

footer a {
  color: #c56a2c;
  font-weight: 900;
  transition: color 0.2s;
}

footer a:hover {
  color: #d4753a;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  header .brand {
    flex-direction: column;
    gap: 0.5rem;
  }

  header .brand .logo-img {
    height: 60px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .destinations-list {
    justify-content: center;
  }

  .stats-row {
    justify-content: center;
  }
}
