/*
Theme Name: Earpedia
Author: Behzad Ghotbifar
Description: WordPress theme for the Earpedia layout.
Version: 1.0.0
Text Domain: earpedia
*/

/* ================== Variables ================== */
:root {
  --color-black: black;
  --color-blue-overlay: rgba(0, 75, 148, 0.42);
  --color-dark-gray-1: #111111;
  --color-dark-gray-2: #222222;
  --color-dark-gray-3: #242424;
  --color-dark-blue: #202555;
  --color-teal: #276b61;
  --color-purple-gray: #474d77;
  --color-gray-1: #707070;
  --color-gray-2: #757575;
  --color-mint: #7bcec2;
  --color-gray-3: #999999;
  --color-light-gray-1: #d8d8d8;
  --color-light-blue: #e9eef6;
  --color-light-gray-2: #eeeeee;
  --color-light-gray-3: #efefef;
  --color-white: white;
  --color-white-overlay: rgba(255, 255, 255, 0.61);
}

/* ================== Resets & Typography ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--color-gray-2);
}

/* ================== Layouts ================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Section container base styles */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* For sections that need flex layout */
.flex-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================== Header ================== */
.header {
  background-color: var(--color-white);
  padding: 0;
  position: relative;
}

/* Logo styles */
.header .logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header .logo-icon {
  width: 198px;
  height: 50px;
}

/* Header container with flex layout */
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

/* Navigation styles */
.header .nav-container {
  margin-top: 10px;
  border-top: 1px solid var(--color-light-gray-2);
  border-bottom: 1px solid var(--color-light-gray-2);
}

.header .navigation {
  flex: 1;
}

.header .nav-list {
  display: flex;
  list-style: none;
  gap: 48px;
  align-items: center;
}

.header .nav-item {
  position: relative;
}

.header .nav-link {
  text-decoration: none;
  color: var(--color-gray-2);
  font-size: 22px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.header .nav-link:hover {
  color: var(--color-teal);
}

.header .dropdown-arrow {
  font-size: 20px;
  color: var(--color-gray-3);
  transition: color 0.2s ease;
}

.header .nav-link:hover .dropdown-arrow {
  color: var(--color-teal);
}

/* Sub-menu styles */
.header .nav-item .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-white);
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid var(--color-light-gray-2);
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.header .nav-item:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header .sub-menu li {
  margin: 0;
  padding: 0;
}

.header .sub-menu-link {
  display: block;
  padding: 12px 20px;
  color: var(--color-gray-2);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.header .sub-menu-link:hover {
  background-color: var(--color-light-blue);
  color: var(--color-teal);
  border-left-color: var(--color-teal);
}

.header .nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Header actions styles */
.header .header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header .login-link {
  text-decoration: none;
  color: var(--color-gray-2);
  font-size: 22px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.header .login-link:hover {
  color: var(--color-teal);
}

.header .join-button {
  background-color: var(--color-mint);
  color: var(--color-white);
  border: none;
  padding: 10px 30px;
  border-radius: 20px;
  font-size: 22px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.header .join-button:hover {
  background-color: var(--color-teal);
  transform: translateY(-1px);
}

.header .join-button:active {
  transform: translateY(0);
}

.user-menu {
  position: relative;
}

.user-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.user-menu-caret {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--color-white);
  transition: transform 0.2s ease;
}

.user-menu-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background-color: var(--color-white);
  min-width: 230px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-light-gray-2);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1200;
  pointer-events: none;
}

.user-menu.open .user-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.user-menu.open .user-menu-caret {
  transform: rotate(180deg) translateY(2px);
}

.user-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--color-gray-2);
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.user-menu-link:hover {
  background-color: var(--color-light-blue);
  color: var(--color-teal);
}

.user-menu-link-logout {
  border-top: 1px solid var(--color-light-gray-2);
}

.user-menu-icon {
  font-size: 16px;
  line-height: 1;
}

.mobile-user-menu {
  width: 100%;
}

.mobile-user-menu .user-menu-toggle {
  width: 100%;
  justify-content: center;
}

.mobile-user-menu .user-menu-dropdown {
  position: relative;
  top: 8px;
  right: auto;
  width: 100%;
  transform: translateY(-6px);
}

/* ================== Footer ================== */
.footer {
  background-color: var(--color-teal);
  padding: 60px 0 40px 0;
  color: var(--color-white);
}

.footer .container {
  flex-direction: column;
  align-items: flex-start;
  padding: 0 24px;
  max-width: 1200px;
}

.footer-content {
  display: flex;
  gap: 60px;
  width: 100%;
  margin-bottom: 40px;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}

.footer-title {
  font-size: 71px;
  font-weight: 800;
  color: var(--color-mint);
  margin: 0 0 20px 0;
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
}

.footer-tagline {
  font-size: 14px;
  color: var(--color-white);
  margin: 0;
  font-weight: 500;
  position: relative;
}

.footer-tagline::before,
.footer-tagline::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-white) 30%,
    var(--color-white) 70%,
    transparent 100%
  );
}

.footer-tagline::before {
  left: -70px;
  top: 12px;
}

.footer-tagline::after {
  right: -70px;
  top: 12px;
}

.footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer .nav-section {
  display: flex;
  flex-direction: column;
}

.footer .nav-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-white);
  margin: 0 0 16px 0;
  letter-spacing: 0.3px;
}

.footer .nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer .nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
  line-height: 1.4;
}

.footer .nav-link:hover {
  opacity: 1;
  color: var(--color-mint);
}

.footer .footer-products {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer .product-section {
  display: flex;
  flex-direction: column;
}

.footer .product-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 16px 0;
  letter-spacing: 0.3px;
}

.footer .product-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer .product-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
  line-height: 1.4;
}

.footer .product-link:hover {
  opacity: 1;
  color: var(--color-mint);
}

.footer .footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 32px;
}

.footer .footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.footer .footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer .footer-copyright p {
  font-size: 16px;
  color: var(--color-white);
  opacity: 0.8;
  margin: 0;
}

.footer .footer-legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer .legal-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer .legal-link:hover {
  opacity: 1;
  color: var(--color-mint);
}

.footer .separator {
  color: var(--color-white);
  opacity: 0.5;
  font-size: 14px;
}

.footer .footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-white);
  text-decoration: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  opacity: 0.8;
}

.footer .social-link:hover {
  opacity: 1;
  background-color: var(--color-mint);
  transform: translateY(-2px);
  color: var(--color-teal);
}

.footer .social-link svg {
  width: 20px;
  height: 20px;
}

/* ================== Components ================== */
/* Mobile Menu */
/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 999;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hamburger menu animation to X */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-container {
  position: absolute;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100%;
  background-color: var(--color-white);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-container {
  right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--color-light-gray-2);
  background-color: var(--color-white);
}

.mobile-logo-icon {
  width: 150px;
  height: auto;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1002;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.mobile-menu-close:hover {
  background-color: var(--color-light-gray-2);
  transform: scale(1.1);
}

.mobile-menu-close:active {
  background-color: var(--color-light-gray-1);
  transform: scale(0.95);
}

.close-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.close-line:first-child {
  transform: rotate(45deg) translate(0px, 0px);
}

.close-line:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Close button hover animations */
.mobile-menu-close:hover .close-line:first-child {
  transform: rotate(45deg) translate(5px, 5px) scale(1.1);
  background-color: var(--color-teal);
}

.mobile-menu-close:hover .close-line:last-child {
  transform: rotate(-45deg) translate(7px, -6px) scale(1.1);
  background-color: var(--color-teal);
}

.mobile-menu-close:active .close-line:first-child {
  transform: rotate(45deg) translate(5px, 5px) scale(0.9);
}

.mobile-menu-close:active .close-line:last-child {
  transform: rotate(-45deg) translate(7px, -6px) scale(0.9);
}

/* Mobile Menu Content */
.mobile-menu-content {
  padding: 0;
  height: calc(100% - 80px);
  overflow-y: auto;
}

/* Mobile Navigation */
.mobile-navigation {
  padding: 20px 0;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--color-light-gray-2);
}

.mobile-nav-link-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  text-decoration: none;
  color: var(--color-gray-2);
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.mobile-nav-link-wrapper:hover {
  background-color: var(--color-light-blue);
}

.mobile-nav-link {
  text-decoration: none;
  color: var(--color-gray-2);
  font-size: 16px;
  font-weight: 500;
  flex: 1;
}

.mobile-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.dropdown-icon {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-gray-2);
  transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active .dropdown-icon {
  transform: rotate(45deg);
}

/* Mobile Sub Menu */
.mobile-sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: var(--color-light-blue);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-sub-menu.active {
  max-height: 300px;
}

.mobile-sub-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-sub-menu li:last-child {
  border-bottom: none;
}

.mobile-sub-menu-link {
  display: block;
  padding: 12px 20px 12px 40px;
  text-decoration: none;
  color: var(--color-gray-2);
  font-size: 14px;
  font-weight: 400;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-sub-menu-link:hover {
  background-color: var(--color-mint);
  color: var(--color-white);
}

/* Mobile Menu Actions */
.mobile-menu-actions {
  padding: 20px;
  border-top: 1px solid var(--color-light-gray-2);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-login-link {
  text-decoration: none;
  color: var(--color-gray-2);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  padding: 12px;
  border: 2px solid var(--color-mint);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-login-link:hover {
  background-color: var(--color-mint);
  color: var(--color-white);
}

.mobile-join-button {
  background-color: var(--color-mint);
  color: var(--color-white);
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.mobile-join-button:hover {
  background-color: var(--color-teal);
  transform: translateY(-1px);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid var(--color-light-gray-2);
  background-color: var(--color-light-blue);
}

.mobile-menu-section {
  margin-bottom: 25px;
}

.mobile-menu-section:last-child {
  margin-bottom: 0;
}

.mobile-menu-section-title {
  color: var(--color-dark-blue);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.mobile-menu-section-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-section-list li {
  margin-bottom: 8px;
}

.mobile-menu-section-link {
  text-decoration: none;
  color: var(--color-gray-2);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.mobile-menu-section-link:hover {
  color: var(--color-teal);
}

/* Mobile Social Links */
.mobile-social-links {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-light-gray-2);
}

.mobile-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-gray-2);
  text-decoration: none;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 1px solid var(--color-light-gray-2);
  transition: all 0.3s ease;
}

.mobile-social-link:hover {
  background-color: var(--color-mint);
  color: var(--color-white);
  border-color: var(--color-mint);
  transform: translateY(-2px);
}

/* ================== Page Sections ================== */
/* Search Course Section */
.search-course-section {
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.search-course-section .search-course-content::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 193.651px;
  height: 245.14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='193.651' height='245.14' viewBox='0 0 193.651 245.14'%3E%3Cpath id='Path_167' data-name='Path 167' d='M1078.436,70.078v1.609a76.311,76.311,0,0,1-10.6,37.547,90,90,0,0,1-5.819,8.9,88.5,88.5,0,0,1-25.549,23.157c-7.3,4.913-14.374,9.008-22.069,11.452-32.279,10.237-62.708,8.881-87.87-16.549-21.209-21.42-19.486-49.674,3.219-70.714A59,59,0,0,1,945.52,54.927c14.248-6.467,28.481-7.512,41.951,1.032,9.587,6.071,11.141,16.7,3.445,25.67-9.122,10.632-20.8,15.236-34.043,14.5-3.051-.169-6.439-.946-6.312-5.379.1-4,2.8-5.734,6.156-6.2,4.943-.663,9.63-1.934,13.273-5.987,3.205-3.571,5.507-7.624,3.9-12.637-1.623-5.069-5.718-6.481-10.321-6.664a39.279,39.279,0,0,0-15.109,2.654c-15.7,5.888-27.124,21.012-27.688,36.6-.552,15.01,8.458,27.308,25.007,33.775,18.257,7.117,36.119,4.589,53.458-5.041,24.159-13.414,38-43.052,32.151-68.312-5.789-25.063-28.536-41.612-55.237-39.042-28.07,2.725-51.241,16.266-67.692,41.569-32.321,49.69-10.04,116.9,44.549,135.836,27.6,9.558,54.151,6.156,80.288-8.19,11.1-6.114,20.94-.677,23.679,12.242,2.316,10.93-2.3,22.791-11.9,30.3a60.553,60.553,0,0,1-26.946,11.947c-46.061,8.189-109.91-15.589-128.466-88.039C877.421,107.721,888,64.175,923.918,30.1,945.495,9.658,969.048,0,993.743,0c14.9,0,30.2,3.515,45.735,10.307,24.766,10.815,38.674,34.3,38.957,59.77' transform='translate(-884.785)' fill='%23474d77'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

.search-course-section .search-course-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  min-height: 16.25rem;
  background: linear-gradient(135deg, var(--color-dark-blue) 0%, #1e2351 100%);
  padding: 3rem 5rem 3rem 3rem;
  border-top-right-radius: 4.7rem;
  border-bottom-left-radius: 5rem;
}

.search-course-section .search-course-left {
  flex: 1;
}

.search-course-section .search-course-title {
  color: var(--color-mint);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.search-course-section .course-type-options {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.search-course-section .radio-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 17px;
}

.search-course-section .radio-option input[type="radio"] {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  accent-color: var(--color-mint);
  cursor: pointer;
}

.search-course-section .radio-label {
  color: var(--color-white);
  font-weight: 500;
}

/* ================== About Page ================== */
.about-page {
  background: var(--color-white);
  color: var(--color-dark-gray-2);
}

.about-eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gray-1);
  font-weight: 700;
}

.about-section-header {
  display: grid;
  gap: 12px;
  max-width: 720px;
}

.about-section-header h2 {
  color: var(--color-dark-gray-1);
  font-size: 32px;
  line-height: 1.2;
}

.about-section-subtitle {
  color: var(--color-gray-2);
  font-size: 16px;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 96px;
  background: radial-gradient(circle at 12% 20%, rgba(39, 107, 97, 0.22), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(32, 37, 85, 0.2), transparent 30%),
    linear-gradient(135deg, #202555, #276b61);
  color: #f7f7ff;
}

.about-hero__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  filter: blur(110px);
  opacity: 0.55;
  z-index: 1;
}

.about-hero__glow--one {
  top: -60px;
  left: -40px;
  background: #276b61;
}

.about-hero__glow--two {
  bottom: -80px;
  right: -20px;
  background: #202555;
}

.about-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: center;
}

.about-hero__title {
  font-size: 44px;
  line-height: 1.1;
  color: #f7f7ff;
  margin: 8px 0 12px;
}

.about-hero__subtitle {
  color: rgba(247, 247, 255, 0.82);
  font-size: 17px;
  margin-bottom: 24px;
  max-width: 620px;
}

.about-hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease,
    color 0.2s ease;
}

.about-button:hover {
  transform: translateY(-1px);
}

.about-button--primary {
  background: linear-gradient(135deg, #276b61 0%, #202555 100%);
  color: #f7f7ff;
  box-shadow: 0 10px 30px rgba(39, 107, 97, 0.35);
}

.about-button--primary:hover {
  box-shadow: 0 12px 36px rgba(39, 107, 97, 0.42);
}

.about-button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #f7f7ff;
  background: rgba(255, 255, 255, 0.06);
}

.about-button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.about-hero__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.about-pill {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f7f7ff;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-hero__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.about-hero__card-inner {
  display: grid;
  gap: 16px;
}

.about-hero__list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.about-hero__list-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-hero__list-item h3 {
  color: #f7f7ff;
  margin-bottom: 6px;
  font-size: 16px;
}

.about-hero__list-item p {
  color: rgba(247, 247, 255, 0.82);
  font-size: 14px;
}

.about-hero__meta {
  display: grid;
  gap: 10px;
}

.about-meta__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 247, 255, 0.7);
}

