/*
Theme Name: Healthy Fit Self
Theme URI: https://healthyfitself.com
Author: Sye
Description: A minimal custom WordPress theme for Healthy Fit Self.
Version: 1.0
Text Domain: healthyfitself
*/

:root {
  --max-width: 1100px;
  --content-width: 760px;
  --bg: #ffffff;
  --text: #1f1f1f;
  --muted: #666666;
  --border: #e8e8e8;
  --accent: #111111;
  --font-body: Arial, Helvetica, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

iframe {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header,
.site-footer,
.site-main,
.site-hero,
.home-section {
  padding-left: 20px;
  padding-right: 20px;
}

.site-header-inner,
.site-footer-inner,
.site-main-inner,
.site-hero-inner,
.home-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding-top: 20px;
  padding-bottom: 20px;
}

.site-branding a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: normal;
}

.site-nav {
  margin-top: 12px;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-hero {
  padding-top: 60px;
  padding-bottom: 60px;
}

.site-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 20px;
}

.site-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.1rem;
}

.home-section {
  padding-top: 50px;
  padding-bottom: 50px;
  border-top: 1px solid var(--border);
}

.home-section h2,
.entry-title {
  font-family: var(--font-heading);
  font-weight: normal;
  line-height: 1.3;
}

.site-main {
  padding-top: 50px;
  padding-bottom: 60px;
}

.site-main-inner {
  max-width: var(--content-width);
}

.entry-title {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.entry-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.4em;
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  padding-bottom: 30px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .site-hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .home-section,
  .site-main {
    padding-top: 35px;
    padding-bottom: 35px;
  }

}

.home-section article {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.home-section article:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.home-section h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.4;
}

.home-section h3 a {
  text-decoration: none;
}

.home-section h3 a:hover {
  text-decoration: underline;
}