/*
Theme Name: Informed Exit Blog
Theme URI: https://informedexit.com
Author: Informed Exit
Author URI: https://informedexit.com
Description: A modern, lightweight blog theme for Informed Exit — featuring Videos and News categories with SEO-friendly YouTube embedding, ad-ready sidebar, and a design consistent with the Informed Exit brand.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: informedexit
Tags: blog, custom-menu, featured-images, translation-ready, one-column, two-columns
*/

/* ========================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ======================================================== */
:root {
  /* Brand palette — derived from informedexit.com */
  --ie-bg:           #f1efe7;
  --ie-bg-alt:       #e8e5da;
  --ie-white:        #ffffff;
  --ie-black:        #1a1a1a;
  --ie-gray-900:     #2d2d2d;
  --ie-gray-700:     #4a4a4a;
  --ie-gray-500:     #7a7a7a;
  --ie-gray-300:     #b5b5b5;
  --ie-gray-100:     #ebebeb;
  --ie-red:          #d32f2f;
  --ie-blue:         #1877f2;
  --ie-blue-dark:    #0d47a1;
  --ie-accent:       #c0392b;
  --ie-yt-red:       #ff0000;
  --ie-ig-pink:      #d6249f;

  /* Typography */
  --font-heading:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:       'Fira Code', 'Courier New', monospace;

  /* Spacing scale */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;

  /* Layout */
  --max-width:       1200px;
  --content-width:   780px;
  --sidebar-width:   340px;
  --header-height:   72px;
  --border-radius:   8px;
  --border-radius-lg:12px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,.1);
  --shadow-lg:  0 8px 30px rgba(0,0,0,.12);

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ========================================================
   RESET & BASE
   ======================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ie-gray-900);
  background-color: var(--ie-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--ie-blue-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--ie-accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ie-black);
}

h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: var(--sp-md); }

::selection {
  background: var(--ie-accent);
  color: var(--ie-white);
}

/* Screen-reader only */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

/* ========================================================
   SITE HEADER
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ie-white);
  border-bottom: 1px solid var(--ie-gray-100);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo a {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.site-logo img {
  height: 42px;
  width: auto;
}

.site-logo .logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .5px;
  color: var(--ie-black);
  text-transform: uppercase;
}

.site-logo .logo-text .logo-e {
  color: var(--ie-accent);
}

.site-logo .logo-tagline {
  display: block;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ie-gray-500);
  margin-top: -2px;
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.main-nav a {
  display: inline-block;
  padding: var(--sp-sm) var(--sp-md);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ie-gray-700);
  border-radius: var(--border-radius);
  transition: background .2s var(--ease), color .2s var(--ease);
}

.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current-cat a {
  background: var(--ie-bg);
  color: var(--ie-accent);
}

/* Header social */
.header-social {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.header-social a {
  font-size: 1.15rem;
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.header-social a:hover { transform: scale(1.15); }
.header-social .fa-youtube      { color: var(--ie-yt-red); }
.header-social .fa-facebook-f   { color: var(--ie-blue); }
.header-social .fa-instagram    { color: var(--ie-ig-pink); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ie-gray-700);
  padding: var(--sp-sm);
}

/* ========================================================
   LAYOUT — TWO-COLUMN (CONTENT + SIDEBAR)
   ======================================================== */
.site-content {
  max-width: var(--max-width);
  margin: var(--sp-2xl) auto;
  padding: 0 var(--sp-lg);
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--sp-2xl);
  align-items: start;
}

.site-content.full-width {
  grid-template-columns: 1fr;
}

.content-area {
  min-width: 0; /* prevent grid blowout */
}

/* ========================================================
   PAGE HEADER / ARCHIVE HEADER
   ======================================================== */
.page-header {
  margin-bottom: var(--sp-2xl);
  padding-bottom: var(--sp-lg);
  border-bottom: 2px solid var(--ie-gray-100);
}

.page-header .page-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--sp-sm);
}

