/* ==============================
   Navy League Korea - unified design system
   ============================== */

/* Base typography and page rhythm */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap');

:root {
  --nlk-navy: #0b1f3a;
  --nlk-blue: #123a63;
  --nlk-gold: #b38b2e;
  --nlk-ink: #222222;
  --nlk-muted: #667085;
  --nlk-line: #e1e5ea;
  --nlk-bg: #f6f8fa;
  --nlk-card: #ffffff;
}

html,
body {
  overflow-x: hidden;
}

body, p, h1, h2, h3, h4, h5, h6, a, span, div, button, input, textarea, select {
  font-family: 'Noto Sans KR', sans-serif !important;
}

body {
  color: var(--nlk-ink);
  line-height: 1.7;
  background: #ffffff;
}

.site-description {
  display: none;
}

/* Header and navigation */
.site-header,
.ast-primary-header-bar,
.ast-below-header-bar {
  border-bottom-color: var(--nlk-line) !important;
}

.main-header-menu > .menu-item > .menu-link,
.ast-builder-menu .main-navigation .menu-item > .menu-link {
  color: var(--nlk-navy) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.main-header-menu > .menu-item:hover > .menu-link,
.ast-builder-menu .main-navigation .menu-item:hover > .menu-link,
.current-menu-item > .menu-link {
  color: var(--nlk-gold) !important;
}

/* Section spacing and headings */
.entry-content > .wp-block-group,
.entry-content > .wp-block-columns,
.entry-content > .wp-block-cover + *,
.elementor-section,
.elementor-container {
  box-sizing: border-box;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
  color: var(--nlk-navy) !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
}

.entry-content h2,
.entry-content h3,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
  margin-bottom: 18px !important;
}

.entry-content p,
.elementor-widget-text-editor,
.elementor-widget-text-editor p {
  color: var(--nlk-ink);
  font-size: 16px;
}

/* Buttons and action links */
a.wp-block-button__link,
.wp-block-button__link,
.elementor-button,
button,
input[type='submit'],
#kboard-default-list a.kboard-default-button-small,
#kboard-default-document a.kboard-default-button-small,
.um-button {
  border-radius: 6px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

a.wp-block-button__link,
.wp-block-button__link,
.elementor-button,
input[type='submit'],
.um-button {
  background: var(--nlk-navy) !important;
  border: 1px solid var(--nlk-navy) !important;
  color: #ffffff !important;
  padding: 12px 22px !important;
}

a.wp-block-button__link:hover,
.wp-block-button__link:hover,
.elementor-button:hover,
input[type='submit']:hover,
.um-button:hover {
  background: var(--nlk-blue) !important;
  border-color: var(--nlk-blue) !important;
  color: #ffffff !important;
}

.entry-content a:not(.wp-block-button__link),
.elementor-widget-text-editor a,
#kboard-default-list a {
  color: var(--nlk-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry-content a:not(.wp-block-button__link):hover,
.elementor-widget-text-editor a:hover,
#kboard-default-list a:hover {
  color: var(--nlk-gold);
}

/* Cards: posts, gallery, repeated content */
.elementor-widget-posts .elementor-post,
.elementor-posts-container .elementor-post,
.wp-block-post,
.wp-block-query .wp-block-post,
.entry-content .wp-block-column,
.entry-content .wp-block-media-text,
.um-field,
#kboard-default-list .kboard-list,
#kboard-default-document .kboard-document-wrap {
  border: 1px solid var(--nlk-line) !important;
  border-radius: 8px !important;
  background: var(--nlk-card) !important;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06) !important;
}

.elementor-widget-posts .elementor-post,
.elementor-posts-container .elementor-post,
.wp-block-post,
.wp-block-query .wp-block-post {
  padding: 18px !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

.elementor-widget-posts .elementor-post:hover,
.elementor-posts-container .elementor-post:hover,
.wp-block-query .wp-block-post:hover {
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.12) !important;
  transform: translateY(-2px) !important;
}

.wp-block-post-title,
.wp-block-post-title a,
.elementor-post__title,
.elementor-post__title a {
  color: var(--nlk-navy) !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

.wp-block-post-date,
.elementor-post-date,
time {
  color: var(--nlk-muted) !important;
  font-size: 14px !important;
}

/* Gallery image consistency */
.wp-block-post-featured-image,
.elementor-post__thumbnail,
.elementor-image,
.wp-block-image {
  overflow: hidden;
  border-radius: 8px;
}

.wp-block-post-featured-image img,
.elementor-post__thumbnail img,
.wp-block-image img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}

.wp-block-query .wp-block-post-featured-image img,
.elementor-post__thumbnail img {
  aspect-ratio: 4 / 3;
}

/* KBoard board styling */
.kboard-default-poweredby {
  display: none !important;
}

#kboard-default-list,
#kboard-default-document,
#kboard-default-editor {
  color: var(--nlk-ink);
}

#kboard-default-list .kboard-list table {
  border-top: 2px solid var(--nlk-navy) !important;
}

#kboard-default-list .kboard-list table th {
  background: var(--nlk-bg) !important;
  color: var(--nlk-navy) !important;
  font-weight: 700 !important;
}

#kboard-default-list .kboard-list table a,
#kboard-default-list .kboard-category .kboard-category-list li a {
  font-size: 16px !important;
}

#kboard-default-list .kboard-list table td.kboard-list-date,
#kboard-default-list .kboard-list table th.kboard-list-date {
  width: 150px !important;
  min-width: 150px !important;
  white-space: nowrap !important;
}

/* Forms: login and registration */
.um-form,
.um-register,
.um-login {
  max-width: 720px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.um-field {
  padding: 16px !important;
  margin-bottom: 12px !important;
}

.um-field-label label,
.um-form label {
  color: var(--nlk-navy) !important;
  font-weight: 700 !important;
}

.um-form input[type='text'],
.um-form input[type='password'],
.um-form input[type='email'],
.um-form input[type='tel'],
.um-form textarea,
.um-form select,
#kboard-default-list input,
#kboard-default-list select,
#kboard-default-editor input,
#kboard-default-editor textarea,
#kboard-default-editor select {
  border: 1px solid var(--nlk-line) !important;
  border-radius: 6px !important;
  min-height: 42px;
}

/* Footer */
.elementor-location-footer,
footer,
.site-footer {
  background-color: var(--nlk-navy) !important;
  color: #ffffff !important;
}

footer,
.site-footer {
  padding: 24px 20px !important;
}

footer a,
.site-footer a,
.elementor-location-footer a {
  color: #c9d8ea !important;
}

footer a:hover,
.site-footer a:hover,
.elementor-location-footer a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* Mobile cleanup */
@media (max-width: 768px) {
  .site-content,
  .ast-container,
  .entry-content,
  .wp-block-cover,
  .wp-block-group,
  .wp-block-columns,
  .elementor-section,
  .elementor-container {
    max-width: 100% !important;
  }

  .entry-content {
    font-size: 15px;
  }

  .entry-content h1,
  .entry-content h2,
  .entry-content h3,
  .elementor-widget-heading h1,
  .elementor-widget-heading h2,
  .elementor-widget-heading h3 {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .wp-block-post,
  .wp-block-query .wp-block-post,
  .elementor-widget-posts .elementor-post,
  .elementor-posts-container .elementor-post {
    padding: 14px !important;
  }

  #kboard-default-list .kboard-list table td.kboard-list-date,
  #kboard-default-list .kboard-list table th.kboard-list-date {
    width: auto !important;
    min-width: 0 !important;
  }
}


