/*
 Theme Name:   Financially BEII Child
 Theme URI:    https://financiallybeii.com
 Description:  GeneratePress child theme for Financially BEII — a premium financial fitness blog.
 Author:       Shantayya Swami
 Author URI:   https://financiallybeii.com
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         finance, premium, luxury, child-theme
 Text Domain:  financially-beii-child
*/

/* ============================================================
   DESIGN TOKENS — Brand Colour System
   ============================================================ */
:root {
  /* Core Brand */
  --color-brand-purple:    #4527A0;
  --color-brand-purple-dk: #311B92;
  --color-brand-gold:      #C9A84C;
  --color-brand-gold-lt:   #E8D5A3;

  /* Text */
  --color-text-dark:       #1a1a1a;
  --color-text-body:       #333333;
  --color-text-muted:      #666666;

  /* Backgrounds */
  --color-bg-white:        #ffffff;
  --color-bg-subtle:       #faf9f7;
  --color-bg-dark:         #141414;

  /* BEII Pillars — B: Budget */
  --color-b-primary:       #185FA5;
  --color-b-bg:            #E6F1FB;
  --color-b-dark:          #0C447C;

  /* BEII Pillars — E: Emergency Fund */
  --color-e-primary:       #0F6E56;
  --color-e-bg:            #E1F5EE;
  --color-e-dark:          #085041;

  /* BEII Pillars — I1: Insurance */
  --color-i1-primary:      #993C1D;
  --color-i1-bg:           #FAECE7;
  --color-i1-dark:         #712B13;

  /* BEII Pillars — I2: Investment */
  --color-i2-primary:      #854F0B;
  --color-i2-bg:           #FAEEDA;
  --color-i2-dark:         #633806;

  /* Typography */
  --font-heading:          Georgia, 'Times New Roman', Times, serif;
  --font-body:             'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;

  /* Transitions */
  --transition: 0.25s ease;

  /* Gold underline decoration */
  --gold-underline: 2px solid var(--color-brand-gold);
}


/* ============================================================
   GLOBAL BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text-body);
  background-color: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 0;
  margin-bottom: 0.6em;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

/* Subtle gold rule beneath headings on entry titles */
.entry-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-dark);
  position: relative;
  padding-bottom: 0.4em;
}

.entry-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-brand-gold);
  margin-top: 0.4em;
  border-radius: 2px;
}

.single .entry-title {
  font-size: 42px;
}

p {
  margin-top: 0;
  margin-bottom: 1.5em;
}

/* Emphasised inline text */
strong, b { font-weight: 700; color: var(--color-text-dark); }
em, i     { font-style: italic; }

/* Lead paragraph */
.entry-content > p:first-of-type {
  font-size: 19px;
  color: var(--color-text-dark);
  line-height: 1.65;
  font-weight: 400;
}

/* Blockquote */
blockquote {
  border-left: 4px solid var(--color-brand-gold);
  margin: var(--space-md) 0;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-subtle);
  font-style: italic;
  font-size: 19px;
  color: var(--color-text-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

blockquote cite {
  display: block;
  margin-top: var(--space-xs);
  font-size: 14px;
  font-style: normal;
  color: var(--color-text-muted);
  font-family: var(--font-body);
}

/* Code */
code, kbd, samp, pre {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.88em;
}

code {
  background: var(--color-bg-subtle);
  border: 1px solid #e8e4df;
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  color: var(--color-brand-purple);
}

pre {
  background: var(--color-bg-subtle);
  border: 1px solid #e8e4df;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  overflow-x: auto;
  line-height: 1.6;
}


/* ============================================================
   LINKS
   ============================================================ */
a {
  color: var(--color-brand-purple);
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition);
}

a:hover,
a:focus {
  color: var(--color-brand-gold);
  border-bottom: var(--gold-underline);
  outline: none;
}

/* Reset gold underline for elements that manage their own hover states */
.nav-links a:hover,
.nav-links a:focus,
.main-navigation a:hover,
.main-navigation a:focus,
.button:hover,
.button:focus,
button:hover,
button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.site-branding a:hover,
.site-branding a:focus,
.entry-title a:hover,
.entry-title a:focus {
  border-bottom: none;
}

