/*
Theme Name: Prestken Legal
Theme URI: https://prestken.com.au
Author: Prestken Legal Team
Author URI: https://prestken.com.au
Description: Modern legal website theme for Prestken Legal - Commercial mortgage law specialists. Built with Gutenberg Block Editor and Full Site Editing for maximum flexibility and performance.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prestken
Tags: full-site-editing, block-patterns, block-styles, custom-colors, custom-logo, editor-style, responsive-layout, accessibility-ready, translation-ready
*/

/* ========================================
   CUSTOM FONTS
   ======================================== */

/* Denton Thin - Headings */
@font-face {
  font-family: 'Denton Thin';
  src: url('assets/fonts/Denton-Thin.woff2') format('woff2'),
       url('assets/fonts/Denton-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap; /* Prevents invisible text while loading */
}

/* Bastardo Grotesk Regular - Body Text */
@font-face {
  font-family: 'Bastardo Regular';
  src: url('assets/fonts/BastardoGrotesk-Regular.woff2') format('woff2'),
       url('assets/fonts/BastardoGrotesk-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Global Resets */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--wp--preset--color--grey);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Force remove all WordPress default spacing at top of page */
main > *:first-child,
.wp-site-blocks > *:first-child,
body > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Override WordPress core block spacing */
:where(.wp-site-blocks) > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Remove top margin from hero sections that come first after header */
.wp-block-group:first-of-type,
.hero-cards-section:first-of-type,
.split-hero:first-of-type,
.hero-section:first-of-type,
.content-section:first-of-type {
  margin-top: 0 !important;
}

/* Remove margin from WordPress block groups */
.wp-site-blocks > *:first-child,
.wp-site-blocks .wp-block-group:first-child {
  margin-top: 0 !important;
}

/* Remove top margin/padding from content sections that appear first */
.content-section-navy,
.content-section-white:first-child,
.content-section:first-child {
  margin-top: 0 !important;
}

/* Restore padding for content sections that need it */
.content-section-navy {
  padding: 2rem 2rem !important;
}

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

/* Hover Animations - GPU Accelerated */
@media (hover: hover) and (pointer: fine) {
  .service-card,
  .prestken-card {
    transition: transform 300ms ease, box-shadow 300ms ease;
    will-change: transform;
  }

  .service-card:hover,
  .prestken-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(240, 81, 54, 0.15);
  }
}

/* Touch devices - different interaction */
@media (hover: none) and (pointer: coarse) {
  .service-card:active,
  .prestken-card:active {
    transform: scale(0.98);
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .prestken-card,
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Hero Section */
.hero-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #F05136 0%, #C98659 100%);
  color: white;
  padding: 4rem 2rem;
  margin-top: 0 !important;
}

.hero-title {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 100;
}

.hero-subtitle {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 2rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #F05136;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-title {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #434967;
}

/* Section Backgrounds */
.section-tomato { background-color: #F05136; color: white; }
.section-blue { background-color: #E2EAF2; color: #2D2926; }
.section-navy { background-color: #434967; color: white; }
.section-grey { background-color: #E3E4E5; color: #2D2926; }
.section-clay { background-color: #C98659; color: white; }
.section-white { background-color: white; color: #2D2926; }

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--wp--preset--color--tomato);
  color: var(--wp--preset--color--white);
  padding: 1rem 2.5rem;
  font-family: var(--wp--preset--font-family--bastardo);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 250ms ease, transform 150ms ease;
}

.btn-primary:hover {
  background: var(--wp--preset--color--clay);
  transform: translateY(-2px);
  color: var(--wp--preset--color--white);
}

/* WordPress Button Block Styles */
.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.wp-block-button.btn-primary {
  background: transparent;
}

.wp-block-button.btn-primary .wp-block-button__link {
  display: inline-block;
  background: var(--wp--preset--color--tomato);
  color: var(--wp--preset--color--white);
  padding: 1rem 1.5rem;
  font-family: var(--wp--preset--font-family--bastardo);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 250ms ease, transform 150ms ease, color 250ms ease;
}

.wp-block-button.btn-primary .wp-block-button__link:hover,
.wp-block-button.btn-primary .wp-block-button__link:focus-visible {
  background: var(--wp--preset--color--clay);
  transform: translateY(-2px);
  color: var(--wp--preset--color--white);
  outline: 2px solid var(--wp--preset--color--orange);
  outline-offset: 2px;
}

/* Header */
.site-header {
  background: #2D2926;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.header-logo {
  flex-shrink: 0;
}

.site-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* Header Actions - Aligned to the right */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

/* Newsletter Label (Rotated) */
.newsletter-label {
  color: white;
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  opacity: 0.9;
}

/* Separator between Newsletter and icons */
.header-separator {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 0.5rem;
}

/* Header Buttons - Minimal styling, images have borders */
.header-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 300ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.header-btn .header-icon {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
  /* SVG optimization */
  shape-rendering: geometricPrecision;
}

.header-btn:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

/* Hide native WordPress navigation on header */
.main-navigation {
  display: none;
}

/* ========================================
   MOBILE MENU OVERLAY
   ======================================== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #2D2926;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu-overlay.active {
  transform: translateX(0);
}

.mobile-menu-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  padding: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms ease;
  line-height: 1;
}

.mobile-menu-close:hover {
  transform: rotate(90deg);
}

.mobile-menu-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.mobile-menu-list li {
  margin: 0;
  padding: 0;
}

.mobile-menu-list a {
  display: block;
  color: white;
  text-decoration: none;
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  font-size: 2.5rem;
  font-weight: 100;
  padding: 1rem 0;
  transition: all 300ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-list a:hover {
  color: #F05136;
  transform: translateX(10px);
  border-bottom-color: #F05136;
}

/* Menu backdrop */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

/* Footer */
footer.wp-block-template-part {
  margin-block-start: 1px;
}

.site-footer {
  background: #2D2926;
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-heading {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.125rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #F05136;
}

.site-footer .wp-block-site-logo {
  margin-bottom: 1.5rem;
}

.footer-menu {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.75rem;
}

.footer-menu a {
  color: white;
  text-decoration: underline;
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  transition: color 200ms ease;
}

.footer-menu a:hover {
  color: #F05136;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 3rem 1.5rem;
  }

  .hero-section {
    min-height: 40vh;
    padding: 3rem 1.5rem;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  /* Header adjustments for tablet */
  .site-header {
    padding: 1rem 1.5rem;
  }

  .header-actions {
    gap: 0.75rem;
  }

  .header-btn,
  .header-btn .header-icon {
    width: 48px;
    height: 48px;
  }

  .header-separator {
    height: 48px;
  }

  .newsletter-label {
    font-size: 0.8rem;
  }

  /* Mobile Menu - Full screen on tablets and below */
  .mobile-menu-overlay {
    max-width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

  .hero-section {
    min-height: auto;
    padding: 3rem 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-navigation {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background: #2D2926;
    padding: 2rem;
    transition: left 300ms ease;
  }

  .main-navigation.active {
    left: 0;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 1.5rem;
  }

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

/* Utility Classes */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6rem 2rem;
}

.text-center {
  text-align: center;
}

.font-denton {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
}

.font-bastardo {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ========================================
   FULL-SCREEN HERO CARDS (Homepage)
   3 vertical columns with expanding ribbon overlays at bottom
   ======================================== */

/* Hero Cards Section */
.hero-cards-section {
  width: 100%;
  min-height: calc(100vh - 88px);
  padding: 0;
  margin: 0;
  margin-top: 0 !important;
}

.hero-cards-grid {
  display: flex;
  min-height: calc(100vh - 88px);
  gap: 0;
  margin: 0;
  flex-wrap: nowrap;
}

.hero-cards-grid .wp-block-column.hero-card {
  flex: 1;
  min-height: calc(100vh - 88px);
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center 30%;
  transition: flex 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ribbon overlay - horizontal band at bottom that expands on hover */
.hero-card-ribbon {
  position: relative;
  width: 100%;
  padding: 3rem;
  background: var(--wp--preset--color--tomato);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  min-height: 16rem;
}

/* Color variants for ribbons */
.hero-card-ribbon-light {
  background: var(--wp--preset--color--blue);
}

.hero-card-ribbon-clay {
  background: var(--wp--preset--color--navy);
}

/* Link wrapper - covers entire card */
.hero-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transition: transform 300ms ease;
}

/* Top section - icon and small title together */
.hero-card-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.hero-card-icon {
  flex-shrink: 0;
  opacity: 0.95;
  transition: transform 300ms ease, opacity 300ms ease;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-icon .hero-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  shape-rendering: geometricPrecision;
}

/* Small title next to icon at top (e.g., "Deep Legal Insight") */
.hero-card-small-title {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
  line-height: 1.3;
  transition: opacity 300ms ease;
  align-self: center;
}

.hero-card-small-title-dark {
  color: #C98659;
}

/* Large subtitle at bottom (e.g., "About Us") */
.hero-card-title {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(2rem, 3vw, 3.5rem);
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-weight: 400;
  line-height: 1.1;
  transition: transform 300ms ease;
  align-self: flex-start;
}

.hero-card-title-dark {
  color: #C98659;
}

/* First card - White text */
.hero-card:first-child .hero-card-small-title,
.hero-card:first-child .hero-card-title {
  color: rgba(255, 255, 255, 0.95);
}


/* Third card - Tomato text */
.hero-card-small-title-orange,
.hero-card-title-orange {
  color: var(--wp--preset--color--tomato);
}

/* Problem/Solution Two Column Grid */
.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.content-wrapper > .problem-solution-grid:first-child {
  margin-top: 0;
}

.problem-column,
.solution-column {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: 0;
}

/* Grid Column Base Styles */
.problem-column,
.solution-column {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: 0;
}

.problem-column > *:last-child,
.solution-column > *:last-child {
  margin-bottom: 0;
}

.problem-column > .content-subheading:first-child,
.solution-column > .content-subheading:first-child {
  margin-top: 0;
  padding-top: 0;
}

/* About Page Bio Grid - Separate from home page problem-solution */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.bio-column-left,
.bio-column-right {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: 0;
}

.bio-column-left > *:last-child,
.bio-column-right > *:last-child {
  margin-bottom: 0;
}

/* Column Background Utilities */
.column-bg-tomato {
  background: var(--wp--preset--color--tomato);
}

.column-bg-navy {
  background: var(--wp--preset--color--navy);
}

.column-bg-white {
  background: var(--wp--preset--color--white);
}

.column-bg-grey {
  background: var(--wp--preset--color--grey);
}

/* Column Text Color Utilities */
.column-text-white .content-subheading {
  color: var(--wp--preset--color--white);
}

.column-text-white .section-text {
  color: rgba(255, 255, 255, 0.95);
}

.column-text-white .service-checklist li {
  color: var(--wp--preset--color--white);
}

.column-text-white .service-checklist li::before {
  color: var(--wp--preset--color--white);
}

.column-text-dark .content-subheading {
  color: var(--wp--preset--color--navy);
}

.column-text-dark .section-text {
  color: var(--wp--preset--color--black);
}

.column-text-dark .service-checklist li {
  color: var(--wp--preset--color--black);
}

.column-text-light .content-subheading {
  color: var(--wp--preset--color--white);
}

.column-text-light .section-text {
  color: var(--wp--preset--color--blue);
}

/* Column Border Utilities */
.column-border-navy .content-subheading {
  border-left: 4px solid var(--wp--preset--color--navy);
}

.column-border-tomato .content-subheading {
  border-left: 4px solid var(--wp--preset--color--tomato);
}

/* Hover and Focus Effects - Ribbon expands vertically */
@media (hover: hover) and (pointer: fine) {
  .hero-card:hover .hero-card-ribbon,
  .hero-card-link:focus-visible ~ .hero-card-ribbon {
    min-height: 20rem;
  }

  .hero-card:hover .hero-card-icon,
  .hero-card-link:focus-visible .hero-card-icon {
    transform: scale(1.1);
    opacity: 1;
  }

  .hero-card:hover .hero-card-title,
  .hero-card-link:focus-visible .hero-card-title {
    transform: translateY(-4px);
  }

  .hero-card:hover .hero-card-small-title,
  .hero-card-link:focus-visible .hero-card-small-title {
    opacity: 1;
  }
}

/* Focus visible for keyboard navigation */
.hero-card-link:focus-visible {
  outline: 3px solid var(--wp--preset--color--orange);
  outline-offset: -3px;
}

/* ========================================
   BOTTOM NAVIGATION CARDS
   ======================================== */

.bottom-nav-section {
  width: 100%;
  padding: 0;
  margin: 0;
}

.bottom-nav-grid {
  display: flex;
  gap: 0;
  margin: 0;
  flex-wrap: nowrap;
}

.bottom-nav-grid .wp-block-column.bottom-nav-card {
  flex: 1;
  min-height: 300px;
  padding: 0;
  margin: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms ease;
}

.bottom-nav-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 3rem 2rem;
  transition: opacity 300ms ease;
}

.bottom-nav-link-dark {
  color: #434967;
}

.bottom-nav-title {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: white;
  margin: 0;
  font-weight: 100;
  text-align: center;
  line-height: 1.2;
  transition: transform 300ms ease;
}

.bottom-nav-title-dark {
  color: #434967;
}

@media (hover: hover) and (pointer: fine) {
  .bottom-nav-card:hover {
    transform: translateY(-8px);
  }

  .bottom-nav-card:hover .bottom-nav-title {
    transform: scale(1.05);
  }

  .bottom-nav-link:hover {
    opacity: 0.9;
  }
}

/* ========================================
   SPLIT HERO SECTION (About Page)
   ======================================== */

.split-hero-section {
  width: 100%;
  padding: 0;
  margin: 0;
  margin-top: 0 !important;
}

.split-hero {
  margin-top: 0 !important;
}

.split-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 60vh;
  margin: 0;
}

.split-hero-grid .wp-block-column {
  flex: 1;
  padding: 0;
  margin: 0;
}

.split-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 3rem;
}

.split-hero-text-gradient {
  background: linear-gradient(135deg, #FAA647 0%, #F05136 100%);
}

.split-hero-content {
  max-width: 600px;
}

.split-hero-title {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: #ffffff;
  margin: 0 0 1.5rem 0;
  font-weight: 100;
  line-height: 1.1;
}

.split-hero-description {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
}

.split-hero-description:last-child {
  margin-bottom: 0;
}

.split-hero-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 60vh;
}

.split-hero-image-erin {
  background-image: url('/wp-content/themes/prestken-legal/assets/images/erin-about.jpg');
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */

.content-section {
  width: 100%;
  padding: 2rem 2rem;
}

.content-section-blue {
  background-color: #E2EAF2;
}

.content-section-clay {
  background-color: #C98659;
  color: white;
}

.content-section-profile {
  background-color: white;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 1rem;
  font-weight: 100;
}

.section-title-dark {
  color: var(--wp--preset--color--navy);
}

.section-text {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.8;
  color: white;
  margin-bottom: 1.5rem;
}

.section-text-dark {
  color: #2D2926;
}

/* ========================================
   HOMEPAGE CONTENT SECTION
   ======================================== */

.content-section-white {
  background-color: var(--wp--preset--color--grey);
  margin-block-start: 0;
}

.content-section-navy {
  background-color: #434967;
}

.content-section-navy .section-title,
.content-section-navy .section-text,
.content-section-navy .content-subheading,
.content-section-navy p,
.content-section-navy li,
.content-section-navy .service-checklist li {
  color: #E2EAF2;
}

/* Benefit Cards Grid */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-card-title {
  color: #F05136;
  margin-bottom: 0.5rem;
}

.content-main-title {
  text-align: center;
  margin-bottom: 1rem;
  font-family: var(--wp--preset--font-family--denton);
  font-weight: 100;
  line-height: 1.2;
  position: relative;
  padding: 1rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--wp--preset--color--grey);
  border-radius: 0;
}

.content-main-title .title-line-1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--wp--preset--color--navy);
  display: block;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.content-main-title .title-line-2 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--wp--preset--color--tomato);
  display: block;
  font-weight: 100;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
}

.content-main-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--wp--preset--color--tomato);
}

/* Content main title on navy background */
.bg-navy .content-main-title,
.content-section-navy .content-main-title {
  background: var(--wp--preset--color--navy);
  color: #E2EAF2;
}

.content-subtitle {
  text-align: center;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  max-width: 900px;
  margin: 0 auto 4rem;
  color: var(--wp--preset--color--navy);
}

.content-subheading {
  font-family: var(--wp--preset--font-family--denton);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--wp--preset--color--navy);
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 100;
  padding-left: 1rem;
  border-left: 4px solid var(--wp--preset--color--tomato);
}

.content-subheading-spaced {
  margin-top: 4rem;
}

.services-list {
  margin: 2rem 0;
  padding-left: 1.5rem;
}

.services-list li {
  font-family: var(--wp--preset--font-family--bastardo);
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--wp--preset--color--black);
  margin-bottom: 1.5rem;
}

.services-list li strong {
  color: var(--wp--preset--color--tomato);
  font-weight: 600;
}

.content-link {
  color: var(--wp--preset--color--tomato);
  text-decoration: none;
  font-weight: 600;
  transition: color 250ms ease;
}

.content-link {
  display: inline-block;
  margin-top: 1rem;
}

.content-link:hover,
.content-link:focus-visible {
  color: var(--wp--preset--color--clay);
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Section Dividers */
.content-section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--wp--preset--color--grey), transparent);
  margin: 3rem 0;
}