/* ==============================
   Home notice color fixes
   ============================== */
.entry-content p a[href*="mod=document"][href*="uid"],
.entry-content p a[href*="%eb%aa%A8%EB%93%9C"][href*="uid"] {
  color: #ffffff !important;
  text-decoration: none !important;
}

.entry-content p a[href*="mod=document"][href*="uid"]:hover,
.entry-content p a[href*="%eb%aa%A8%EB%93%9C"][href*="uid"]:hover {
  color: #ffffff !important;
  opacity: 0.88;
}

.entry-content h4:has(a[href*="mod=document"][href*="uid"]),
.entry-content h4:has(a[href*="uid"]),
.entry-content h4:has(a[href*="%ec%a3%bc%ec%9a%94"]),
.entry-content h4:has(a[href*="주요-"]) {
  color: var(--nlk-navy) !important;
}

.entry-content h4:has(a[href*="mod=document"][href*="uid"]:hover),
.entry-content h4:has(a[href*="uid"]:hover),
.entry-content h4:has(a[href*="%ec%a3%bc%ec%9a%94"]:hover),
.entry-content h4:has(a[href*="주요-"]:hover) {
  color: var(--nlk-gold) !important;
}

.entry-content h4:has(a[href*="uid"]) a,
.entry-content h4:has(a[href*="%ec%a3%bc%ec%9a%94"]) a,
.entry-content h4:has(a[href*="주요-"]) a {
  color: inherit !important;
  text-decoration: none !important;
}


/* ==============================
   Navy-only color override
   ============================== */
:root {
  --nlk-gold: #0b1f3a;
}

.main-header-menu > .menu-item:hover > .menu-link,
.ast-builder-menu .main-navigation .menu-item:hover > .menu-link,
.current-menu-item > .menu-link,
.entry-content a:not(.wp-block-button__link):hover,
.elementor-widget-text-editor a:hover,
#kboard-default-list a:hover,
.entry-content h4:has(a[href*="mod=document"][href*="uid"]:hover),
.entry-content h4:has(a[href*="uid"]:hover),
.entry-content h4:has(a[href*="%ec%a3%bc%ec%9a%94"]:hover),
.entry-content h4:has(a[href*="주요-"]:hover) {
  color: var(--nlk-navy) !important;
}

.entry-content h4:has(a[href*="uid"]) a:hover,
.entry-content h4:has(a[href*="%ec%a3%bc%ec%9a%94"]) a:hover,
.entry-content h4:has(a[href*="주요-"]) a:hover {
  color: var(--nlk-navy) !important;
}


/* ==============================
   Footer redesign - institutional navy style
   ============================== */

/* Partner/institution logo band above footer */
.entry-content > h3:last-of-type,
.entry-content h3:has(+ .wp-block-uagb-container),
.entry-content h3:has(+ .wp-block-columns) {
  color: var(--nlk-navy) !important;
}

.entry-content .uag-blocks-common-selector:has(img.uag-image-1799),
.entry-content .wp-block-uagb-container:has(img.uag-image-1799),
.entry-content .wp-block-columns:has(img.uag-image-1799),
.entry-content .wp-block-group:has(img.uag-image-1799) {
  background: #ffffff !important;
  border-top: 1px solid var(--nlk-line) !important;
  border-bottom: 1px solid var(--nlk-line) !important;
  padding: 28px 24px !important;
  margin-bottom: 0 !important;
}

.entry-content img.uag-image-1799,
.entry-content img.uag-image-1800 {
  max-height: 54px !important;
  width: auto !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 0.92;
}

/* Main footer */
.site-footer,
.site-below-footer-wrap,
.site-footer .ast-builder-grid-row-container-inner,
.site-below-footer-inner-wrap {
  background: #07315f !important;
  color: #d9e7f7 !important;
}

.site-footer {
  margin-top: 0 !important;
  border-top: 1px solid rgba(255,255,255,0.16) !important;
}

.site-below-footer-wrap {
  padding: 0 !important;
}

.site-footer .ast-builder-grid-row-container-inner {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 42px 32px 48px !important;
}

.site-footer .site-footer-section,
.site-footer .ast-footer-copyright {
  width: 100% !important;
}

.site-footer .ast-footer-copyright {
  position: relative;
  display: grid !important;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  column-gap: 34px;
  align-items: center;
  text-align: left !important;
  max-width: 1080px;
  margin: 0 auto;
}

.site-footer .ast-footer-copyright::before {
  content: "";
  width: 104px;
  height: 104px;
  display: block;
  border-radius: 999px;
  background: rgba(255,255,255,0.96) url('https://i0.wp.com/navyleaguekorea.org/wp-content/uploads/2024/11/ebafb8ed95b4eab5b0ec97b0eba7b9_eba19ceab3a0-removebg-preview.png?resize=500%2C499&ssl=1') center / 82px 82px no-repeat;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.site-footer .ast-footer-copyright h3 {
  grid-column: 2 / 3;
  color: #ffffff !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  margin: 0 0 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.site-footer .ast-footer-copyright p {
  grid-column: 2 / 3;
  color: #d9e7f7 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  margin: 0 0 4px !important;
}

.site-footer .ast-footer-copyright p:last-child {
  margin-top: 14px !important;
  color: #a9bfd8 !important;
  font-size: 13px !important;
}

.site-footer .ast-footer-copyright::after {
  content: "협회 소개  |  회원 가입 안내  |  후원하기  |  예산 사용 실적";
  grid-column: 3 / 4;
  grid-row: 1 / span 5;
  align-self: center;
  justify-self: end;
  color: #d9e7f7;
  font-size: 13px;
  line-height: 1.8;
  max-width: 220px;
  text-align: right;
  opacity: 0.9;
}

.site-footer a {
  color: #d9e7f7 !important;
}

.site-footer a:hover {
  color: #ffffff !important;
}

@media (max-width: 921px) {
  .site-footer .ast-footer-copyright {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 22px;
  }

  .site-footer .ast-footer-copyright::before {
    width: 82px;
    height: 82px;
    background-size: 64px 64px;
  }

  .site-footer .ast-footer-copyright::after {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: start;
    text-align: left;
    margin-top: 18px;
    max-width: none;
  }
}

@media (max-width: 544px) {
  .site-footer .ast-builder-grid-row-container-inner {
    padding: 34px 22px 40px !important;
  }

  .site-footer .ast-footer-copyright {
    display: block !important;
    text-align: center !important;
  }

  .site-footer .ast-footer-copyright::before {
    margin: 0 auto 20px;
  }

  .site-footer .ast-footer-copyright::after {
    display: block;
    text-align: center;
    margin-top: 20px;
  }
}


/* ==============================
   Footer cleanup - remove duplicate generated items
   ============================== */
.site-footer .ast-footer-copyright::before,
.site-footer .ast-footer-copyright::after {
  content: none !important;
  display: none !important;
}

.site-footer .ast-builder-layout-element.ast-footer-copyright {
  display: grid !important;
  grid-template-columns: 104px minmax(0, 1fr) !important;
  column-gap: 30px !important;
  align-items: center !important;
  max-width: 920px !important;
  margin: 0 auto !important;
  text-align: left !important;
}

.site-footer .ast-builder-layout-element.ast-footer-copyright::before {
  content: "" !important;
  display: block !important;
  width: 96px !important;
  height: 96px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.96) url('https://i0.wp.com/navyleaguekorea.org/wp-content/uploads/2024/11/ebafb8ed95b4eab5b0ec97b0eba7b9_eba19ceab3a0-removebg-preview.png?resize=500%2C499&ssl=1') center / 74px 74px no-repeat !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18) !important;
}

