/*
Theme Name:  Griot Fables
Theme URI:   https://griotfables.com
Author:      Griot Fables Studio
Author URI:  https://griotfables.com
Description: A cinematic storytelling theme with parallax sections, full-width video headers, and a dynamic Featured Work showcase. Built for creators and visual storytellers.
Version:     1.0.0
Requires at least: 6.0
Tested up to:      6.6
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:       griot-fables
Tags: custom-background, custom-logo, custom-menu, featured-images, full-width-template, theme-options, threaded-comments, translation-ready, blog, portfolio, entertainment
*/

/* --------------------------------------------------------------------------
   TABLE OF CONTENTS
   1. Reset & Base
   2. Typography
   3. Layout & Grid
   4. Header & Navigation
   5. Site Footer
   6. Posts & Pages
   7. Comments
   8. Sidebar & Widgets
   9. Utility Classes
   10. WordPress Core Classes
   11. Accessibility
   ------------------------------------------------------------------------ */

/* 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: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1a1a1a;
  background: #0e0e0e;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: #c9a96e; text-decoration: underline; }
a:hover { color: #a07840; }
button { cursor: pointer; }

/* 2. Typography
   ------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  line-height: 1.25;
  color: #f5f0e8;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1.25rem; color: #ccc; }

blockquote {
  border-left: 4px solid #c9a96e;
  padding: 0.75rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #aaa;
  background: #1a1a1a;
}

code, pre {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  background: #1a1a1a;
  border-radius: 4px;
}

code { padding: 2px 6px; color: #c9a96e; }
pre  { padding: 1rem 1.25rem; overflow-x: auto; margin-bottom: 1.5rem; }

hr { border: none; border-top: 1px solid #333; margin: 2rem 0; }

/* 3. Layout & Grid
   ------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container--narrow { max-width: 760px; }
.container--wide   { max-width: 1440px; }

.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }

.content-area { width: 100%; }

@media (min-width: 1024px) {
  .has-sidebar .content-area { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; }
}

/* 4. Header & Navigation
   ------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  transition: background 0.3s ease;
}

.site-header.scrolled { background: rgba(14, 14, 14, 0.98); }

.site-branding { display: flex; align-items: center; gap: 0.75rem; }

.custom-logo { height: 40px; width: auto; }

.site-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5f0e8;
  text-decoration: none;
}

.site-description {
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Primary Navigation */
.main-navigation { display: flex; align-items: center; }

.main-navigation ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.main-navigation a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ccc;
  transition: color 0.2s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: #c9a96e; }

/* Dropdown */
.main-navigation li { position: relative; }

.main-navigation ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 0.5rem 0;
  gap: 0;
  flex-direction: column;
  z-index: 200;
}

.main-navigation ul ul a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.main-navigation li:hover > ul { display: flex; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid #c9a96e;
  border-radius: 4px;
  color: #c9a96e;
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }

  /* Full-screen overlay panel -----------------------------------------
     height is set explicitly as calc(100vh - 64px) because iOS Safari
     does not always honour bottom:0 on position:fixed inside a flex
     parent. The explicit height is the reliable cross-browser fallback.
     ------------------------------------------------------------------ */
  .main-navigation ul {
    display:         none;
    position:        fixed;
    top:             64px;
    left:            0;
    right:           0;
    height:          calc(var(--vh, 1vh) * 100 - 64px); /* --vh set by JS, fixes Android Chrome address-bar bug */
    flex-direction:  column;
    flex-wrap:       nowrap;
    gap:             0;
    background:      #0e0e0e;
    padding:         1rem 1.5rem 2rem;
    overflow-y:      auto;
    z-index:         9999;
    align-items:     stretch; /* li items fill full width */
  }

  /* Show on toggle */
  .main-navigation.toggled ul { display: flex; }

  /* Top-level list items - full width, block-level */
  .main-navigation ul > li {
    width:          100%;
    border-bottom:  1px solid #1e1e1e;
  }

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

  /* Nav links - large tap targets */
  .main-navigation a {
    display:    block;
    width:      100%;
    font-size:  1rem;
    padding:    0.9rem 0;
  }

  /* Sub-menus (dropdowns) - expand inline, no hover needed on touch */
  .main-navigation ul ul {
    display:         flex;     /* always visible when parent li is in mobile menu */
    position:        static;
    border:          none;
    border-radius:   0;
    background:      transparent;
    padding:         0 0 0.5rem 1rem;
    flex-direction:  column;
    gap:             0;
    min-width:       0;
    width:           100%;
    z-index:         auto;
  }

  .main-navigation ul ul a {
    font-size:   0.9rem;
    padding:     0.6rem 0;
    color:       #aaa;
    white-space: normal;
  }

  .main-navigation ul ul a:hover { color: #c9a96e; }
}