.page-header .page-title .category-label {
  color: var(--ie-accent);
}

.page-header .archive-description {
  color: var(--ie-gray-500);
  font-size: 1.05rem;
}

/* Category filter tabs */
.category-tabs {
  display: flex;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-2xl);
}

.category-tabs a {
  padding: var(--sp-sm) var(--sp-lg);
  font-weight: 600;
  font-size: .9rem;
  border-radius: 100px;
  background: var(--ie-white);
  color: var(--ie-gray-700);
  border: 1px solid var(--ie-gray-100);
  transition: all .2s var(--ease);
}

.category-tabs a:hover,
.category-tabs a.active {
  background: var(--ie-accent);
  color: var(--ie-white);
  border-color: var(--ie-accent);
}

/* ========================================================
   POST CARDS (ARCHIVE)
   ======================================================== */
.posts-grid {
  display: grid;
  gap: var(--sp-xl);
}

.post-card {
  background: var(--ie-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
  display: grid;
  grid-template-columns: 300px 1fr;
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-card__thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.post-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.post-card:hover .post-card__thumbnail img {
  transform: scale(1.04);
}

/* Video play overlay */
.post-card__play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.25);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.post-card:hover .post-card__play-icon {
  opacity: 1;
}

.post-card__play-icon svg {
  width: 48px;
  height: 48px;
  fill: var(--ie-white);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.3));
}

.post-card__body {
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-card__category {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ie-accent);
  margin-bottom: var(--sp-sm);
}

.post-card__category--videos { color: var(--ie-yt-red); }
.post-card__category--news   { color: var(--ie-blue-dark); }

.post-card__title {
  font-size: 1.15rem;
  margin-bottom: var(--sp-sm);
  line-height: 1.35;
}

.post-card__title a {
  color: var(--ie-black);
}

.post-card__title a:hover {
  color: var(--ie-accent);
}

.post-card__excerpt {
  font-size: .92rem;
  color: var(--ie-gray-500);
  line-height: 1.6;
  margin-bottom: var(--sp-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  font-size: .8rem;
  color: var(--ie-gray-500);
}

.post-card__meta time {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.post-card__meta .reading-time {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

/* Featured (first) post — full width card */
.post-card--featured {
  grid-template-columns: 1fr;
}

.post-card--featured .post-card__thumbnail {
  aspect-ratio: 21/9;
}

.post-card--featured .post-card__title {
  font-size: 1.5rem;
}

/* ========================================================
   PAGINATION
   ======================================================== */
.pagination {
  margin-top: var(--sp-2xl);
  display: flex;
  justify-content: center;
  gap: var(--sp-sm);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 var(--sp-md);
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: .9rem;
  background: var(--ie-white);
  color: var(--ie-gray-700);
  border: 1px solid var(--ie-gray-100);
  transition: all .2s var(--ease);
}

.pagination a:hover {
  background: var(--ie-accent);
  color: var(--ie-white);
  border-color: var(--ie-accent);
}

.pagination .current {
  background: var(--ie-accent);
  color: var(--ie-white);
  border-color: var(--ie-accent);
}

/* ========================================================
   SINGLE POST
   ======================================================== */
.single-post__header {
  margin-bottom: var(--sp-xl);
}

.single-post__category {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: var(--sp-xs) var(--sp-md);
  border-radius: 100px;
  margin-bottom: var(--sp-md);
}

.single-post__category--videos {
  background: rgba(255,0,0,.08);
  color: var(--ie-yt-red);
}

.single-post__category--news {
  background: rgba(13,71,161,.08);
  color: var(--ie-blue-dark);
}

.single-post__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: var(--sp-md);
  line-height: 1.2;
}

.single-post__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
  font-size: .9rem;
  color: var(--ie-gray-500);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--ie-gray-100);
}

.single-post__meta .author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

/* Featured image */
.single-post__featured-image {
  margin-bottom: var(--sp-xl);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.single-post__featured-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Video embed container */
.video-embed-wrapper {
  position: relative;
  margin-bottom: var(--sp-xl);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--ie-black);
  box-shadow: var(--shadow-lg);
}