.site-footer .ast-builder-layout-element.ast-footer-copyright > .ast-footer-copyright {
  grid-column: 2 / 3 !important;
  display: block !important;
  max-width: 620px !important;
}

.site-footer .ast-builder-layout-element.ast-footer-copyright .ast-footer-copyright h3,
.site-footer .ast-builder-layout-element.ast-footer-copyright .ast-footer-copyright p {
  grid-column: auto !important;
  color: #d9e7f7 !important;
  text-align: left !important;
}

.site-footer .ast-builder-layout-element.ast-footer-copyright .ast-footer-copyright h3 {
  color: #ffffff !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
  margin: 0 0 14px !important;
  font-weight: 700 !important;
}

.site-footer .ast-builder-layout-element.ast-footer-copyright .ast-footer-copyright p {
  font-size: 14px !important;
  line-height: 1.75 !important;
  margin: 0 0 5px !important;
}

.site-footer .ast-builder-layout-element.ast-footer-copyright .ast-footer-copyright p:last-child {
  margin-top: 16px !important;
  color: #a9bfd8 !important;
  font-size: 13px !important;
}

@media (max-width: 768px) {
  .site-footer .ast-builder-layout-element.ast-footer-copyright {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
    row-gap: 20px !important;
  }

  .site-footer .ast-builder-layout-element.ast-footer-copyright > .ast-footer-copyright {
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
  }

  .site-footer .ast-builder-layout-element.ast-footer-copyright .ast-footer-copyright h3,
  .site-footer .ast-builder-layout-element.ast-footer-copyright .ast-footer-copyright p {
    text-align: center !important;
  }
}


/* ==============================
   Institution logo size restore
   ============================== */
.entry-content img.uag-image-1799,
.entry-content img.uag-image-1800 {
  max-height: none !important;
  width: 350px !important;
  max-width: min(350px, 42vw) !important;
  height: auto !important;
  object-fit: contain !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .entry-content img.uag-image-1799,
  .entry-content img.uag-image-1800 {
    width: min(260px, 80vw) !important;
    max-width: 80vw !important;
  }
}


/* Subpage title header polish */
body:not(.home) .site-main > article.ast-article-single .ast-breadcrumbs-wrapper {
  max-width: 1120px !important;
  margin: 24px auto 0 !important;
  padding: 0 20px 10px !important;
  border: 0 !important;
  text-align: right !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #6d7d90 !important;
}

body:not(.home) .site-main > article.ast-article-single .ast-breadcrumbs,
body:not(.home) .site-main > article.ast-article-single .ast-breadcrumbs a,
body:not(.home) .site-main > article.ast-article-single .ast-breadcrumbs span {
  color: #6d7d90 !important;
  text-decoration: none !important;
}

body:not(.home) .entry-content > .elementor > .e-con:first-child {
  max-width: 1120px !important;
  min-height: 190px !important;
  margin: 0 auto 56px !important;
  padding: 46px 36px 38px !important;
  border-top: 4px solid #063765 !important;
  border-bottom: 1px solid #d7e3ef !important;
  background: linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%) !important;
  box-shadow: 0 18px 42px rgba(6, 55, 101, 0.08) !important;
}

body:not(.home) .entry-content > .elementor > .e-con:first-child > .e-con-inner {
  position: relative !important;
  max-width: 100% !important;
  min-height: 106px !important;
  justify-content: center !important;
}

body:not(.home) .entry-content > .elementor > .e-con:first-child h1.elementor-heading-title {
  margin: 0 !important;
  color: #051d36 !important;
  text-align: center !important;
  font-size: clamp(34px, 3.2vw, 52px) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.22 !important;
}

body:not(.home) .entry-content > .elementor > .e-con:first-child h1.elementor-heading-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: #063765;
}

body:not(.home) .entry-content > .elementor > .e-con:first-child .elementor-widget-wp-widget-blog-stats {
  position: absolute !important;
  right: 8px !important;
  bottom: -6px !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  margin: 0 !important;
  color: #4b5d72 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

body:not(.home) .entry-content > .elementor > .e-con:first-child .elementor-widget-wp-widget-blog-stats ul {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 8px 14px !important;
  border: 1px solid #d8e4f0 !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.86) !important;
  list-style-position: inside !important;
  box-shadow: 0 8px 22px rgba(6,55,101,0.06) !important;
}

body:not(.home) .entry-content > .elementor > .e-con:first-child .elementor-widget-wp-widget-blog-stats li {
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 768px) {
  body:not(.home) .site-main > article.ast-article-single .ast-breadcrumbs-wrapper {
    margin-top: 16px !important;
    padding: 0 16px 8px !important;
    text-align: left !important;
  }

  body:not(.home) .entry-content > .elementor > .e-con:first-child {
    width: calc(100% - 28px) !important;
    min-height: 160px !important;
    margin-bottom: 36px !important;
    padding: 36px 18px 48px !important;
  }

  body:not(.home) .entry-content > .elementor > .e-con:first-child h1.elementor-heading-title {
    font-size: 32px !important;
  }

  body:not(.home) .entry-content > .elementor > .e-con:first-child .elementor-widget-wp-widget-blog-stats {
    left: 50% !important;
    right: auto !important;
    bottom: -20px !important;
    transform: translateX(-50%) !important;
  }
}


/* Subpage title header polish for block/KBoard pages */
body:not(.home) .entry-content > .wp-block-group:first-child {
  max-width: 1120px !important;
  min-height: 190px !important;
  margin: 0 auto 40px !important;
  padding: 46px 36px 38px !important;
  border-top: 4px solid #063765 !important;
  border-bottom: 1px solid #d7e3ef !important;
  background: linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%) !important;
  box-shadow: 0 18px 42px rgba(6, 55, 101, 0.08) !important;
}

body:not(.home) .entry-content > .wp-block-group:first-child h1,
body:not(.home) .entry-content > .wp-block-group:first-child h2,
body:not(.home) .entry-content > .wp-block-group:first-child h3,
body:not(.home) .entry-content > .wp-block-group:first-child .uagb-heading-text {
  margin: 0 !important;
  color: #051d36 !important;
  text-align: center !important;
  font-size: clamp(34px, 3.2vw, 52px) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.22 !important;
}

body:not(.home) .entry-content > .wp-block-group:first-child h1::after,
body:not(.home) .entry-content > .wp-block-group:first-child h2::after,
body:not(.home) .entry-content > .wp-block-group:first-child h3::after,
body:not(.home) .entry-content > .wp-block-group:first-child .uagb-heading-text::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: #063765;
}

body:not(.home) .entry-content > .wp-block-group:first-child + hr,
body:not(.home) .entry-content > .wp-block-separator:first-child {
  display: none !important;
}

@media (max-width: 768px) {
  body:not(.home) .entry-content > .wp-block-group:first-child {
    width: calc(100% - 28px) !important;
    min-height: 160px !important;
    margin-bottom: 34px !important;
    padding: 36px 18px 40px !important;
  }

  body:not(.home) .entry-content > .wp-block-group:first-child h1,
  body:not(.home) .entry-content > .wp-block-group:first-child h2,
  body:not(.home) .entry-content > .wp-block-group:first-child h3,
  body:not(.home) .entry-content > .wp-block-group:first-child .uagb-heading-text {
    font-size: 32px !important;
  }
}