.about-meta__value {
  color: #f7f7ff;
  font-weight: 600;
}

.about-stats {
  padding: 96px 0 80px;
  background: #f8f9fb;
}

.about-stats__grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.about-stats__card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--color-light-gray-2);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.04);
}

.about-stats__value {
  font-size: 28px;
  color: var(--color-dark-gray-1);
  font-weight: 700;
}

.about-stats__label {
  font-weight: 600;
  color: var(--color-dark-blue);
}

.about-stats__detail {
  margin-top: 6px;
  color: var(--color-gray-2);
  font-size: 14px;
}

.about-story {
  padding: 90px 0;
}

.about-story__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.about-story__intro h2 {
  margin: 8px 0 12px;
  font-size: 32px;
  color: var(--color-dark-gray-1);
}

.about-story__timeline {
  display: grid;
  gap: 14px;
}

.about-story__card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--color-light-gray-2);
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.about-story__year {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-dark-blue);
}

.about-story__content h3 {
  margin-bottom: 6px;
  color: var(--color-dark-gray-1);
}

.about-story__content p {
  color: var(--color-gray-2);
}

.about-values {
  padding: 90px 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2fb 100%);
}

.about-values__grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.about-values__card {
  background: var(--color-white);
  border-radius: 14px;
  padding: 18px;
  border: 1px solid var(--color-light-gray-2);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.04);
  display: grid;
  gap: 10px;
}

.about-values__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #f7efe5, #eaf3ff);
  color: var(--color-dark-blue);
  font-weight: 700;
}

.about-values__card h3 {
  color: var(--color-dark-gray-1);
  font-size: 18px;
}

.about-values__card p {
  color: var(--color-gray-2);
  font-size: 14px;
}

.about-team {
  padding: 96px 0;
}

.about-team__grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.about-team__card {
  border: 1px solid var(--color-light-gray-2);
  border-radius: 16px;
  padding: 18px;
  background: var(--color-white);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
}

.about-team__avatar {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, #276b61, #202555);
  display: grid;
  place-items: center;
  color: #0f172a;
  font-weight: 800;
  font-size: 22px;
}

.about-team__role {
  color: var(--color-dark-blue);
  font-weight: 700;
}

.about-team__tagline {
  color: var(--color-gray-2);
  font-size: 14px;
}

.about-team__bio {
  color: var(--color-gray-2);
  font-size: 14px;
  margin-top: 4px;
}

.about-rich-content {
  padding: 80px 0;
}

.about-rich-content .container {
  max-width: 820px;
}

.about-cta {
  padding: 96px 0 110px;
  background: linear-gradient(135deg, #202555, #276b61);
  color: #f7f7ff;
}

.about-cta__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.about-cta__card h2 {
  color: #f7f7ff;
  font-size: 28px;
  margin: 8px 0 10px;
}

.about-cta__card .about-section-subtitle {
  color: rgba(247, 247, 255, 0.85);
}

.about-cta__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .about-hero {
    padding: 90px 0 70px;
  }

  .about-hero__title {
    font-size: 36px;
  }

  .about-section-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 720px) {
  .about-hero__card {
    padding: 18px;
  }

  .about-story__card {
    grid-template-columns: 1fr;
  }

  .about-team__card {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.search-course-section .search-course-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  width: 100%;
}

.search-course-section .search-course-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.search-course-section .course-filter-field label {
  display: block;
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 15px;
}

.search-course-section .filter-select {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 4px;
  background-color: var(--color-white);
  color: var(--color-gray-2);
  font-size: 15px;
  outline: none;
}

.search-course-section .search-course-form {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
  max-width: 100%;
  width: 100%;
}

.search-course-section .search-input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 16px;
  outline: none;
  background-color: var(--color-white);
  color: var(--color-gray-2);
}

.search-course-section .filter-select:focus,
.search-course-section .search-input:focus {
  outline: 2px solid var(--color-mint);
  outline-offset: 1px;
}

.search-course-section .search-input::placeholder {
  color: var(--color-gray-3);
}

.search-course-section .find-courses-btn {
  background-color: var(--color-mint);
  color: var(--color-white);
  border: none;
  padding: 16px 24px;
  border-radius: 0 4px 4px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.search-course-section .find-courses-btn:hover {
  background-color: var(--color-teal);
  transform: translateY(-1px);
}

.search-course-section .browse-subjects {
  margin-top: 10px;
}

.search-course-section .browse-link {
  color: var(--color-mint);
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.search-course-section .browse-link:hover {
  color: var(--color-white);
}

.search-course-section .search-course-right {
  flex: 0 0 400px;
  text-align: right;
}

/* Learning Section */
.learning-wrap {
  max-width: 1200px;
  margin: 5rem auto 7.5rem;
  padding: 0 1.5rem;
}

/* Two-column layout */
.learning-wrap .learning-grid {
  display: flex;
  gap: 3rem 4rem;
  align-items: flex-start;
}

.learning-wrap .learning-title {
  margin: 0 0 0.5rem 0;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-mint);
}

.learning-wrap .learning-subtitle {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #68738e;
  max-width: 600px;
}

/* Category tiles grid */
.learning-wrap .learning-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 28px;
  max-width: 760px;
}

.learning-wrap .learning-tile {
  background: var(--color-light-blue);
  border-radius: 0 56px 0px 28px;
  height: 140px;
  padding: 28px 62px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.learning-wrap .learning-tile svg {
  width: 70px;
  height: 70px;
  stroke: #202f6b;
  fill: none;
  stroke-width: 1;
}

.learning-wrap .learning-tile-caption {
  margin: 10px 0 0;
  color: #6a7086;
  font-size: 18px;
  line-height: 1.25;
  text-align: center;
}

/* Right column: portrait stack */
.learning-wrap .learning-portraits {
  display: flex;
  gap: 24px;
}

.learning-wrap .portraits-column {
  flex: 1;
  overflow: hidden;
  height: 660px;
  position: relative;
}

.learning-wrap .portraits-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: scrollUp 20s linear infinite;
}

.learning-wrap .portraits-column:nth-child(2) .portraits-wrapper {
  animation-delay: 0.5s;
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.learning-wrap .learning-face {
  width: 100%;
  height: 150px;
  border-radius: 22px;
  overflow: hidden;
  background: #ddd;
}

.learning-wrap .learning-face.learning-face-tall {
  height: 260px;
  background-color: #E9EEF6;
}

.learning-wrap .learning-face.learning-face-tall img {
  object-fit: cover;
  mix-blend-mode: multiply;
}

.learning-wrap .learning-face.learning-face-short {
  height: 120px;
}

.learning-wrap .learning-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Helper: spacing below each tile group */
.learning-wrap .learning-tile-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Testimonials Section */
.testimonials-section {
  margin-top: 6rem;
}

.testimonials-section .testimonial-content {
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 3rem;
  background: var(--color-teal);
  border-top-right-radius: 10rem;
  border-bottom-left-radius: 7.5rem;
  position: relative;
  overflow: hidden;
}

.testimonials-section .testimonial-content::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-55%);
  width: 433.235px;
  height: 548.43px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='433.235' height='548.43' viewBox='0 0 433.235 548.43'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_412' data-name='Rectangle 412' width='433.235' height='548.43' transform='translate(675.185)' fill='none'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Group_304' data-name='Group 304' transform='translate(-675.185)' opacity='0.11'%3E%3Cg id='Group_303' data-name='Group 303'%3E%3Cg id='Group_302' data-name='Group 302' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_170' data-name='Path 170' d='M1108.42,156.78v3.6c-.29,27.99-8,56.92-23.73,84-17.81,30.67-41.79,54.77-70.16,71.7-16.33,11-32.16,20.16-49.37,25.62-72.22,22.91-140.29,19.87-196.58-37.02-47.45-47.92-43.6-111.13,7.2-158.2a132.021,132.021,0,0,1,35.28-23.6c31.88-14.46,63.72-16.8,93.86,2.31,21.45,13.58,24.92,37.37,7.7,57.43-20.4,23.79-46.53,34.08-76.16,32.44-6.82-.38-14.4-2.12-14.12-12.03.22-8.94,6.26-12.83,13.77-13.87,11.06-1.49,21.55-4.33,29.7-13.4,7.17-7.99,12.32-17.05,8.72-28.27-3.64-11.34-12.8-14.5-23.1-14.91a87.813,87.813,0,0,0-33.8,5.94c-35.12,13.17-60.68,47.01-61.94,81.88-1.23,33.58,18.92,61.09,55.94,75.56,40.85,15.92,80.81,10.27,119.6-11.28,54.05-30.01,85.01-96.31,71.93-152.83-12.95-56.07-63.84-93.09-123.58-87.34-62.8,6.1-114.64,36.39-151.44,93-72.31,111.16-22.46,261.53,99.67,303.89,61.75,21.39,121.14,13.77,179.61-18.32,24.83-13.68,46.85-1.52,52.98,27.39,5.18,24.45-5.15,50.98-26.63,67.79a135.434,135.434,0,0,1-60.27,26.72,228.769,228.769,0,0,1-39.92,3.45c-97.02,0-211.13-58.43-247.48-200.41C658.71,241,682.37,143.57,762.73,67.35,811,21.61,863.69,0,918.94,0c33.33,0,67.57,7.87,102.32,23.06,55.41,24.2,86.52,76.73,87.16,133.72' fill='%237bcec2'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}