.entry-title a {
  color: var(--color-text-dark);
  transition: color var(--transition);
}

.entry-title a:hover {
  color: var(--color-brand-purple);
}

/* Content-area prose links */
.entry-content a {
  color: var(--color-brand-purple);
  border-bottom: 1px solid var(--color-brand-gold-lt);
  transition: color var(--transition), border-color var(--transition);
}

.entry-content a:hover {
  color: var(--color-brand-gold);
  border-bottom: var(--gold-underline);
}


/* ============================================================
   BUTTONS
   ============================================================ */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"],
.wp-block-button__link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.75em 1.8em;
  background-color: var(--color-brand-purple);
  color: #ffffff;
  border: 2px solid var(--color-brand-purple);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  line-height: 1;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.wp-block-button__link:hover {
  background-color: transparent;
  color: var(--color-brand-purple);
  border-color: var(--color-brand-gold);
  box-shadow: 0 0 0 1px var(--color-brand-gold);
}

/* Secondary / ghost button variant */
.button.is-secondary,
.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent;
  color: var(--color-brand-purple);
  border-color: var(--color-brand-gold);
}

.button.is-secondary:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--color-brand-gold);
  color: #ffffff;
  border-color: var(--color-brand-gold);
}

/* Read-more link */
.read-more-link,
a.read-more {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-brand-purple);
  border-bottom: 2px solid var(--color-brand-gold);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.read-more-link:hover,
a.read-more:hover {
  color: var(--color-brand-gold);
  border-color: var(--color-brand-gold);
}


/* ============================================================
   HEADER & SITE BRANDING
   ============================================================ */
.site-header {
  background-color: var(--color-bg-white);
  border-bottom: 1px solid #ece9e3;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.site-branding {
  padding: 1rem 0;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1;
}

.site-title a {
  color: var(--color-brand-purple);
  text-decoration: none;
}

.site-title a:hover {
  color: var(--color-brand-gold);
}

.site-description {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0.25rem 0 0;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.main-navigation {
  font-family: var(--font-body);
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.main-navigation ul li a {
  display: block;
  padding: 1.2rem 1.1rem;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-dark);
  transition: color var(--transition);
  position: relative;
}

/* Gold underline indicator on hover */
.main-navigation ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background-color: var(--color-brand-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left center;
}

.main-navigation ul li a:hover,
.main-navigation ul li a:focus,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-menu-ancestor > a {
  color: var(--color-brand-purple);
}

.main-navigation ul li a:hover::after,
.main-navigation ul li a:focus::after,
.main-navigation ul li.current-menu-item > a::after,
.main-navigation ul li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

/* Dropdown sub-menus */
.main-navigation ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-bg-white);
  border: 1px solid #ece9e3;
  border-top: 3px solid var(--color-brand-gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 220px;
  flex-direction: column;
  gap: 0;
  z-index: 99;
}

.main-navigation ul ul li a {
  padding: 0.75rem 1.2rem;
  font-size: 13px;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #f2ede7;
}

.main-navigation ul ul li a::after {
  display: none;
}

.main-navigation ul ul li:last-child a {
  border-bottom: none;
}

/* Mobile hamburger area styling */
.menu-toggle {
  background: none;
  border: 2px solid var(--color-brand-purple);
  color: var(--color-brand-purple);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}

.menu-toggle:hover {
  background-color: var(--color-brand-purple);
  color: #ffffff;
}


/* ============================================================
   LAYOUT & CONTENT AREA
   ============================================================ */