/* Subpage title header polish refinements */
body:not(.home) .entry-content > .elementor > .e-con:first-child:not(:has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text)) {
  max-width: 1120px !important;
  min-height: 0 !important;
  margin: 0 auto 14px !important;
  padding: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:not(.home) .entry-content > .elementor > .e-con:nth-child(2):has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text) {
  max-width: 1120px !important;
  min-height: 190px !important;
  margin: 0 auto 56px !important;
  padding: 46px 36px 38px !important;
  border-top: 4px solid #063765 !important;
  border-bottom: 1px solid #d7e3ef !important;
  background: linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%) !important;
  box-shadow: 0 18px 42px rgba(6, 55, 101, 0.08) !important;
}

body:not(.home) .entry-content > .elementor > .e-con:nth-child(2):has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text) > .e-con-inner {
  position: relative !important;
  max-width: 100% !important;
  min-height: 106px !important;
  justify-content: center !important;
}

body:not(.home) .entry-content > .elementor > .e-con:nth-child(2):has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text) h1,
body:not(.home) .entry-content > .elementor > .e-con:nth-child(2):has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text) h2,
body:not(.home) .entry-content > .elementor > .e-con:nth-child(2):has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text) h3,
body:not(.home) .entry-content > .elementor > .e-con:nth-child(2):has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text) .elementor-heading-title {
  margin: 0 !important;
  color: #051d36 !important;
  text-align: center !important;
  font-size: clamp(34px, 3.2vw, 52px) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.22 !important;
}

body:not(.home) .entry-content > .elementor > .e-con:nth-child(2):has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text) h1::after,
body:not(.home) .entry-content > .elementor > .e-con:nth-child(2):has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text) h2::after,
body:not(.home) .entry-content > .elementor > .e-con:nth-child(2):has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text) h3::after,
body:not(.home) .entry-content > .elementor > .e-con:nth-child(2):has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text) .elementor-heading-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: #063765;
}

@media (max-width: 768px) {
  body:not(.home) .entry-content > .elementor > .e-con:nth-child(2):has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text) {
    width: calc(100% - 28px) !important;
    min-height: 160px !important;
    margin-bottom: 36px !important;
    padding: 36px 18px 40px !important;
  }

  body:not(.home) .entry-content > .elementor > .e-con:nth-child(2):has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text) h1,
  body:not(.home) .entry-content > .elementor > .e-con:nth-child(2):has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text) h2,
  body:not(.home) .entry-content > .elementor > .e-con:nth-child(2):has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text) h3,
  body:not(.home) .entry-content > .elementor > .e-con:nth-child(2):has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text) .elementor-heading-title {
    font-size: 32px !important;
  }
}


/* Remove leftover height from empty pre-title dividers */
body:not(.home) .entry-content > .elementor > .e-con:first-child:not(:has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text)) > .e-con-inner {
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
}

body:not(.home) .entry-content > .elementor > .e-con:first-child:not(:has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text)) .elementor-widget-divider {
  margin: 0 !important;
}


/* Hide redundant old divider above styled subpage titles */
body:not(.home) .entry-content > .elementor > .e-con:first-child:not(:has(h1,h2,h3,.elementor-heading-title,.uagb-heading-text)) {
  display: none !important;
}


/* Association intro subpage title fixes */
body.page-id-2079 .entry-content > .elementor > .e-con:first-child,
body.page-id-2077 .entry-content > .elementor > .e-con:first-child,
body.page-id-94 .entry-content > .wp-block-separator:first-child,
body.page-id-94 .entry-content > .wp-block-uagb-advanced-heading:first-of-type,
body.page-id-59 .entry-content > .wp-block-uagb-advanced-heading:first-of-type,
body.page-id-54 .entry-content > .wp-block-uagb-advanced-heading:first-of-type {
  display: none !important;
}

