/**
 * CESCE Pro - Typography System
 * Institutional, premium, and modern typographic harmony
 * 
 * @package cesceprotheme
 * @subpackage typography-cesce
 */

/* ============================================================================
   TYPOGRAPHIC VARIABLES & SYSTEM
   ============================================================================ */

:root {
  /* Font Family Variables */
  --cesce-font-heading: 'Merriweather', Georgia, serif;
  --cesce-font-body: 'Inter', sans-serif;
  --cesce-font-mono: 'Courier New', monospace;
  
  /* Font Weight Variables */
  --cesce-font-weight-light: 300;
  --cesce-font-weight-regular: 400;
  --cesce-font-weight-medium: 500;
  --cesce-font-weight-semibold: 600;
  --cesce-font-weight-bold: 700;
  
  /* Heading Sizes (Desktop) */
  --cesce-h1-size: 36px;
  --cesce-h2-size: 30px;
  --cesce-h3-size: 24px;
  --cesce-h4-size: 20px;
  --cesce-h5-size: 18px;
  --cesce-h6-size: 16px;
  
  /* Body Sizes (Desktop) */
  --cesce-body-size: 16px;
  --cesce-label-size: 14px;
  --cesce-small-size: 12px;
  
  /* Line Height Variables */
  --cesce-heading-line-height: 1.25;
  --cesce-body-line-height: 1.625;
  --cesce-label-line-height: 1.5;
  --cesce-tight-line-height: 1.1;
}

/* ============================================================================
   GLOBAL RESETS & BASE STYLES
   ============================================================================ */

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--cesce-font-body);
  font-size: var(--cesce-body-size);
  font-weight: var(--cesce-font-weight-regular);
  line-height: var(--cesce-body-line-height);
  color: var(--twobm-text, #1e1e24);
  background: var(--twobm-white, #ffffff);
}

/* ============================================================================
   HEADING TYPOGRAPHY
   ============================================================================ */

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--cesce-font-heading);
  font-weight: var(--cesce-font-weight-bold);
  line-height: var(--cesce-heading-line-height);
  margin-top: 0;
  margin-bottom: 1em;
  color: inherit;
}

/* H1 - Primary Heading (36px) */
h1,
.h1,
.elementor-heading-title[data-heading-level="1"],
.elementor-widget-heading h1.elementor-heading-title,
.elementor-widget-theme-post-title h1.elementor-heading-title,
.entry-title {
  font-size: var(--cesce-h1-size);
  font-weight: var(--cesce-font-weight-bold);
  letter-spacing: -0.5px;
}

/* H2 - Secondary Heading (30px) */
h2,
.h2,
.elementor-heading-title[data-heading-level="2"],
.elementor-widget-heading h2.elementor-heading-title,
.elementor-widget-theme-post-title h2.elementor-heading-title,
.section-title {
  font-size: var(--cesce-h2-size);
  font-weight: var(--cesce-font-weight-bold);
  letter-spacing: -0.3px;
}

/* H3 - Tertiary Heading (24px) */
h3,
.h3,
.elementor-heading-title[data-heading-level="3"],
.elementor-heading-title[data-heading-level="h3"],
.elementor-widget-heading h3.elementor-heading-title,
.footer-title,
.footer-2bm-title {
  font-size: var(--cesce-h3-size);
  font-weight: var(--cesce-font-weight-bold);
  letter-spacing: -0.2px;
}

/* H4 - Quaternary Heading (20px) */
h4,
.h4,
.elementor-heading-title[data-heading-level="4"],
.elementor-heading-title[data-heading-level="h4"] {
  font-size: var(--cesce-h4-size);
  font-weight: var(--cesce-font-weight-bold);
}

/* H5 - Quinary Heading (18px) */
h5,
.h5,
.elementor-heading-title[data-heading-level="5"] {
  font-size: var(--cesce-h5-size);
  font-weight: var(--cesce-font-weight-bold);
}

/* H6 - Senary Heading (16px) */
h6,
.h6,
.elementor-heading-title[data-heading-level="6"] {
  font-size: var(--cesce-h6-size);
  font-weight: var(--cesce-font-weight-bold);
}

/* ============================================================================
   BODY TEXT & PARAGRAPH TYPOGRAPHY
   ============================================================================ */