/* CTA Box Highlight */
.cta-box {
  background: var(--wp--preset--color--blue);
  padding: 3rem;
  margin-top: 4rem;
  box-shadow: 0 4px 20px rgba(67, 73, 103, 0.08);
  position: relative;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--wp--preset--color--tomato);
}

.cta-box .content-subheading {
  margin-top: 0;
  border-left: none;
  padding-left: 0;
}

.cta-box .section-text {
  margin-bottom: 2rem;
}

.cta-box > *:last-child {
  margin-bottom: 0;
}

/* ========================================
   PROFILE SECTION
   ======================================== */

.profile-grid {
  display: flex;
  gap: 4rem;
  align-items: center;
  flex-wrap: wrap;
}

.profile-image-col,
.profile-content-col {
  flex: 1;
  min-width: 300px;
}

.profile-image-wrapper {
  margin: 0;
}

.profile-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-name {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: #434967;
  margin-bottom: 0.5rem;
  font-weight: 100;
}

.profile-title {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.25rem;
  color: #F05136;
  margin-bottom: 1.5rem;
}

.profile-text {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #2D2926;
  margin-bottom: 1.5rem;
}

.profile-credentials {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #434967;
  margin-top: 2rem;
}

/* ========================================
   VALUES GRID
   ======================================== */