body.page-id-2079 .entry-content::before,
body.page-id-2077 .entry-content::before,
body.page-id-94 .entry-content::before,
body.page-id-59 .entry-content::before,
body.page-id-54 .entry-content::before {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 1120px !important;
  min-height: 210px !important;
  margin: 0 auto 56px !important;
  padding: 46px 36px 54px !important;
  border-top: 4px solid #063765 !important;
  border-bottom: 1px solid #d7e3ef !important;
  background: linear-gradient(#063765, #063765) center calc(50% + 54px) / 64px 3px no-repeat, linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%) !important;
  box-shadow: 0 18px 42px rgba(6, 55, 101, 0.08) !important;
  color: #051d36 !important;
  font-size: clamp(34px, 3.2vw, 52px) !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: pre-line !important;
}

body.page-id-2079 .entry-content::before {
  content: "미 해군연맹 소개";
}

body.page-id-2077 .entry-content::before {
  content: "미해군연맹 한국협회 소개";
}

body.page-id-94 .entry-content::before {
  content: "조직도";
}

body.page-id-59 .entry-content::before {
  content: "임원 현황";
}

body.page-id-54 .entry-content::before {
  content: "정관";
}

body.page-id-2079 .ast-breadcrumbs .trail-end,
body.page-id-2077 .ast-breadcrumbs .trail-end {
  font-size: 0 !important;
}

body.page-id-2079 .ast-breadcrumbs .trail-end::after,
body.page-id-2077 .ast-breadcrumbs .trail-end::after {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #6d7d90 !important;
}

body.page-id-2079 .ast-breadcrumbs .trail-end::after {
  content: "미 해군연맹 소개";
}

body.page-id-2077 .ast-breadcrumbs .trail-end::after {
  content: "미해군연맹 한국협회 소개";
}

@media (max-width: 768px) {
  body.page-id-2079 .entry-content::before,
  body.page-id-2077 .entry-content::before,
  body.page-id-94 .entry-content::before,
  body.page-id-59 .entry-content::before,
  body.page-id-54 .entry-content::before {
    width: calc(100% - 28px) !important;
    min-height: 168px !important;
    margin-bottom: 36px !important;
    padding: 36px 18px 48px !important;
    font-size: 32px !important;
    background: linear-gradient(#063765, #063765) center calc(50% + 46px) / 56px 3px no-repeat, linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%) !important;
  }
}


/* Breadcrumb text cleanup for association intro pages */
body.page-id-2079 .ast-breadcrumbs,
body.page-id-2077 .ast-breadcrumbs {
  font-size: 0 !important;
}

body.page-id-2079 .ast-breadcrumbs::after,
body.page-id-2077 .ast-breadcrumbs::after {
  display: inline-block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #6d7d90 !important;
}

body.page-id-2079 .ast-breadcrumbs::after {
  content: "홈 > 미 해군연맹 소개" !important;
}

body.page-id-2077 .ast-breadcrumbs::after {
  content: "홈 > 미해군연맹 한국협회 소개" !important;
}


/* Strong breadcrumb replacement for association intro pages */
body.page-id-2079 .ast-breadcrumbs-wrapper .ast-breadcrumbs-inner,
body.page-id-2077 .ast-breadcrumbs-wrapper .ast-breadcrumbs-inner {
  display: none !important;
}

body.page-id-2079 .ast-breadcrumbs-wrapper::after,
body.page-id-2077 .ast-breadcrumbs-wrapper::after {
  display: inline-block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #6d7d90 !important;
}

body.page-id-2079 .ast-breadcrumbs-wrapper::after {
  content: "홈 > 미 해군연맹 소개" !important;
}

body.page-id-2077 .ast-breadcrumbs-wrapper::after {
  content: "홈 > 미해군연맹 한국협회 소개" !important;
}


/* Use 美 character in association intro labels */
body.page-id-2079 .entry-content::before {
  content: "美 해군연맹 소개" !important;
}

body.page-id-2077 .entry-content::before {
  content: "美 해군연맹 한국협회 소개" !important;
}

body.page-id-2079 .ast-breadcrumbs-wrapper::after {
  content: "홈 > 美 해군연맹 소개" !important;
}

body.page-id-2077 .ast-breadcrumbs-wrapper::after {
  content: "홈 > 美 해군연맹 한국협회 소개" !important;
}


/* Desktop quick sidebar menu */
@media (min-width: 1660px) {
  body:not(.home) #ast-mobile-popup-wrapper,
  body:not(.home) #ast-mobile-popup,
  body:not(.home) #ast-mobile-popup .ast-mobile-popup-inner,
  body:not(.home) #ast-mobile-popup .ast-mobile-popup-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    transition: none !important;
  }

  body:not(.home) #ast-mobile-popup-wrapper {
    position: static !important;
  }

  body:not(.home) #ast-mobile-popup {
    position: fixed !important;
    inset: auto !important;
    left: 18px !important;
    top: 206px !important;
    width: 178px !important;
    height: auto !important;
    max-height: calc(100vh - 236px) !important;
    overflow: visible !important;
    z-index: 998 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body:not(.home) #ast-mobile-popup .ast-mobile-popup-overlay,
  body:not(.home) #ast-mobile-popup .ast-mobile-popup-header,
  body:not(.home) #ast-mobile-popup #menu-toggle-close,
  body:not(.home) #ast-mobile-popup .ast-menu-toggle,
  body:not(.home) #ast-mobile-popup .dropdown-menu-toggle,
  body:not(.home) #ast-mobile-popup .ast-icon,
  body:not(.home) #ast-hf-mobile-menu #menu-item-2228 {
    display: none !important;
  }

  body:not(.home) #ast-mobile-popup .ast-mobile-popup-inner {
    position: static !important;
    width: 178px !important;
    max-width: 178px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body:not(.home) #ast-mobile-popup .ast-mobile-popup-content {
    width: 178px !important;
    max-height: calc(100vh - 236px) !important;
    overflow-y: auto !important;
    padding: 14px 12px 12px !important;
    border: 1px solid #dbe5ef !important;
    border-top: 4px solid #063765 !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,0.96) !important;
    box-shadow: 0 16px 38px rgba(6,55,101,0.13) !important;
  }

  body:not(.home) #ast-mobile-popup .ast-mobile-popup-content::before {
    content: "전체 메뉴";
    display: block;
    margin: 0 0 10px;
    padding: 0 2px 10px;
    border-bottom: 1px solid #e3ebf4;
    color: #063765;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
  }

  body:not(.home) #ast-hf-mobile-menu,
  body:not(.home) #ast-hf-mobile-menu ul,
  body:not(.home) #ast-hf-mobile-menu li {
    display: block !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  body:not(.home) #ast-hf-mobile-menu {
    gap: 0 !important;
  }

  body:not(.home) #ast-hf-mobile-menu > li {
    margin-top: 4px !important;
  }

  body:not(.home) #ast-hf-mobile-menu .sub-menu {
    margin: 2px 0 8px 8px !important;
    padding-left: 8px !important;
    border-left: 2px solid #e2eaf2 !important;
  }

  body:not(.home) #ast-hf-mobile-menu a.menu-link {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 7px 8px !important;
    border-radius: 6px !important;
    color: #24364a !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    white-space: normal !important;
  }

  body:not(.home) #ast-hf-mobile-menu .sub-menu a.menu-link {
    padding: 5px 6px !important;
    color: #607083 !important;
    font-size: 11px !important;
    font-weight: 650 !important;
  }

  body:not(.home) #ast-hf-mobile-menu a.menu-link:hover,
  body:not(.home) #ast-hf-mobile-menu a.menu-link:focus {
    color: #063765 !important;
    background: #eef5fb !important;
  }

  body:not(.home) #ast-hf-mobile-menu .current-menu-item > a.menu-link,
  body:not(.home) #ast-hf-mobile-menu .current_page_item > a.menu-link,
  body:not(.home) #ast-hf-mobile-menu .current-menu-ancestor > a.menu-link,
  body:not(.home) #ast-hf-mobile-menu .current-menu-parent > a.menu-link {
    color: #ffffff !important;
    background: #063765 !important;
  }

  body:not(.home) #ast-hf-mobile-menu .current-menu-ancestor .sub-menu a.menu-link,
  body:not(.home) #ast-hf-mobile-menu .current-menu-parent .sub-menu a.menu-link {
    color: #607083 !important;
    background: transparent !important;
  }

  body:not(.home) #ast-hf-mobile-menu .sub-menu .current-menu-item > a.menu-link,
  body:not(.home) #ast-hf-mobile-menu .sub-menu .current_page_item > a.menu-link {
    color: #ffffff !important;
    background: #0a4c86 !important;
  }
}