.site-content {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.container,
.inside-container,
.grid-container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Content + Sidebar layout */
.content-area {
  min-width: 0;
}

/* Separator / divider */
hr {
  border: none;
  border-top: 1px solid #ece9e3;
  margin: var(--space-md) 0;
}

/* Gold accent rule (add class="gold-rule" in editor) */
.gold-rule {
  border-top: 2px solid var(--color-brand-gold);
  width: 80px;
  margin: var(--space-sm) 0;
}


/* ============================================================
   ARCHIVE / BLOG LOOP — POST CARDS
   ============================================================ */
.post {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid #ece9e3;
}

.post:last-child {
  border-bottom: none;
}

/* Post meta (category, date, author) */
.entry-meta {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}

.entry-meta a {
  color: var(--color-brand-purple);
}

.entry-meta a:hover {
  color: var(--color-brand-gold);
  border-bottom: none;
}

/* Category label pill */
.cat-links a,
.posted-in a {
  display: inline-block;
  background-color: var(--color-brand-purple);
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2em 0.7em;
  border-radius: 2px;
  border-bottom: none !important;
}

.cat-links a:hover,
.posted-in a:hover {
  background-color: var(--color-brand-gold);
}

/* Featured image */
.post-image,
.entry-image,
.post-thumbnail {
  margin-bottom: var(--space-sm);
  overflow: hidden;
  border-radius: var(--radius-md);
}

.post-image img,
.entry-image img,
.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.post:hover .post-image img,
.post:hover .entry-image img,
.post:hover .post-thumbnail img {
  transform: scale(1.02);
}

/* Excerpt */
.entry-summary p {
  font-size: 16px;
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: 1rem;
}


/* ============================================================
   SINGLE POST
   ============================================================ */
.single .entry-content {
  max-width: 760px;
}

/* Pillar category banner (add via Custom HTML block or shortcode) */
.pillar-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.pillar-banner.budget     { background: var(--color-b-bg);  color: var(--color-b-dark); }
.pillar-banner.emergency  { background: var(--color-e-bg);  color: var(--color-e-dark); }
.pillar-banner.insurance  { background: var(--color-i1-bg); color: var(--color-i1-dark); }
.pillar-banner.investment { background: var(--color-i2-bg); color: var(--color-i2-dark); }


/* ============================================================
   BEII PILLAR COLOUR BLOCKS
   Use these classes in the WordPress block editor via
   "Additional CSS class" under Advanced settings.
   ============================================================ */

/* Budget — Blue */
.pillar-budget,
.wp-block-group.pillar-budget {
  background-color: var(--color-b-bg);
  border-left: 4px solid var(--color-b-primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-md) 0;
}
.pillar-budget h2,
.pillar-budget h3,
.pillar-budget h4 { color: var(--color-b-dark); }

/* Emergency Fund — Green */
.pillar-emergency,
.wp-block-group.pillar-emergency {
  background-color: var(--color-e-bg);
  border-left: 4px solid var(--color-e-primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-md) 0;
}
.pillar-emergency h2,
.pillar-emergency h3,
.pillar-emergency h4 { color: var(--color-e-dark); }

/* Insurance — Terracotta */
.pillar-insurance,
.wp-block-group.pillar-insurance {
  background-color: var(--color-i1-bg);
  border-left: 4px solid var(--color-i1-primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-md) 0;
}
.pillar-insurance h2,
.pillar-insurance h3,
.pillar-insurance h4 { color: var(--color-i1-dark); }

/* Investment — Amber */
.pillar-investment,
.wp-block-group.pillar-investment {
  background-color: var(--color-i2-bg);
  border-left: 4px solid var(--color-i2-primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-md) 0;
}
.pillar-investment h2,
.pillar-investment h3,
.pillar-investment h4 { color: var(--color-i2-dark); }


/* ============================================================
   SIDEBAR & WIDGETS
   ============================================================ */
.widget {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid #ece9e3;
}

.widget:last-child {
  border-bottom: none;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-brand-gold);
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #f2ede7;
  font-size: 15px;
}

.widget ul li:last-child {
  border-bottom: none;
}

.widget ul li a {
  color: var(--color-text-body);
}

.widget ul li a:hover {
  color: var(--color-brand-purple);
  border-bottom: none;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--color-bg-dark);
  color: #b0aaa0;
  padding: var(--space-lg) 0 var(--space-md);
  margin-top: var(--space-xl);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer a {
  color: var(--color-brand-gold);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.site-footer a:hover {
  color: var(--color-brand-gold);
  border-color: var(--color-brand-gold);
}

/* Footer widget area headings */
.site-footer .widget-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom-color: var(--color-brand-gold);
}

.site-footer .widget ul li {
  border-bottom-color: #2a2a2a;
  color: #9e9890;
}

/* Footer tagline / copyright bar */
.footer-bar {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 13px;
  color: #6b655d;
}

/* GeneratePress footer copyright override */
.site-info {
  color: #6b655d;
  font-size: 13px;
}