.testimonials-section .testimonial-content > * {
  position: relative;
  z-index: 2;
}

.testimonials-section .testimonials-title {
  color: var(--color-white);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.2;
}

.testimonials-section .testimonials-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

.testimonials-section .testimonial-card {
  background: transparent;
  padding: 0;
  text-align: left;
  position: relative;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.testimonials-section .quote-icon {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
}

.testimonials-section .quote-icon svg {
  width: 72px;
  height: 46px;
}

.testimonials-section .quote-icon-bottom {
  display: flex;
  flex-flow: row-reverse;
}

.testimonials-section .quote-icon-bottom svg {
  width: 72px;
  height: 46px;
}

.testimonials-section .testimonial-text {
  color: var(--color-white);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 400;
  opacity: 0.95;
  flex: 1;
}

.testimonials-section .testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonials-section .author-avatar {
  flex-shrink: 0;
}

.testimonials-section .author-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-mint);
}

.testimonials-section .author-info {
  flex: 1;
}

.testimonials-section .author-name {
  color: var(--color-white);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.testimonials-section .author-degree {
  color: var(--color-mint);
  font-size: 16px;
  margin: 0;
  line-height: 1.3;
  font-weight: 500;
}

/* Contact Section */
.contact-us-section {
  background-color: var(--color-white);
  padding: 40px 0;
}

.contact-us-section .container {
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  width: 100%;
}

.contact-left {
  padding-right: 40px;
}

.contact-title {
  color: var(--color-black);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.contact-subtitle {
  color: var(--color-black);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 500px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-email,
.contact-phone {
  color: var(--color-dark-blue);
  text-decoration: none;
  font-size: 25px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-email:hover,
.contact-phone:hover {
  color: var(--color-teal);
}

.contact-right .form-title {
  color: var(--color-black);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 32px;
  margin-top: 0;
}

.contact-right .contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-right .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-right .form-group {
  display: flex;
  flex-direction: column;
}

.contact-right .form-input,
.contact-right .form-textarea {
  padding: 14px 16px;
  border: none;
  border-bottom: 2px solid var(--color-light-gray-1);
  font-size: 22px;
  font-family: inherit;
  background-color: var(--color-white);
  color: var(--color-gray-2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.contact-right .form-input:focus,
.contact-right .form-textarea:focus {
  border-color: var(--color-teal);
}

.contact-right .form-input::placeholder {
  color: var(--color-gray-3);
}

/* Select dropdown styling */
.contact-right .select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--color-light-gray-1);
}

.contact-right .form-select {
  padding: 14px 40px 14px 16px;
  border: none;
  font-size: 22px;
  font-family: inherit;
  background-color: var(--color-white);
  color: var(--color-gray-2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.contact-right .form-select:focus {
  border-color: var(--color-teal);
}

.contact-right .select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.contact-right .select-arrow:hover {
  background-color: rgba(123, 206, 194, 0.1);
}

.contact-right .select-arrow svg {
  transition: transform 0.2s ease;
}

.contact-right .select-wrapper:hover .select-arrow svg {
  transform: translateY(-50%) rotate(180deg);
}

/* Custom select display styling */
.contact-right .custom-select-display {
  padding: 14px 40px 14px 16px;
  border: none;
  font-size: 22px;
  font-family: inherit;
  background-color: var(--color-white);
  color: var(--color-gray-2);
  cursor: pointer;
  outline: none;
  border-bottom: 2px solid var(--color-light-gray-1);
  transition: border-color 0.2s ease;
}

.contact-right .custom-select-display:focus {
  border-color: var(--color-teal);
}

.contact-right .custom-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-light-gray-1);
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-right .custom-select-option {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 22px;
  font-family: inherit;
  color: var(--color-gray-2);
  border-bottom: 1px solid var(--color-light-gray-2);
  transition: background-color 0.2s ease;
}

.contact-right .custom-select-option:hover {
  background-color: var(--color-light-blue);
}

.contact-right .custom-select-option:last-child {
  border-bottom: none;
}

/* Adjust select arrow positioning for custom dropdown */
.contact-right .select-wrapper:has(.custom-select-display) .select-arrow {
  z-index: 1001;
}

.contact-right .form-select-label {
  color: var(--color-black);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.3;
}

.contact-right .form-textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-right .form-group.full-width {
  grid-column: 1 / -1;
}

.contact-right .submit-button {
  background: linear-gradient(135deg, var(--color-dark-blue) 0%, #34495e 100%);
  color: var(--color-white);
  border: none;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 8px;
  width: 100%;
}

.contact-right .submit-button:hover {
  background: linear-gradient(135deg, #1e2a36 0%, #2c3e50 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
}

.contact-right .submit-button:active {
  transform: translateY(0);
}

/* ================== Contact Page Template ================== */
.contact-page {
  background: var(--color-white);
  color: var(--color-dark-gray-1);
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 90px 0;
  color: var(--color-white);
  background: radial-gradient(circle at 20% 20%, rgba(39, 107, 97, 0.28), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(32, 37, 85, 0.45), transparent 32%),
    linear-gradient(135deg, #0b1224 0%, #121a2f 45%, #0f1221 100%);
}

.contact-hero__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.4;
  z-index: 0;
}

.contact-hero__glow--one {
  top: -120px;
  left: 8%;
  background: rgba(39, 107, 97, 0.55);
}

.contact-hero__glow--two {
  bottom: -160px;
  right: 5%;
  background: rgba(32, 37, 85, 0.7);
}

.contact-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-hero__eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--color-mint);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.contact-hero__title {
  font-size: 3.1rem;
  line-height: 1.1;
  margin: 0 0 14px 0;
  color: var(--color-white);
}

.contact-hero__subtitle {
  color: #e5e7eb;
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 640px;
}

.contact-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.contact-pill {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.contact-button--primary {
  background: linear-gradient(135deg, var(--color-teal), #23a48a);
  color: var(--color-white);
  border: none;
  box-shadow: 0 14px 36px rgba(35, 164, 138, 0.25);
}

.contact-button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(35, 164, 138, 0.3);
}

.contact-button--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-button--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.contact-button--link {
  color: var(--color-dark-blue);
  border: 1px solid rgba(36, 40, 92, 0.14);
  background: rgba(36, 40, 92, 0.04);
  box-shadow: none;
}

.contact-button--link:hover {
  color: var(--color-teal);
  border-color: rgba(39, 107, 97, 0.4);
  transform: translateY(-2px);
}

.contact-button__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(36, 40, 92, 0.08);
}

.contact-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.contact-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  border-radius: 14px;
  backdrop-filter: blur(4px);
}

.contact-stat__value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-white);
}

.contact-stat__label {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-top: 4px;
}

.contact-hero__card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(36, 40, 92, 0.12);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(16, 23, 42, 0.28);
  overflow: hidden;
}

.contact-hero__card-inner {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--color-teal);
  margin-bottom: -2px;
  font-size: 0.9rem;
}

.contact-card__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-dark-gray-1);
  margin: 0 0 6px 0;
}

.contact-card__subtitle {
  color: #4b5563;
  margin: 0;
}

.contact-hero__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-hero__list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid rgba(36, 40, 92, 0.12);
  background: var(--color-white);
}

.contact-shortcut__label {
  margin: 0 0 4px 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.contact-shortcut__value {
  margin: 0;
  font-weight: 700;
  color: var(--color-dark-gray-1);
}

.contact-shortcut__link {
  color: var(--color-teal);
  font-weight: 700;
  text-decoration: none;
}

.contact-hero__card-footer {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(39, 107, 97, 0.12) 0%,
    rgba(36, 40, 92, 0.12) 100%
  );
}

.contact-card__note {
  color: #374151;
  margin: 0;
  font-weight: 600;
}

.contact-options {
  padding: 90px 0 80px 0;
  background: #f5f7fb;
}

.contact-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.contact-section-title {
  font-size: 2.3rem;
  margin: 6px 0 8px 0;
  color: var(--color-dark-gray-1);
}

.contact-section-subtitle {
  color: #4b5563;
  font-size: 1.05rem;
  max-width: 760px;
}

.contact-promises {
  display: grid;
  gap: 12px;
  min-width: 280px;
}

.contact-promise {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--color-white);
  border: 1px solid rgba(36, 40, 92, 0.08);
  box-shadow: 0 12px 28px rgba(16, 23, 42, 0.08);
  position: relative;
  padding-left: 42px;
  color: #1f2937;
}

.contact-promise::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--color-teal), #23a48a);
  box-shadow: 0 10px 20px rgba(35, 164, 138, 0.4);
}

.contact-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.contact-option-card {
  background: var(--color-white);
  border-radius: 16px;
  border: 1px solid rgba(36, 40, 92, 0.08);
  padding: 22px;
  box-shadow: 0 18px 40px rgba(16, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-option-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(16, 23, 42, 0.12);
  border-color: rgba(39, 107, 97, 0.3);
}

.contact-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(39, 107, 97, 0.12);
  color: var(--color-dark-blue);
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-option-title {
  font-size: 1.15rem;
  color: var(--color-dark-gray-1);
  margin: 4px 0 4px 0;
}

.contact-option-text {
  margin: 0;
  color: #4b5563;
}

.contact-option-meta {
  color: #6b7280;
  font-weight: 600;
}

.contact-form-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f172a 0%, #121a2f 50%, #0f1221 100%);
  color: var(--color-white);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 32px;
}

.contact-form__info .contact-section-title {
  color: var(--color-white);
}

.contact-form__info .contact-section-subtitle {
  color: #d1d5db;
}

.contact-checklist {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-checklist li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal), #23a48a);
  box-shadow: 0 10px 20px rgba(35, 164, 138, 0.35);
}

.contact-form__footnote {
  color: #d1d5db;
  max-width: 520px;
}

.contact-form__card {
  background: var(--color-white);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 22px 48px rgba(16, 23, 42, 0.16);
  color: var(--color-dark-gray-1);
  border: 1px solid rgba(36, 40, 92, 0.08);
}

.contact-page__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__field label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-dark-blue);
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--color-light-gray-1);
  background: #f8fafc;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-dark-gray-2);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__field textarea {
  resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: var(--color-teal);
  background: var(--color-white);
  outline: none;
  box-shadow: 0 10px 26px rgba(35, 164, 138, 0.16);
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-form__hint {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}

.contact-faq {
  padding: 80px 0;
  background: var(--color-white);
}

.contact-faq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.contact-faq__item {
  padding: 20px 18px;
  border-radius: 14px;
  border: 1px solid rgba(36, 40, 92, 0.08);
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.contact-faq__item h3 {
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  color: var(--color-dark-gray-1);
}

.contact-faq__item p {
  margin: 0;
  color: #4b5563;
}

/* ================== Article Section ================== */
.article-section {
  background: #fff;
}

/* Container with improved spacing */
.article__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
}

.article__container.article__h1-container {
  padding: 1.25rem 1.5rem !important;
}

/* Hero Bar - Improved spacing and typography */
.article__hero-bar {
  background: var(--color-dark-blue);
  color: #fff;
  padding: 2rem 0;
  margin: 0.5rem 0 1.5rem;
  width: 100%;
}