@media (max-width: 1659px) {
  body:not(.home) #ast-mobile-popup:not(.active) {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}


/* Missing news subpage title fixes */
body.page-id-135 .entry-content::before,
body.page-id-222 .entry-content::before {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 1120px !important;
  min-height: 210px !important;
  margin: 0 auto 56px !important;
  padding: 46px 36px 54px !important;
  border-top: 4px solid #063765 !important;
  border-bottom: 1px solid #d7e3ef !important;
  background: linear-gradient(#063765, #063765) center calc(50% + 54px) / 64px 3px no-repeat, linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%) !important;
  box-shadow: 0 18px 42px rgba(6, 55, 101, 0.08) !important;
  color: #051d36 !important;
  font-size: clamp(34px, 3.2vw, 52px) !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: pre-line !important;
}

body.page-id-135 .entry-content::before {
  content: "사진 갤러리";
}

body.page-id-222 .entry-content::before {
  content: "예산 사용 실적";
}

@media (max-width: 768px) {
  body.page-id-135 .entry-content::before,
  body.page-id-222 .entry-content::before {
    width: calc(100% - 28px) !important;
    min-height: 168px !important;
    margin-bottom: 36px !important;
    padding: 36px 18px 48px !important;
    font-size: 32px !important;
    background: linear-gradient(#063765, #063765) center calc(50% + 46px) / 56px 3px no-repeat, linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%) !important;
  }
}


/* Photo gallery single post template alignment */
body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .ast-article-single {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-header:not(.ast-no-title) {
  max-width: 1100px !important;
  margin: 0 auto 28px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #e2eaf3 !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-header.ast-no-title {
  display: none !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-title,
body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content > h2.wp-block-post-title {
  color: #1e293b !important;
  font-size: 32px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  margin: 0 0 15px !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-meta {
  color: #64748b !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content {
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #222222 !important;
  font-size: 20px !important;
  line-height: 34px !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content > h2.wp-block-post-title + hr.wp-block-separator {
  margin: 0 0 14px !important;
  border: 0 !important;
  border-top: 1px solid #e2eaf3 !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content > h2.wp-block-post-title + hr.wp-block-separator + .wp-block-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 16px !important;
  align-items: center !important;
  margin: 0 0 32px !important;
  color: #64748b !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content > h2.wp-block-post-title + hr.wp-block-separator + .wp-block-group .jetpack-blog-stats {
  display: none !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content h4.wp-block-heading {
  color: #051d36 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 3px !important;
  margin: 0 0 16px !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content p {
  color: #222222 !important;
  font-size: 18px !important;
  line-height: 1.8 !important;
  letter-spacing: 1px !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content .wp-block-gallery.has-nested-images {
  max-width: 1028px !important;
  width: 100% !important;
  margin: 24px auto 0 !important;
  gap: 24px !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content .wp-block-gallery.has-nested-images figure.wp-block-image {
  width: 100% !important;
  flex-basis: 100% !important;
  flex-grow: 0 !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content .wp-block-uagb-image,
body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content figure.wp-block-image,
body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content .wp-block-video,
body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content .wp-block-embed {
  max-width: 1028px !important;
  width: 100% !important;
  margin: 24px auto 0 !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content .wp-block-uagb-image__figure,
body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content figure.wp-block-image {
  display: block !important;
  max-width: 1028px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content .wp-block-uagb-image img,
body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content .wp-block-image img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 2 !important;
  object-fit: cover !important;
  margin: 0 !important;
}

body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content .wp-block-video video,
body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content .wp-block-embed iframe {
  display: block !important;
  width: 100% !important;
  max-width: 1028px !important;
  margin: 0 auto !important;
}

@media (max-width: 768px) {
  body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-header:not(.ast-no-title),
  body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content {
    width: calc(100% - 28px) !important;
  }

  body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-title,
  body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content > h2.wp-block-post-title {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }

  body.single-post.category-28540484:not(.postid-2517):not(.postid-1744) .entry-content p {
    font-size: 16px !important;
    letter-spacing: 0 !important;
  }
}


/* Photo gallery single post template selector fix */
body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484.ast-article-single {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-header:not(.ast-no-title) {
  max-width: 1100px !important;
  margin: 0 auto 28px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #e2eaf3 !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-header.ast-no-title {
  display: none !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-title,
body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content > h2.wp-block-post-title {
  color: #1e293b !important;
  font-size: 32px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  margin: 0 0 15px !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-meta {
  color: #64748b !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content {
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #222222 !important;
  font-size: 20px !important;
  line-height: 34px !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content > h2.wp-block-post-title + hr.wp-block-separator {
  margin: 0 0 14px !important;
  border: 0 !important;
  border-top: 1px solid #e2eaf3 !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content > h2.wp-block-post-title + hr.wp-block-separator + .wp-block-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 16px !important;
  align-items: center !important;
  margin: 0 0 32px !important;
  color: #64748b !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content > h2.wp-block-post-title + hr.wp-block-separator + .wp-block-group .jetpack-blog-stats {
  display: none !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content h4.wp-block-heading {
  color: #051d36 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 3px !important;
  margin: 0 0 16px !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content p {
  color: #222222 !important;
  font-size: 18px !important;
  line-height: 1.8 !important;
  letter-spacing: 1px !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content .wp-block-gallery.has-nested-images {
  max-width: 1028px !important;
  width: 100% !important;
  margin: 24px auto 0 !important;
  gap: 24px !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content .wp-block-gallery.has-nested-images figure.wp-block-image {
  width: 100% !important;
  flex-basis: 100% !important;
  flex-grow: 0 !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content .wp-block-uagb-image,
body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content figure.wp-block-image,
body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content .wp-block-video,
body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content .wp-block-embed {
  max-width: 1028px !important;
  width: 100% !important;
  margin: 24px auto 0 !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content .wp-block-uagb-image__figure,
body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content figure.wp-block-image {
  display: block !important;
  max-width: 1028px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content .wp-block-uagb-image img,
body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content .wp-block-image img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 2 !important;
  object-fit: cover !important;
  margin: 0 !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content .wp-block-video video,
body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content .wp-block-embed iframe {
  display: block !important;
  width: 100% !important;
  max-width: 1028px !important;
  margin: 0 auto !important;
}

@media (max-width: 768px) {
  body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-header:not(.ast-no-title),
  body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content {
    width: calc(100% - 28px) !important;
  }

  body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-title,
  body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content > h2.wp-block-post-title {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }

  body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content p {
    font-size: 16px !important;
    letter-spacing: 0 !important;
  }
}


/* Photo gallery image group width fix */
body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content .wp-block-group:has(.wp-block-uagb-image) {
  max-width: 1028px !important;
  width: 100% !important;
  margin: 24px auto 0 !important;
  padding: 0 !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content .wp-block-group:has(.wp-block-uagb-image) > .wp-block-uagb-image {
  max-width: 1028px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* Photo gallery old layout title and column fix */
body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content .wp-block-uagb-container:has(.wp-block-uagb-image) {
  display: block !important;
  max-width: 1028px !important;
  width: 100% !important;
  margin: 24px auto 0 !important;
  padding: 0 !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content .wp-block-uagb-container:has(.wp-block-uagb-image) > .uagb-container-inner-blocks-wrap {
  display: block !important;
  max-width: 1028px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content .wp-block-uagb-container:has(.wp-block-uagb-image) .wp-block-uagb-container {
  display: block !important;
  max-width: 1028px !important;
  width: 100% !important;
  margin: 24px auto 0 !important;
  padding: 0 !important;
}

body.postid-2043 article.category-28540484 .entry-content::before,
body.postid-1728 article.category-28540484 .entry-content::before,
body.postid-1718 article.category-28540484 .entry-content::before {
  display: block !important;
  color: #1e293b !important;
  font-size: 32px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  margin: 0 0 28px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #e2eaf3 !important;
}

body.postid-2043 article.category-28540484 .entry-content::before {
  content: "2025.03.20. 회원 확대 활동 (해군 2함대 방문)";
}

body.postid-1728 article.category-28540484 .entry-content::before {
  content: "2024.10.11 249주년 미해군 창설 Navy Birthday Ball";
}

body.postid-1718 article.category-28540484 .entry-content::before {
  content: "2024.06.30 창립총회 및 부산 항모 방문";
}

@media (max-width: 768px) {
  body.postid-2043 article.category-28540484 .entry-content::before,
  body.postid-1728 article.category-28540484 .entry-content::before,
  body.postid-1718 article.category-28540484 .entry-content::before {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
}


/* Photo gallery native gallery width fix */
body.single-post:not(.postid-2517):not(.postid-1744) article.category-28540484 .entry-content > .wp-block-group:has(.wp-block-gallery.has-nested-images) {
  padding-left: 26px !important;
  padding-right: 26px !important;
}


/* KBoard editor usability polish */
body.page-id-230 #kboard-default-editor,
body.page-id-222 #kboard-default-editor,
body.page-id-437 #kboard-default-editor {
  max-width: 1080px !important;
  margin: 0 auto 96px !important;
  padding: 40px 44px 44px !important;
  border: 1px solid #d9e5f0 !important;
  border-top: 5px solid #063765 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 20px 50px rgba(6, 55, 101, 0.10) !important;
  color: #1e293b !important;
}

body.page-id-230 #kboard-default-editor::before,
body.page-id-222 #kboard-default-editor::before,
body.page-id-437 #kboard-default-editor::before {
  content: "게시글 작성";
  display: block !important;
  margin: 0 0 28px !important;
  padding: 0 0 18px !important;
  border-bottom: 1px solid #e2eaf3 !important;
  color: #051d36 !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

body.page-id-230 #kboard-default-editor .kboard-attr-search,
body.page-id-222 #kboard-default-editor .kboard-attr-search,
body.page-id-437 #kboard-default-editor .kboard-attr-search {
  display: none !important;
}

body.page-id-230 #kboard-default-editor .kboard-attr-row,
body.page-id-222 #kboard-default-editor .kboard-attr-row,
body.page-id-437 #kboard-default-editor .kboard-attr-row {
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 16px 0 !important;
  border-bottom: 1px solid #edf2f7 !important;
  background: transparent !important;
}

body.page-id-230 #kboard-default-editor .kboard-attr-content,
body.page-id-222 #kboard-default-editor .kboard-attr-content,
body.page-id-437 #kboard-default-editor .kboard-attr-content,
body.page-id-230 #kboard-default-editor .kboard-content,
body.page-id-222 #kboard-default-editor .kboard-content,
body.page-id-437 #kboard-default-editor .kboard-content {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 22px 0 !important;
  border-bottom: 1px solid #edf2f7 !important;
}

body.page-id-230 #kboard-default-editor .attr-name,
body.page-id-222 #kboard-default-editor .attr-name,
body.page-id-437 #kboard-default-editor .attr-name {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #051d36 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

body.page-id-230 #kboard-default-editor .kboard-attr-content .attr-name,
body.page-id-222 #kboard-default-editor .kboard-attr-content .attr-name,
body.page-id-437 #kboard-default-editor .kboard-attr-content .attr-name {
  margin-bottom: 12px !important;
}

body.page-id-230 #kboard-default-editor .attr-value,
body.page-id-222 #kboard-default-editor .attr-value,
body.page-id-437 #kboard-default-editor .attr-value {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-230 #kboard-default-editor input[type="text"],
body.page-id-230 #kboard-default-editor input[type="password"],
body.page-id-230 #kboard-default-editor input[type="date"],
body.page-id-230 #kboard-default-editor input[type="datetime-local"],
body.page-id-230 #kboard-default-editor select,
body.page-id-222 #kboard-default-editor input[type="text"],
body.page-id-222 #kboard-default-editor input[type="password"],
body.page-id-222 #kboard-default-editor input[type="date"],
body.page-id-222 #kboard-default-editor input[type="datetime-local"],
body.page-id-222 #kboard-default-editor select,
body.page-id-437 #kboard-default-editor input[type="text"],
body.page-id-437 #kboard-default-editor input[type="password"],
body.page-id-437 #kboard-default-editor input[type="date"],
body.page-id-437 #kboard-default-editor input[type="datetime-local"],
body.page-id-437 #kboard-default-editor select {
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 16px !important;
  border: 1px solid #cbd8e6 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #1e293b !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

body.page-id-230 #kboard-default-editor input:focus,
body.page-id-230 #kboard-default-editor select:focus,
body.page-id-230 #kboard-default-editor textarea:focus,
body.page-id-222 #kboard-default-editor input:focus,
body.page-id-222 #kboard-default-editor select:focus,
body.page-id-222 #kboard-default-editor textarea:focus,
body.page-id-437 #kboard-default-editor input:focus,
body.page-id-437 #kboard-default-editor select:focus,
body.page-id-437 #kboard-default-editor textarea:focus {
  border-color: #063765 !important;
  outline: 3px solid rgba(6, 55, 101, 0.14) !important;
}

body.page-id-230 #kboard-default-editor .kboard-attr-option .attr-value,
body.page-id-222 #kboard-default-editor .kboard-attr-option .attr-value,
body.page-id-437 #kboard-default-editor .kboard-attr-option .attr-value {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

body.page-id-230 #kboard-default-editor .attr-value-option,
body.page-id-222 #kboard-default-editor .attr-value-option,
body.page-id-437 #kboard-default-editor .attr-value-option {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 42px !important;
  padding: 8px 13px !important;
  border: 1px solid #d9e5f0 !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  color: #334155 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

body.page-id-230 #kboard-default-editor input[type="checkbox"],
body.page-id-222 #kboard-default-editor input[type="checkbox"],
body.page-id-437 #kboard-default-editor input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  accent-color: #063765 !important;
}

body.page-id-230 #kboard-default-editor .wp-media-buttons,
body.page-id-222 #kboard-default-editor .wp-media-buttons,
body.page-id-437 #kboard-default-editor .wp-media-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 12px !important;
}

body.page-id-230 #kboard-default-editor .button,
body.page-id-222 #kboard-default-editor .button,
body.page-id-437 #kboard-default-editor .button {
  min-height: 40px !important;
  padding: 0 14px !important;
  border: 1px solid #cbd8e6 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #063765 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 38px !important;
  box-shadow: none !important;
}

body.page-id-230 #kboard-default-editor .su-generator-button,
body.page-id-222 #kboard-default-editor .su-generator-button,
body.page-id-437 #kboard-default-editor .su-generator-button,
body.page-id-230 #kboard-default-editor .switch-html,
body.page-id-222 #kboard-default-editor .switch-html,
body.page-id-437 #kboard-default-editor .switch-html,
body.page-id-230 #kboard-default-editor .quicktags-toolbar,
body.page-id-222 #kboard-default-editor .quicktags-toolbar,
body.page-id-437 #kboard-default-editor .quicktags-toolbar {
  display: none !important;
}

body.page-id-230 #kboard-default-editor .wp-editor-wrap,
body.page-id-222 #kboard-default-editor .wp-editor-wrap,
body.page-id-437 #kboard-default-editor .wp-editor-wrap {
  border: 1px solid #cbd8e6 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #fff !important;
}

body.page-id-230 #kboard-default-editor iframe,
body.page-id-222 #kboard-default-editor iframe,
body.page-id-437 #kboard-default-editor iframe,
body.page-id-230 #kboard-default-editor textarea.wp-editor-area,
body.page-id-222 #kboard-default-editor textarea.wp-editor-area,
body.page-id-437 #kboard-default-editor textarea.wp-editor-area {
  min-height: 420px !important;
}

body.page-id-230 #kboard-default-editor .kboard-attr-thumbnail,
body.page-id-230 #kboard-default-editor .kboard-attr-attach,
body.page-id-222 #kboard-default-editor .kboard-attr-thumbnail,
body.page-id-222 #kboard-default-editor .kboard-attr-attach,
body.page-id-437 #kboard-default-editor .kboard-attr-thumbnail,
body.page-id-437 #kboard-default-editor .kboard-attr-attach {
  align-items: start !important;
  padding: 14px 16px !important;
  border: 1px solid #edf2f7 !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  margin-top: 10px !important;
}

body.page-id-230 #kboard-default-editor input[type="file"],
body.page-id-222 #kboard-default-editor input[type="file"],
body.page-id-437 #kboard-default-editor input[type="file"] {
  width: 100% !important;
  padding: 10px 12px !important;
  border: 1px dashed #b8c8d9 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #334155 !important;
  font-size: 14px !important;
}

body.page-id-230 #kboard-default-editor .kboard-control,
body.page-id-222 #kboard-default-editor .kboard-control,
body.page-id-437 #kboard-default-editor .kboard-control {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 26px 0 0 !important;
  padding: 24px 0 0 !important;
  border-top: 1px solid #e2eaf3 !important;
  clear: both !important;
}

body.page-id-230 #kboard-default-editor .kboard-control::after,
body.page-id-222 #kboard-default-editor .kboard-control::after,
body.page-id-437 #kboard-default-editor .kboard-control::after {
  display: none !important;
}

body.page-id-230 #kboard-default-editor .kboard-control .left,
body.page-id-230 #kboard-default-editor .kboard-control .right,
body.page-id-222 #kboard-default-editor .kboard-control .left,
body.page-id-222 #kboard-default-editor .kboard-control .right,
body.page-id-437 #kboard-default-editor .kboard-control .left,
body.page-id-437 #kboard-default-editor .kboard-control .right {
  float: none !important;
  display: flex !important;
  gap: 10px !important;
}

body.page-id-230 #kboard-default-editor .kboard-default-button-small,
body.page-id-222 #kboard-default-editor .kboard-default-button-small,
body.page-id-437 #kboard-default-editor .kboard-default-button-small {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 112px !important;
  min-height: 46px !important;
  padding: 0 20px !important;
  border: 1px solid #cbd8e6 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #063765 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.page-id-230 #kboard-default-editor button.kboard-default-button-small[type="submit"],
body.page-id-222 #kboard-default-editor button.kboard-default-button-small[type="submit"],
body.page-id-437 #kboard-default-editor button.kboard-default-button-small[type="submit"] {
  border-color: #063765 !important;
  background: #063765 !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  body.page-id-230 #kboard-default-editor,
  body.page-id-222 #kboard-default-editor,
  body.page-id-437 #kboard-default-editor {
    width: calc(100% - 28px) !important;
    margin-bottom: 56px !important;
    padding: 28px 18px 32px !important;
  }

  body.page-id-230 #kboard-default-editor::before,
  body.page-id-222 #kboard-default-editor::before,
  body.page-id-437 #kboard-default-editor::before {
    font-size: 25px !important;
  }

  body.page-id-230 #kboard-default-editor .kboard-attr-row,
  body.page-id-222 #kboard-default-editor .kboard-attr-row,
  body.page-id-437 #kboard-default-editor .kboard-attr-row {
    display: block !important;
  }

  body.page-id-230 #kboard-default-editor .attr-name,
  body.page-id-222 #kboard-default-editor .attr-name,
  body.page-id-437 #kboard-default-editor .attr-name {
    margin-bottom: 8px !important;
  }

  body.page-id-230 #kboard-default-editor .kboard-control,
  body.page-id-222 #kboard-default-editor .kboard-control,
  body.page-id-437 #kboard-default-editor .kboard-control {
    flex-direction: column-reverse !important;
    align-items: stretch !important;
  }

  body.page-id-230 #kboard-default-editor .kboard-control .left,
  body.page-id-230 #kboard-default-editor .kboard-control .right,
  body.page-id-222 #kboard-default-editor .kboard-control .left,
  body.page-id-222 #kboard-default-editor .kboard-control .right,
  body.page-id-437 #kboard-default-editor .kboard-control .left,
  body.page-id-437 #kboard-default-editor .kboard-control .right,
  body.page-id-230 #kboard-default-editor .kboard-default-button-small,
  body.page-id-222 #kboard-default-editor .kboard-default-button-small,
  body.page-id-437 #kboard-default-editor .kboard-default-button-small {
    width: 100% !important;
  }
}


/* KBoard editor search row final hide fix */
body.page-id-230 #kboard-default-editor .kboard-form .kboard-attr-row.kboard-attr-search,
body.page-id-222 #kboard-default-editor .kboard-form .kboard-attr-row.kboard-attr-search,
body.page-id-437 #kboard-default-editor .kboard-form .kboard-attr-row.kboard-attr-search {
  display: none !important;
}

/* Footer desktop width and no-wrap refinement */
@media (min-width: 1025px) {
  #colophon .site-below-footer-wrap .ast-builder-grid-row-container-inner {
    width: min(1180px, calc(100% - 96px)) !important;
    max-width: 1180px !important;
  }

  #colophon .site-below-footer-wrap .site-below-footer-inner-wrap,
  #colophon .site-below-footer-wrap .ast-builder-footer-grid-columns,
  #colophon .site-below-footer-wrap .site-footer-below-section-1,
  #colophon .site-below-footer-wrap .ast-builder-layout-element.ast-footer-copyright {
    width: min(1060px, 100%) !important;
    max-width: 1060px !important;
  }

  #colophon .site-below-footer-wrap .ast-footer-copyright .ast-footer-copyright {
    width: calc(100% - 142px) !important;
    max-width: 900px !important;
  }

  #colophon .site-below-footer-wrap .ast-footer-copyright h3,
  #colophon .site-below-footer-wrap .ast-footer-copyright p,
  #colophon .site-below-footer-wrap .ast-footer-copyright span {
    white-space: nowrap !important;
  }

  #colophon .site-below-footer-wrap .ast-footer-copyright h3,
  #colophon .site-below-footer-wrap .ast-footer-copyright p {
    width: auto !important;
    max-width: none !important;
  }
}