.video-embed-wrapper .video-ratio {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.video-embed-wrapper .video-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lazy video (click-to-play with thumbnail) */
.video-embed-lazy {
  position: relative;
  cursor: pointer;
  padding-bottom: 56.25%;
  height: 0;
  background: var(--ie-black);
}

.video-embed-lazy img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.video-embed-lazy .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
  transition: background .3s var(--ease);
}

.video-embed-lazy:hover .play-btn {
  background: rgba(0,0,0,.5);
}

.play-btn svg {
  width: 72px;
  height: 72px;
  fill: var(--ie-white);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
  transition: transform .3s var(--ease);
}

.video-embed-lazy:hover .play-btn svg {
  transform: scale(1.1);
}

/* Post content typography */
.single-post__content {
  font-size: 1.05rem;
  line-height: 1.8;
}

.single-post__content h2 {
  margin-top: var(--sp-2xl);
  margin-bottom: var(--sp-md);
}

.single-post__content h3 {
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-md);
}

.single-post__content p {
  margin-bottom: var(--sp-lg);
}

.single-post__content ul,
.single-post__content ol {
  margin-bottom: var(--sp-lg);
  padding-left: var(--sp-xl);
}

.single-post__content li {
  margin-bottom: var(--sp-sm);
}

.single-post__content blockquote {
  margin: var(--sp-xl) 0;
  padding: var(--sp-lg) var(--sp-xl);
  border-left: 4px solid var(--ie-accent);
  background: var(--ie-bg-alt);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
  color: var(--ie-gray-700);
}

.single-post__content pre {
  margin: var(--sp-lg) 0;
  padding: var(--sp-lg);
  background: var(--ie-gray-900);
  color: #e0e0e0;
  border-radius: var(--border-radius);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: .9rem;
  line-height: 1.5;
}

.single-post__content img {
  border-radius: var(--border-radius);
  margin: var(--sp-lg) 0;
}

.single-post__content a {
  color: var(--ie-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.single-post__content a:hover {
  color: var(--ie-blue-dark);
}

/* Tags */
.single-post__tags {
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--ie-gray-100);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.single-post__tags a {
  display: inline-block;
  padding: var(--sp-xs) var(--sp-md);
  font-size: .8rem;
  font-weight: 600;
  background: var(--ie-bg-alt);
  border-radius: 100px;
  color: var(--ie-gray-700);
  transition: all .2s var(--ease);
}

.single-post__tags a:hover {
  background: var(--ie-accent);
  color: var(--ie-white);
}

/* Post navigation */
.post-navigation {
  margin-top: var(--sp-2xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
}

.post-navigation a {
  display: block;
  padding: var(--sp-lg);
  background: var(--ie-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--ie-gray-100);
  transition: all .2s var(--ease);
}

.post-navigation a:hover {
  border-color: var(--ie-accent);
  box-shadow: var(--shadow-sm);
}

.post-navigation .nav-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ie-gray-500);
  margin-bottom: var(--sp-xs);
}

.post-navigation .nav-title {
  font-weight: 600;
  color: var(--ie-black);
}

.post-navigation .nav-next {
  text-align: right;
}

/* ========================================================
   SIDEBAR
   ======================================================== */
.sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--sp-lg));
}

.sidebar .widget {
  background: var(--ie-white);
  border-radius: var(--border-radius-lg);
  padding: var(--sp-lg);
  margin-bottom: var(--sp-xl);
  box-shadow: var(--shadow-sm);
}

.sidebar .widget-title {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ie-gray-500);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 2px solid var(--ie-gray-100);
}

/* Ad placeholder */
.widget--ad {
  text-align: center;
  padding: var(--sp-xl) var(--sp-lg);
  background: var(--ie-bg-alt);
  border: 2px dashed var(--ie-gray-300);
}