.article__hero-bar h1 {
  margin: 0;
  font-size: 2.5rem; /* 40px, scales to 3rem on larger screens */
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Lead Paragraph - Enhanced readability */
.article__lead {
  font-size: 1.125rem; /* 18px */
  line-height: 1.7;
  color: #1f2937;
  max-width: 900px;
  margin-bottom: 1.5rem;
}

/* Hero Media - Consistent spacing */
.article__hero-media {
  position: relative;
  margin: 2rem 0 3rem;
}

.article__hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Share Rail */
.article__share-rail {
  position: absolute;
  right: -56px;
  top: 30%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article__share-rail a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.article__share-rail a:hover {
  transform: scale(1.1);
  color: var(--color-dark-blue);
}

/* Section Titles - Clear hierarchy */
.article__container h2,
.article__container h3 {
  font-size: 1.75rem; /* 28px */
  line-height: 1.4;
  color: #2f355d;
  margin: 2.5rem 0 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.article__container h4,
.article__container h5 {
  font-size: 1.25rem; /* 28px */
  line-height: 1.4;
  color: #2f355d;
  margin: 2.5rem 0 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.article__container h6 {
  font-size: 1rem; /* 28px */
  line-height: 1.4;
  color: #2f355d;
  margin: 2.5rem 0 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Body Text - Optimized for reading */
.article__content p {
  color: #374151;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.7;
  max-width: 980px;
  margin-bottom: 1.5rem;
}

/* Lists - Better spacing and readability */
.article__content ul {
  padding-left: 1.5rem;
  margin: 1rem 0 1.5rem;
  max-width: 980px;
}

.article__content ol {
  padding-left: 1.5rem;
  margin: 1rem 0 1.5rem;
  max-width: 980px;
}

.article__content ul li {
  margin: 0.5rem 0;
  color: #374151;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
}

.article__content ol li {
  margin: 0.5rem 0;
  color: #374151;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
}

/* Divider - Consistent spacing */
.article__divider {
  height: 2px;
  background: var(--color-dark-blue);
  border: 0;
  margin: 3rem 0;
}

/* ========== Comments Section ========== */
.article__comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.article__comments-title {
  font-size: 2.5rem; /* 40px - more reasonable than 66px */
  line-height: 1.2;
  color: #0f172a;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.article__btn-outline {
  border: 2px solid var(--color-dark-blue);
  color: var(--color-dark-blue);
  background: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 1.5rem;
  font-size: 1rem; /* 16px */
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.article__btn-outline:hover {
  background: var(--color-dark-blue);
  color: #fff;
  transform: translateY(-2px);
}

/* Comment Card - Improved spacing */
.article__comment-card {
  background: #f7f8fb;
  border-radius: 0.875rem;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: inset 0 0 0 1px #eef0f5;
  margin-bottom: 1.5rem;
}

.article__avatar {
  width: 3.5rem; /* 56px */
  height: 3.5rem;
  border-radius: 50%;
  background: #2f355d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.article__comment-body {
  flex: 1;
}

.article__comment-body h4 {
  margin: 0 0 0.375rem;
  font-size: 1.25rem; /* 20px - much more appropriate than 44px */
  line-height: 1.3;
  color: #111827;
  font-weight: 700;
}

.article__comment-meta {
  font-size: 0.875rem; /* 14px */
  line-height: 1.4;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.article__comment-text {
  color: #374151;
  font-size: 1rem; /* 16px */
  line-height: 1.6;
  margin-bottom: 0.875rem;
  max-width: 980px;
}

.article__tag-row {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.article__tag {
  font-size: 0.75rem; /* 12px */
  line-height: 1.4;
  padding: 0.375rem 0.75rem;
  border-radius: 1rem;
  border: 1px solid #c7ccda;
  background: #fff;
  color: #111827;
  cursor: pointer;
  transition: all 0.2s ease;
}

.article__tag:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

/* ========== Reply Section ========== */
.article__reply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin: 3rem auto;
  max-width: 1200px;
}

.article__reply-title {
  font-size: 2.5rem; /* 40px */
  line-height: 1.2;
  margin: 0 0 1.5rem;
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.article__form label {
  display: inline-block;
  font-size: 0.875rem; /* 14px */
  line-height: 1.4;
  color: #6b7280;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.article__input,
.article__textarea {
  width: 100%;
  padding: 0.75rem 0.625rem;
  border: 0;
  border-bottom: 2px solid var(--color-dark-blue);
  background: #fff;
  font-size: 1rem; /* 16px */
  line-height: 1.5;
  color: #111827;
  transition: border-color 0.2s ease;
  font-family: inherit;
}

.article__input:focus,
.article__textarea:focus {
  outline: none;
  border-bottom-color: var(--color-teal);
}

.article__textarea {
  height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.article__form-row {
  margin-bottom: 1.5rem;
}

.article__accept {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #6b7280;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.5;
  margin-top: 1.25rem;
}

.article__accept input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.article__btn-primary {
  display: inline-block;
  background: var(--color-dark-blue);
  color: #fff;
  padding: 0.875rem 1.5rem;
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 1rem; /* 16px */
  font-weight: 600;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

.article__btn-primary:hover {
  background: var(--color-teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(47, 53, 93, 0.2);
}

.article__btn-primary:active {
  transform: translateY(0);
}

/* Related */
.spx-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.spx-related-title {
  font-size: 28px;
  color: #16a085;
  margin: 0 0 16px 0;
  font-weight: 800;
}
.spx-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.spx-card {
  border: 1px solid #e6e8ef;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}
.spx-card-media {
  position: relative;
  height: 150px;
  overflow: hidden;
}
.spx-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.spx-date-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  background: #2f355d;
  color: #fff;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1;
}
.spx-card-body {
  padding: 14px;
}
.spx-card-title {
  margin: 0 0 6px;
  font-size: 16px;
  color: #0f172a;
  font-weight: 700;
}
.spx-card-text {
  margin: 0 0 10px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}
.spx-card-link {
  font-size: 13px;
  color: #2f355d;
  text-decoration: none;
  font-weight: 600;
}

/* ================== News Section ================== */
.news-section {
  background-color: var(--color-white);
  padding: 3rem 0;
}

.news-section .container {
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
}

/* Section Title - Improved hierarchy */
.news-section .news__section-title {
  color: var(--color-black);
  font-size: 2.5rem; /* 40px */
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.news-section .news__section-subtitle {
  color: var(--color-black);
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Grid - Consistent spacing */
.news-section .news__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
}

/* Card - Enhanced interaction */
.news-section .news__card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--color-white);
  border: 1px solid var(--color-light-gray-2);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.news-section .news__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Image - Optimized dimensions */
.news-section .news__image {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  background-color: var(--color-light-gray-3);
}

.news-section .news__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-section .news__card:hover .news__image img {
  transform: scale(1.05);
}

/* Content - Improved spacing */
.news-section .news__content {
  padding: 2rem 1.5rem;
}

/* Header - Better alignment */
.news-section .news__header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* Date Badge - Clear typography */
.news-section .news__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  border-right: 2px solid var(--color-light-gray-1);
  padding-right: 0.75rem;
  min-width: 3rem;
}

.news-section .news__day {
  color: var(--color-dark-blue);
  font-size: 1.75rem; /* 28px */
  line-height: 1;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.news-section .news__month {
  color: var(--color-dark-blue);
  font-size: 0.75rem; /* 12px */
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Title - Clear hierarchy */
.news-section .news__title {
  color: var(--color-black);
  font-size: 1.25rem; /* 20px */
  line-height: 1.4;
  font-weight: 700;
  margin: 0;
  flex: 1;
  letter-spacing: -0.01em;
}

/* Text - Optimized readability */
.news-section .news__text {
  color: var(--color-gray-1);
  font-size: 0.9375rem; /* 15px */
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* Link - Clear call-to-action */
.news-section .news__link {
  color: var(--color-dark-blue);
  text-decoration: none;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.5;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.news-section .news__link:hover {
  color: var(--color-teal);
  transform: translateX(4px);
}

/* ================== Journal News Section ================== */
/* Modern, accessible design with optimized typography and spacing */

.journal-news-section {
  background-color: var(--color-white);
  padding: 3.75rem 0; /* 60px - Better rhythm */
}

/* Header - Improved hierarchy */
.journal-news-section .journal-news-header {
  text-align: center;
  margin-bottom: 3rem; /* 48px - Reduced from 50px for better proportion */
}

.journal-news-section .journal-news-title {
  font-size: 2.5rem; /* 40px - Reduced from 48px for better balance */
  font-weight: 700;
  color: var(--color-black);
  margin: 0 0 0.75rem 0; /* 12px - Using rem */
  line-height: 1.2;
  letter-spacing: -0.02em; /* Tighter tracking for large headings */
}

.journal-news-section .journal-news-subtitle {
  font-size: 1.125rem; /* 18px - Maintained, good size */
  font-weight: 400; /* Normalized from implicit */
  color: var(--color-gray-1); /* Better contrast than black with opacity */
  margin: 0;
  line-height: 1.6;
}

/* Grid - Improved spacing */
.journal-news-section .journal-news-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* 32px - Reduced from 30px, using rem */
  margin-bottom: 3rem; /* 48px - Reduced from 50px */
}

/* Article Card - Optimized padding and spacing */
.journal-news-section .news-article-card {
  display: flex;
  gap: 2rem; /* 32px - Increased from 24px for better breathing room */
  align-items: flex-start;
  padding: 2rem; /* 32px - Reduced from 45px for better proportion */
  border: 1px solid var(--color-light-gray-2); /* Using CSS variable */
  border-top-right-radius: 2.5rem; /* 40px - Reduced from 45px */
  border-bottom-left-radius: 2.5rem; /* 40px - Reduced from 45px */
  background-color: #f8f8f8;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.05); /* Using rem */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.journal-news-section .news-article-card:hover {
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1); /* Using rem */
  transform: translateY(-0.125rem); /* Using rem */
}

/* Article Image - Improved proportions */
.journal-news-section .article-image {
  flex-shrink: 0;
  width: 18.75rem; /* 300px - Using rem */
  height: 15.625rem; /* 250px - Using rem */
  border-top-right-radius: 2.5rem; /* 40px - Matching card */
  border-bottom-left-radius: 2.5rem; /* 40px - Matching card */
  overflow: hidden;
  background-color: var(--color-light-gray-3);
}

.journal-news-section .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.journal-news-section .news-article-card:hover .article-image img {
  transform: scale(1.05);
}

/* Article Content - Better spacing */
.journal-news-section .article-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem; /* 24px - Added gap for consistent spacing */
  min-height: 9.375rem; /* 150px - Using rem */
}

.journal-news-section .article-text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* 12px - Consistent spacing between elements */
}

/* Article Title - Improved typography */
.journal-news-section .article-title {
  font-size: 1.25rem; /* 20px - Reduced from 22px for better hierarchy */
  font-weight: 700;
  color: var(--color-black);
  margin: 0;
  line-height: 1.4; /* Improved from 1.3 for better readability */
  letter-spacing: -0.01em;
  text-transform: uppercase; /* Matches the all-caps style in HTML */
}

/* Article Description - Enhanced readability */
.journal-news-section .article-description {
  font-size: 1rem; /* 16px - Reduced from 18px for better hierarchy */
  font-weight: 400; /* Normalized from 500 */
  color: var(--color-gray-1);
  line-height: 1.65; /* Improved from 1.5 for better readability */
  margin: 0;
}

/* Read More Button - Improved spacing and sizing */
.journal-news-section .read-more-btn {
  background-color: var(--color-dark-blue);
  color: var(--color-white);
  text-decoration: none;
  padding: 0.625rem 1.5rem; /* 10px 24px - Increased horizontal padding */
  align-self: flex-end; /* Better than margin-left: auto */
  border-radius: 0.25rem; /* 4px - Using rem */
  font-size: 0.875rem; /* 14px - Using rem */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em; /* Improved from 0.5px */
  transition: background-color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.journal-news-section .read-more-btn:hover {
  background-color: var(--color-teal);
  transform: translateY(-0.0625rem); /* 1px - Using rem */
}

.journal-news-section .read-more-btn:active {
  transform: translateY(0);
}

/* View More Container - Improved spacing */
.journal-news-section .view-more-container {
  text-align: center;
  margin-top: 1rem; /* 16px - Added top margin */
}

.journal-news-section .view-more-link {
  color: var(--color-white);
  background-color: var(--color-mint);
  text-decoration: none;
  font-size: 1rem; /* 16px - Reduced from 18px */
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem; /* 8px - Using rem */
  transition: background-color 0.2s ease, transform 0.2s ease;
  padding: 0.75rem 1.5rem; /* 12px 24px - Increased from 8px 16px */
  border-radius: 0.875rem; /* 14px - Using rem */
}

.journal-news-section .view-more-link:hover {
  background-color: var(--color-teal);
  transform: translateY(-0.125rem); /* 2px - Using rem */
}

.journal-news-section .view-more-link:active {
  transform: translateY(0);
}

/* ================== Media Queries ================== */
/* Tablet (768px - 1023px) */
@media screen and (max-width: 1023px) and (min-width: 768px) {
  /* Article Section - Tablet */
  .article-section {
    padding: 20px 0;
  }

  .article__container {
    padding: 20px 16px;
  }

  .article__hero-bar {
    padding: 20px 0;
    margin: 6px 0 18px;
  }

  .article__hero-bar h1 {
    font-size: 36px;
    line-height: 1.3;
  }

  .article__lead {
    font-size: 15px;
    line-height: 1.7;
  }

  .article__hero-media {
    margin: 20px 0 30px;
  }

  .article__share-rail {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
    gap: 12px;
  }

  .article__share-rail a {
    width: 35px;
    height: 35px;
  }

  .article__section-title {
    font-size: 24px;
    margin: 25px 0 8px;
  }

  .article__content p {
    font-size: 18px;
    line-height: 1.7;
  }

  .article__content ol li,
  .article__content ul li {
    font-size: 18px;
  }

  .article__comments-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
  }

  .article__comments-title {
    font-size: 48px;
  }

  .article__btn-outline {
    padding: 8px 20px;
    font-size: 14px;
  }

  .article__comment-card {
    padding: 18px;
    gap: 14px;
  }

  .article__avatar {
    width: 48px;
    height: 48px;
  }

  .article__comment-body h4 {
    font-size: 32px;
  }

  .article__comment-meta {
    font-size: 13px;
  }

  .article__comment-text {
    font-size: 16px;
  }

  .article__reply-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article__reply-title {
    font-size: 48px;
  }

  .article__input,
  .article__textarea {
    padding: 10px 8px;
    font-size: 14px;
  }

  .article__textarea {
    height: 100px;
  }

  .article__accept {
    font-size: 14px;
  }

  .article__btn-primary {
    padding: 12px 20px;
    font-size: 18px;
  }

  /* Latest News Section - Tablet */
  .news-section {
    padding-bottom: 30px;
  }

  .news-section .container {
    padding: 0 16px;
  }

  .news-section .news__section-title {
    font-size: 36px;
    margin-bottom: 14px;
  }

  .news-section .news__section-subtitle {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .news-section .news__grid {
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .news-section .news__card {
    flex: 0 0 calc(50% - 12.5px);
    min-width: calc(50% - 12.5px);
  }

  .news-section .news__image {
    height: 160px;
  }

  .news-section .news__content {
    padding: 24px 20px;
  }

  .news-section .news__day {
    font-size: 28px;
  }

  .news-section .news__month {
    font-size: 12px;
  }

  .news-section .news__title {
    font-size: 20px;
  }

  .news-section .news__text {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .news-section .news__link {
    font-size: 14px;
  }

  /* Journal News Section - Tablet */
  .journal-news-section {
    padding: 3rem 0; /* 48px */
  }

  .journal-news-section .journal-news-header {
    margin-bottom: 2.5rem; /* 40px */
  }

  .journal-news-section .journal-news-title {
    font-size: 2.25rem; /* 36px */
  }

  .journal-news-section .journal-news-subtitle {
    font-size: 1.0625rem; /* 17px */
  }

  .journal-news-section .journal-news-grid {
    gap: 1.75rem; /* 28px */
    margin-bottom: 2.5rem; /* 40px */
  }

  .journal-news-section .news-article-card {
    padding: 1.75rem; /* 28px */
    gap: 1.5rem; /* 24px */
  }

  .journal-news-section .article-image {
    width: 16.25rem; /* 260px */
    height: 13.75rem; /* 220px */
  }

  .journal-news-section .article-title {
    font-size: 1.1875rem; /* 19px */
  }

  .journal-news-section .article-description {
    font-size: 0.9375rem; /* 15px */
  }

  .journal-news-section .read-more-btn {
    padding: 0.5625rem 1.375rem; /* 9px 22px */
    font-size: 0.8125rem; /* 13px */
  }

  .journal-news-section .view-more-link {
    font-size: 0.9375rem; /* 15px */
    padding: 0.6875rem 1.375rem; /* 11px 22px */
  }

  /* Search Course Section - Tablet */
  .search-course-section .search-course-content {
    padding: 30px 60px 30px 40px;
    min-height: 220px;
  }

  .search-course-section .search-course-title {
    font-size: 36px;
    margin-bottom: 16px;
    position: relative;
    z-index: 100;
  }

  .search-course-section .course-type-options {
    gap: 30px;
    margin-bottom: 16px;
  }

  .search-course-section .search-course-form {
    max-width: 100%;
    width: 100%;
  }

  .search-course-section .search-input,
  .search-course-section .find-courses-btn {
    padding: 14px 20px;
    font-size: 15px;
  }

  /* Learning Section - Tablet */
  .learning-wrap {
    margin: 30px auto 50px;
    padding: 0 20px;
  }

  .learning-wrap .learning-grid {
    gap: 30px;
    flex-direction: column;
  }

  .learning-wrap .learning-title {
    font-size: 42px;
    margin-bottom: 8px;
  }

  .learning-wrap .learning-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .learning-wrap .learning-tiles {
    gap: 20px;
    max-width: 100%;
    justify-content: center;
  }

  .learning-wrap .learning-tile {
    height: 130px;
    padding: 20px 50px;
  }

  .learning-wrap .learning-tile svg {
    width: 48px;
    height: 48px;
  }

  .learning-wrap .learning-tile-caption {
    font-size: 18px;
  }

  .learning-wrap .learning-portraits {
    gap: 20px;
    justify-content: center;
  }

  .learning-wrap .portraits-column {
    height: 500px;
    flex: 0 0 calc(50% - 10px);
  }

  .learning-wrap .learning-face {
    height: 130px;
  }

  .learning-wrap .learning-face.learning-face-tall {
    height: 256px;
  }

  .learning-wrap .learning-face.learning-face-short {
    height: 100px;
  }

  /* Testimonials Section - Tablet */
  .testimonials-section {
    margin-top: 50px;
  }

  .testimonials-section .testimonial-content {
    padding: 30px 20px;
    border-top-right-radius: 120px;
    border-bottom-left-radius: 100px;
  }

  .testimonials-section .testimonials-title {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .testimonials-section .testimonials-grid {
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
  }

  .testimonials-section .testimonial-card {
    min-width: 280px;
    max-width: 280px;
  }

  .testimonials-section .testimonial-text {
    font-size: 16px;
  }

  .testimonials-section .author-name {
    font-size: 18px;
  }

  .testimonials-section .author-degree {
    font-size: 14px;
  }

  /* Contact Section - Tablet */
  .contact-us-section {
    padding: 30px 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-left {
    padding-right: 0;
  }

  .contact-title {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .contact-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .contact-right .form-title {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .contact-right .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-right .form-input,
  .contact-right .form-textarea,
  .contact-right .form-select {
    padding: 12px 16px;
    font-size: 15px;
  }

  .contact-right .submit-button {
    padding: 14px 28px;
    font-size: 15px;
  }

  /* Footer - Tablet */
  .footer {
    padding: 40px 0 30px 0;
  }

  .footer-content {
    gap: 40px;
    flex-wrap: wrap;
  }

  .footer-brand {
    flex: 0 0 100%;
    align-items: center;
    text-align: center;
  }

  .footer-title {
    font-size: 36px;
  }

  .footer-tagline {
    font-size: 14px;
  }

  .footer-tagline::before,
  .footer-tagline::after {
    width: 40px;
  }

  .footer-tagline::before {
    left: -50px;
  }

  .footer-tagline::after {
    right: -50px;
  }

  .footer .footer-nav,
  .footer .footer-products {
    flex: 1;
    min-width: 200px;
  }

  .footer .footer-bottom-content {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* Mobile (max-width: 767px) */
@media screen and (max-width: 767px) {
  /* Show mobile menu button */
  .mobile-menu-btn {
    display: block;
  }

  /* Hide desktop header actions */
  .header .header-actions {
    display: none;
  }

  /* Hide desktop navigation */
  .header .nav-container {
    display: none;
  }

  /* Article Section - Mobile */
  .article-section {
    padding: 15px 0;
  }

  .article__container {
    padding: 15px 12px;
  }

  .article__hero-bar {
    padding: 16px 0;
    margin: 4px 0 15px;
  }

  .article__hero-bar h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .article__lead {
    font-size: 14px;
    line-height: 1.6;
  }

  .article__hero-media {
    margin: 15px 0 25px;
  }

  .article__share-rail {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
  }

  .article__share-rail a {
    width: 32px;
    height: 32px;
  }

  .article__container h2,
  .article__container h3,
  .article__container h4,
  .article__container h5,
  .article__container h6 {
    font-size: 20px;
    margin: 20px 0 6px;
  }

  .article__content p {
    font-size: 16px;
    line-height: 1.6;
  }

  .article__content ol li,
  .article__content ul li {
    font-size: 16px;
  }

  .article__comments-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
  }

  .article__comments-title {
    font-size: 36px;
  }

  .article__btn-outline {
    padding: 6px 16px;
    font-size: 12px;
  }

  .article__comment-card {
    padding: 14px;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .article__avatar {
    width: 40px;
    height: 40px;
  }

  .article__comment-body h4 {
    font-size: 24px;
  }

  .article__comment-meta {
    font-size: 12px;
  }

  .article__comment-text {
    font-size: 14px;
  }

  .article__reply-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article__reply-title {
    font-size: 36px;
  }

  .article__input,
  .article__textarea {
    padding: 8px 6px;
    font-size: 13px;
  }

  .article__textarea {
    height: 80px;
  }

  .article__accept {
    font-size: 12px;
  }

  .article__btn-primary {
    padding: 10px 16px;
    font-size: 14px;
  }

  /* Latest News Section - Mobile */
  .news-section {
    padding-bottom: 25px;
  }

  .news-section .container {
    padding: 0 12px;
  }

  .news-section .news__section-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .news-section .news__section-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .news-section .news__grid {
    flex-direction: column;
    gap: 20px;
  }

  .news-section .news__card {
    width: 100%;
  }

  .news-section .news__image {
    height: 140px;
  }

  .news-section .news__content {
    padding: 20px 16px;
  }

  .news-section .news__day {
    font-size: 24px;
  }

  .news-section .news__month {
    font-size: 11px;
  }

  .news-section .news__title {
    font-size: 18px;
  }

  .news-section .news__text {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .news-section .news__link {
    font-size: 13px;
  }

  /* Journal News Section - Mobile */
  .journal-news-section {
    padding: 2.5rem 0; /* 40px - Reduced from 60px */
  }

  .journal-news-section .journal-news-header {
    margin-bottom: 2rem; /* 32px - Reduced from 48px */
  }

  .journal-news-section .journal-news-title {
    font-size: 1.75rem; /* 28px - Reduced from 40px */
    margin-bottom: 0.5rem; /* 8px */
  }

  .journal-news-section .journal-news-subtitle {
    font-size: 1rem; /* 16px - Reduced from 18px */
  }

  .journal-news-section .journal-news-grid {
    gap: 1.5rem; /* 24px - Reduced from 32px */
    margin-bottom: 2rem; /* 32px - Reduced from 48px */
  }

  .journal-news-section .news-article-card {
    flex-direction: column; /* Stack vertically on mobile */
    padding: 1.5rem; /* 24px - Reduced from 32px */
    gap: 1.25rem; /* 20px - Reduced from 32px */
    border-top-right-radius: 2rem; /* 32px */
    border-bottom-left-radius: 2rem; /* 32px */
  }

  .journal-news-section .article-image {
    width: 100%; /* Full width on mobile */
    height: 12.5rem; /* 200px - Reduced from 250px */
    border-top-right-radius: 2rem; /* 32px */
    border-bottom-left-radius: 2rem; /* 32px */
  }

  .journal-news-section .article-content {
    gap: 1rem; /* 16px - Reduced from 24px */
    min-height: auto; /* Remove fixed height on mobile */
  }

  .journal-news-section .article-text-content {
    gap: 0.625rem; /* 10px - Reduced from 12px */
  }

  .journal-news-section .article-title {
    font-size: 1.125rem; /* 18px - Reduced from 20px */
    line-height: 1.35;
  }

  .journal-news-section .article-description {
    font-size: 0.9375rem; /* 15px - Reduced from 16px */
    line-height: 1.6;
  }

  .journal-news-section .read-more-btn {
    padding: 0.5rem 1.25rem; /* 8px 20px - Slightly reduced */
    font-size: 0.8125rem; /* 13px - Reduced from 14px */
    align-self: flex-start; /* Left-align on mobile */
  }

  .journal-news-section .view-more-link {
    font-size: 0.9375rem; /* 15px - Reduced from 16px */
    padding: 0.625rem 1.25rem; /* 10px 20px - Reduced */
  }

  /* Search Course Section - Mobile */
  .search-course-section {
    margin-top: 20px;
  }

  .search-course-section .search-course-content {
    padding: 25px 20px;
    min-height: auto;
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
  }

  .search-course-section .search-course-content::before {
    width: 100px;
    height: 130px;
    opacity: 0.6;
  }

  .search-course-section .search-course-title {
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.3;
    position: relative;
    z-index: 100;
  }

  .search-course-section .course-type-options {
    gap: 20px;
    margin-bottom: 15px;
    flex-direction: column;
  }

  .search-course-section .radio-option {
    font-size: 16px;
  }

  .search-course-section .search-course-form {
    flex-direction: column;
    max-width: 100%;
    gap: 12px;
  }

  .search-course-section .search-input {
    border-radius: 4px;
    padding: 14px 16px;
  }

  .search-course-section .find-courses-btn {
    border-radius: 4px;
    padding: 14px 20px;
    font-size: 15px;
  }

  .search-course-section .browse-link {
    font-size: 16px;
  }

  /* Learning Section - Mobile */
  .learning-wrap {
    margin: 25px auto 40px;
    padding: 0 16px;
  }

  .learning-wrap .learning-grid {
    gap: 30px;
    flex-direction: column;
  }

  .learning-wrap .learning-title {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .learning-wrap .learning-subtitle {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .learning-wrap .learning-tiles {
    gap: 16px;
    justify-content: center;
  }

  .learning-wrap .learning-tile {
    height: 110px;
    padding: 16px 35px;
    border-radius: 0 35px 0 20px;
  }

  .learning-wrap .learning-tile svg {
    width: 40px;
    height: 40px;
  }

  .learning-wrap .learning-tile-caption {
    font-size: 16px;
    margin-top: 8px;
  }

  .learning-wrap .learning-portraits {
    flex-direction: row;
    gap: 12px;
    width: 100%;
  }

  .learning-wrap .portraits-column {
    height: 400px;
    flex: 1;
    width: calc(50% - 6px);
  }

  .learning-wrap .learning-face {
    height: 100px;
    border-radius: 16px;
  }

  .learning-wrap .learning-face.learning-face-tall {
    height: 256px;
  }

  .learning-wrap .learning-face.learning-face-short {
    height: 80px;
  }

  /* Testimonials Section - Mobile */
  .testimonials-section {
    margin-top: 40px;
  }

  .testimonials-section .testimonial-content {
    padding: 25px 16px;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
  }

  .testimonials-section .testimonial-content::before {
    width: 250px;
    height: 320px;
    opacity: 0.08;
  }

  .testimonials-section .testimonials-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .testimonials-section .testimonials-grid {
    flex-direction: column;
    gap: 25px;
    overflow-x: visible;
  }

  .testimonials-section .testimonial-card {
    max-width: 100%;
  }

  .testimonials-section .quote-icon svg,
  .testimonials-section .quote-icon-bottom svg {
    width: 50px;
    height: 32px;
  }

  .testimonials-section .testimonial-text {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  .testimonials-section .author-avatar img {
    width: 50px;
    height: 50px;
  }

  .testimonials-section .author-name {
    font-size: 16px;
  }

  .testimonials-section .author-degree {
    font-size: 13px;
  }

  /* Contact Section - Mobile */
  .contact-us-section {
    padding: 25px 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-left {
    padding-right: 0;
  }

  .contact-title {
    font-size: 28px;
    margin-bottom: 16px;
    line-height: 1.3;
  }

  .contact-subtitle {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .contact-info {
    gap: 12px;
  }

  .contact-email,
  .contact-phone {
    font-size: 16px;
  }

  .contact-right .form-title {
    font-size: 17px;
    margin-bottom: 20px;
  }

  .contact-right .contact-form {
    gap: 16px;
  }

  .contact-right .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-right .form-input,
  .contact-right .form-textarea,
  .contact-right .form-select {
    padding: 12px 16px;
    font-size: 15px;
  }

  .contact-right .form-select {
    padding-right: 40px;
  }

  .contact-right .form-textarea {
    min-height: 80px;
  }

  .contact-right .submit-button {
    padding: 14px 24px;
    font-size: 15px;
  }

  /* Footer - Mobile */
  .footer {
    padding: 30px 0 25px 0;
  }

  .footer-content {
    gap: 30px;
    flex-direction: column;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-title {
    font-size: 32px;
  }

  .footer-tagline {
    font-size: 14px;
  }

  .footer-tagline::before,
  .footer-tagline::after {
    width: 30px;
  }

  .footer-tagline::before {
    left: -40px;
  }

  .footer-tagline::after {
    right: -40px;
  }

  .footer .footer-nav,
  .footer .footer-products {
    width: 100%;
  }

  .footer .nav-section,
  .footer .product-section {
    align-items: center;
    text-align: center;
  }

  .footer .nav-title,
  .footer .product-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .footer .nav-list,
  .footer .product-list {
    align-items: center;
  }

  .footer .nav-link,
  .footer .product-link {
    font-size: 13px;
  }

  .footer .footer-bottom {
    padding-top: 25px;
  }

  .footer .footer-bottom-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer .footer-social {
    order: -1;
    margin-bottom: 16px;
  }

  .footer .footer-copyright {
    align-items: center;
  }

  .footer .footer-copyright p {
    font-size: 12px;
  }

  .footer .footer-legal-links {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer .legal-link {
    font-size: 12px;
  }

  .footer .separator {
    font-size: 12px;
  }

  .footer .footer-social {
    gap: 12px;
  }

  .footer .social-link {
    width: 36px;
    height: 36px;
  }

  .footer .social-link svg {
    width: 18px;
    height: 18px;
  }
}

/* Small Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
  /* Search Course Section - Small Mobile */
  .search-course-section .search-course-title {
    font-size: 24px;
    position: relative;
    z-index: 100;
  }

  .search-course-section .radio-option {
    font-size: 15px;
  }

  .search-course-section .search-input,
  .search-course-section .find-courses-btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  /* Journal News Section - Small Mobile */
  .journal-news-section {
    padding: 2rem 0; /* 32px */
  }

  .journal-news-section .journal-news-header {
    margin-bottom: 1.5rem; /* 24px */
  }

  .journal-news-section .journal-news-title {
    font-size: 1.5rem; /* 24px */
    margin-bottom: 0.5rem; /* 8px */
  }

  .journal-news-section .journal-news-subtitle {
    font-size: 0.9375rem; /* 15px */
  }

  .journal-news-section .journal-news-grid {
    gap: 1.25rem; /* 20px */
    margin-bottom: 1.5rem; /* 24px */
  }

  .journal-news-section .news-article-card {
    padding: 1.25rem; /* 20px */
    gap: 1rem; /* 16px */
    border-top-right-radius: 1.75rem; /* 28px */
    border-bottom-left-radius: 1.75rem; /* 28px */
  }

  .journal-news-section .article-image {
    height: 11.25rem; /* 180px */
    border-top-right-radius: 1.75rem; /* 28px */
    border-bottom-left-radius: 1.75rem; /* 28px */
  }

  .journal-news-section .article-content {
    gap: 0.875rem; /* 14px */
  }

  .journal-news-section .article-text-content {
    gap: 0.5rem; /* 8px */
  }

  .journal-news-section .article-title {
    font-size: 1rem; /* 16px */
    line-height: 1.4;
  }

  .journal-news-section .article-description {
    font-size: 0.875rem; /* 14px */
    line-height: 1.55;
  }

  .journal-news-section .read-more-btn {
    padding: 0.5rem 1rem; /* 8px 16px */
    font-size: 0.75rem; /* 12px */
  }

  .journal-news-section .view-more-link {
    font-size: 0.875rem; /* 14px */
    padding: 0.5625rem 1.125rem; /* 9px 18px */
  }

  /* Learning Section - Small Mobile */
  .learning-wrap .learning-title {
    font-size: 28px;
  }

  .learning-wrap .learning-tile {
    height: 95px;
    padding: 12px 25px;
    border-radius: 0 25px 0 15px;
  }

  .learning-wrap .learning-tile svg {
    width: 35px;
    height: 35px;
  }

  .learning-wrap .learning-tile-caption {
    font-size: 14px;
  }

  .learning-wrap .learning-portraits {
    gap: 8px;
    width: 100%;
  }

  .learning-wrap .portraits-column {
    height: 350px;
    flex: 1;
    width: calc(50% - 4px);
  }

  .learning-wrap .learning-face {
    height: 85px;
    border-radius: 12px;
  }

  .learning-wrap .learning-face.learning-face-tall {
    height: 256px;
  }

  .learning-wrap .learning-face.learning-face-short {
    height: 70px;
  }

  /* Testimonials Section - Small Mobile */
  .testimonials-section .testimonials-title {
    font-size: 24px;
  }

  .testimonials-section .testimonial-text {
    font-size: 14px;
  }

  /* Contact Section - Small Mobile */
  .contact-title {
    font-size: 24px;
  }

  .contact-subtitle {
    font-size: 14px;
  }

  .contact-email,
  .contact-phone {
    font-size: 15px;
  }

  .contact-right .form-input,
  .contact-right .form-textarea,
  .contact-right .form-select {
    font-size: 14px;
  }

  /* Footer - Small Mobile */
  .footer-title {
    font-size: 28px;
  }

  .footer-tagline::before,
  .footer-tagline::after {
    width: 20px;
    top: 12px;
  }

  .footer-tagline::before {
    left: -25px;
  }

  .footer-tagline::after {
    right: -25px;
  }

  .footer .nav-link,
  .footer .product-link {
    font-size: 12px;
  }

  .footer .social-link {
    width: 32px;
    height: 32px;
  }

  .footer .social-link svg {
    width: 16px;
    height: 16px;
  }
}

/* ================== Article & News Section Responsive ================== */

/* Tablet and below (max-width: 1024px) */
@media screen and (max-width: 1024px) {
  /* Article Section - Tablet */
  .article__hero-bar h1 {
    font-size: 2.25rem; /* 36px */
  }

  .article__container h2,
  .article__container h3,
  .article__container h4,
  .article__container h5,
  .article__container h6 {
    font-size: 1.5rem; /* 24px */
    margin: 2rem 0 0.875rem;
  }

  .article__comments-title,
  .article__reply-title {
    font-size: 2rem; /* 32px */
  }

  .article__share-rail {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 0.75rem;
  }

  .article__reply-grid {
    gap: 2rem;
  }

  /* News Section - Tablet */
  .news-section .news__grid {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .news-section .news__card {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 280px;
  }
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
  /* Article Section - Mobile */
  .article__container {
    padding: 1.5rem 1rem;
  }

  .article__hero-bar {
    padding: 1.5rem 0;
    margin: 0.5rem 0 1rem;
  }

  .article__hero-bar h1 {
    font-size: 1.75rem; /* 28px */
    line-height: 1.25;
  }

  .article__lead {
    font-size: 1rem; /* 16px */
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .article__hero-media {
    margin: 1.5rem 0 2rem;
  }

  .article__container h2,
  .article__container h3,
  .article__container h4,
  .article__container h5,
  .article__container h6 {
    font-size: 1.375rem; /* 22px */
    margin: 2rem 0 0.75rem;
  }

  .article__content p {
    font-size: 1rem; /* 16px */
    line-height: 1.65;
    margin-bottom: 1.25rem;
  }

  .article__content ul {
    padding-left: 1.25rem;
    margin: 0.875rem 0 1.25rem;
  }

  .article__content ol {
    padding-left: 1.25rem;
    margin: 0.875rem 0 1.25rem;
  }

  .article__content ol li,
  .article__content ul li {
    font-size: 1rem; /* 16px */
    margin: 0.375rem 0;
  }

  .article__divider {
    margin: 2rem 0;
  }

  .article__comments-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .article__comments-title {
    font-size: 1.75rem; /* 28px */
  }

  .article__btn-outline {
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem; /* 15px */
  }

  .article__comment-card {
    padding: 1.25rem;
    gap: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .article__avatar {
    width: 3rem; /* 48px */
    height: 3rem;
    font-size: 1rem;
  }

  .article__comment-body h4 {
    font-size: 1.125rem; /* 18px */
  }

  .article__comment-meta {
    font-size: 0.8125rem; /* 13px */
  }

  .article__comment-text {
    font-size: 0.9375rem; /* 15px */
  }

  .article__reply-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem auto;
  }

  .article__reply-title {
    font-size: 1.75rem; /* 28px */
    margin-bottom: 1.25rem;
  }

  .article__form label {
    font-size: 0.8125rem; /* 13px */
  }

  .article__input,
  .article__textarea {
    padding: 0.625rem 0.5rem;
    font-size: 0.9375rem; /* 15px */
  }

  .article__accept {
    font-size: 0.875rem; /* 14px */
    gap: 0.625rem;
  }

  .article__btn-primary {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem; /* 15px */
  }

  /* News Section - Mobile */
  .news-section {
    padding: 2rem 0;
  }

  .news-section .container {
    padding: 0 1rem;
  }

  .news-section .news__section-title {
    font-size: 1.75rem; /* 28px */
    margin-bottom: 0.75rem;
  }

  .news-section .news__section-subtitle {
    font-size: 1rem; /* 16px */
    margin-bottom: 1.5rem;
  }

  .news-section .news__grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .news-section .news__card {
    flex: 1 1 100%;
  }

  .news-section .news__content {
    padding: 1.5rem 1.25rem;
  }

  .news-section .news__header {
    gap: 0.625rem;
    margin-bottom: 0.875rem;
  }

  .news-section .news__date {
    padding-right: 0.625rem;
    min-width: 2.5rem;
  }

  .news-section .news__day {
    font-size: 1.5rem; /* 24px */
  }

  .news-section .news__month {
    font-size: 0.6875rem; /* 11px */
  }

  .news-section .news__title {
    font-size: 1.125rem; /* 18px */
  }

  .news-section .news__text {
    font-size: 0.875rem; /* 14px */
    margin-bottom: 1.25rem;
  }

  .news-section .news__link {
    font-size: 0.875rem; /* 14px */
  }
}

/* Small Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
  /* Article Section - Small Mobile */
  .article__container {
    padding: 1rem 0.875rem;
  }

  .article__hero-bar h1 {
    font-size: 1.5rem; /* 24px */
  }

  .article__lead {
    font-size: 0.9375rem; /* 15px */
  }

  .article__container h2,
  .article__container h3,
  .article__container h4,
  .article__container h5,
  .article__container h6 {
    font-size: 1.25rem; /* 20px */
    margin: 1.5rem 0 0.625rem;
  }

  .article__body-text,
  .article__content ol li,
  .article__content ul li {
    font-size: 0.9375rem; /* 15px */
  }

  .article__comments-title,
  .article__reply-title {
    font-size: 1.5rem; /* 24px */
  }

  .article__comment-card {
    padding: 1rem;
  }

  .article__avatar {
    width: 2.5rem; /* 40px */
    height: 2.5rem;
    font-size: 0.875rem;
  }

  .article__comment-body h4 {
    font-size: 1rem; /* 16px */
  }

  /* News Section - Small Mobile */
  .news-section .news__section-title {
    font-size: 1.5rem; /* 24px */
  }

  .news-section .news__content {
    padding: 1.25rem 1rem;
  }

  .news-section .news__day {
    font-size: 1.375rem; /* 22px */
  }

  .news-section .news__title {
    font-size: 1rem; /* 16px */
  }

  .news-section .news__text {
    font-size: 0.8125rem; /* 13px */
  }
}

/* Desktop enhancements (min-width: 1200px) */
@media screen and (min-width: 1200px) {
  /* Article Section - Desktop */
  .article__hero-bar h1 {
    font-size: 3rem; /* 48px */
  }

  .article__lead {
    font-size: 1.25rem; /* 20px */
  }

  .article__container h2,
  .article__container h3 {
    font-size: 2rem; /* 32px */
  }

  .article__container h4,
  .article__container h5 {
    font-size: 1.5rem; 
  }

    .article__container h6 {
    font-size: 1.25rem; 
  }

  /* News Section - Desktop */
  .news-section .news__section-title {
    font-size: 3rem; /* 48px */
  }

  .news-section .news__title {
    font-size: 1.375rem; /* 22px */
  }
}

/* ================== Index Sections Responsive ================== */

/* Tablet (max-width: 1024px) */
@media screen and (max-width: 1024px) {
  .search-course-section .search-course-content {
    flex-direction: column;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 2rem;
    min-height: auto;
  }

  .search-course-section .search-course-right {
    display: none;
  }

  .search-course-section .search-course-form {
    margin: 0 auto 1.5rem;
    width: 100%;
  }

  .search-course-section .course-type-options {
    justify-content: center;
  }

  .learning-wrap .learning-grid {
    flex-direction: column;
    gap: 3rem;
  }

  .learning-wrap .learning-tiles {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .learning-wrap .learning-tile {
    width: 100%;
    height: auto;
    min-height: 140px;
    padding: 1.5rem;
    border-radius: 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .learning-wrap .learning-tile svg {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
  }

  .learning-wrap .learning-tile-caption {
    font-size: 1.125rem;
  }

  .learning-wrap .portraits-column {
    height: 300px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-left {
    padding-right: 0;
    text-align: center;
  }

  .contact-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
  .search-course-section {
    margin-top: 2rem;
  }

  .search-course-section .search-course-title {
    font-size: 2rem;
    position: relative;
    z-index: 100;
  }

  .learning-wrap {
    margin: 3rem auto 4rem;
    padding: 0 1.25rem;
  }

  .learning-wrap .learning-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .learning-wrap .learning-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .learning-wrap .learning-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .learning-wrap .learning-tile {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 1rem;
    min-height: 140px;
    border-radius: 1rem;
    gap: 0.5rem;
  }

  .learning-wrap .learning-tile svg {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
  }

  .learning-wrap .learning-tile-caption {
    margin: 0;
    font-size: 1rem;
    text-align: center;
    line-height: 1.3;
  }

  .learning-wrap .learning-portraits {
    display: flex;
    margin-top: 2rem;
  }

  .learning-wrap .portraits-column {
    height: 250px;
  }

  .testimonials-section .testimonial-content {
    padding: 3rem 1.5rem;
    border-radius: 2rem;
  }

  .testimonials-section .testimonials-title {
    font-size: 2rem;
  }

  .testimonials-section .testimonials-grid {
    flex-direction: column;
    align-items: center;
  }

  .testimonials-section .testimonial-card {
    max-width: 100%;
    min-height: auto;
  }

  .contact-title {
    font-size: 2.5rem;
  }

  .contact-right .form-row {
    grid-template-columns: 1fr;
  }
}

/* ========== 404 Page ========== */
.error-page {
  background: #f7f9fd;
  color: var(--color-dark-gray-2);
}

.error-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 140px;
  background: linear-gradient(120deg, #eef3fb 0%, #f8fbff 45%, #eef6f3 100%);
}

.error-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.error-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.error-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(36, 40, 92, 0.08);
  color: var(--color-dark-blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.error-title {
  font-size: clamp(2.5rem, 3vw + 1rem, 3.8rem);
  line-height: 1.1;
  color: var(--color-dark-gray-1);
  margin: 1rem 0 1.25rem;
}

.error-subtitle {
  color: #4b5563;
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 1.75rem;
}

.error-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.error-btn--solid {
  background: linear-gradient(120deg, var(--color-dark-blue), #1e5f7c);
  color: var(--color-white);
  box-shadow: 0 18px 40px rgba(36, 40, 92, 0.2);
}

.error-btn--solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 46px rgba(36, 40, 92, 0.3);
}

.error-btn--ghost {
  border-color: rgba(36, 40, 92, 0.18);
  color: var(--color-dark-blue);
  background: rgba(255, 255, 255, 0.7);
}

.error-btn--ghost:hover {
  border-color: var(--color-dark-blue);
  background: var(--color-white);
  box-shadow: 0 12px 28px rgba(30, 95, 124, 0.18);
}

.error-search-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: var(--color-white);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.05);
}

.error-search-form input {
  flex: 1;
  border: none;
  font-size: 1rem;
  padding: 0.8rem 0.5rem;
  color: var(--color-dark-gray-1);
  background: transparent;
}

.error-search-form input:focus {
  outline: none;
}

.error-search-form button {
  border: none;
  background: var(--color-teal);
  color: var(--color-white);
  padding: 0.85rem 1.3rem;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.error-search-form button:hover {
  background: #1f564d;
  box-shadow: 0 10px 24px rgba(39, 107, 97, 0.2);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.error-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.error-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(36, 40, 92, 0.07);
  color: #374151;
  font-weight: 600;
}

.error-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-teal);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(39, 107, 97, 0.18);
}

.error-panel {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e3e8f5;
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(23, 43, 77, 0.16);
  backdrop-filter: blur(6px);
}

.error-number {
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 800;
  line-height: 0.9;
  color: rgba(36, 40, 92, 0.13);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.error-panel__eyebrow {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  color: var(--color-dark-blue);
  margin-bottom: 0.35rem;
}

.error-panel__text {
  color: #374151;
  margin-bottom: 1rem;
  font-weight: 600;
}

.error-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.error-list li a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  color: var(--color-dark-gray-2);
  background: rgba(233, 238, 246, 0.6);
  transition: all 0.2s ease;
  font-weight: 600;
}

.error-list li a:hover {
  color: var(--color-dark-blue);
  transform: translateX(4px);
  background: rgba(36, 40, 92, 0.08);
}

.error-ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  z-index: 0;
}

.error-ambient--mint {
  width: 360px;
  height: 360px;
  background: rgba(123, 206, 194, 0.38);
  top: -80px;
  right: 6%;
}

.error-ambient--blue {
  width: 420px;
  height: 420px;
  background: rgba(36, 40, 92, 0.18);
  bottom: -140px;
  left: -80px;
}

.error-suggestions {
  padding: 90px 0;
  background: #f6f8fc;
}

.error-suggestions__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.error-suggestions__header h2 {
  font-size: 2.25rem;
  color: var(--color-dark-gray-1);
}

.error-suggestions__header p {
  color: #4b5563;
  font-weight: 600;
}

.error-suggestions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.error-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--color-white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.error-card__date {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(160deg, #1e5f7c, var(--color-dark-blue));
  color: var(--color-white);
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
}

.error-card__day {
  font-size: 1.35rem;
}

.error-card__month {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.error-card__content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.error-card__content h3 a {
  color: var(--color-dark-gray-1);
  transition: color 0.2s ease;
}

.error-card__content h3 a:hover {
  color: var(--color-dark-blue);
}

.error-card__content p {
  margin: 0 0 0.75rem;
  color: #4b5563;
  font-size: 0.98rem;
}

.error-card__link {
  color: var(--color-dark-blue);
  font-weight: 700;
  text-decoration: none;
}

.error-card__link:hover {
  text-decoration: underline;
}

@media screen and (max-width: 1024px) {
  .error-grid {
    grid-template-columns: 1fr;
  }

  .error-panel {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .error-hero {
    padding: 90px 0 110px;
  }

  .error-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .error-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .error-search-form button {
    width: 100%;
    text-align: center;
  }

  .error-suggestions__header {
    flex-direction: column;
    align-items: flex-start;
  }

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

.blog-page {
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 55%, #f8fbff 100%);
}

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 90px;
}

.blog-hero__ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.8;
}

.blog-hero__ambient--sunrise {
  width: 320px;
  height: 320px;
  background: rgba(36, 40, 92, 0.12);
  top: -60px;
  left: -40px;
}

.blog-hero__ambient--mint {
  width: 240px;
  height: 240px;
  background: rgba(39, 107, 97, 0.14);
  bottom: 10%;
  left: 12%;
}

.blog-hero__ambient--violet {
  width: 320px;
  height: 320px;
  background: rgba(71, 77, 119, 0.14);
  top: 12%;
  right: -10%;
}

.blog-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  z-index: 1;
  background: var(--color-white);
  border-radius: 26px;
  padding: 36px;
  box-shadow: 0 24px 48px rgba(36, 40, 92, 0.14);
  border: 1px solid rgba(36, 40, 92, 0.08);
}

.blog-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-dark-blue);
  font-weight: 800;
}

.blog-hero__title {
  font-size: 2.2rem;
  color: var(--color-dark-gray-1);
  line-height: 1.25;
}

.blog-hero__subtitle {
  color: var(--color-gray-1);
  font-size: 1.04rem;
}

.blog-search {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--color-white);
  padding: 12px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(36, 40, 92, 0.12);
  border: 1px solid rgba(36, 40, 92, 0.08);
}

.blog-search input {
  flex: 1;
  border: 1px solid var(--color-light-gray-2);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 1rem;
}

.blog-search input:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(39, 107, 97, 0.16);
}

.blog-search button {
  border: none;
  background: linear-gradient(120deg, var(--color-dark-blue), #1f6b63);
  color: var(--color-white);
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(36, 40, 92, 0.16);
}

.blog-search--inline {
  box-shadow: none;
  border: 1px solid rgba(36, 40, 92, 0.08);
}

.blog-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.blog-chips__label {
  font-weight: 800;
  color: var(--color-dark-gray-1);
}

.blog-chips__group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(36, 40, 92, 0.08);
  color: var(--color-dark-blue);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-chip:hover {
  background: rgba(39, 107, 97, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(39, 107, 97, 0.18);
}

.blog-chip__dot {
  width: 10px;
  height: 10px;
  background: var(--color-teal);
  border-radius: 50%;
}

.blog-hero__panel {
  position: relative;
}

.blog-hero__panel-inner {
  background: linear-gradient(150deg, var(--color-dark-blue), #1f6b63);
  color: var(--color-white);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 22px 42px rgba(36, 40, 92, 0.22);
  overflow: hidden;
}

.blog-hero__panel-inner::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -70px;
  right: -60px;
}

.blog-hero__panel-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.75);
}

.blog-hero__panel-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.blog-hero__panel-text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.blog-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.blog-hero__stat {
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 12px;
}

.blog-hero__stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
}

.blog-hero__stat-label {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.blog-featured {
  padding: 70px 0 60px;
  background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%);
}

.blog-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.blog-section-head--stack {
  align-items: flex-start;
  flex-direction: column;
}

.blog-section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-1);
  font-weight: 800;
}

.blog-section-title {
  font-size: 1.8rem;
  color: var(--color-dark-gray-1);
  margin-top: 6px;
}

.blog-section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-dark-blue);
  background: rgba(36, 40, 92, 0.08);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
}

.blog-section-link span {
  transition: transform 0.2s ease;
}

.blog-section-link:hover span {
  transform: translateX(4px);
}

.blog-featured__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.blog-featured__card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(36, 40, 92, 0.08);
  box-shadow: 0 12px 28px rgba(36, 40, 92, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-featured__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(36, 40, 92, 0.16);
}

.blog-featured__thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-featured__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #eef2fb, #dfe7fa);
  color: var(--color-dark-blue);
  font-weight: 800;
}

.blog-featured__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-featured__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--color-gray-1);
  font-weight: 700;
}

.blog-featured__date {
  font-size: 0.95rem;
}

.blog-featured__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-light-gray-1);
}

.blog-featured__category {
  color: var(--color-dark-blue);
}

.blog-featured__title {
  font-size: 1.2rem;
  color: var(--color-dark-gray-1);
  line-height: 1.35;
}

.blog-featured__title a {
  color: inherit;
}

.blog-featured__excerpt {
  color: #4b5563;
}

.blog-featured__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-dark-blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-featured__link span {
  transition: transform 0.2s ease;
}

.blog-featured__card:hover .blog-featured__link span {
  transform: translateX(4px);
}

.blog-latest {
  padding: 40px 0 90px;
  background: var(--color-white);
}

.blog-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: rgba(36, 40, 92, 0.08);
  color: var(--color-dark-blue);
  border-radius: 999px;
  font-weight: 800;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(36, 40, 92, 0.08);
  box-shadow: 0 10px 24px rgba(36, 40, 92, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(36, 40, 92, 0.16);
}

.blog-card__thumb {
  height: 180px;
  overflow: hidden;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #eef2fb, #dfe7fa);
  color: var(--color-dark-blue);
  font-weight: 800;
}

.blog-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.92rem;
  color: var(--color-gray-1);
  font-weight: 700;
}

.blog-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-light-gray-1);
}

.blog-card__category {
  color: var(--color-dark-blue);
}

.blog-card__title {
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--color-dark-gray-1);
}

.blog-card__title a {
  color: inherit;
}

.blog-card__excerpt {
  color: #4b5563;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.blog-card__readtime {
  color: var(--color-gray-1);
  font-weight: 700;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-dark-blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card__link span {
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-card__link span {
  transform: translateX(4px);
}

.blog-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--color-light-gray-3);
  color: var(--color-dark-gray-1);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--color-dark-blue);
  color: var(--color-white);
}

.blog-empty {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.blog-empty__card {
  max-width: 620px;
  text-align: center;
  background: linear-gradient(135deg, #f7f9fd, #eef2fb);
  padding: 34px;
  border-radius: 20px;
  border: 1px solid rgba(36, 40, 92, 0.08);
  box-shadow: 0 14px 30px rgba(36, 40, 92, 0.12);
}

.blog-empty__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--color-dark-blue);
  margin-bottom: 8px;
}

.blog-empty__title {
  color: var(--color-dark-gray-1);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.blog-empty__text {
  color: #4b5563;
  margin-bottom: 14px;
}

.blog-empty__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ================== Search Results ================== */
.search-page {
  background: #f6f9fe;
  color: var(--color-gray-2);
}

.search-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 90px;
  background: linear-gradient(145deg, #f8fbff 0%, #eef2fb 100%);
}

.search-hero__ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.6;
}

.search-hero__ambient--mint {
  width: 320px;
  height: 320px;
  background: rgba(123, 206, 194, 0.35);
  top: -60px;
  left: -40px;
}

.search-hero__ambient--blue {
  width: 380px;
  height: 380px;
  background: rgba(36, 40, 92, 0.22);
  bottom: -60px;
  right: -20px;
}

.search-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.search-hero__copy {
  max-width: 720px;
}

.search-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-dark-blue);
  margin-bottom: 10px;
}

.search-hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--color-dark-blue);
  display: inline-block;
}

.search-hero__title {
  font-size: clamp(2.4rem, 2vw + 1.6rem, 3.4rem);
  line-height: 1.1;
  color: var(--color-dark-gray-1);
  margin-bottom: 14px;
}

.search-hero__subtitle {
  color: #4b5563;
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 24px;
}

.search-hero__form {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  padding: 12px 12px 12px 18px;
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(36, 40, 92, 0.12);
  border: 1px solid rgba(36, 40, 92, 0.06);
  margin-bottom: 22px;
}

.search-hero__form input {
  flex: 1;
  border: none;
  font-size: 1rem;
  padding: 14px 10px;
  color: var(--color-dark-gray-1);
  background: transparent;
}

.search-hero__form input:focus {
  outline: none;
}

.search-hero__form button {
  border: none;
  background: linear-gradient(120deg, var(--color-dark-blue), #1f6b63);
  color: var(--color-white);
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 14px 28px rgba(36, 40, 92, 0.18);
}

.search-hero__form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(31, 107, 99, 0.22);
}

.search-hero__chips {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.search-hero__chips-label {
  font-weight: 700;
  color: var(--color-dark-gray-1);
}

.search-hero__chips-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(36, 40, 92, 0.08);
  border-radius: 999px;
  color: var(--color-dark-blue);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.search-chip:hover {
  background: rgba(39, 107, 97, 0.16);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(39, 107, 97, 0.16);
}

.search-chip__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-teal);
  display: inline-block;
}

.search-hero__panel {
  position: relative;
}

.search-hero__panel-inner {
  background: linear-gradient(150deg, var(--color-dark-blue), #1e5f7c);
  color: var(--color-white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 22px 46px rgba(36, 40, 92, 0.24);
  overflow: hidden;
}

.search-hero__panel-inner::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -60px;
  right: -70px;
}

.search-hero__panel-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.75);
}

.search-hero__panel-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.search-hero__panel-text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.search-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.search-hero__stat {
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 12px;
  border-radius: 12px;
}

.search-hero__stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
}

.search-hero__stat-label {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.search-results {
  padding: 70px 0 90px;
  background: var(--color-white);
}

.search-results__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--color-light-gray-2);
  padding-bottom: 16px;
}

.search-results__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-gray-1);
}