.values-grid {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.value-card {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.value-icon {
  color: white;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  opacity: 0.9;
}

.value-title {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  font-size: 1.75rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 100;
}

.value-text {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: white;
  opacity: 0.95;
}

/* ========================================
   BLOG HERO SECTION
   ======================================== */

.blog-hero-section {
  background: linear-gradient(135deg, #434967 0%, #5a6080 100%);
  color: white;
  padding: 3rem 2rem;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.blog-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero-title {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(3rem, 6vw, 5rem);
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 100;
}

.blog-hero-description {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.8;
  color: white;
  opacity: 0.9;
}

/* ========================================
   BLOG POSTS GRID
   ======================================== */

.blog-posts-section {
  padding: 6rem 2rem;
  background-color: white;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.blog-post-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: transform 300ms ease, box-shadow 300ms ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-post-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.blog-post-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-post-meta {
  margin-bottom: 1rem;
}

.blog-post-date {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  color: #F05136;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-post-title {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  font-size: 1.75rem;
  color: #434967;
  margin-bottom: 1rem;
  font-weight: 100;
  line-height: 1.3;
}

.blog-post-title a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

.blog-post-title a:hover {
  color: #F05136;
}

.blog-post-excerpt {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2D2926;
  flex: 1;
}

.blog-post-excerpt a {
  color: #F05136;
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms ease;
}

.blog-post-excerpt a:hover {
  color: #C98659;
}

@media (hover: hover) and (pointer: fine) {
  .blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  }

  .blog-post-card:hover .blog-post-image img {
    transform: scale(1.05);
  }
}

/* ========================================
   BLOG PAGINATION
   ======================================== */

.blog-pagination,
.archive-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
}

.blog-pagination a,
.archive-pagination a {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  padding: 0.75rem 1.5rem;
  background: #F05136;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background 200ms ease, transform 150ms ease;
  font-weight: 600;
}

.blog-pagination a:hover,
.archive-pagination a:hover {
  background: #C98659;
  transform: translateY(-2px);
}

.blog-pagination .page-numbers,
.archive-pagination .page-numbers {
  padding: 0.75rem 1rem;
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #434967;
  text-decoration: none;
  transition: color 200ms ease;
}

.blog-pagination .page-numbers.current,
.archive-pagination .page-numbers.current {
  color: #F05136;
  font-weight: 600;
}

.no-posts-message {
  text-align: center;
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.125rem;
  color: #434967;
  padding: 4rem 2rem;
}

/* ========================================
   SINGLE POST
   ======================================== */

.single-post-hero {
  position: relative;
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  background: #434967;
  overflow: hidden;
}

.single-post-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.single-post-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.single-post-header-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
  padding: 4rem 2rem;
}

.single-post-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.single-post-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  color: white;
  opacity: 0.9;
}

.single-post-date,
.single-post-author {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.meta-separator {
  color: white;
  opacity: 0.5;
}

.single-post-title {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: white;
  margin: 0;
  font-weight: 100;
  line-height: 1.2;
}

/* ===============================================
   SERVICES PAGE HERO
   =============================================== */

.services-hero-section {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background-color: #434967;
}

.services-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.services-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.services-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(67, 73, 103, 0.4) 0%, rgba(67, 73, 103, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.services-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Single Post Content */
.single-post-content-section {
  padding: 4rem 2rem;
  background: white;
}

.single-post-content {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #2D2926;
}

.single-post-content p {
  margin-bottom: 1.5rem;
}

.single-post-content h2,
.single-post-content h3 {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  color: #434967;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 100;
}

.single-post-content h2 {
  font-size: 2.5rem;
}

.single-post-content h3 {
  font-size: 2rem;
}

.single-post-content a {
  color: #F05136;
  text-decoration: underline;
  transition: color 200ms ease;
}

.single-post-content a:hover {
  color: #C98659;
}

/* Post Footer Meta */
.single-post-footer-meta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E3E4E5;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.post-categories-group,
.post-tags-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.meta-label {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  color: #434967;
  margin: 0;
}

.post-categories a,
.post-tags a {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  background: #E2EAF2;
  color: #434967;
  text-decoration: none;
  border-radius: 4px;
  transition: background 200ms ease, color 200ms ease;
  display: inline-block;
}

.post-categories a:hover,
.post-tags a:hover {
  background: #F05136;
  color: white;
}

/* Post Navigation */
.post-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E3E4E5;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.post-nav-previous,
.post-nav-next {
  flex: 1;
  min-width: 200px;
}

.post-nav-previous a,
.post-nav-next a {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #434967;
  text-decoration: none;
  display: block;
  padding: 1rem;
  background: #E2EAF2;
  border-radius: 4px;
  transition: background 200ms ease, transform 150ms ease;
}

.post-nav-previous a:hover,
.post-nav-next a:hover {
  background: #F05136;
  color: white;
  transform: translateY(-2px);
}

/* Related Posts */
.related-posts-section {
  padding: 6rem 2rem;
  background: #434967;
}

.related-posts-title {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #E2EAF2;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 100;
}

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

.related-post-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.related-post-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.related-post-content {
  padding: 1.5rem;
}

.related-post-date {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  color: #F05136;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  display: block;
}

.related-post-title {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  font-size: 1.5rem;
  color: #434967;
  margin-bottom: 1rem;
  font-weight: 100;
  line-height: 1.3;
}

.related-post-title a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

.related-post-title a:hover {
  color: #F05136;
}

.related-post-link a {
  color: #F05136;
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms ease;
}

.related-post-link a:hover {
  color: #C98659;
}

@media (hover: hover) and (pointer: fine) {
  .related-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  }

  .related-post-card:hover .related-post-image img {
    transform: scale(1.05);
  }
}

/* ========================================
   ARCHIVE PAGE
   ======================================== */

.archive-hero-section {
  background: linear-gradient(135deg, #434967 0%, #2D2926 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

.archive-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.archive-hero-title {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(3rem, 6vw, 5rem);
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 100;
}

.archive-hero-description {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.8;
  color: white;
  opacity: 0.9;
}

.archive-posts-section {
  padding: 6rem 2rem;
  background-color: white;
}

.archive-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.archive-post-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: transform 300ms ease, box-shadow 300ms ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.archive-post-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.archive-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.archive-post-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.archive-post-meta {
  margin-bottom: 1rem;
}

.archive-post-date {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  color: #F05136;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.archive-post-title {
  font-family: 'Denton Thin', Georgia, 'Times New Roman', Times, serif;
  font-size: 1.75rem;
  color: #434967;
  margin-bottom: 1rem;
  font-weight: 100;
  line-height: 1.3;
}

.archive-post-title a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

.archive-post-title a:hover {
  color: #F05136;
}

.archive-post-excerpt {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2D2926;
  flex: 1;
  margin-bottom: 1rem;
}

.archive-post-excerpt a {
  color: #F05136;
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms ease;
}

.archive-post-excerpt a:hover {
  color: #C98659;
}

.archive-post-categories {
  margin-top: auto;
}

.archive-post-categories a {
  font-family: 'Bastardo Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  background: #E2EAF2;
  color: #434967;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  transition: background 200ms ease, color 200ms ease;
}

.archive-post-categories a:hover {
  background: #F05136;
  color: white;
}

@media (hover: hover) and (pointer: fine) {
  .archive-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  }

  .archive-post-card:hover .archive-post-image img {
    transform: scale(1.05);
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet - 1024px and below */
@media (max-width: 1024px) {
  /* Hero Cards - Stack on tablet */
  .hero-cards-section {
    min-height: auto;
  }

  .hero-cards-grid {
    flex-direction: column;
    min-height: auto;
  }

  .hero-cards-grid .wp-block-column.hero-card {
    min-height: calc(100vh - 88px);
    /* background-size: contain !important; */
  }

  /* Disable hover animations on tablet and below */
  .hero-card:hover .hero-card-ribbon {
    min-height: 16rem !important;
  }

  .hero-card:hover .hero-card-icon {
    transform: none !important;
  }

  .hero-card:hover .hero-card-title {
    transform: none !important;
  }

  .hero-card:hover .hero-card-small-title {
    opacity: 0.9 !important;
  }

  /* Bottom Nav Cards */
  .bottom-nav-grid {
    flex-wrap: wrap;
  }

  .bottom-nav-grid .wp-block-column.bottom-nav-card {
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
  }

  /* Split Hero */
  .split-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .split-hero-image {
    min-height: 50vh;
    order: -1;
  }

  .split-hero-text {
    padding: 3rem 2rem;
  }

  /* Blog Posts Grid */
  .blog-posts-grid,
  .archive-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* Related Posts Grid */
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Profile Grid */
  .profile-grid {
    gap: 3rem;
  }

  /* Values Grid */
  .values-grid {
    gap: 2rem;
  }

  .value-card {
    min-width: 200px;
  }

  /* Problem/Solution Grid - Better spacing on tablet */
  .problem-solution-grid {
    gap: 2rem;
  }

  .problem-column,
  .solution-column {
    padding: 3rem 2.5rem;
  }

  /* Content Sections - Reduce padding on tablet */
  .content-section {
    padding: 3rem 2rem;
  }

  .padding-section {
    padding: 3rem 2rem;
  }

  .padding-hero {
    padding: 4rem 2rem;
  }

  /* Split hero text padding */
  .split-hero-text {
    padding: 3rem 2.5rem !important;
  }
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
  /* Hero Cards - Full stack on mobile */
  .hero-cards-section {
    min-height: calc(100vh - 80px);
  }

  .hero-cards-grid {
    min-height: auto;
  }

  .hero-cards-grid .wp-block-column.hero-card {
    min-height: calc(100vh - 80px);
    /* background-size: contain !important; */
  }

  .hero-card-ribbon {
    padding: 2.5rem 2rem;
    min-height: 14rem;
  }

  /* Benefit Grid - Single column on mobile */
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-card-top {
    gap: 1rem;
  }

  .hero-card-icon {
    width: 48px;
    height: 48px;
    padding: 10px;
  }

  .hero-card-small-title {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }

  .hero-card-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  /* Bottom Nav Cards - Full width on mobile */
  .bottom-nav-grid {
    flex-direction: column;
  }

  .bottom-nav-grid .wp-block-column.bottom-nav-card {
    flex: 1 1 100%;
    min-height: 200px;
  }

  .bottom-nav-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  /* Split Hero */
  .split-hero-grid {
    grid-template-columns: 1fr;
  }

  .split-hero-text {
    padding: 3rem 2rem;
  }

  .split-hero-image {
    min-height: 40vh;
  }

  .split-hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .split-hero-description {
    font-size: 1rem;
  }

  /* Content Sections */
  .content-section {
    padding: 2rem 1rem;
  }

  .padding-section {
    padding: 2rem 1rem;
  }

  .padding-hero {
    padding: 3rem 1.5rem;
  }

  /* Split hero text padding */
  .split-hero-text {
    padding: 2rem 1.5rem !important;
  }

  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .section-text {
    font-size: 1rem;
  }

  /* Homepage Content Section */
  .content-main-title {
    margin-bottom: 1rem;
  }

  .content-main-title .title-line-1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .content-main-title .title-line-2 {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  .content-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  .content-subheading {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    margin-top: 2rem;
  }

  .services-list {
    padding-left: 1rem;
  }

  .services-list li {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .content-wrapper {
    padding: 0 1.5rem;
  }

  /* Problem/Solution Grid - Stack on mobile */
  .problem-solution-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 0;
    margin-bottom: 0;
  }

  .problem-column,
  .solution-column {
    padding: 3rem 1.5rem;
  }

  .problem-column .content-subheading,
  .solution-column .content-subheading {
    font-size: 1.5rem;
  }

  /* Bio Grid - Stack on mobile with reduced padding */
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 0;
    margin-bottom: 0;
  }

  .bio-column-left,
  .bio-column-right {
    padding: 1rem 1.5rem;
  }

  /* CTA Box - Reduce padding on mobile */
  .cta-box {
    padding: 2rem 1.5rem;
    margin-top: 3rem;
  }

  /* Content main title - smaller underline */
  .content-main-title::after {
    width: 60px;
  }

  /* Profile Section */
  .profile-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .profile-image-col,
  .profile-content-col {
    min-width: 100%;
  }

  .profile-name {
    font-size: clamp(1.75rem, 6vw, 2rem);
  }

  .profile-title {
    font-size: 1.125rem;
  }

  .profile-text {
    font-size: 1rem;
  }

  /* Values Grid - Stack on mobile */
  .values-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .value-card {
    min-width: 100%;
  }

  /* Blog Hero */
  .blog-hero-section,
  .archive-hero-section {
    padding: 3rem 1.5rem;
    min-height: 40vh;
  }

  .blog-hero-title,
  .archive-hero-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .blog-hero-description,
  .archive-hero-description {
    font-size: 1.125rem;
  }

  /* Blog Posts Grid - Single column on mobile */
  .blog-posts-grid,
  .archive-posts-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-posts-section,
  .archive-posts-section {
    padding: 4rem 1.5rem;
  }

  /* Blog Post Card */
  .blog-post-content,
  .archive-post-content {
    padding: 1.5rem;
  }

  .blog-post-title,
  .archive-post-title {
    font-size: 1.5rem;
  }

  .blog-post-excerpt,
  .archive-post-excerpt {
    font-size: 0.9375rem;
  }

  /* Single Post */
  .single-post-hero {
    min-height: 50vh;
  }

  .single-post-header-overlay {
    padding: 3rem 1.5rem;
  }

  .single-post-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  /* Services Hero - Reduce height on mobile */
  .services-hero-section {
    height: 400px;
  }

  .services-hero-overlay {
    padding: 3rem 1.5rem;
  }

  .services-hero-content h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
  }

  .services-hero-content p {
    font-size: 1.125rem !important;
  }

  .single-post-content-section {
    padding: 3rem 1.5rem;
  }

  .single-post-content {
    font-size: 1rem;
  }

  .single-post-content h2 {
    font-size: 2rem;
  }

  .single-post-content h3 {
    font-size: 1.5rem;
  }

  /* Post Navigation - Stack on mobile */
  .post-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .post-nav-previous,
  .post-nav-next {
    min-width: 100%;
  }

  /* Related Posts - Single column on mobile */
  .related-posts-section {
    padding: 4rem 1.5rem;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .related-posts-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    margin-bottom: 2rem;
  }

  .related-post-title {
    font-size: 1.25rem;
  }

  /* Pagination */
  .blog-pagination,
  .archive-pagination {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
  }

  .blog-pagination a,
  .archive-pagination a {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }

  .blog-pagination .page-numbers,
  .archive-pagination .page-numbers {
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
  }

  /* CTA Sections */
  .blog-cta-section,
  .single-post-cta-section,
  .archive-cta-section {
    padding: 0;
  }
}

/* Very Small Mobile - 480px and below */
@media (max-width: 480px) {
  /* Hero Cards - Adjust for smaller header and shorter height */
  .hero-cards-section {
    min-height: calc(70vh - 68px);
  }

  .hero-cards-grid .wp-block-column.hero-card {
    min-height: calc(70vh - 68px);
    /* background-size: contain !important; */
  }

  /* Content Sections - Compact padding on small mobile */
  .content-section {
    padding: 1.5rem 1rem;
  }

  .padding-section {
    padding: 1.5rem 1rem;
  }

  .padding-hero {
    padding: 2.5rem 1rem;
  }

  /* Split hero text padding */
  .split-hero-text {
    padding: 2rem 1.5rem !important;
  }

  .split-hero-image {
    min-height: 35vh;
  }

  .split-hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 1rem;
  }

  .split-hero-description {
    font-size: 0.95rem;
  }

  /* Bio columns - reduce vertical padding on small mobile */
  .bio-column-left,
  .bio-column-right {
    padding: 1.5rem 1rem;
  }

  /* Header - more compact on small mobile */
  .site-header {
    padding: 0.75rem 1rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-btn,
  .header-btn .header-icon {
    width: 44px;
    height: 44px;
  }

  .header-separator {
    height: 44px;
  }

  /* Hide newsletter label on very small screens to save space */
  .newsletter-label {
    display: none;
  }

  /* Hide separator too when label is hidden */
  .header-separator {
    display: none;
  }

  /* Mobile Menu - Adjust for small phones */
  .mobile-menu-content {
    padding: 1.5rem;
  }

  .mobile-menu-list a {
    font-size: 2rem;
    padding: 0.75rem 0;
  }

  .hero-card-ribbon {
    padding: 2rem 1.5rem;
    min-height: 12rem;
  }

  .hero-card-top {
    gap: 0.75rem;
  }

  .hero-card-icon {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .hero-card-small-title {
    font-size: 0.85rem;
  }

  .hero-card-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .bottom-nav-link {
    padding: 2rem 1.5rem;
  }

  .split-hero-text {
    padding: 2rem 1.5rem;
  }

  .content-section {
    padding: 2rem 0;
  }

  .blog-hero-section,
  .archive-hero-section {
    padding: 2rem 1rem;
    min-height: auto;
  }

  .blog-posts-section,
  .archive-posts-section {
    padding: 3rem 1rem;
  }

  .single-post-content-section {
    padding: 2rem 1rem;
  }

  .related-posts-section {
    padding: 3rem 1rem;
  }
}

/* ========================================
   FAQ ACCORDIONS
   ======================================== */

.faq-section {
  padding: 6rem 2rem;
}

.faq-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 300ms ease;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  background: white;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--wp--preset--font-family--denton);
  font-size: 1.25rem;
  font-weight: 100;
  color: var(--wp--preset--color--navy);
  transition: color 300ms ease;
}

.faq-question:hover {
  color: var(--wp--preset--color--tomato);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--wp--preset--color--tomato);
  transition: transform 300ms ease;
  flex-shrink: 0;
  margin-left: 1rem;
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 2rem;
  display: block;
  transition: max-height 400ms ease, padding 400ms ease;
}

.faq-item.active .faq-answer {
  max-height: 2000px;
  padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
  margin: 0 0 1rem 0;
  color: var(--wp--preset--color--black);
  line-height: 1.6;
  text-align: justify;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ========================================
   SECTION REVEAL ANIMATIONS - DISABLED
   ======================================== */

/* Animations removed - all content visible immediately */
.animate-on-scroll {
  opacity: 1 !important;
  transform: none !important;
}

.animate-on-scroll .problem-column,
.animate-on-scroll .solution-column {
  opacity: 1 !important;
  transform: none !important;
}

/* ========================================
   SERVICE SECTION ENHANCEMENTS
   ======================================== */

.service-detail-section {
  /* Padding removed - inherits from .content-section */
}

.service-fee-highlight {
  display: inline-block;
  background: var(--wp--preset--color--tomato);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.125rem;
  margin-top: 1.5rem;
}

.service-checklist {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.service-checklist li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--wp--preset--color--black);
}

.service-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--wp--preset--color--tomato);
  font-weight: bold;
  font-size: 1.25rem;
}

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