.site-info a {
  color: var(--color-brand-gold);
}

/* Gold separator before footer bottom */
.footer-widgets {
  padding-bottom: var(--space-md);
  border-bottom: 1px solid #2a2a2a;
  margin-bottom: var(--space-sm);
}


/* ============================================================
   FORMS (search, comments, newsletter)
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-body);
  background-color: var(--color-bg-white);
  border: 1px solid #d9d3cb;
  border-radius: var(--radius-sm);
  padding: 0.6em 0.9em;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  border-color: var(--color-brand-purple);
  box-shadow: 0 0 0 3px rgba(69, 39, 160, 0.12);
}

/* Search form */
.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form input[type="search"] {
  flex: 1;
}

.search-form button {
  flex-shrink: 0;
}


/* ============================================================
   COMMENTS
   ============================================================ */
#comments {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 2px solid var(--color-brand-gold);
}

.comments-title {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
}

.comment {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid #ece9e3;
}

.comment:last-child { border-bottom: none; }

.comment-author .fn {
  font-weight: 700;
  color: var(--color-text-dark);
  font-style: normal;
}

.comment-meta a {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Comment form heading */
#reply-title {
  font-family: var(--font-heading);
  font-size: 24px;
}


/* ============================================================
   PAGINATION
   ============================================================ */
.pagination,
.navigation {
  margin: var(--space-lg) 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.6rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-body);
  border: 1px solid #ddd7cf;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.page-numbers:hover,
.page-numbers.current {
  background-color: var(--color-brand-purple);
  color: #ffffff;
  border-color: var(--color-brand-purple);
}

.page-numbers.current {
  cursor: default;
}


/* ============================================================
   UTILITY CLASSES
   ============================================================ */

/* Gold badge label */
.badge-gold {
  display: inline-block;
  background: var(--color-brand-gold);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2em 0.6em;
  border-radius: 2px;
}

/* Highlight box */
.highlight-box {
  background: var(--color-bg-subtle);
  border: 1px solid #ece9e3;
  border-left: 4px solid var(--color-brand-gold);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-md) 0;
}

/* Pull quote style */
.pull-quote {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.4;
  color: var(--color-brand-purple);
  text-align: center;
  padding: var(--space-md) 0;
  border-top: 2px solid var(--color-brand-gold);
  border-bottom: 2px solid var(--color-brand-gold);
  margin: var(--space-md) 0;
}

/* "FREE" tag */
.tag-free {
  display: inline-block;
  background: var(--color-e-bg);
  color: var(--color-e-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2em 0.6em;
  border-radius: 2px;
}


/* ============================================================
   TABLE STYLES
   ============================================================ */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: var(--space-md) 0;
}

thead {
  background-color: var(--color-brand-purple);
  color: #ffffff;
}

thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.03em;
}

tbody tr {
  border-bottom: 1px solid #ece9e3;
}

tbody tr:nth-child(even) {
  background-color: var(--color-bg-subtle);
}

tbody td {
  padding: 0.7rem 1rem;
}


/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet and below: 1024px */
@media (max-width: 1024px) {
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  h3 { font-size: 24px; }

  .single .entry-title { font-size: 34px; }
  .entry-title         { font-size: 28px; }
}

/* Mobile: 768px */
@media (max-width: 768px) {
  body { font-size: 16px; }

  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  h4 { font-size: 18px; }

  .single .entry-title { font-size: 26px; }
  .entry-title         { font-size: 22px; }

  .site-title { font-size: 22px; }

  .entry-content > p:first-of-type { font-size: 17px; }

  .pull-quote { font-size: 19px; }

  .site-content {
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
  }

  blockquote {
    padding: var(--space-sm);
    font-size: 17px;
  }

  .footer-bar {
    flex-direction: column;
    text-align: center;
  }
}

/* Small mobile: 480px */
@media (max-width: 480px) {
  h1 { font-size: 26px; }
  h2 { font-size: 21px; }
  h3 { font-size: 18px; }

  .single .entry-title { font-size: 22px; }

  .entry-meta {
    gap: 0.3rem 0.6rem;
  }

  table { font-size: 13px; }
  thead th, tbody td { padding: 0.5rem 0.6rem; }
}