.search-results__title {
  font-size: 1.8rem;
  color: var(--color-dark-gray-1);
  margin-top: 4px;
}

.search-results__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: rgba(36, 40, 92, 0.08);
  color: var(--color-dark-blue);
  border-radius: 50px;
  font-weight: 700;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.search-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(36, 40, 92, 0.12);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(36, 40, 92, 0.06);
}

.search-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(36, 40, 92, 0.16);
}

.search-card__thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.search-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.search-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #eef2fb, #dfe7fa);
  display: grid;
  place-items: center;
  color: var(--color-dark-blue);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.search-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-gray-1);
  font-size: 0.92rem;
  font-weight: 700;
}

.search-card__divider {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-light-gray-1);
}

.search-card__category {
  color: var(--color-dark-blue);
}

.search-card__category:hover {
  text-decoration: underline;
}

.search-card__title {
  font-size: 1.2rem;
  color: var(--color-dark-gray-1);
  line-height: 1.35;
}

.search-card__title a {
  color: inherit;
  transition: color 0.2s ease;
}

.search-card__title a:hover {
  color: var(--color-dark-blue);
}

.search-card__excerpt {
  color: #4b5563;
  line-height: 1.6;
  flex: 1;
}

.search-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-dark-blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-card__link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.search-card:hover .search-card__link span {
  transform: translateX(4px);
}

