/**
* Template Name: Story
* Updated: Aug 11 2025 with Bootstrap v5.3.7
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat",  sans-serif;
  --nav-font: "Raleway",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #5A2D7A; /* Color for headings, subheadings and title throughout the website - Dark purple for GBV awareness */
  --accent-color: #8B4C9F; /* Primary accent color - Purple representing GBV awareness. It's used for buttons, links, and other elements that need to stand out */
  --secondary-color: #20B2AA; /* Secondary color - Teal for sexual assault awareness */
  --tertiary-color: #FF6B35; /* Tertiary color - Orange for GBV awareness (affects all genders) */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #000000;  /* The default color of the main navmenu links */
  --nav-hover-color: #8B4C9F; /* Applied to main navmenu links when they are hovered over or active - Purple for GBV */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #8B4C9F; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over - Purple for GBV */

  /* Floating controls spacing */
  --floating-right: 18px;
  --ai-fab-bottom: 24px;
  --scroll-top-size: 44px;
  --scroll-top-gap: 14px;
  --scroll-top-clearance: 56px;
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f0f1f2;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  line-height: 1.2;
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo .sitename {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  display: block;
}

.header .header-social-links {
  padding-right: 15px;
}

.header .header-social-links > a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding-left: 6px;
  display: inline-block;
  transition: 0.3s;
  font-size: 16px;
}

.header .header-social-links > a:hover {
  color: var(--accent-color);
}

.header .header-social-links > a i {
  line-height: 0px;
}

.header .header-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.header .account-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  color: var(--nav-color);
  border-radius: 0;
  padding: 0 4px;
  font-size: 16px;
  font-family: var(--nav-font);
  font-weight: 500;
  white-space: nowrap;
  transition: 0.3s;
}

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

.header .account-link:focus-visible {
  color: var(--nav-hover-color);
  outline: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  outline-offset: 2px;
}

.header .account-dropdown .account-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 45%);
  color: var(--heading-color);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-color), transparent 92%) 0%,
    var(--background-color) 100%
  );
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.header .account-dropdown .account-label {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header .account-dropdown .account-toggle i {
  color: var(--contrast-color);
  background: var(--accent-color);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.header .account-dropdown .account-toggle:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 25%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.header .account-dropdown .account-role {
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 6px;
}

.header .account-dropdown .account-role.role-contributor {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 68%);
}

.header .account-dropdown .account-role.role-victim {
  color: var(--heading-color);
  background: color-mix(in srgb, var(--heading-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--heading-color), transparent 68%);
}

.header .account-dropdown .account-toggle:focus,
.header .account-dropdown .account-toggle:active {
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 70%);
}

.header .account-dropdown .dropdown-menu {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  padding: 6px;
  margin-top: 10px;
}

.header .account-dropdown .dropdown-item {
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--nav-dropdown-color);
  font-size: 14px;
}