@media (max-width: 1024px) {
  #colophon .site-below-footer-wrap .ast-footer-copyright h3,
  #colophon .site-below-footer-wrap .ast-footer-copyright p,
  #colophon .site-below-footer-wrap .ast-footer-copyright span {
    white-space: normal !important;
  }
}

/* Active banner/menu tone refinement */
@media (min-width: 922px) {
  .main-header-menu > .menu-item.current-menu-item > .menu-link,
  .main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
  .main-header-menu > .menu-item.current-menu-parent > .menu-link,
  .main-header-menu > .menu-item:hover > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-parent > .menu-link {
    background: linear-gradient(180deg, rgba(6,55,101,0.10), rgba(6,55,101,0.04)) !important;
    color: #063765 !important;
    box-shadow: inset 0 -3px 0 #0a6ea8 !important;
  }

  .main-header-menu .sub-menu .menu-item.current-menu-item > .menu-link,
  .main-header-menu .sub-menu .menu-item.current-menu-ancestor > .menu-link,
  .main-header-menu .sub-menu .menu-item:hover > .menu-link {
    background: #063765 !important;
    color: #ffffff !important;
  }

  .main-header-menu .sub-menu {
    border-top: 3px solid #0a6ea8 !important;
  }
}

.ast-breadcrumbs-wrapper + .entry-header,
.entry-header.ast-no-title.ast-no-thumbnail,
.page .entry-header:not(.page-header),
body.ast-normal-title-enabled .entry-header {
  background: linear-gradient(180deg, rgba(6,55,101,0.06), rgba(6,55,101,0.015)) !important;
}