.search-pagination {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.search-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 4px;
  border-radius: 50%;
  background: var(--color-light-gray-3);
  color: var(--color-dark-gray-1);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.search-pagination .page-numbers.current,
.search-pagination .page-numbers:hover {
  background: var(--color-dark-blue);
  color: var(--color-white);
}

.search-empty {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.search-empty__card {
  max-width: 640px;
  text-align: center;
  background: linear-gradient(135deg, #f7f9fd, #eef2fb);
  padding: 36px;
  border-radius: 20px;
  border: 1px solid rgba(36, 40, 92, 0.08);
  box-shadow: 0 14px 32px rgba(36, 40, 92, 0.12);
}

.search-empty__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--color-dark-blue);
  margin-bottom: 8px;
}

.search-empty__title {
  color: var(--color-dark-gray-1);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.search-empty__text {
  color: #4b5563;
  margin-bottom: 20px;
}

.search-empty__form {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--color-white);
  padding: 10px 12px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(36, 40, 92, 0.08);
  margin-bottom: 18px;
  border: 1px solid rgba(36, 40, 92, 0.06);
}

.search-empty__form input {
  flex: 1;
  border: none;
  padding: 12px 8px;
  font-size: 1rem;
}

.search-empty__form input:focus {
  outline: none;
}

.search-empty__form button {
  border: none;
  background: var(--color-teal);
  color: var(--color-white);
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.search-empty__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

@media screen and (max-width: 1024px) {
  .blog-hero {
    padding: 90px 0 60px;
  }

  .blog-hero__grid {
    grid-template-columns: 1fr;
  }

  .blog-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-featured__thumb,
  .blog-card__thumb {
    height: 180px;
  }
}

@media screen and (max-width: 768px) {
  .blog-hero__grid {
    padding: 26px;
  }

  .blog-hero__title {
    font-size: 1.8rem;
  }

  .blog-search {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-search button {
    width: 100%;
    text-align: center;
  }

  .blog-featured__grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-section-title {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 1024px) {
  .search-hero {
    padding: 100px 0 70px;
  }

  .search-hero__grid {
    grid-template-columns: 1fr;
  }

  .search-results__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-results__count {
    align-self: flex-start;
  }
}

@media screen and (max-width: 768px) {
  .search-hero__form {
    flex-direction: column;
    align-items: stretch;
  }

  .search-hero__form button {
    width: 100%;
    text-align: center;
  }

  .search-results__title {
    font-size: 1.5rem;
  }

  .search-hero__panel-inner {
    padding: 22px;
  }

  .search-card__thumb {
    height: 200px;
  }

  .search-empty__form {
    flex-direction: column;
  }

  .search-empty__form button {
    width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .contact-hero {
    padding: 100px 0 70px 0;
  }

  .contact-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-hero__card {
    order: 2;
  }

  .contact-section-head {
    flex-direction: column;
  }

  .contact-promises {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .contact-option-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .contact-hero {
    padding: 80px 0 60px 0;
  }

  .contact-hero__title {
    font-size: 2.4rem;
  }

  .contact-hero__subtitle {
    font-size: 1rem;
  }

  .contact-pill {
    width: 100%;
  }

  .contact-hero__stats {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .contact-section-title {
    font-size: 1.8rem;
  }

  .contact-section-subtitle {
    font-size: 1rem;
  }

  .contact-option-grid {
    grid-template-columns: 1fr;
  }

  .contact-option-card {
    padding: 18px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-form__card {
    padding: 20px;
  }

  .contact-form__footer {
    align-items: flex-start;
  }

  .contact-button {
    width: 100%;
    justify-content: center;
  }

  .contact-hero__actions {
    flex-direction: column;
  }
}