/* Push content below fixed header */
.site-content { padding-top: 64px; }

/* 5. Site Footer
   ------------------------------------------------------------------- */

.site-footer {
  background: #080808;
  border-top: 1px solid #222;
  padding: 3rem 1.5rem 2rem;
  color: #888;
  font-size: 0.875rem;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand .site-title { font-size: 1rem; }
.footer-brand p { color: #666; margin-top: 0.5rem; }

.footer-nav h4,
.footer-social h4 {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 1rem;
}

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 0.4rem; }
.footer-nav a { color: #888; text-decoration: none; }
.footer-nav a:hover { color: #c9a96e; }

.site-info {
  border-top: 1px solid #1a1a1a;
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: left;
  color: #555;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .site-footer .container { grid-template-columns: 1fr; }
}

/* 6. Posts & Pages
   ------------------------------------------------------------------- */

.entry { margin-bottom: 3rem; }

.entry-header { margin-bottom: 1.5rem; }

.entry-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: #f5f0e8;
  margin-bottom: 0.5rem;
}

.entry-title a { color: inherit; text-decoration: none; }
.entry-title a:hover { color: #c9a96e; }

.entry-meta {
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 0.04em;
}

.entry-meta a { color: #c9a96e; text-decoration: none; }
.entry-meta span + span::before { content: ' �b7 '; }

.entry-content { color: #ccc; }
.entry-content > * + * { margin-top: 1.25rem; }

.entry-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #222;
  font-size: 0.8rem;
  color: #888;
}

/* Post thumbnail */
.post-thumbnail {
  margin-bottom: 1.5rem;
  border-radius: 6px;
  overflow: hidden;
}

.post-thumbnail img { width: 100%; object-fit: cover; }

/* Pagination */
.posts-navigation,
.post-navigation {
  margin: 3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
}

.nav-previous,
.nav-next {
  flex: 1 1 0;
  min-width: 0;
}

/* Previous Story - everything flush LEFT */
.nav-previous a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #333;
  border-radius: 4px;
  color: #ccc;
  text-decoration: none;
  font-size: 0.875rem;
  box-sizing: border-box;
  transition: border-color 0.2s, color 0.2s;
}

/* Next Story - everything flush RIGHT */
.nav-next a {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #333;
  border-radius: 4px;
  color: #ccc;
  text-decoration: none;
  font-size: 0.875rem;
  box-sizing: border-box;
  transition: border-color 0.2s, color 0.2s;
}

.nav-links a:hover,
.page-numbers:hover,
.page-numbers.current {
  border-color: #c9a96e;
  color: #c9a96e;
}

.page-numbers {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #333;
  border-radius: 4px;
  color: #ccc;
  text-decoration: none;
  font-size: 0.875rem;
  transition: border-color 0.2s, color 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: #c9a96e;
  color: #0e0e0e;
  border: 2px solid #c9a96e;
}

.btn--primary:hover { background: #a07840; border-color: #a07840; color: #fff; }

.btn--outline {
  background: transparent;
  color: #c9a96e;
  border: 2px solid #c9a96e;
}

.btn--outline:hover { background: #c9a96e; color: #0e0e0e; }

/* 7. Comments
   ------------------------------------------------------------------- */

.comments-area { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #222; }
.comments-title { font-size: 1.25rem; margin-bottom: 1.5rem; }

.comment-list { list-style: none; }

.comment {
  padding: 1.25rem 0;
  border-bottom: 1px solid #1a1a1a;
}

.comment-author .avatar { border-radius: 50%; margin-right: 0.75rem; float: left; }
.comment-meta { font-size: 0.8rem; color: #888; margin-bottom: 0.75rem; }
.comment-content { clear: both; color: #ccc; }

.comment-reply-link {
  font-size: 0.8rem;
  color: #c9a96e;
  text-decoration: none;
}

.comment-form label { display: block; margin-bottom: 0.25rem; font-size: 0.875rem; color: #aaa; }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  color: #f5f0e8;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  margin-bottom: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #c9a96e;
}

.comment-form-comment textarea { min-height: 120px; resize: vertical; }

.form-submit .submit {
  background: #c9a96e;
  color: #0e0e0e;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

/* 8. Sidebar & Widgets
   ------------------------------------------------------------------- */

.widget-area { padding-top: 0.5rem; }

.widget {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #1a1a1a;
  border-radius: 6px;
  border: 1px solid #222;
}

.widget-title {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #2a2a2a;
}

.widget ul { list-style: none; }
.widget li { padding: 0.3rem 0; border-bottom: 1px solid #222; color: #aaa; font-size: 0.9rem; }
.widget li:last-child { border-bottom: none; }
.widget a { color: #aaa; text-decoration: none; }
.widget a:hover { color: #c9a96e; }

/* Search widget */
.search-form { display: flex; gap: 0.5rem; }
.search-field {
  flex: 1;
  padding: 0.5rem 0.75rem;
  background: #0e0e0e;
  border: 1px solid #333;
  border-radius: 4px;
  color: #f5f0e8;
  font-size: 0.875rem;
}
.search-submit {
  padding: 0.5rem 1rem;
  background: #c9a96e;
  color: #0e0e0e;
  border: none;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* 9. Utility Classes
   ------------------------------------------------------------------- */

.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-accent  { color: #c9a96e; }
.text-muted   { color: #888; }
.text-light   { color: #f5f0e8; }
.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.py-lg { padding-top: 5rem; padding-bottom: 5rem; }

/* 10. WordPress Core Classes
    ------------------------------------------------------------------- */

.alignleft   { float: left; margin: 0.5rem 1.5rem 1rem 0; }
.alignright  { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1rem auto; }
.alignwide   { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignfull   { width: 100vw; margin-left: calc(50% - 50vw); }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: #888; text-align: center; margin-top: 0.4rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.5rem; }

.sticky { /* WP sticky post style  -  handled by template */ }
.screen-reader-text { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* 11. Accessibility
    ------------------------------------------------------------------- */

:focus-visible { outline: 2px solid #c9a96e; outline-offset: 3px; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 999;
  padding: 0.75rem 1.5rem;
  background: #c9a96e;
  color: #0e0e0e;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { top: 0; }


/* ==========================================================================
   COMPONENT ADDITIONS  -  styles for all template-parts and page templates
   Added to complete coverage of every CSS class used in the theme.
   ========================================================================== */

/* --------------------------------------------------------------------------
   12. Posts Grid (index.php, home.php, archive.php, search.php)
   -------------------------------------------------------------------------- */

.posts-grid {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax( 300px, 1fr ) );
  gap: 2rem;
  margin-top: 2rem;
}

@media ( max-width: 640px ) {
  .posts-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   13. Entry / Post Cards  (template-parts/content.php, content-search.php)
   -------------------------------------------------------------------------- */

.entry--card,
.entry--search {
  background: #1a1a1a;
  border: 1px solid #222;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entry--card:hover,
.entry--search:hover {
  transform: translateY( -4px );
  box-shadow: 0 12px 32px rgba( 0, 0, 0, 0.45 );
}

.entry-thumbnail {
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.entry-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.entry--card:hover .entry-thumbnail img {
  transform: scale( 1.04 );
}

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

.entry-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 0.5rem;
}

.entry-cat a {
  color: inherit;
  text-decoration: none;
}

.entry-cat a:hover { color: #a07840; }

.entry-summary {
  font-size: 0.875rem;
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.reading-time {
  font-size: 0.75rem;
  color: #666;
  letter-spacing: 0.04em;
}

/* Small button variant */
.btn--sm {
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   14. Archive / Blog Page Header
   -------------------------------------------------------------------------- */

.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #222;
}

.page-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp( 1.5rem, 4vw, 2.5rem );
  color: #f5f0e8;
  font-weight: 400;
}

.archive-description {
  color: #888;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   15. Page Hero  (page.php, page-templates/page-full-width.php)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  width: 100%;
  min-height: clamp( 220px, 40vh, 480px );
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba( 0, 0, 0, 0.1 ) 0%,
    rgba( 0, 0, 0, 0.65 ) 100%
  );
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 2.5rem;
}

.page-hero__title {
  font-family: 'Lato', sans-serif;
  font-size: clamp( 1.75rem, 4vw, 3rem );
  font-weight: 400;
  color: #f5f0e8;
  text-shadow: 0 2px 12px rgba( 0, 0, 0, 0.6 );
  margin: 0;
}

/* --------------------------------------------------------------------------
   16. Site Hero  -  front-page.php parallax hero section
   -------------------------------------------------------------------------- */

.site-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-hero__content {
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  width: 100%;
}

.site-hero__title {
  font-family: 'Lato', sans-serif;
  font-size: clamp( 2.5rem, 6vw, 5rem );
  font-weight: 400;
  color: #f5f0e8;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 20px rgba( 0, 0, 0, 0.5 );
  margin-bottom: 1rem;
}

.site-hero__tagline {
  font-size: clamp( 1rem, 2.5vw, 1.4rem );
  color: rgba( 245, 240, 232, 0.8 );
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   17. About Block  (template-parts/content-about.php)
   -------------------------------------------------------------------------- */

.about-block {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 0;
  text-align: center;
}

.about-block__title {
  font-family: 'Lato', sans-serif;
  font-size: clamp( 1.5rem, 3.5vw, 2.5rem );
  color: #f5f0e8;
  margin-bottom: 1.5rem;
}

.about-block__content {
  font-size: 1rem;
  color: rgba( 245, 240, 232, 0.8 );
  line-height: 1.8;
}

.about-block__content p { color: inherit; }

/* --------------------------------------------------------------------------
   18. Services Block  (template-parts/content-services.php)
   -------------------------------------------------------------------------- */

.services-block {
  padding: 4rem 0;
  text-align: center;
}

.services-block__title {
  font-family: 'Lato', sans-serif;
  font-size: clamp( 1.5rem, 3.5vw, 2.5rem );
  color: #f5f0e8;
  margin-bottom: 2.5rem;
}

.services-block__grid {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax( 220px, 1fr ) );
  gap: 1.5rem;
  text-align: left;
}

.service-card {
  background: rgba( 255, 255, 255, 0.06 );
  border: 1px solid rgba( 201, 169, 110, 0.2 );
  border-radius: 6px;
  padding: 1.5rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  background: rgba( 255, 255, 255, 0.1 );
  border-color: rgba( 201, 169, 110, 0.5 );
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.service-card__title {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  color: #f5f0e8;
  margin: 0 0 0.5rem;
}

.service-card__desc {
  font-size: 0.875rem;
  color: rgba( 245, 240, 232, 0.7 );
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   19. Testimonials Block  (template-parts/content-testimonials.php)
   -------------------------------------------------------------------------- */

.testimonials-block {
  padding: 4rem 0;
  text-align: center;
}

.testimonials-block__title {
  font-family: 'Lato', sans-serif;
  font-size: clamp( 1.5rem, 3.5vw, 2.5rem );
  color: #f5f0e8;
  margin-bottom: 2.5rem;
}

.testimonials-block__grid {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax( 260px, 1fr ) );
  gap: 1.5rem;
  text-align: left;
}

.testimonial-card {
  background: rgba( 255, 255, 255, 0.05 );
  border: none;
  border-left: 4px solid #c9a96e;
  border-radius: 0 6px 6px 0;
  padding: 1.5rem;
  margin: 0;
}

.testimonial-card__quote {
  font-style: italic;
  color: rgba( 245, 240, 232, 0.85 );
  line-height: 1.7;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.testimonial-card__author {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c9a96e;
}

/* --------------------------------------------------------------------------
   20. Responsive Embed Wrapper  (template-functions.php filter)
   -------------------------------------------------------------------------- */

.embed-responsive {
  position: relative;
  width: 100%;
  padding-top: 56.25%;  /* 16:9 */
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.embed-responsive iframe,
.embed-responsive video,
.embed-responsive embed,
.embed-responsive object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   21. Breadcrumb  (template-tags.php  -  griot_breadcrumb())
   -------------------------------------------------------------------------- */

.breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  color: #888;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '/';
  margin-right: 0.35rem;
  color: #444;
}

.breadcrumb__item a {
  color: #c9a96e;
  text-decoration: none;
}

.breadcrumb__item a:hover { color: #a07840; }

.breadcrumb__item--current {
  color: #ccc;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   22. Post Format Icon  (template-tags.php  -  griot_post_format_icon())
   -------------------------------------------------------------------------- */

.post-format-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-right: 0.3em;
  color: #c9a96e;
}

/* --------------------------------------------------------------------------
   23. Paginated Post Links  (single.php, page.php  -  wp_link_pages())
   -------------------------------------------------------------------------- */

.page-links {
  margin: 2rem 0;
  font-size: 0.875rem;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.page-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #333;
  border-radius: 4px;
  color: #ccc;
  text-decoration: none;
  font-size: 0.8rem;
  transition: border-color 0.2s, color 0.2s;
}

.page-links a:hover {
  border-color: #c9a96e;
  color: #c9a96e;
}

/* --------------------------------------------------------------------------
   24. Post Navigation  (single.php  -  the_post_navigation())
   -------------------------------------------------------------------------- */

.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid #222;
}

.post-navigation .nav-previous { text-align: left; }
.post-navigation .nav-next     { text-align: right; grid-column: 2; }

.post-navigation .nav-subtitle {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 0.25rem;
}

.post-navigation .nav-title {
  display: block;
  font-size: 0.9rem;
  color: #ccc;
  font-weight: 600;
}

.post-navigation a {
  text-decoration: none;
}

.post-navigation a:hover .nav-title { color: #f5f0e8; }

@media ( max-width: 480px ) {
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation .nav-next { grid-column: 1; text-align: left; }
}

/* --------------------------------------------------------------------------
   25. Section-level parallax content containers
       (front-page.php section-about / services / testimonials / cta)
   -------------------------------------------------------------------------- */

.section-about .parallax-section__content,
.section-services .parallax-section__content,
.section-testimonials .parallax-section__content,
.section-cta .parallax-section__content {
  padding: 5rem 0;
}

.section-cta .parallax-section__content h2 {
  font-family: 'Lato', sans-serif;
  font-size: clamp( 1.75rem, 4vw, 3rem );
  color: #f5f0e8;
  margin-bottom: 1rem;
}

.section-cta .parallax-section__content p {
  color: rgba( 245, 240, 232, 0.8 );
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   26. Print styles
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .site-footer,
  .griot-back-btn-wrap,
  .post-video-header,
  .featured-work,
  .parallax-section__bg,
  .parallax-section__video-wrap,
  .parallax-section__overlay,
  .nav-links,
  .comments-area { display: none !important; }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  a { color: #000; text-decoration: underline; }
  h1, h2, h3, h4, h5, h6 { color: #000; }

  .entry-content { color: #111; }

  .container {
    max-width: 100%;
    padding: 0;
  }
}