/* Home notice title wrapping refinement */
@media (min-width: 1025px) {
  .home .uagb-block-c5512720 .uagb-container-inner-blocks-wrap {
    width: min(1320px, calc(100% - 80px)) !important;
    max-width: 1320px !important;
  }

  .home .uagb-block-c5512720 .wp-block-group.is-nowrap {
    gap: 40px !important;
  }

  .home .uagb-block-c5512720 .uagb-block-05651eac,
  .home .uagb-block-c5512720 .uagb-block-7d0c571a {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  .home .uagb-block-c5512720 h4.wp-block-heading,
  .home .uagb-block-c5512720 h4.wp-block-heading a {
    font-size: clamp(23px, 1.45vw, 26px) !important;
    line-height: 1.42 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
  }
}

@media (max-width: 1024px) {
  .home .uagb-block-c5512720 h4.wp-block-heading,
  .home .uagb-block-c5512720 h4.wp-block-heading a {
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
}

/* Home section divider alignment */
.home .uagb-block-8a14a660,
.home .uagb-block-838658a8 {
  border-top: 1px solid #e1e5ea !important;
  border-bottom: 1px solid #e1e5ea !important;
  padding: 28px 24px !important;
  box-sizing: border-box !important;
}

.home .uagb-block-8a14a660 .uagb-heading-text,
.home .uagb-block-838658a8 .uagb-heading-text {
  margin-bottom: 0 !important;
}

@media (max-width: 767px) {
  .home .uagb-block-8a14a660,
  .home .uagb-block-838658a8 {
    padding: 22px 16px !important;
  }
}