.header .account-dropdown .dropdown-item:hover,
.header .account-dropdown .dropdown-item:focus {
  color: var(--nav-dropdown-hover-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
}

.header .account-dropdown .dropdown-item i {
  font-size: 15px;
}

.role-disabled,
.role-disabled:hover,
.role-disabled:focus {
  opacity: 0.55;
  cursor: not-allowed !important;
  pointer-events: none;
  color: color-mix(in srgb, var(--default-color), transparent 35%) !important;
}

@media (min-width: 992px) and (max-width: 1499px) {
  .header .account-dropdown .account-role {
    display: none;
  }
}

@media (min-width: 992px) and (max-width: 1099px) {
  .header .account-dropdown .account-label {
    display: none;
  }

  .header .account-dropdown .account-toggle {
    padding: 6px 10px;
  }
}

@media (max-width: 991px) {
  .header .logo {
    order: 1;
  }

  .header .header-social-links {
    order: 2;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Floating AI mini launcher */
.ai-fab {
  position: fixed;
  right: var(--floating-right);
  bottom: var(--ai-fab-bottom);
  z-index: 1055;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #7a2e8c, #3f4fc5);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 12px 25px rgba(28, 20, 74, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-fab:hover,
.ai-fab:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(28, 20, 74, 0.45);
}

.ai-fab__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: 16px;
}

.ai-fab__label {
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 13px;
}

.ai-chat-page {
  background:
    radial-gradient(circle at 12% 12%, rgba(17, 127, 95, 0.12), transparent 34%),
    radial-gradient(circle at 90% 6%, rgba(247, 149, 30, 0.1), transparent 28%),
    linear-gradient(180deg, #f2f8f6 0%, #f6fbfa 100%);
  min-height: calc(100vh - 180px);
  padding: 28px 0 36px;
}

.ai-chat-shell {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 44px rgba(31, 54, 47, 0.14);
}

.ai-chat-header {
  padding: 18px 20px;
  background: linear-gradient(120deg, #0f7c5a, #146a8a);
  color: #fff;
}

.ai-chat-header h1 {
  margin: 0;
  color: #fff;
  font-size: 1.1rem;
}

.ai-chat-header p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.ai-chat-header .btn {
  border-radius: 999px;
  font-weight: 600;
}

.ai-chat-messages {
  height: 52vh;
  min-height: 340px;
  overflow-y: auto;
  padding: 18px;
  background:
    radial-gradient(circle at 1px 1px, rgba(9, 38, 30, 0.05) 1px, transparent 0) 0 0 / 24px 24px,
    #eef7f3;
}

.ai-msg {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 14px;
  margin-bottom: 10px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.95rem;
  box-shadow: 0 1px 2px rgba(24, 46, 40, 0.12);
}

.ai-msg--user {
  margin-left: auto;
  background: linear-gradient(135deg, #0f9d71, #0c8665);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.ai-msg--assistant {
  margin-right: auto;
  background: #ffffff;
  color: #20352f;
  border: 1px solid rgba(8, 43, 35, 0.08);
  border-bottom-left-radius: 6px;
}

.ai-chat-compose {
  border-top: 1px solid rgba(7, 55, 42, 0.1);
  padding: 14px;
  background: #fff;
}

.ai-chat-compose textarea {
  resize: none;
  min-height: 68px;
  border-radius: 12px;
  border: 1px solid rgba(9, 70, 54, 0.15);
  background: #f8fcfb;
}

.ai-chat-compose textarea:focus {
  border-color: rgba(18, 129, 97, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(15, 157, 113, 0.16);
}

.ai-chat-status {
  font-size: 0.85rem;
  color: #4c635b;
  margin-top: 8px;
}

.ai-chat-system {
  margin: 6px auto 10px;
  max-width: 92%;
  padding: 8px 10px;
  border: 1px dashed rgba(20, 106, 138, 0.35);
  border-radius: 10px;
  background: rgba(20, 106, 138, 0.06);
  color: #2f5160;
  font-size: 0.86rem;
}

.ai-chat-compose .btn-primary {
  border-radius: 999px;
  padding: 8px 18px;
  border: none;
  background: linear-gradient(120deg, #0f7c5a, #146a8a);
  box-shadow: 0 6px 14px rgba(11, 83, 65, 0.25);
}

.ai-chat-compose .btn-primary:hover,
.ai-chat-compose .btn-primary:focus {
  background: linear-gradient(120deg, #0b674a, #0f5772);
}

.ai-typing {
  margin-bottom: 10px;
}

.ai-typing__bubble {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border-radius: 14px;
  border-bottom-left-radius: 6px;
  background: #ffffff;
  border: 1px solid rgba(8, 43, 35, 0.08);
  box-shadow: 0 1px 2px rgba(24, 46, 40, 0.12);
}

.ai-typing__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(20, 106, 138, 0.75);
  animation: aiTypingBounce 1.2s infinite ease-in-out;
}

.ai-typing__dot:nth-child(2) {
  animation-delay: 0.16s;
}

.ai-typing__dot:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes aiTypingBounce {
  0%, 70%, 100% {
    transform: translateY(0);
    opacity: 0.45;
  }

  35% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .ai-fab {
    right: 14px;
    bottom: 18px;
    padding: 10px;
  }

  .ai-fab__label {
    display: none;
  }

  .ai-chat-page {
    padding: 12px 0 20px;
  }

  .ai-chat-shell {
    border-radius: 0;
    max-width: 100%;
  }

  .ai-chat-messages {
    height: 58vh;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
/* ─── Toast Notifications ───────────────────────────────────────────────── */
.vav-toast {
  min-width: 280px;
  max-width: 400px;
  border-radius: 10px !important;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.13);
}

.vav-toast--success {
  background: color-mix(in srgb, #198754, white 88%);
  border-left: 4px solid #198754 !important;
  color: #0a3622;
}
.vav-toast--success .bi { color: #198754; }

.vav-toast--danger {
  background: color-mix(in srgb, #dc3545, white 88%);
  border-left: 4px solid #dc3545 !important;
  color: #58151c;
}
.vav-toast--danger .bi { color: #dc3545; }

.vav-toast--warning {
  background: color-mix(in srgb, #ffc107, white 80%);
  border-left: 4px solid #ffc107 !important;
  color: #533f03;
}
.vav-toast--warning .bi { color: #856404; }

.vav-toast--info {
  background: color-mix(in srgb, var(--accent-color), white 88%);
  border-left: 4px solid var(--accent-color) !important;
  color: var(--heading-color);
}
.vav-toast--info .bi { color: var(--accent-color); }

@media (max-width: 991px) {
  .header .logo {
    order: 1;
  }

  .header .header-social-links {
    order: 2;
  }
}

@media (min-width: 992px) {
  .mobile-nav-toggle {
    display: none !important;
  }

  .navmenu {
    padding: 0;
  }

  .header .header-social-links {
    margin-left: 12px;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2px;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 16px 12px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .header .logo {
    min-width: 0;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
  .header .logo .sitename {
    font-size: 26px;
  }

  .navmenu a,
  .navmenu a:focus {
    padding: 16px 11px;
    font-size: 15px;
  }

  .header .account-link {
    font-size: 15px;
    gap: 5px;
  }
}

/* Navmenu - Mobile */
@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .header {
    padding: 12px 0;
  }

  .header .container {
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 10px;
  }

  .header .logo {
    min-width: 0;
    max-width: calc(100% - 220px);
    flex: 1 1 auto;
  }

  .header .logo .sitename {
    font-size: clamp(20px, 5vw, 24px);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header .navmenu {
    order: 3;
    margin-left: 0;
    flex: 0 0 auto;
  }

  .header .header-social-links {
    order: 2;
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
    padding-right: 0;
    gap: 8px;
  }

  .header .header-social-links-guest {
    display: none;
  }

  .header .account-link {
    padding: 6px 0;
  }

  .header .account-dropdown .account-toggle {
    max-width: min(54vw, 260px);
    padding: 6px 10px;
    gap: 6px;
  }

  .header .account-dropdown .account-role {
    display: none;
  }

  .header .account-dropdown .account-label {
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-nav-toggle {
    position: relative;
    z-index: 10001;
    background-color: color-mix(in srgb, var(--default-color) 10%, white 15%);
    color: var(--nav-color);
    font-size: 24px;
    line-height: 0;
    margin-right: 0;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: color 0.2s;
  }

  .mobile-nav-toggle:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu {
    position: relative;
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-height: calc(100dvh - 84px);
    padding: 10px 0;
    margin: 0;
    border-radius: 12px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu .mobile-auth-item {
    margin-top: 4px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .navmenu .mobile-auth-item a,
  .navmenu .mobile-auth-item a:focus {
    padding-top: 12px;
    padding-bottom: 12px;
    font-weight: 600;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navmenu::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 9996;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

@media (max-width: 767px) {
  .header .logo {
    max-width: calc(100% - 150px);
  }

  .header .logo .sitename {
    font-size: clamp(18px, 5.2vw, 22px);
  }

  .header .account-dropdown .account-label {
    display: none;
  }

  .header .account-dropdown .account-toggle {
    max-width: none;
    padding: 6px 8px;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background: var(--background-color);
  font-size: 15px;
  padding: 80px 0 0;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-brand h1,
.footer .footer-brand .logo {
  margin: 0;
  line-height: 1;
  font-weight: 300;
}

.footer .footer-brand h1 .sitename,
.footer .footer-brand .logo .sitename {
  font-family: var(--heading-font);
  font-size: 26px;
  letter-spacing: 0.8px;
  color: var(--heading-color);
}

.footer .footer-brand .tagline {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  margin: 12px 0 0;
}

.footer .social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: transparent;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.footer .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
  border-color: var(--accent-color);
}

.footer .social-links a i {
  font-size: 16px;
}

.footer .footer-links-grid h5 {
  color: var(--heading-color);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  font-family: var(--heading-font);
  letter-spacing: 0.5px;
}

.footer .footer-links-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links-grid ul li {
  margin-bottom: 12px;
}

.footer .footer-links-grid ul li a {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 10px;
}

.footer .footer-links-grid ul li a::before {
  content: "→";
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--accent-color);
}

.footer .footer-links-grid ul li a:hover {
  color: var(--accent-color);
  padding-left: 16px;
}

.footer .footer-links-grid ul li a:hover::before {
  opacity: 1;
}

.footer .footer-cta h5 {
  color: var(--heading-color);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 18px;
  font-family: var(--heading-font);
}

.footer .footer-cta .btn-outline {
  background: transparent;
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer .footer-cta .btn-outline:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.footer .footer-bottom {
  margin-top: 60px;
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-bottom .footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer .footer-bottom .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

.footer .footer-bottom .footer-bottom-content p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  font-weight: 300;
}

.footer .footer-bottom .footer-bottom-content p .sitename {
  color: var(--heading-color);
  font-weight: 500;
}

.footer .footer-bottom .footer-bottom-content .credits {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.footer .footer-bottom .footer-bottom-content .credits a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 400;
}

.footer .footer-bottom .footer-bottom-content .credits a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .footer .footer-links-grid {
    margin-bottom: 30px;
  }

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

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 0;
  }

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

  .footer .footer-brand,
  .footer .footer-links-grid,
  .footer .footer-cta {
    margin-bottom: 40px;
  }

  .footer .footer-links-grid .col-6 {
    margin-bottom: 30px;
  }

  .footer .footer-links-grid h5 {
    text-align: left;
  }

  .footer .footer-links-grid ul {
    text-align: left;
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: var(--floating-right);
  bottom: -70px;
  z-index: 1050;
  background-color: var(--accent-color);
  width: var(--scroll-top-size);
  height: var(--scroll-top-size);
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: calc(var(--ai-fab-bottom) + var(--scroll-top-clearance) + var(--scroll-top-gap));
}

@media (max-width: 768px) {
  :root {
    --floating-right: 12px;
    --ai-fab-bottom: 16px;
    --scroll-top-size: 40px;
    --scroll-top-gap: 10px;
    --scroll-top-clearance: 52px;
  }

  .scroll-top {
    bottom: -64px;
  }
}

@media (max-width: 1399px) {
  #emergency .row > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }

  #emergency .card h3 {
    font-size: 1.3rem;
  }

  #emergency .card .display-4,
  #emergency .card .display-6 {
    font-size: clamp(2.1rem, 4.2vw, 3rem);
    line-height: 1.15;
  }
}

#emergency .display-1,
#emergency #emergency-heading,
#emergency .lead {
  color: #ffffff;
}

@media (max-width: 767px) {
  #emergency .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #emergency .card .card-body {
    padding: 1.35rem;
  }

  #emergency .card h3 {
    font-size: 1.15rem;
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding: 30px 0;
  margin-bottom: 30px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# Blog Hero Section
--------------------------------------------------------------*/
.blog-hero {
  padding: 0;
}

.blog-hero .blog-hero-slider {
  position: relative;
  overflow: hidden;
  height: clamp(460px, 78vh, 760px);
  min-height: 420px;
}

.blog-hero .carousel-inner {
  height: 100%;
}

.blog-hero .carousel-item {
  height: 100%;
}

.blog-hero .blog-hero-item {
  position: relative;
  height: clamp(460px, 78vh, 760px);
  min-height: 420px;
}

.blog-hero .blog-hero-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-hero .blog-hero-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.blog-hero .blog-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: clamp(20px, 4vw, 56px);
  color: var(--contrast-color);
  text-align: center;
  max-width: min(820px, 92vw);
  width: min(100%, 92vw);
}

.blog-hero .blog-hero-content .category {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-hero .blog-hero-content h1 {
  color: var(--contrast-color);
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

@media (max-width: 991px) {
  .blog-hero .blog-hero-content h1 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .blog-hero .blog-hero-content h1 {
    font-size: 28px;
  }
  
  .blog-hero .blog-hero-content {
    padding: 40px 20px;
  }
}

.blog-hero .blog-hero-content .meta {
  margin-bottom: 30px;
  font-size: clamp(0.85rem, 1.6vw, 0.95rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}

.blog-hero .blog-hero-content .meta span {
  display: inline-flex;
  margin-right: 0;
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
}

.blog-hero .blog-hero-content .meta span:last-child {
  margin-right: 0;
}

.blog-hero .blog-hero-content .meta span a {
  color: var(--contrast-color);
  font-weight: 600;
}

.blog-hero .blog-hero-content .meta span a:hover {
  color: var(--accent-color);
}

@media (max-width: 767px) {
  .blog-hero .blog-hero-content .meta span {
    display: block;
    margin: 0 0 10px 0;
  }
}

.blog-hero .blog-hero-content .read-more {
  display: inline-flex;
  align-items: center;
  color: var(--contrast-color);
  font-weight: 500;
}

.blog-hero .blog-hero-content .read-more i {
  margin-left: 8px;
  transition: 0.3s;
}

.blog-hero .blog-hero-content .read-more:hover {
  color: var(--accent-color);
}

.blog-hero .blog-hero-content .read-more:hover i {
  transform: translateX(5px);
}

.blog-hero .carousel-control-prev,
.blog-hero .carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.9;
  z-index: 10;
}

.blog-hero .carousel-control-prev:hover,
.blog-hero .carousel-control-next:hover {
  opacity: 1;
}

.blog-hero .carousel-control-prev-icon,
.blog-hero .carousel-control-next-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  border-radius: 50%;
  background-size: 60%;
}

.blog-hero .carousel-control-prev:hover .carousel-control-prev-icon,
.blog-hero .carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--accent-color);
  opacity: 1;
  transform: scale(1.1);
}

.blog-hero .carousel-indicators {
  display: none;
}

.blog-hero .carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transform: none;
}

.blog-hero .carousel-fade .carousel-item.active,
.blog-hero .carousel-fade .carousel-item-next.carousel-item-start,
.blog-hero .carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
}

.blog-hero .carousel-fade .active.carousel-item-start,
.blog-hero .carousel-fade .active.carousel-item-end {
  opacity: 0;
}

/*--------------------------------------------------------------
# Featured Posts Section
--------------------------------------------------------------*/
.featured-posts {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
}

.featured-posts .blog-posts-slider .swiper-wrapper {
  height: auto !important;
}

.featured-posts .blog-posts-slider .swiper-pagination {
  position: relative;
  margin-top: 50px;
}

.featured-posts .blog-posts-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity: 1;
  transition: all 0.3s ease;
}

.featured-posts .blog-posts-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--accent-color);
  transform: scale(1.2);
}

.featured-posts .blog-card {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-posts .blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.featured-posts .blog-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.featured-posts .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-posts .blog-image .category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.featured-posts .blog-image:hover img {
  transform: scale(1.05);
}

.featured-posts .blog-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .featured-posts .blog-content {
    padding: 25px;
  }
}

.featured-posts .author-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.featured-posts .author-info .author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.featured-posts .author-info .author-details {
  display: flex;
  flex-direction: column;
}

.featured-posts .author-info .author-details .author-name {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 14px;
  margin-bottom: 2px;
}

.featured-posts .author-info .author-details .publish-date {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.featured-posts h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .featured-posts h3 {
    font-size: 18px;
  }
}

.featured-posts h3 a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.featured-posts h3 a:hover {
  color: var(--accent-color);
}

.featured-posts p {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 25px;
  flex: 1;
}

.featured-posts .blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

@media (max-width: 576px) {
  .featured-posts .blog-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

.featured-posts .reading-time {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.featured-posts .reading-time i {
  margin-right: 5px;
  font-size: 14px;
}

.featured-posts .btn-read-more {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 10%));
  color: var(--contrast-color);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.featured-posts .btn-read-more span {
  margin-right: 8px;
}

.featured-posts .btn-read-more i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.featured-posts .btn-read-more:hover {
  transform: translateX(5px);
  background: linear-gradient(45deg, color-mix(in srgb, var(--accent-color), #000 10%), var(--accent-color));
  color: var(--contrast-color);
}

.featured-posts .btn-read-more:hover i {
  transform: translateX(3px);
}

@media (max-width: 576px) {
  .featured-posts .btn-read-more {
    align-self: flex-end;
  }
}

/*--------------------------------------------------------------
# Category Section Section
--------------------------------------------------------------*/
.category-section .hero-post {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-section .hero-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.category-section .hero-post .post-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.category-section .hero-post .post-content {
  padding: 30px;
}

.category-section .hero-post .author-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.category-section .hero-post .author-info .author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--accent-color);
}

.category-section .hero-post .author-info .author-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.category-section .hero-post .author-info .author-name {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 14px;
}

.category-section .hero-post .author-info .post-date {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.category-section .hero-post .post-title {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 15px;
}

.category-section .hero-post .post-title a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.category-section .hero-post .post-title a:hover {
  color: var(--accent-color);
}

.category-section .hero-post .post-excerpt {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
  margin-bottom: 20px;
}

.category-section .hero-post .post-stats {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.category-section .hero-post .post-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.category-section .hero-post .post-stats i {
  color: var(--accent-color);
}

.category-section .sidebar-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.category-section .sidebar-post {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: var(--surface-color);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-section .sidebar-post:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 92%);
}

.category-section .sidebar-post .post-img {
  flex: 0 0 80px;
}

.category-section .sidebar-post .post-img img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}

.category-section .sidebar-post .post-content {
  flex: 1;
}

.category-section .sidebar-post .post-category {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.category-section .sidebar-post .title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.category-section .sidebar-post .title a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.category-section .sidebar-post .title a:hover {
  color: var(--accent-color);
}

.category-section .sidebar-post .post-meta {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.category-section .posts-grid {
  margin-top: 50px;
}

.category-section .grid-post {
  background: var(--surface-color);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.category-section .grid-post:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px color-mix(in srgb, var(--default-color), transparent 88%);
}

.category-section .grid-post:hover .post-img img {
  transform: scale(1.05);
}

.category-section .grid-post .post-img {
  position: relative;
  overflow: hidden;
}

.category-section .grid-post .post-img img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-section .grid-post .post-img .post-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
}

.category-section .grid-post .post-img .category-tag {
  background: var(--surface-color);
  color: var(--accent-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--default-color), transparent 90%);
}

.category-section .grid-post .post-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-section .grid-post .title {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.category-section .grid-post .title a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.category-section .grid-post .title a:hover {
  color: var(--accent-color);
}

.category-section .grid-post .excerpt {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.category-section .grid-post .post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.category-section .grid-post .author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-section .grid-post .author-info .author-img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
}

.category-section .grid-post .author-info .author-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--heading-color);
}

.category-section .grid-post .read-time {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-weight: 500;
}

@media (max-width: 992px) {
  .category-section .hero-post .post-title {
    font-size: 24px;
  }

  .category-section .hero-post .post-content {
    padding: 24px 16px;
  }


@media (max-width: 575px) {
  .blog-hero .blog-hero-slider,
  .blog-hero .blog-hero-item {
    height: clamp(420px, 72vh, 600px);
    min-height: 380px;
  }
}
  .category-section .sidebar-posts {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .category-section .hero-post .post-title {
    font-size: 20px;
  }

  .category-section .hero-post .post-content {
    padding: 20px;
  }

  .category-section .hero-post .author-info .author-avatar {
    width: 40px;
    height: 40px;
  }

  .category-section .sidebar-post {
    padding: 15px;
  }

  .category-section .sidebar-post .post-img img {
    width: 60px;
    height: 60px;
  }

  .category-section .sidebar-post .title {
    font-size: 13px;
  }

  .category-section .grid-post .title {
    font-size: 16px;
  }

  .category-section .grid-post .post-content {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Latest Posts Section
--------------------------------------------------------------*/
.latest-posts {
  --card-radius: 14px;
  --soft-border: color-mix(in srgb, var(--default-color), transparent 85%);
  --soft-shadow: 0 12px 30px color-mix(in srgb, var(--default-color), transparent 92%);
}

.latest-posts .featured-post {
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
  min-height: 420px;
  background-color: var(--surface-color);
  box-shadow: var(--soft-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-posts .featured-post .featured-media {
  height: 100%;
}

.latest-posts .featured-post .featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.4s ease;
  display: block;
}

.latest-posts .featured-post .featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--default-color), transparent 70%) 5%, color-mix(in srgb, var(--default-color), transparent 85%) 40%, transparent 75%);
  pointer-events: none;
}

.latest-posts .featured-post .featured-content {
  position: absolute;
  inset-inline: 20px;
  bottom: 18px;
  color: var(--contrast-color);
  z-index: 2;
}

.latest-posts .featured-post .featured-content .date-badge {
  position: absolute;
  top: -14px;
  left: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
  box-shadow: var(--soft-shadow);
}

.latest-posts .featured-post .featured-content .date-badge .day {
  display: block;
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
}

.latest-posts .featured-post .featured-content .date-badge .mon {
  display: block;
  font-size: 12px;
  opacity: 0.95;
}

.latest-posts .featured-post .featured-content .cat-badge {
  margin-left: 72px;
  margin-bottom: 10px;
}

.latest-posts .featured-post .featured-content .title {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  margin: 4px 0 10px 72px;
  color: var(--contrast-color);
}

.latest-posts .featured-post .featured-content .excerpt {
  margin: 0 0 14px 72px;
  color: color-mix(in srgb, var(--contrast-color), transparent 10%);
}

.latest-posts .featured-post .featured-content .meta {
  margin-left: 72px;
  margin-bottom: 10px;
}

.latest-posts .featured-post .featured-content .meta i {
  color: var(--accent-color);
  font-size: 16px;
}

.latest-posts .featured-post .featured-content .meta span {
  font-size: 14px;
  color: color-mix(in srgb, var(--contrast-color), transparent 10%);
}

.latest-posts .featured-post .featured-content .meta .sep {
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
}

.latest-posts .featured-post .featured-content .readmore {
  margin-left: 72px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--contrast-color), transparent 60%);
  color: var(--contrast-color);
  transition: 0.3s;
}

.latest-posts .featured-post .featured-content .readmore i {
  font-size: 16px;
}

.latest-posts .featured-post .featured-content .readmore:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.latest-posts .featured-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px color-mix(in srgb, var(--default-color), transparent 88%);
}

.latest-posts .featured-post:hover .featured-media img {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .latest-posts .featured-post {
    min-height: 360px;
  }

  .latest-posts .featured-post .featured-content .title {
    font-size: 22px;
  }
}

.latest-posts .compact-post {
  background-color: var(--surface-color);
  border: 1px solid var(--soft-border);
  border-radius: var(--card-radius);
  padding: 14px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.latest-posts .compact-post .thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: transform 0.3s ease;
}

.latest-posts .compact-post .content .meta {
  margin-bottom: 6px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
}

.latest-posts .compact-post .content .meta .date,
.latest-posts .compact-post .content .meta .category {
  white-space: nowrap;
}

.latest-posts .compact-post .content .meta .dot {
  margin-inline: 6px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.latest-posts .compact-post .content .title {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.latest-posts .compact-post .content .readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  transition: color 0.3s ease, transform 0.3s ease;
}

.latest-posts .compact-post .content .readmore i {
  font-size: 16px;
}

.latest-posts .compact-post:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 30%);
  box-shadow: var(--soft-shadow);
  transform: translateY(-2px);
}

.latest-posts .compact-post:hover .content .title,
.latest-posts .compact-post:hover .content .readmore {
  color: var(--accent-color);
}

.latest-posts .compact-post:hover .thumb img {
  transform: scale(1.03);
}

@media (max-width: 576px) {
  .latest-posts .compact-post {
    grid-template-columns: 90px 1fr;
  }
}

.latest-posts .card-post {
  background-color: var(--surface-color);
  border: 1px solid var(--soft-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.latest-posts .card-post .post-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.latest-posts .card-post .content {
  padding: 18px;
}

.latest-posts .card-post .content .meta {
  margin-bottom: 10px;
}

.latest-posts .card-post .content .meta i {
  color: var(--accent-color);
  font-size: 16px;
}

.latest-posts .card-post .content .meta span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.latest-posts .card-post .content .title {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.latest-posts .card-post .content .readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 40%);
  color: var(--accent-color);
  transition: 0.3s;
}

.latest-posts .card-post .content .readmore i {
  font-size: 16px;
}

.latest-posts .card-post .content .readmore:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: var(--accent-color);
}

.latest-posts .card-post:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 25%);
  box-shadow: var(--soft-shadow);
  transform: translateY(-3px);
}

.latest-posts .card-post:hover .post-img img {
  transform: scale(1.06);
}

.latest-posts .card-post:hover .content .title {
  color: var(--accent-color);
}

@media (max-width: 576px) {
  .latest-posts .card-post .post-img img {
    height: 190px;
  }
}

.latest-posts .cat-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1;
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
}

.latest-posts .cat-badge.inverse {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Category Postst Section
--------------------------------------------------------------*/
.category-postst article {
  height: 100%;
}

.category-postst .post-img {
  max-height: 440px;
  overflow: hidden;
}

.category-postst .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 5px 0;
}

.category-postst .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.category-postst .title a:hover {
  color: var(--accent-color);
}

.category-postst .meta-top {
  margin-top: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.category-postst .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.category-postst .meta-top i {
  font-size: 24px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.category-postst .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

/*--------------------------------------------------------------
# Pagination 2 Section
--------------------------------------------------------------*/
.pagination-2 {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.pagination-2 ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination-2 li {
  margin: 0 5px;
  transition: 0.3s;
}

.pagination-2 li a {
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
}

.pagination-2 li a.active,
.pagination-2 li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pagination-2 li a.active a,
.pagination-2 li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details .article-hero {
  position: relative;
  height: 70vh;
  min-height: 600px;
  margin: -60px -15px 4rem;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .blog-details .article-hero {
    height: 60vh;
    min-height: 500px;
    margin: -60px -15px 3rem;
  }
}

.blog-details .article-hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.blog-details .article-hero .hero-background .hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-details .article-hero .hero-background .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.blog-details .article-hero .hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  color: white;
  text-align: center;
}

.blog-details .article-hero .hero-content .category-badges {
  margin-bottom: 1.5rem;
}

.blog-details .article-hero .hero-content .category-badges .badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  margin: 0 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-details .article-hero .hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
}

@media (max-width: 768px) {
  .blog-details .article-hero .hero-content h1 {
    font-size: 2.5rem;
  }
}

.blog-details .article-hero .hero-content .hero-excerpt {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.blog-details .article-hero .hero-content .author-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.blog-details .article-hero .hero-content .author-meta .author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.blog-details .article-hero .hero-content .author-meta .author-details {
  text-align: left;
}

.blog-details .article-hero .hero-content .author-meta .author-details h4 {
  margin: 0;
  color: white;
  font-size: 1.1rem;
}

.blog-details .article-hero .hero-content .author-meta .author-details span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.blog-details .article-hero .hero-content .author-meta .article-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.blog-details .article-hero .hero-content .author-meta .article-stats span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

@media (max-width: 768px) {
  .blog-details .article-hero .hero-content .author-meta {
    flex-direction: column;
    text-align: center;
  }

  .blog-details .article-hero .hero-content .author-meta .author-details {
    text-align: center;
  }
}

.blog-details .article-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .blog-details .article-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .blog-details .article-body .sidebar-navigation {
    order: 2;
  }
}

.blog-details .article-body .sidebar-navigation .nav-sticky {
  position: sticky;
  top: 100px;
  background: var(--surface-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.blog-details .article-body .sidebar-navigation .nav-sticky h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.blog-details .article-body .sidebar-navigation .nav-sticky h3 i {
  color: var(--accent-color);
}

.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav li {
  margin-bottom: 0.75rem;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav li .nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav li .nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--accent-color);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav li .nav-link:hover,
.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav li .nav-link.active {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding-left: 1.5rem;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav li .nav-link:hover::before,
.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav li .nav-link.active::before {
  height: 20px;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .reading-progress {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-top: 1.5rem;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .reading-progress .progress-bar {
  width: 100%;
  height: 4px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .reading-progress .progress-bar .progress-fill {
  height: 100%;
  background: var(--accent-color);
  width: 25%;
  transition: width 0.3s ease;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .reading-progress .progress-text {
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

@media (max-width: 992px) {
  .blog-details .article-body .main-content {
    order: 1;
  }
}

.blog-details .article-body .main-content .content-block {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
}

.blog-details .article-body .main-content .content-block:not(:last-child) {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

.blog-details .article-body .main-content .content-block h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

.blog-details .article-body .main-content .content-block h2 i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.blog-details .article-body .main-content .content-block .intro-text .lead-paragraph {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
}

.blog-details .article-body .main-content .content-block .intro-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.blog-details .article-body .main-content .content-block .featured-quote {
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
  border-radius: 16px;
  padding: 3rem;
  margin: 3rem 0;
  position: relative;
}

.blog-details .article-body .main-content .content-block .featured-quote .quote-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-details .article-body .main-content .content-block .featured-quote .quote-icon i {
  font-size: 1.5rem;
  color: var(--contrast-color);
}

.blog-details .article-body .main-content .content-block .featured-quote blockquote {
  margin: 0;
}

.blog-details .article-body .main-content .content-block .featured-quote blockquote p {
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.blog-details .article-body .main-content .content-block .featured-quote blockquote footer {
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-style: normal;
}

.blog-details .article-body .main-content .content-block .content-with-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .blog-details .article-body .main-content .content-block .content-with-media {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.blog-details .article-body .main-content .content-block .content-with-media .media-element .content-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.blog-details .article-body .main-content .content-block .content-with-media .media-element .image-caption {
  text-align: center;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-top: 0.75rem;
}

.blog-details .article-body .main-content .content-block .content-with-media .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 576px) {
  .blog-details .article-body .main-content .content-block .content-with-media .stats-grid {
    grid-template-columns: 1fr;
  }
}

.blog-details .article-body .main-content .content-block .content-with-media .stats-grid .stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--surface-color);
  border-radius: 12px;
}

.blog-details .article-body .main-content .content-block .content-with-media .stats-grid .stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.5rem;
}

.blog-details .article-body .main-content .content-block .content-with-media .stats-grid .stat-item .stat-label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-details .article-body .main-content .content-block .feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .blog-details .article-body .main-content .content-block .feature-cards {
    grid-template-columns: 1fr;
  }
}

.blog-details .article-body .main-content .content-block .feature-cards .feature-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-details .article-body .main-content .content-block .feature-cards .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.blog-details .article-body .main-content .content-block .feature-cards .feature-card .card-icon {
  width: 70px;
  height: 70px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.blog-details .article-body .main-content .content-block .feature-cards .feature-card .card-icon i {
  font-size: 1.8rem;
  color: var(--accent-color);
}

.blog-details .article-body .main-content .content-block .feature-cards .feature-card h3 {
  color: var(--heading-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.blog-details .article-body .main-content .content-block .feature-cards .feature-card p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.blog-details .article-body .main-content .content-block .split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .blog-details .article-body .main-content .content-block .split-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-benefits {
  margin-top: 2rem;
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-benefits .benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-benefits .benefit-item i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-benefits .benefit-item span {
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .dashboard-header h4 {
  margin: 0;
  color: var(--heading-color);
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .dashboard-header .status-indicator {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .dashboard-header .status-indicator.online {
  background: color-mix(in srgb, #22c55e, transparent 90%);
  color: #22c55e;
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .vital-signs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .vital-signs .vital-item {
  padding: 1rem;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .vital-signs .vital-item .vital-label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .vital-signs .vital-item .vital-value {
  font-weight: 600;
  color: var(--heading-color);
}

.blog-details .article-body .main-content .content-block .challenges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .blog-details .article-body .main-content .content-block .challenges-grid {
    grid-template-columns: 1fr;
  }
}

.blog-details .article-body .main-content .content-block .challenges-grid .challenge-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 2rem;
  border-left: 4px solid var(--accent-color);
}

.blog-details .article-body .main-content .content-block .challenges-grid .challenge-card .challenge-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-details .article-body .main-content .content-block .challenges-grid .challenge-card .challenge-header i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.blog-details .article-body .main-content .content-block .challenges-grid .challenge-card .challenge-header h3 {
  margin: 0;
  color: var(--heading-color);
  font-size: 1.2rem;
}

.blog-details .article-body .main-content .content-block .challenges-grid .challenge-card p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.blog-details .article-body .main-content .content-block .future-outlook {
  margin: 3rem 0;
}

.blog-details .article-body .main-content .content-block .future-outlook .outlook-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 16px;
}

.blog-details .article-body .main-content .content-block .future-outlook .outlook-item .outlook-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color);
  min-width: 80px;
}

.blog-details .article-body .main-content .content-block .future-outlook .outlook-item .outlook-content h4 {
  margin: 0 0 0.5rem;
  color: var(--heading-color);
}

.blog-details .article-body .main-content .content-block .future-outlook .outlook-item .outlook-content p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-details .article-actions {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 3rem;
  margin-top: 4rem;
}

.blog-details .article-actions .engagement-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .blog-details .article-actions .engagement-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.blog-details .article-actions .engagement-section h3 {
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.blog-details .article-actions .engagement-section .share-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-details .article-actions .engagement-section .share-options .share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.blog-details .article-actions .engagement-section .share-options .share-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.blog-details .article-actions .engagement-section .share-options .share-btn.twitter:hover {
  background: #1DA1F2;
}

.blog-details .article-actions .engagement-section .share-options .share-btn.facebook:hover {
  background: #4267B2;
}

.blog-details .article-actions .engagement-section .share-options .share-btn.linkedin:hover {
  background: #0077B5;
}

.blog-details .article-actions .engagement-section .share-options .share-btn.email:hover {
  background: #34495e;
}

.blog-details .article-actions .engagement-section .reaction-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-details .article-actions .engagement-section .reaction-buttons .reaction-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  border: none;
  border-radius: 30px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-details .article-actions .engagement-section .reaction-buttons .reaction-btn .count {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-details .article-actions .engagement-section .reaction-buttons .reaction-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

.blog-details .article-actions .topic-tags {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-top: 2rem;
}

.blog-details .article-actions .topic-tags h3 {
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.blog-details .article-actions .topic-tags .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blog-details .article-actions .topic-tags .tag-cloud .topic-tag {
  padding: 0.5rem 1.2rem;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.blog-details .article-actions .topic-tags .tag-cloud .topic-tag:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/
.blog-author .author-card {
  background-color: var(--surface-color);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.blog-author .author-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-color), transparent 85%) 0%, transparent 70%);
  opacity: 0.6;
  z-index: 0;
}

.blog-author .author-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 767.98px) {
  .blog-author .author-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
}

.blog-author .author-image-container {
  position: relative;
  flex-shrink: 0;
}

.blog-author .author-image-container .author-image {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-author .author-image-container .expertise-tags {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  width: max-content;
}

.blog-author .author-image-container .expertise-tags span {
  background: var(--surface-color);
  color: var(--accent-color);
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.blog-author .author-intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-author .author-intro .name-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 767.98px) {
  .blog-author .author-intro .name-block {
    justify-content: center;
  }
}

.blog-author .author-intro .name-block .author-name {
  font-size: 1.75rem;
  margin: 0;
  color: var(--heading-color);
  font-weight: 700;
}

.blog-author .author-intro .name-block .verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 90%), color-mix(in srgb, var(--accent-color), transparent 70%));
  color: var(--accent-color);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

.blog-author .author-intro .name-block .verified-badge i {
  font-size: 1rem;
}

.blog-author .author-intro .author-tagline {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
}

.blog-author .author-content {
  position: relative;
  z-index: 1;
}

.blog-author .author-content .content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
  .blog-author .author-content .content-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.blog-author .author-content .bio-section .bio-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--default-color);
  margin-bottom: 1.5rem;
}

.blog-author .author-content .bio-section .author-metrics {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 767.98px) {
  .blog-author .author-content .bio-section .author-metrics {
    justify-content: center;
  }
}

.blog-author .author-content .bio-section .author-metrics .metric {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
}

.blog-author .author-content .bio-section .author-metrics .metric i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.blog-author .author-content .featured-posts h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.blog-author .author-content .featured-posts .post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-author .author-content .featured-posts .post-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.blog-author .author-content .featured-posts .post-list li i {
  color: var(--accent-color);
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.blog-author .author-content .featured-posts .post-list li span {
  color: var(--default-color);
  font-size: 0.95rem;
  line-height: 1.4;
}

.blog-author .author-content .featured-posts .post-list li:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.blog-author .author-content .featured-posts .post-list li:hover i {
  transform: translateX(3px);
}

.blog-author .author-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

@media (max-width: 767.98px) {
  .blog-author .author-footer {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.blog-author .author-footer .connect-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 767.98px) {
  .blog-author .author-footer .connect-links {
    justify-content: center;
  }
}

.blog-author .author-footer .connect-links .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  color: var(--default-color);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.blog-author .author-footer .connect-links .social-link i {
  font-size: 1rem;
}

.blog-author .author-footer .connect-links .social-link:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.blog-author .author-footer .subscribe-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.blog-author .author-footer .subscribe-button i {
  transition: transform 0.3s ease;
}

.blog-author .author-footer .subscribe-button:hover {
  background-color: var(--heading-color);
}

.blog-author .author-footer .subscribe-button:hover i {
  transform: rotate(15deg);
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments .comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.blog-comments .comments-header .title {
  color: var(--heading-color);
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin: 0;
}

.blog-comments .comments-header .comments-stats {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 8px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-comments .comments-header .comments-stats .count {
  font-size: 18px;
  font-weight: 700;
}

.blog-comments .comments-header .comments-stats .label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-comments .comments-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-comments .comment-thread {
  position: relative;
}

.blog-comments .comment-thread:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 80px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--accent-color), transparent 40%), color-mix(in srgb, var(--accent-color), transparent 90%));
  z-index: 0;
}

@media (min-width: 768px) {
  .blog-comments .comment-thread:not(:last-child)::after {
    left: 35px;
  }
}

.blog-comments .comment-box {
  position: relative;
  transition: all 0.3s ease;
}

.blog-comments .comment-box.reply {
  margin-left: 50px;
  margin-top: 25px;
}

@media (min-width: 768px) {
  .blog-comments .comment-box.reply {
    margin-left: 70px;
  }
}

.blog-comments .comment-wrapper {
  display: flex;
  gap: 20px;
  position: relative;
}

.blog-comments .avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.blog-comments .avatar-wrapper img {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  object-fit: cover;
  border: 3px solid var(--surface-color);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .blog-comments .avatar-wrapper img {
    width: 70px;
    height: 70px;
  }
}

.blog-comments .avatar-wrapper img:hover {
  transform: scale(1.05);
}

.blog-comments .avatar-wrapper .status-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #4CAF50;
  border: 2px solid var(--surface-color);
  z-index: 1;
}

.blog-comments .comment-content {
  flex: 1;
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.blog-comments .comment-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.blog-comments .comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.blog-comments .comment-header .user-info h4 {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px;
}

.blog-comments .comment-header .user-info .time-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-comments .comment-header .user-info .time-badge i {
  font-size: 13px;
}

.blog-comments .comment-header .engagement .likes {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 20px;
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 500;
}

.blog-comments .comment-header .engagement .likes i {
  font-size: 13px;
}

.blog-comments .comment-body p {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-comments .comment-actions {
  display: flex;
  gap: 15px;
}

.blog-comments .comment-actions .action-btn {
  background: none;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-comments .comment-actions .action-btn i {
  font-size: 15px;
  transition: all 0.3s ease;
}

.blog-comments .comment-actions .action-btn:hover {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
}

.blog-comments .comment-actions .action-btn:hover.like-btn i {
  transform: scale(1.2);
  color: #ff4b6e;
}

.blog-comments .comment-actions .action-btn:hover.reply-btn i {
  transform: translateX(-3px);
}

.blog-comments .comment-actions .action-btn:hover.share-btn i {
  transform: translateY(-2px);
}

.blog-comments .comment-actions .action-btn.like-btn.active {
  color: #ff4b6e;
}

.blog-comments .replies-container {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

@media (max-width: 768px) {
  .blog-comments .comments-header {
    margin-bottom: 30px;
  }

  .blog-comments .comments-header .title {
    font-size: 24px;
  }

  .blog-comments .comments-header .comments-stats {
    padding: 6px 15px;
  }

  .blog-comments .comments-header .comments-stats .count {
    font-size: 20px;
  }

  .blog-comments .comments-header .comments-stats .label {
    font-size: 12px;
  }

  .blog-comments .comment-content {
    padding: 20px;
  }

  .blog-comments .comment-header .user-info h4 {
    font-size: 16px;
  }

  .blog-comments .comment-header .user-info .time-badge {
    font-size: 13px;
  }

  .blog-comments .comment-body p {
    font-size: 14px;
  }

  .blog-comments .comment-actions .action-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Blog Comment Form Section
--------------------------------------------------------------*/
.blog-comment-form {
  max-width: 900px;
  margin: 0 auto 0 auto;
  padding-top: 30px;
}

.blog-comment-form form {
  padding: 30px;
  background-color: var(--surface-color);
  border-radius: 15px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-comment-form .section-header {
  text-align: center;
  margin-bottom: 30px;
}

.blog-comment-form .section-header h3 {
  font-size: 28px;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.blog-comment-form .section-header h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.blog-comment-form .section-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 15px;
  margin: 0;
}

.blog-comment-form .form-group {
  margin-bottom: 20px;
}

.blog-comment-form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--heading-color);
  font-size: 14px;
}

.blog-comment-form .form-group .form-control {
  height: 48px;
  padding: 10px 15px;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  font-size: 14px;
  transition: all 0.3s ease-in-out;
}

.blog-comment-form .form-group .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.blog-comment-form .form-group .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.blog-comment-form .form-group .form-control:hover:not(:focus) {
  border-color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.blog-comment-form .form-group textarea.form-control {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

.blog-comment-form .btn-submit {
  padding: 12px 32px;
  border-radius: 50px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.blog-comment-form .btn-submit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.blog-comment-form .btn-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

@media (max-width: 768px) {
  .blog-comment-form {
    padding: 20px;
  }

  .blog-comment-form .section-header h3 {
    font-size: 24px;
  }

  .blog-comment-form .btn-submit {
    width: 100%;
    padding: 12px 20px;
  }
}

/*--------------------------------------------------------------
# Author Profile Section
--------------------------------------------------------------*/
.author-profile .author-card {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.author-profile .author-card .author-image {
  text-align: center;
  margin-bottom: 1.5rem;
}

.author-profile .author-card .author-image img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
}

.author-profile .author-card .author-info {
  text-align: center;
}

.author-profile .author-card .author-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.author-profile .author-card .author-info .designation {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.author-profile .author-card .author-info .author-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.author-profile .author-card .author-stats {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 1rem 0;
}

.author-profile .author-card .author-stats .stat-item h4 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  color: var(--accent-color);
}

.author-profile .author-card .author-stats .stat-item p {
  font-size: 0.85rem;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.author-profile .author-card .social-links {
  margin-top: 1.5rem;
}

.author-profile .author-card .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 50%;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.author-profile .author-card .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.author-profile .author-card .social-links a i {
  font-size: 1rem;
}

.author-profile .author-content {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.author-profile .author-content .content-header {
  margin-bottom: 1.5rem;
}

.author-profile .author-content .content-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0;
}

.author-profile .author-content .content-body p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.author-profile .author-content .content-body .expertise-areas h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.author-profile .author-content .content-body .expertise-areas .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.author-profile .author-content .content-body .expertise-areas .tags span {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.author-profile .author-content .content-body .expertise-areas .tags span:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.author-profile .author-content .content-body .featured-articles h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.author-profile .author-content .content-body .featured-articles .article-card {
  background-color: var(--background-color);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.author-profile .author-content .content-body .featured-articles .article-card:hover {
  transform: translateY(-5px);
}

.author-profile .author-content .content-body .featured-articles .article-card .article-img {
  height: 200px;
  overflow: hidden;
}

.author-profile .author-content .content-body .featured-articles .article-card .article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.author-profile .author-content .content-body .featured-articles .article-card .article-img:hover img {
  transform: scale(1.1);
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details {
  padding: 1.25rem;
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details .post-category {
  display: inline-block;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details h5 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details h5 a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details h5 a:hover {
  color: var(--accent-color);
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details .post-meta {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details .post-meta span {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details .post-meta span i {
  margin-right: 0.35rem;
  font-size: 1rem;
}

@media (max-width: 991.98px) {
  .author-profile .author-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .author-profile .featured-articles .article-card {
    margin-bottom: 1.5rem;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .about-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.about .about-img img {
  border-radius: 20px;
}

.about .experience-badge {
  position: absolute;
  bottom: -30px;
  left: 20px;
  background-color: var(--surface-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 160px;
}

.about .experience-badge h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1;
  color: var(--accent-color);
}

.about .experience-badge p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--heading-color);
}

.about .projects-badge {
  position: absolute;
  top: 40px;
  right: 0;
  background-color: var(--accent-color);
  padding: 20px;
  border-radius: 10px 0 0 10px;
  text-align: center;
  min-width: 160px;
}

.about .projects-badge h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1;
  color: var(--contrast-color);
}

.about .projects-badge p {
  margin: 5px 0 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--contrast-color);
}

.about .feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.about .feature-item .feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about .feature-item .feature-icon i {
  font-size: 28px;
  color: var(--accent-color);
}

.about .feature-item .feature-content h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.about .feature-item .feature-content p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.about .check-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.about .check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.about .check-list li i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.about .btn-primary {
  background-color: var(--accent-color);
  border: none;
  padding: 15px 38px;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--contrast-color);
  transition: all 0.3s ease;
}

.about .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  .about .experience-badge {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px;
    min-width: 140px;
  }

  .about .experience-badge h2 {
    font-size: 2.8rem;
  }

  .about .experience-badge p {
    font-size: 0.8rem;
  }

  .about .projects-badge {
    top: 15px;
    right: 15px;
    padding: 15px;
    min-width: 140px;
    border-radius: 10px;
  }

  .about .projects-badge h2 {
    font-size: 2rem;
  }

  .about .projects-badge p {
    font-size: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .about .experience-badge {
    padding: 12px;
    min-width: 120px;
  }

  .about .experience-badge h2 {
    font-size: 2.2rem;
  }

  .about .experience-badge p {
    font-size: 0.75rem;
  }

  .about .projects-badge {
    padding: 12px;
    min-width: 120px;
  }

  .about .projects-badge h2 {
    font-size: 1.8rem;
  }

  .about .projects-badge p {
    font-size: 0.7rem;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  position: relative;
  background-color: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  transition: 0.4s;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  height: 100%;
}

.team .team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--accent-color), transparent 80%);
  border-color: var(--accent-color);
}

.team .team-member:hover .member-image:before {
  opacity: 1;
}

.team .team-member:hover .member-image img {
  transform: scale(1.1);
}

.team .team-member:hover .social-overlay {
  transform: translateY(0);
  opacity: 1;
}

.team .team-member:hover .member-info h4 {
  color: var(--accent-color);
}

.team .member-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.team .member-image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), transparent 50%) 100%);
  opacity: 0;
  transition: 0.4s;
  z-index: 1;
}

.team .member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team .social-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 30px 20px 20px;
  transform: translateY(100%);
  opacity: 0;
  transition: 0.4s;
  z-index: 2;
}

.team .social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--contrast-color);
  font-size: 18px;
  transition: 0.3s;
}

.team .social-icons a:hover {
  background-color: var(--contrast-color);
  color: var(--accent-color);
  transform: scale(1.1);
}

.team .member-info {
  padding: 25px 20px 30px;
  text-align: center;
  position: relative;
}

.team .member-info:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), transparent 60%) 100%);
  border-radius: 2px;
}

.team .member-info h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
  transition: 0.3s;
}

.team .member-info span {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-color);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team .member-info p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

@media (max-width: 768px) {
  .team .team-member {
    margin-bottom: 30px;
  }

  .team .team-member .member-image {
    height: 250px;
  }

  .team .team-member .member-info {
    padding: 20px 15px 25px;
  }

  .team .team-member .member-info h4 {
    font-size: 20px;
  }

  .team .team-member .member-info p {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .container {
  max-width: 1280px;
}

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

@media (min-width: 1100px) {
  .contact .contact-wrapper {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
  }
}

.contact .contact-info-panel,
.contact .contact-form-panel {
  min-width: 0;
}

.contact .contact-info-panel {
  background: linear-gradient(145deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #5A2D7A 40%));
  color: var(--contrast-color);
  border-radius: 20px;
  padding: 40px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact .contact-info-panel .contact-info-header {
  margin-bottom: 30px;
}

.contact .contact-info-panel .contact-info-header h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

.contact .contact-info-panel .contact-info-header p {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.6;
}

.contact .contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: auto;
}

@media (min-width: 576px) and (max-width: 991px) {
  .contact .contact-info-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact .info-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.contact .info-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.contact .info-card .icon-container {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .info-card .icon-container i {
  font-size: 20px;
  color: var(--contrast-color);
}

.contact .info-card .card-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--contrast-color);
}

.contact .info-card .card-content p {
  font-size: 14px;
  margin-bottom: 0;
  opacity: 0.8;
}

.contact .social-links-panel {
  margin-top: 35px;
}

.contact .social-links-panel h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

.contact .social-links-panel .social-icons {
  display: flex;
  gap: 12px;
}

.contact .social-links-panel .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--contrast-color);
  font-size: 18px;
  transition: all 0.3s ease;
}

.contact .social-links-panel .social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.contact .contact-form-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact .map-container {
  width: 100%;
  height: 280px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact .form-container {
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.contact .form-container h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
  background: linear-gradient(120deg, var(--heading-color), color-mix(in srgb, var(--heading-color), var(--accent-color) 30%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.contact .form-container p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 25px;
}

.contact .form-container .form-floating {
  margin-bottom: 20px;
}

.contact .form-container .form-floating .form-control {
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 24px 20px 8px 20px;
  height: calc(3.5rem + 3px);
  background-color: var(--surface-color);
  color: var(--default-color);
  transition: all 0.3s ease;
}

.contact .form-container .form-floating .form-control:focus {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 40%);
  background-color: var(--surface-color);
}

.contact .form-container .form-floating .form-control::placeholder {
  color: transparent;
}

.contact .form-container .form-floating label {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 1rem 1.25rem 2.5rem 1.25rem;
}

.contact .form-container .form-floating label::after {
  background-color: transparent;
}

.contact .form-container .btn-submit {
  background: linear-gradient(145deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #5A2D7A 30%));
  color: var(--contrast-color);
  border: none;
  padding: 15px 25px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .form-container .btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--accent-color), transparent 75%);
}

.contact .form-container .btn-submit i {
  transition: transform 0.3s ease;
}

.contact .form-container .btn-submit:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .contact .contact-info-panel {
    padding: 30px 25px;
  }

  .contact .form-container {
    padding: 30px 25px;
  }
}

@media (max-width: 576px) {
  .contact .social-links-panel .social-icons {
    flex-wrap: wrap;
  }
}

/*--------------------------------------------------------------
# Search Results Posts Section
--------------------------------------------------------------*/
.search-results-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.search-results-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.search-results-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.search-results-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.search-results-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.search-results-posts .title a:hover {
  color: var(--accent-color);
}

.search-results-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.search-results-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.search-results-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Pagination 3 Section
--------------------------------------------------------------*/
.pagination-3 {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.pagination-3 ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination-3 li {
  margin: 0 5px;
  transition: 0.3s;
}

.pagination-3 li a {
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
}

.pagination-3 li a.active,
.pagination-3 li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pagination-3 li a.active a,
.pagination-3 li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
  padding: 80px 0;
  margin: 0 auto;
}

.error-404 .error-icon {
  font-size: 5rem;
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-code {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  color: color-mix(in srgb, var(--heading-color), transparent 10%);
  font-family: var(--heading-font);
  line-height: 1;
}

.error-404 .error-title {
  font-size: 2rem;
  color: var(--heading-color);
  font-weight: 600;
}

.error-404 .error-text {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  max-width: 600px;
  margin: 0 auto;
}

.error-404 .search-box {
  max-width: 500px;
  margin: 0 auto;
}

.error-404 .search-box .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.error-404 .search-box .form-control {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 50px;
}

.error-404 .search-box .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.error-404 .search-box .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.error-404 .search-box .search-btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.error-404 .search-box .search-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-action .btn-primary {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.error-404 .error-action .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .error-404 {
    padding: 60px 0;
  }

  .error-404 .error-code {
    font-size: clamp(4rem, 12vw, 8rem);
  }

  .error-404 .error-title {
    font-size: 1.5rem;
  }

  .error-404 .error-text {
    font-size: 1rem;
    padding: 0 20px;
  }

  .error-404 .search-box {
    margin: 0 20px;
  }
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  margin: 60px 0 30px 0;
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  padding: 0 0 10px 0;
  margin: 0 0 20px 0;
  position: relative;
}

.widget-title:before {
  content: "";
  position: absolute;
  display: block;
  height: 2px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  left: 0;
  right: 0;
  bottom: 1px;
}

.widget-title:after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
  left: 0;
  bottom: 1px;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  padding: 3px 10px;
  position: relative;
  border-radius: 50px;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px 10px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: none;
  color: var(--default-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 16px;
  transition: 0.3s;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  color: var(--accent-color);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

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

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

/* BEGIN: auto-extracted-inline-styles */
.ui-0070e7f8 { position: absolute; bottom: 0; left: 0; width: 250px; height: 250px; background: rgba(255,255,255,0.03); border-radius: 50%; transform: translate(-30%, 30%); }
.ui-015bed64 { font-size: 2rem; color: var(--accent-color); }
.ui-04678c49 { background: var(--accent-color); color: white; text-decoration: none; }
.ui-0cc05c4d { font-size: 14px; color: #666; margin-top: 15px; }
.ui-0dcafe5b { background: var(--secondary-color); color: white; }
.ui-10dc6b4b { margin-bottom: 20px; font-weight: 600; }
.ui-136f566d { color: #666; font-size: 14px; line-height: 1.6; margin: 0 0 20px 0; flex-grow: 1; }
.ui-171bdcb9 { height: 200px }
.ui-1b25c85e { font-size: 2.5rem; color: var(--tertiary-color); }
.ui-1c74ad51 { padding: 20px 0; background: #dc3545; color: white; }
.ui-1e65188d { background: color-mix(in srgb, var(--accent-color), transparent 95%); padding: 60px 0; }
.ui-210a83ef { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: #f0f0f0; border-radius: 50%; color: #E60023; font-size: 22px; transition: all 0.3s ease; }
.ui-21203542 { background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #5A2D7A 50%)); color: white; padding: 30px; border-radius: 15px; margin-bottom: 30px; }
.ui-23b83a44 { height: 100%; width: 100%; }
.ui-29c3b50e { font-size: 2.5rem; color: var(--accent-color); }
.ui-2a95c5f0 { font-size: 2rem; color: var(--tertiary-color); }
.ui-2ebd42e8 { position: absolute; top: 15px; right: 15px; background: var(--primary-color); color: white; padding: 5px 12px; border-radius: 20px; font-size: 12px; }
.ui-325e900e { font-weight: 600; margin-bottom: 12px; }
.ui-336e1d6a { margin: 0; font-weight: 700; color: #333; font-size: 17px; line-height: 1.4; }
.ui-352128fb { padding: 80px 0; background: #f9f9f9; }
.ui-359b062e { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; text-align: right; }
.ui-3eeb7763 { background: var(--tertiary-color); color: white; }
.ui-422c9c12 { color:var(--text-muted); font-weight:400; }
.ui-440dce23 { padding: 10px; }
.ui-4632cffb { color: #999; }
.ui-475c74d3 { width: 100%; height: auto; max-height: 400px; object-fit: cover; border-radius: 12px; margin-bottom: 30px; }
.ui-481cd970 { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.ui-4a0332dc { padding: 10px 30px; border-radius: 50px; font-weight: 600; }
.ui-4f7afcd9 { font-size: 18px; font-style: italic; color: #333; margin: 15px 0; }
.ui-5288c36c { background: linear-gradient(135deg, rgba(124,58,237,0.05) 0%, rgba(124,58,237,0.02) 100%); }
.ui-55e98bc8 { white-space:pre-wrap; background:#f8f9fa;border:1px solid #e9ecef;padding:8px;border-radius:6px;display:none; }
.ui-59925538 { background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); color: white; position: relative; overflow: hidden; }
.ui-5afc7337 { font-size: 3rem; }
.ui-5d48f325 { position: absolute; top: 15px; left: 15px; background: #2a7d7d; color: white; padding: 6px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.ui-5e9e78c2 { height: 150px }
.ui-68742291 { margin-bottom: 15px; font-weight: 600; }
.ui-693d2826 { background: var(--secondary-color); color: var(--contrast-color); padding: 12px 30px; border-radius: 8px; text-decoration: none; }
.ui-69c44657 { background: white; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.ui-6a702c11 { background: var(--accent-color); color: var(--contrast-color); padding: 12px 30px; border-radius: 8px; text-decoration: none; }
.ui-6a930fe4 { height: 200px; object-fit: cover; width: 100%; }
.ui-6d98ffd8 { color: #7c3aed; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s ease; }
.ui-7388b2f3 { font-size: 18px; font-weight: 700; color: #222; margin: 0 0 12px 0; line-height: 1.4; }
.ui-7b754eef { margin-bottom: 12px; }
.ui-7c57c566 { position: absolute; top: 15px; left: 15px; background: #7c3aed; color: white; padding: 6px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.ui-7f4ee4f3 { margin-right: 8px; }
.ui-805939cc { border: none; box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ui-80953665 { padding: 15px 50px; font-weight: 700; font-size: 16px; background: transparent; color: black; border: none; border-radius: 50px; transition: all 0.3s ease; }
.ui-8141b7ee { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.ui-822d04e9 { padding: 25px; }
.ui-836ef5d4 { font-size: 2.5rem; color: var(--tertiary-color); margin-bottom: 15px; }
.ui-83d7eabc { position: relative; z-index: 1; }
.ui-8686f12f { font-size: 2rem; color: var(--secondary-color); }
.ui-8a5902cf { display: flex; justify-content: center; gap: 20px; }
.ui-914bc2c7 { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; padding: 20px 0; border-bottom: 1px solid #e9e9e9; }
.ui-9319bcd3 { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; }
.ui-9606bd26 { width: 100%; height: 160px; object-fit: cover; }
.ui-9641eb6e { margin-top: 15px; padding-top: 15px; border-top: 1px solid #e9e9e9; }
.ui-965a4d8e { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: #f0f0f0; border-radius: 50%; color: #000; font-size: 22px; transition: all 0.3s ease; }
.ui-977a59a5 { color: #999; margin-left: 15px; }
.ui-97cd7c4d { color: var(--secondary-color); }
.ui-997a5b27 { padding: 60px 0; }
.ui-9b9a2aed { background: var(--tertiary-color); color: var(--contrast-color); padding: 12px 30px; border-radius: 8px; text-decoration: none; }
.ui-9dd1f2b7 { position: absolute; top: 0; right: 0; width: 300px; height: 300px; background: rgba(255,255,255,0.05); border-radius: 50%; transform: translate(50%, -50%); }
.ui-9df847fa { margin-bottom: 12px; display: flex; gap: 15px; align-items: center; font-size: 13px; color: #666; }
.ui-9fb64252 { position: relative; overflow: hidden; height: 200px; background: #f5f5f5; }
.ui-a0b693d4 { border: none; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-radius: 15px; }
.ui-a0cd4d2b { background: transparent; border: 2px solid white; color: white; }
.ui-a129a66d { background: var(--accent-color); color: white; }
.ui-aa70b789 { background: rgba(255,255,255,0.2); color: white; border: 2px solid white; text-decoration: none; }
.ui-ac7bf5bd { background: var(--tertiary-color); color: white; padding: 15px 40px; }
.ui-ad3da354 { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: #f0f0f0; border-radius: 50%; color: #1877F2; font-size: 22px; transition: all 0.3s ease; }
.ui-ada5634d { color: #666; font-size: 14px; }
.ui-aed7ae72 { font-size: 16px; line-height: 1.8; color: #333; }
.ui-afc468d6 { border-color: var(--accent-color); color: var(--accent-color); text-decoration: none; }
.ui-b0473a88 { margin-bottom: 15px; }
.ui-b2adf428 { font-size: 4rem; color: #ddd; }
.ui-b3b312b1 { border: none; box-shadow: 0 5px 20px rgba(0,0,0,0.1); border-radius: 15px; }
.ui-b49bee61 { gap: 20px; }
.ui-b4feeadc { display: inline-block; padding: 6px 14px; background: #f0f0f0; color: var(--primary-color); border-radius: 20px; text-decoration: none; font-size: 14px; transition: all 0.3s ease; }
.ui-b54d7d5a { border-left: 4px solid #28a745; }
.ui-b717940e { font-size: 32px; color: var(--primary-color); margin-bottom: 15px; display: block; }
.ui-ba8ecec3 { margin-bottom: 40px; font-size: 17px; opacity: 0.95; max-width: 600px; margin-left: auto; margin-right: auto; }
.ui-baa2d77c { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: #f0f0f0; border-radius: 50%; color: #0A66C2; font-size: 22px; transition: all 0.3s ease; }
.ui-bcbbdaa0 { color: var(--accent-color); }
.ui-c24caba1 { border-left: 4px solid #3db8e8; }
.ui-c53836dd { height: 180px }
.ui-c55a2274 { background: var(--primary-color); color: white; border-radius: 20px; padding: 5px 12px; }
.ui-ca4062d6 { width: 32px; height: 32px; object-fit: contain; }
.ui-cc12ac47 { display:none;color:var(--muted) }
.ui-cfd99620 { color: #666; font-size: 16px; }
.ui-d0795664 { background: color-mix(in srgb, var(--secondary-color), transparent 90%); border-left: 4px solid var(--secondary-color); }
.ui-d2d13073 { background: white; color: var(--accent-color); text-decoration: none; }
.ui-d363b838 { font-size: 11px; color: #7c3aed; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; font-weight: 700; }
.ui-d498c9e9 { border-left: 4px solid #e94b3c; }
.ui-d7adf246 { background-color: var(--primary-color); color: white; }
.ui-d7b8ceae { list-style: none; padding: 0; }
.ui-d85c4e64 { position: relative; }
.ui-d888e59a { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; align-items: center; }
.ui-da0099bd { font-size: 2.5rem; color: var(--secondary-color); }
.ui-db826c14 { font-size: 3rem; color: var(--accent-color); }
.ui-dd8f199a { margin-bottom: 12px; font-weight: 800; font-size: 36px; letter-spacing: -0.5px; }
.ui-dde2a7ab { font-size:11px;color:var(--text-muted);text-align:center;margin-top:12px;line-height:1.5; }
.ui-e2e4772e { border-top: 1px solid #e9e9e9; border-bottom: 1px solid #e9e9e9; }
.ui-e31fceb0 { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: white; border: 2px solid #e9e9e9; border-radius: 12px; overflow: hidden; transition: all 0.3s ease; height: 100%; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.ui-e4662fea { background: color-mix(in srgb, var(--tertiary-color), transparent 95%); padding: 60px 0; }
.ui-eb0da2de { height: 250px }
.ui-ec2eba2b { flex: 1; min-width: 0; }
.ui-ee6ca775 { font-size: 3rem; color: var(--tertiary-color); }
.ui-eeb2c3eb { border-left: 4px solid #7c3aed; }
.ui-ef718999 { background: var(--accent-color); border: none; }
.ui-f3d33437 { height: 120px }
.ui-f5dd1f12 { padding: 40px 0; background: color-mix(in srgb, var(--accent-color), transparent 95%); }
.ui-f6234f9f { color: white; }
.ui-f68cf151 { height: 300px; border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.ui-f871e5bd { font-size: 3rem; color: var(--secondary-color); }
.ui-f9ea617e { display: flex; flex-wrap: wrap; gap: 10px; }
.ui-fb94027b { gap: 20px; display: flex; }
.ui-fc6c1352 { display: inline-block; padding: 6px 14px; background: #f0f0f0; color: var(--primary-color); border-radius: 20px; font-size: 14px; }
.ui-fd3cd2f8 { background: #dc3545; color: white; text-decoration: none; }
.ui-fddbc81c { background: linear-gradient(135deg, #f5f5f5 0%, #f9f9f9 100%); padding: 40px; border-left: 4px solid var(--primary-color); border-radius: 8px; }
/* END: auto-extracted-inline-styles */

/*--------------------------------------------------------------
# Responsive Safety Utilities
--------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 768px) {
  .container,
  .container-fluid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .vav-toast {
    min-width: 0;
    width: min(92vw, 400px);
  }

  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .header .logo .sitename {
    font-size: 1.25rem;
  }

  .ai-fab {
    right: 12px;
    bottom: 16px;
    padding: 8px 12px;
  }
}

@media (max-width: 1199px) {
  .ui-dd8f199a {
    font-size: clamp(1.7rem, 4.5vw, 2.2rem);
  }

  .ui-db826c14,
  .ui-ee6ca775,
  .ui-f871e5bd {
    font-size: clamp(2rem, 5.2vw, 2.6rem);
  }
}

@media (max-width: 767px) {
  .ui-f68cf151,
  .ui-9dd1f2b7,
  .ui-eb0da2de,
  .ui-c53836dd,
  .ui-f3d33437,
  .ui-f9ea617e,
  .ui-fb94027b {
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
  }

  .ui-fddbc81c,
  .ui-e4662fea,
  .ui-f5dd1f12,
  .ui-ba8ecec3 {
    padding: clamp(18px, 5vw, 28px) !important;
    margin-bottom: clamp(16px, 4vw, 26px) !important;
  }
}

/*--------------------------------------------------------------
# Final Fluid Content Pass
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  .featured-posts .blog-image {
    height: clamp(210px, 30vw, 280px);
  }

  .latest-posts .card-post .post-img img,
  .author-profile .author-content .content-body .featured-articles .article-card .article-img,
  .team .member-image,
  .contact .map-container {
    height: clamp(190px, 28vw, 280px);
  }

  .blog-details .article-hero {
    height: clamp(420px, 62vh, 620px);
    min-height: 420px;
  }

  .blog-author .author-card::before {
    width: clamp(160px, 24vw, 300px);
    height: clamp(160px, 24vw, 300px);
  }

  .blog-author .author-image-container .author-image,
  .author-profile .author-card .author-image img {
    width: clamp(120px, 20vw, 180px);
    height: clamp(120px, 20vw, 180px);
  }

  .contact .form-container {
    padding: clamp(18px, 3.2vw, 35px);
  }

  #contact-map iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }
}

@media (max-width: 767px) {
  .featured-posts .blog-content,
  .blog-author .author-card,
  .author-profile .author-card,
  .author-profile .author-content,
  .contact .form-container {
    padding: clamp(14px, 4vw, 22px);
  }

  .blog-details .article-hero {
    height: clamp(360px, 56vh, 500px);
    min-height: 360px;
  }

  .blog-author .author-header {
    gap: 1rem;
  }
}

