/* ==================================================
   TravelNestHQ CSS System
   Clean, mobile-friendly, Impact.com approval-safe
================================================== */

/* ---------- Base Reset ---------- */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.65;
}

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

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Layout ---------- */

.container,
.article-container {
  max-width: 850px;
  margin: 0 auto;
  padding: 28px 18px;
}

.wide-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 18px;
}

/* ---------- Header / Navigation ---------- */

.site-header {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.logo {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  padding-top: 18px;
  color: #111827;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 16px 18px 18px;
}

.site-nav a {
  color: #374151;
  font-weight: 600;
  font-size: 15px;
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 56px 18px;
  background: #f8fafc;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 14px;
  color: #111827;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 24px;
  font-size: 18px;
  color: #4b5563;
}

/* ---------- Article Header ---------- */

.breadcrumb {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: #6b7280;
}

.category {
  font-size: 14px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 6px;
}

.article-header {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.article-header h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 10px;
  color: #111827;
}

.meta-row {
  font-size: 14px;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ---------- Typography ---------- */

h1,
h2,
h3 {
  color: #111827;
}

h2 {
  font-size: 28px;
  line-height: 1.25;
  margin-top: 36px;
  margin-bottom: 12px;
}

h3 {
  font-size: 21px;
  margin-top: 26px;
  margin-bottom: 8px;
}

p {
  margin-top: 0;
  margin-bottom: 18px;
}

.intro {
  font-size: 19px;
  color: #374151;
}

ul,
ol {
  padding-left: 24px;
  margin-bottom: 22px;
}

li {
  margin-bottom: 8px;
}

/* ---------- Images ---------- */

.article-image {
  width: 100%;
  border-radius: 16px;
  margin: 24px 0;
}

/* ---------- Cards ---------- */

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

.card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  background: #ffffff;
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: #4b5563;
}

/* ---------- Trust / Authority Boxes ---------- */

.tip-box,
.note-box {
  background: #f8fafc;
  border-left: 4px solid #2563eb;
  padding: 15px 18px;
  margin: 24px 0;
  border-radius: 10px;
}

.author-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 18px;
  border-radius: 14px;
  margin-top: 36px;
}

.disclosure-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 15px 18px;
  border-radius: 12px;
  margin: 24px 0;
  color: #7c2d12;
}

/* ---------- Buttons ---------- */

.btn,
.button {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.btn:hover,
.button:hover {
  background: #1d4ed8;
  text-decoration: none;
}

/* Softer approval-safe link button */
.text-link {
  font-weight: 700;
  color: #2563eb;
}

/* ---------- Tables ---------- */

.table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  border: 1px solid #e5e7eb;
  padding: 12px;
  text-align: left;
}

th {
  background: #f9fafb;
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 30px 18px;
  margin-top: 44px;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 14px;
}

.site-footer a {
  color: #374151;
}

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
  .container,
  .article-container,
  .wide-container {
    padding: 22px 16px;
  }

  .logo {
    font-size: 23px;
  }

  .site-nav {
    gap: 12px;
    font-size: 14px;
  }

  .hero {
    padding: 42px 16px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero p {
    font-size: 16px;
  }

  .article-header h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 23px;
  }

  h3 {
    font-size: 19px;
  }

  .intro {
    font-size: 17px;
  }

  .meta-row,
  .breadcrumb {
    font-size: 13px;
  }

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

  .btn,
  .button {
    width: 100%;
    text-align: center;
  }
}
/* ==================================================
   Title Formatting System
   Use these classes for consistent page titles
================================================== */

/* Main page title / article title */
.page-title,
.article-title {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  color: #111827;
  margin: 0 0 12px;
}

/* Section titles */
.section-title {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 750;
  color: #111827;
  margin-top: 36px;
  margin-bottom: 14px;
}

/* Smaller subsection titles */
.sub-title {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: #1f2937;
  margin-top: 28px;
  margin-bottom: 10px;
}

/* Card titles on homepage / guide pages */
.card-title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

/* Small category label above title */
.title-label {
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

/* Mobile title formatting */
@media (max-width: 768px) {
  .page-title,
  .article-title {
    font-size: 29px;
  }

  .section-title {
    font-size: 23px;
  }

  .sub-title {
    font-size: 20px;
  }

  .card-title {
    font-size: 18px;
  }
}