.widget--ad .ad-label {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ie-gray-500);
  margin-bottom: var(--sp-sm);
}

/* Recent posts widget */
.widget-recent-posts .recent-post-item {
  display: flex;
  gap: var(--sp-md);
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--ie-gray-100);
}

.widget-recent-posts .recent-post-item:last-child {
  border-bottom: none;
}

.widget-recent-posts .recent-post-thumb {
  flex-shrink: 0;
  width: 70px;
  height: 50px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.widget-recent-posts .recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-recent-posts .recent-post-title {
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.35;
}

.widget-recent-posts .recent-post-title a {
  color: var(--ie-black);
}

.widget-recent-posts .recent-post-title a:hover {
  color: var(--ie-accent);
}

.widget-recent-posts .recent-post-date {
  font-size: .75rem;
  color: var(--ie-gray-500);
  margin-top: 2px;
}

/* ========================================================
   SITE FOOTER
   ======================================================== */
.site-footer {
  background: var(--ie-gray-900);
  color: var(--ie-gray-300);
  margin-top: var(--sp-3xl);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--sp-3xl) var(--sp-lg) var(--sp-xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
}

.footer-brand .footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ie-white);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: var(--sp-sm);
}

.footer-brand .footer-logo .logo-e {
  color: var(--ie-accent);
}

.footer-brand .footer-tagline {
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ie-gray-500);
  margin-bottom: var(--sp-lg);
}

.footer-brand .footer-description {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--ie-gray-300);
}

.footer-col h4 {
  color: var(--ie-white);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--sp-md);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--sp-sm);
}

.footer-col ul a {
  color: var(--ie-gray-300);
  font-size: .9rem;
  transition: color .2s var(--ease);
}

.footer-col ul a:hover {
  color: var(--ie-white);
}

.footer-social {
  display: flex;
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--ie-gray-300);
  font-size: 1.1rem;
  transition: all .2s var(--ease);
}

.footer-social a:hover {
  background: var(--ie-accent);
  color: var(--ie-white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--sp-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--ie-gray-500);
}

.footer-bottom a {
  color: var(--ie-gray-500);
}
.footer-bottom a:hover {
  color: var(--ie-white);
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1024px) {
  .site-content {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .post-card {
    grid-template-columns: 260px 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .header-inner {
    padding: 0 var(--sp-md);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--ie-white);
    box-shadow: var(--shadow-md);
    padding: var(--sp-md);
    border-top: 1px solid var(--ie-gray-100);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav a {
    display: block;
    padding: var(--sp-md);
  }

  .menu-toggle {
    display: block;
  }

  .header-social {
    display: none;
  }

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

  .post-card__thumbnail {
    aspect-ratio: 16/9;
  }

  .post-card--featured .post-card__thumbnail {
    aspect-ratio: 16/9;
  }

  .category-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-sm);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-content {
    padding: 0 var(--sp-md);
    margin: var(--sp-lg) auto;
  }

  .post-card__body {
    padding: var(--sp-md);
  }

  .single-post__title {
    font-size: 1.35rem;
  }
}

/* ========================================================
   UTILITIES
   ======================================================== */
.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* WordPress alignment classes */
.alignleft   { float: left; margin: 0 var(--sp-lg) var(--sp-md) 0; }
.alignright  { float: right; margin: 0 0 var(--sp-md) var(--sp-lg); }
.aligncenter { display: block; margin: var(--sp-lg) auto; }
.alignwide   { max-width: calc(var(--content-width) + 100px); margin-left: auto; margin-right: auto; }
.alignfull   { width: 100vw; margin-left: calc(-50vw + 50%); }

.wp-caption {
  max-width: 100%;
  margin-bottom: var(--sp-lg);
}

.wp-caption-text {
  font-size: .85rem;
  color: var(--ie-gray-500);
  text-align: center;
  margin-top: var(--sp-sm);
}

/* No-JS fallback */
.no-js .video-embed-lazy {
  display: none;
}