/* Color utilities */
.text-white {
  color: var(--wp--preset--color--white) !important;
}

.text-blue {
  color: var(--wp--preset--color--blue) !important;
}

.text-navy {
  color: var(--wp--preset--color--navy) !important;
}

.text-tomato {
  color: var(--wp--preset--color--tomato) !important;
}

.text-clay {
  color: var(--wp--preset--color--clay) !important;
}

.bg-white {
  background-color: var(--wp--preset--color--white) !important;
}

.bg-blue {
  background-color: var(--wp--preset--color--blue) !important;
}

.bg-navy {
  background-color: var(--wp--preset--color--navy) !important;
}

.bg-grey {
  background-color: var(--wp--preset--color--grey) !important;
}

.bg-clay {
  background-color: var(--wp--preset--color--clay) !important;
}

.bg-tomato {
  background-color: var(--wp--preset--color--tomato) !important;
}

.bg-orange {
  background-color: var(--wp--preset--color--orange) !important;
}

.bg-gradient-tomato-clay {
  background: linear-gradient(135deg, var(--wp--preset--color--tomato) 0%, var(--wp--preset--color--clay) 100%) !important;
}

.bg-gradient-navy {
  background: linear-gradient(135deg, #434967 0%, #5a6080 100%) !important;
}

.bg-gradient-navy-blue {
  background: linear-gradient(135deg, var(--wp--preset--color--navy) 0%, var(--wp--preset--color--blue) 100%) !important;
}

/* Text alignment utilities */
.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

/* Spacing utilities */
.max-w-900 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.max-w-1200 {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.padding-section {
  padding: 2rem 2rem;
}

.padding-hero {
  padding: 3rem 2rem;
}

/* ========================================
   MOBILE RESPONSIVENESS FOR NEW COMPONENTS
   ======================================== */

@media (max-width: 768px) {
  .faq-section {
    padding: 3rem 1.5rem;
  }

  .faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
  }

  .faq-answer {
    padding: 0 1.5rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
  }

  .service-detail-section {
    /* Padding removed - inherits from .content-section */
  }
}

@media (max-width: 480px) {
  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }

  .faq-icon {
    font-size: 1.25rem;
  }

  .service-fee-highlight {
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
  }
}