p,
.elementor-widget-text-editor p,
.elementor-icon-list-text,
.elementor-text-editor {
  font-family: var(--cesce-font-body);
  font-size: var(--cesce-body-size);
  font-weight: var(--cesce-font-weight-regular);
  line-height: var(--cesce-body-line-height);
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* List Typography */
ul,
ol,
li {
  font-family: var(--cesce-font-body);
  font-size: var(--cesce-body-size);
  font-weight: var(--cesce-font-weight-regular);
  line-height: var(--cesce-body-line-height);
}

li {
  margin-bottom: 0.5em;
}

li:last-child {
  margin-bottom: 0;
}

/* Definition List */
dt {
  font-family: var(--cesce-font-body);
  font-weight: var(--cesce-font-weight-semibold);
  margin-bottom: 0.25em;
}

dd {
  font-family: var(--cesce-font-body);
  margin-bottom: 1em;
  margin-left: 0;
  padding-left: 1.5em;
}

/* Blockquote */
blockquote {
  font-family: var(--cesce-font-heading);
  font-size: 18px;
  font-weight: var(--cesce-font-weight-regular);
  font-style: italic;
  line-height: 1.6;
  margin: 1.5em 0;
  padding-left: 1.5em;
  border-left: 4px solid var(--twobm-accent, #f29a1a);
}

/* ============================================================================
   LABEL, ACCENT & BUTTON TYPOGRAPHY
   ============================================================================ */

/* Labels & Accents */
label,
.label,
.elementor-field-label,
.form-label {
  font-family: var(--cesce-font-body);
  font-size: var(--cesce-label-size);
  font-weight: var(--cesce-font-weight-semibold);
  line-height: var(--cesce-label-line-height);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Meta Information */
small,
.small,
.meta,
.post-meta,
.entry-meta,
.elementor-post-meta {
  font-family: var(--cesce-font-body);
  font-size: var(--cesce-small-size);
  font-weight: var(--cesce-font-weight-regular);
  line-height: var(--cesce-label-line-height);
  color: rgba(30, 30, 36, 0.7);
}

/* Button Typography */
button,
.button,
.btn,
.elementor-button,
.elementor-button-wrapper .elementor-button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  font-family: var(--cesce-font-body);
  font-size: var(--cesce-label-size);
  font-weight: var(--cesce-font-weight-semibold);
  line-height: var(--cesce-label-line-height);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navigation Typography */
nav,
.navigation,
.menu,
.elementor-nav-menu,
.primary-menu,
.footer-menu {
  font-family: var(--cesce-font-body);
  font-size: var(--cesce-label-size);
  font-weight: var(--cesce-font-weight-semibold);
  line-height: var(--cesce-label-line-height);
}

/* Link Typography */
a {
  font-family: var(--cesce-font-body);
  text-decoration: none;
}

/* ============================================================================
   ELEMENTOR-SPECIFIC TYPOGRAPHY
   ============================================================================ */

/* Elementor Heading Widget */
.elementor-heading-title {
  font-family: var(--cesce-font-heading);
  font-weight: var(--cesce-font-weight-bold);
  line-height: var(--cesce-heading-line-height);
}

/* Elementor Text Editor */
.elementor-widget-text-editor {
  font-family: var(--cesce-font-body);
  font-size: var(--cesce-body-size);
  font-weight: var(--cesce-font-weight-regular);
  line-height: var(--cesce-body-line-height);
}

.elementor-widget-text-editor p {
  font-family: var(--cesce-font-body);
  font-size: var(--cesce-body-size);
  font-weight: var(--cesce-font-weight-regular);
  line-height: var(--cesce-body-line-height);
}

/* Elementor Image Caption */
.elementor-image-caption {
  font-family: var(--cesce-font-body);
  font-size: var(--cesce-small-size);
  font-weight: var(--cesce-font-weight-regular);
  line-height: var(--cesce-label-line-height);
  color: rgba(30, 30, 36, 0.7);
}

/* Elementor Icon List */
.elementor-icon-list-icon + .elementor-icon-list-text {
  font-family: var(--cesce-font-body);
  font-weight: var(--cesce-font-weight-regular);
}

/* Elementor Button */
.elementor-button {
  font-family: var(--cesce-font-body);
  font-weight: var(--cesce-font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================================
   CARD & COMPONENT TYPOGRAPHY
   ============================================================================ */

/* Card Titles */
.card-title,
.elementor-card-title,
.widget-title {
  font-family: var(--cesce-font-heading);
  font-weight: var(--cesce-font-weight-bold);
  line-height: var(--cesce-heading-line-height);
}

/* Card Body */
.card-body,
.card-text {
  font-family: var(--cesce-font-body);
  font-size: var(--cesce-body-size);
  font-weight: var(--cesce-font-weight-regular);
  line-height: var(--cesce-body-line-height);
}

/* ============================================================================
   CODE & PRE-FORMATTED TEXT
   ============================================================================ */

code,
pre,
kbd,
samp {
  font-family: var(--cesce-font-mono);
  font-size: 0.9em;
  line-height: 1.5;
}

pre {
  background: rgba(0, 0, 0, 0.05);
  padding: 1em;
  overflow-x: auto;
  border-radius: 4px;
}

/* ============================================================================
   TABLE TYPOGRAPHY
   ============================================================================ */

table {
  font-family: var(--cesce-font-body);
  font-size: var(--cesce-body-size);
  font-weight: var(--cesce-font-weight-regular);
  line-height: var(--cesce-body-line-height);
}

thead {
  font-weight: var(--cesce-font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: var(--cesce-label-size);
}

/* ============================================================================
   FORM TYPOGRAPHY
   ============================================================================ */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="number"],
input[type="tel"],
textarea,
select {
  font-family: var(--cesce-font-body);
  font-size: var(--cesce-body-size);
  font-weight: var(--cesce-font-weight-regular);
  line-height: var(--cesce-body-line-height);
}

/* ============================================================================
   CESCE GLOBAL TYPOGRAPHY LOCKUP
   ============================================================================ */

.elementor-kit-5,
.elementor-kit-5 button,
.elementor-kit-5 input,
.elementor-kit-5 textarea,
.elementor-kit-5 select,
.site-header,
.site-footer,
.primary-menu,
.cesce-mega-panel,
.footer-menu {
  font-family: var(--cesce-font-body);
}

.elementor-kit-5 h1,
.elementor-kit-5 h2,
.elementor-kit-5 h3,
.elementor-kit-5 .elementor-heading-title,
.hero-title,
.section-title,
.entry-title,
.page-title {
  font-family: var(--cesce-font-heading);
  font-weight: var(--cesce-font-weight-bold);
  line-height: var(--cesce-heading-line-height);
}

.elementor-kit-5 h1,
.elementor-kit-5 .elementor-widget-heading h1.elementor-heading-title,
.hero-title,
.entry-title,
.page-title {
  font-size: var(--cesce-h1-size);
}

.elementor-kit-5 h2,
.elementor-kit-5 .elementor-widget-heading h2.elementor-heading-title,
.section-title {
  font-size: var(--cesce-h2-size);
}

.elementor-kit-5 h3,
.elementor-kit-5 .elementor-widget-heading h3.elementor-heading-title {
  font-size: var(--cesce-h3-size);
}

.elementor-kit-5 p,
.elementor-kit-5 .elementor-widget-text-editor,
.elementor-kit-5 .elementor-widget-text-editor p,
.elementor-kit-5 .elementor-icon-list-text,
.site-footer,
.footer-menu {
  font-family: var(--cesce-font-body);
  font-size: var(--cesce-body-size);
  font-weight: var(--cesce-font-weight-regular);
  line-height: var(--cesce-body-line-height);
}

.primary-menu,
.primary-menu a,
.cesce-mega-panel,
.cesce-mega-panel a,
.cesce-col-title,
.cesce-section-label,
.btn,
.button,
.elementor-button,
.menu-toggle,
.footer-title {
  font-family: var(--cesce-font-body);
  font-size: var(--cesce-label-size);
  line-height: var(--cesce-label-line-height);
}

.primary-menu a,
.cesce-col-title,
.cesce-section-label,
.btn,
.button,
.elementor-button,
.menu-toggle {
  font-weight: var(--cesce-font-weight-semibold);
}

/* ============================================================================
   RESPONSIVE TYPOGRAPHY
   ============================================================================ */

/* Tablet Breakpoint (768px) */
@media (max-width: 1023px) {
  :root {
    --cesce-h1-size: 30px;
    --cesce-h2-size: 26px;
    --cesce-h3-size: 22px;
    --cesce-h4-size: 18px;
    --cesce-h5-size: 16px;
    --cesce-h6-size: 15px;
  }

  h1, .h1 { font-size: 30px; }
  h2, .h2 { font-size: 26px; }
  h3, .h3 { font-size: 22px; }
  h4, .h4 { font-size: 18px; }
  h5, .h5 { font-size: 16px; }
  h6, .h6 { font-size: 15px; }
}

/* Mobile Breakpoint (< 768px) */
@media (max-width: 767px) {
  :root {
    --cesce-h1-size: 26px;
    --cesce-h2-size: 22px;
    --cesce-h3-size: 20px;
    --cesce-h4-size: 18px;
    --cesce-h5-size: 16px;
    --cesce-h6-size: 14px;
    --cesce-body-size: 15px;
    --cesce-body-line-height: 1.6;
  }

  body {
    font-size: 15px;
    line-height: 1.6;
  }

  h1, .h1 { 
    font-size: 26px; 
    margin-bottom: 0.75em;
  }
  
  h2, .h2 { 
    font-size: 22px;
    margin-bottom: 0.75em;
  }
  
  h3, .h3 { 
    font-size: 20px;
    margin-bottom: 0.75em;
  }
  
  h4, .h4 { 
    font-size: 18px;
    margin-bottom: 0.75em;
  }
  
  h5, .h5 { 
    font-size: 16px;
    margin-bottom: 0.75em;
  }
  
  h6, .h6 { 
    font-size: 14px;
    margin-bottom: 0.75em;
  }

  p, .elementor-widget-text-editor p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0.75em;
  }

  blockquote {
    font-size: 16px;
    line-height: 1.5;
  }
}

/* ============================================================================
   SPECIAL TYPOGRAPHY CASES
   ============================================================================ */

/* Pulled Quote / Testimonial */
.quote,
.testimonial,
.pullquote {
  font-family: var(--cesce-font-heading);
  font-size: 20px;
  font-weight: var(--cesce-font-weight-regular);
  font-style: italic;
  line-height: 1.6;
}

/* Highlight / Emphasis */
mark,
.highlight {
  background-color: rgba(242, 154, 26, 0.15);
  padding: 0 0.25em;
  border-radius: 2px;
}

strong,
b,
.strong {
  font-weight: var(--cesce-font-weight-bold);
}

em,
i,
.emphasis {
  font-style: italic;
}

/* Uppercase Accent */
.uppercase,
.caps,
.small-caps {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================================
   SPACING & MARGIN HARMONY
   ============================================================================ */

h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p,
h6 + p {
  margin-top: -0.5em;
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
  * {
    font-family: var(--cesce-font-body) !important;
  }

  h1, h2, h3, h4, h5, h6,
  .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--cesce-font-heading) !important;
  }
}

/* ============================================================================
   ACCESSIBILITY
   ============================================================================ */

@media (prefers-reduced-motion: no-preference) {
  * {
    transition-property: color, background-color, border-color;
    transition-duration: 200ms;
    transition-timing-function: ease;
  }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
  body {
    font-weight: 500;
  }

  a {
    text-decoration: underline;
  }
}

/* ============================================================================
   HOMEPAGE HERO INSTITUTIONAL COLOR LOCKUP
   ============================================================================ */

.home .elementor-11 .elementor-element.elementor-element-1023044 .elementor-element-2121142 .elementor-heading-title {
  font-family: var(--cesce-font-heading) !important;
  color: #071f3d !important;
  text-shadow: none;
}

.home .elementor-11 .elementor-element.elementor-element-1023044 .elementor-element-4426453,
.home .elementor-11 .elementor-element.elementor-element-1023044 .elementor-element-4426453 p {
  font-family: var(--cesce-font-body) !important;
  font-weight: var(--cesce-font-weight-regular) !important;
  color: #374151 !important;
  line-height: var(--cesce-body-line-height) !important;
}

.home .elementor-11 .elementor-element.elementor-element-1023044 .elementor-element-6203779 .elementor-button {
  background: var(--cesce-gold, #D49A19) !important;
  color: var(--cesce-white, #FFFFFF) !important;
  border-color: var(--cesce-gold, #D49A19) !important;
  box-shadow: 0 14px 28px rgba(212, 154, 25, 0.24);
}

.home .elementor-11 .elementor-element.elementor-element-1023044 .elementor-element-6203779 .elementor-button:hover,
.home .elementor-11 .elementor-element.elementor-element-1023044 .elementor-element-6203779 .elementor-button:focus {
  background: #b77f0f !important;
  border-color: #b77f0f !important;
  color: var(--cesce-white, #FFFFFF) !important;
  box-shadow: 0 16px 32px rgba(183, 127, 15, 0.26);
}

/* ============================================================================
   HOMEPAGE GLOBAL TYPOGRAPHY & COLOR LOCKUP
   ============================================================================ */

.home .elementor-11 {
  --cesce-home-heading: #071f3d;
  --cesce-home-text: #374151;
  --cesce-home-muted: #4b5563;
  --cesce-home-gold-hover: #b77f0f;
}

.home .elementor-11 h1.elementor-heading-title,
.home .elementor-11 h2.elementor-heading-title,
.home .elementor-11 h3.elementor-heading-title,
.home .elementor-11 .elementor-icon-box-title,
.home .elementor-11 .elementor-icon-box-title a,
.home .elementor-11 .elementor-counter-number-wrapper {
  font-family: var(--cesce-font-heading) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: var(--cesce-home-heading) !important;
}

.home .elementor-11 h1.elementor-heading-title {
  font-size: 36px !important;
}

.home .elementor-11 h2.elementor-heading-title {
  font-size: 30px !important;
}

.home .elementor-11 h3.elementor-heading-title,
.home .elementor-11 .elementor-icon-box-title,
.home .elementor-11 .elementor-icon-box-title a {
  font-size: 24px !important;
}

.home .elementor-11 .elementor-widget-text-editor,
.home .elementor-11 .elementor-widget-text-editor p,
.home .elementor-11 .elementor-icon-box-description,
.home .elementor-11 .elementor-icon-list-text,
.home .elementor-11 .elementor-counter-title {
  font-family: var(--cesce-font-body) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  color: var(--cesce-home-text) !important;
}

.home .elementor-11 .elementor-icon-list-icon i,
.home .elementor-11 .elementor-icon-list-icon svg,
.home .elementor-11 .elementor-icon-box-icon i,
.home .elementor-11 .elementor-icon-box-icon svg {
  color: var(--cesce-blue, #123B6D) !important;
  fill: var(--cesce-blue, #123B6D) !important;
}

.home .elementor-11 .elementor-widget-button .elementor-button {
  background: var(--cesce-gold, #D49A19) !important;
  border-color: var(--cesce-gold, #D49A19) !important;
  color: var(--cesce-white, #FFFFFF) !important;
  font-family: var(--cesce-font-body) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  box-shadow: 0 14px 28px rgba(212, 154, 25, 0.24);
}

.home .elementor-11 .elementor-widget-button .elementor-button:hover,
.home .elementor-11 .elementor-widget-button .elementor-button:focus {
  background: var(--cesce-home-gold-hover) !important;
  border-color: var(--cesce-home-gold-hover) !important;
  color: var(--cesce-white, #FFFFFF) !important;
  box-shadow: 0 16px 32px rgba(183, 127, 15, 0.26);
}

.home .elementor-11 .elementor-top-section > .elementor-container {
  align-items: center;
}

.home .elementor-11 .elementor-widget-heading {
  margin-bottom: 18px;
}

.home .elementor-11 .elementor-widget-text-editor {
  margin-bottom: 22px;
}

.home .elementor-11 .elementor-section:not(.elementor-element-1023044) {
  scroll-margin-top: 110px;
}

@media (max-width: 1024px) {
  .home .elementor-11 h1.elementor-heading-title {
    font-size: 30px !important;
  }

  .home .elementor-11 h2.elementor-heading-title {
    font-size: 26px !important;
  }

  .home .elementor-11 h3.elementor-heading-title,
  .home .elementor-11 .elementor-icon-box-title,
  .home .elementor-11 .elementor-icon-box-title a {
    font-size: 22px !important;
  }
}

@media (max-width: 767px) {
  .home .elementor-11 h1.elementor-heading-title {
    font-size: 26px !important;
  }

  .home .elementor-11 h2.elementor-heading-title {
    font-size: 22px !important;
  }

  .home .elementor-11 h3.elementor-heading-title,
  .home .elementor-11 .elementor-icon-box-title,
  .home .elementor-11 .elementor-icon-box-title a {
    font-size: 20px !important;
  }

  .home .elementor-11 .elementor-widget-text-editor,
  .home .elementor-11 .elementor-widget-text-editor p,
  .home .elementor-11 .elementor-icon-box-description,
  .home .elementor-11 .elementor-icon-list-text,
  .home .elementor-11 .elementor-counter-title {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}

/* ============================================================================
   CESCE INSTITUTIONAL ELEMENTOR FOOTER
   ============================================================================ */

.cesce-elementor-footer {
  font-family: var(--cesce-font-body) !important;
  background: #061f3d !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

.cesce-footer-main-section {
  padding: 60px 24px 40px !important;
  border-top: 1px solid rgba(212, 154, 25, 0.28);
}

.cesce-footer-main-section > .elementor-container,
.cesce-footer-legal-section > .elementor-container,
.cesce-footer-copyright-section > .elementor-container {
  max-width: 1240px !important;
  margin: 0 auto;
}

.cesce-footer-main-section .elementor-column {
  min-width: 0;
}

.cesce-footer-main-section .elementor-widget-wrap {
  align-content: flex-start;
  padding: 0 14px;
}

.cesce-footer-simplified > .elementor-container {
  align-items: flex-start;
}

.cesce-footer-simplified .elementor-widget-wrap {
  align-items: flex-start;
  gap: 0;
  padding-top: 0;
}

.cesce-footer-simplified .elementor-widget-heading {
  min-height: 31px;
}

.cesce-elementor-footer .elementor-widget {
  margin-bottom: 0;
}

.cesce-elementor-footer .cesce-footer-logo img,
.cesce-elementor-footer .elementor-widget-image img {
  max-width: 100%;
  height: auto;
  margin: 0 0 18px;
}

.cesce-elementor-footer h3.elementor-heading-title,
.cesce-elementor-footer h4.elementor-heading-title {
  font-family: var(--cesce-font-body) !important;
  color: #ffffff !important;
  line-height: 1.35 !important;
}

.cesce-elementor-footer h3.elementor-heading-title {
  max-width: 300px;
  margin: 0 0 14px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

.cesce-elementor-footer h4.elementor-heading-title {
  position: relative;
  margin: 0 0 18px !important;
  padding-bottom: 10px;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cesce-elementor-footer h4.elementor-heading-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--cesce-gold, #D49A19);
}

.cesce-elementor-footer p,
.cesce-elementor-footer li,
.cesce-elementor-footer .elementor-widget-text-editor {
  color: rgba(255, 255, 255, 0.76) !important;
  font-family: var(--cesce-font-body) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
}

.cesce-footer-links,
.cesce-footer-contact {
  display: grid;
  gap: 12px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.cesce-footer-links li,
.cesce-footer-contact li {
  margin: 0 !important;
}

.cesce-elementor-footer a {
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none !important;
  transition: color 200ms ease, transform 200ms ease;
}

.cesce-elementor-footer a:hover,
.cesce-elementor-footer a:focus {
  color: var(--cesce-gold, #D49A19) !important;
}

.cesce-footer-legal-section {
  padding: 18px 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #051a33 !important;
}

.cesce-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin: 0;
}

.cesce-footer-legal a {
  font-size: 13px !important;
  font-weight: 600 !important;
}

.cesce-footer-copyright-section {
  padding: 16px 24px 18px !important;
  background: #031429 !important;
}

.cesce-footer-copyright {
  margin: 0 !important;
  text-align: center;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 13px !important;
}

@media (max-width: 1024px) {
  .cesce-footer-main-section {
    padding-top: 46px !important;
  }

  .cesce-footer-main-section .elementor-container {
    flex-wrap: wrap;
    row-gap: 30px;
  }

  .cesce-footer-main-section .elementor-column {
    width: 50% !important;
  }

  .cesce-footer-main-section .cesce-footer-brand {
    width: 100% !important;
    margin-bottom: 26px;
  }

  .cesce-footer-simplified .cesce-footer-brand {
    display: none;
  }
}

@media (max-width: 767px) {
  .cesce-footer-main-section {
    padding: 40px 20px 28px !important;
  }

  .cesce-footer-main-section .elementor-container {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }

  .cesce-footer-main-section .elementor-column {
    width: 100% !important;
  }

  .cesce-footer-main-section .elementor-widget-wrap {
    padding: 0;
  }

  .cesce-footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cesce-footer-copyright {
    text-align: left;
  }
}
