:root {
    --sh-blue: #5bcefa;
    --sh-blue-soft: #dff6ff;
    --sh-pink: #f5a9b8;
    --sh-pink-soft: #ffe6ed;
    --sh-white: #ffffff;
    --sh-ink: #12384d;
    --sh-muted: #5e7785;
    --sh-line: #dbe9ef;
    --sh-dark: #0d3549;
    --sh-radius: 34px;
    --sh-shadow: 0 18px 55px rgba(18, 56, 77, .10);
    --sh-content-width: 1320px;
}

/* Keep every shared page container within the header, including Tailwind's wide-screen breakpoint. */
body .container { max-width: min(100%, var(--sh-content-width)); }
body .pagination { flex-wrap: wrap; row-gap: 8px; }

/* Editorial trust signals used on long-form content pages. */
.seo-trust-card {
  margin: 0 0 2rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(20, 61, 82, .12);
  border-left: 5px solid #5bcefa;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(91, 206, 250, .11), rgba(245, 169, 184, .11));
  color: #143d52;
  font-size: 1rem;
  line-height: 1.7;
}
.seo-trust-card__author,
.seo-trust-card__dates { display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: center; }
.seo-trust-card__label { color: #547080; }
.seo-trust-card__dates { margin-top: .35rem; color: #547080; font-size: .92rem; }
.seo-trust-card p { margin: .75rem 0 .35rem; }
.seo-trust-card a { color: #087eae; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.seo-trust-card__reviewer { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: baseline; margin-top: .8rem; padding-top: .8rem; border-top: 1px solid rgba(20,61,82,.10); }
.seo-trust-card__reviewer small { grid-column: 2; color: var(--sh-muted); }
@media (max-width: 767.98px) {
  .seo-trust-card { padding: 1rem; border-radius: 14px; font-size: .95rem; }
}

/* Long-form SEO, education, knowledge and article pages. */
.sh-content-hero__kicker {
    display: inline-flex;
    margin-bottom: 14px;
    color: #0b8fbd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.sh-seo-content-page { background: #fff; }
.sh-article-layout { justify-content: center; gap: clamp(28px, 4vw, 64px); }
.sh-article-main { min-width: 0; }
.sh-related-sidebar { align-self: flex-start; }
.sh-related-sidebar .related-articles {
    position: sticky;
    top: 112px;
    padding: 24px;
    border: 1px solid var(--sh-line);
    border-radius: 24px;
    background: #f8fcfe;
}
.sh-related-sidebar .related-articles h2 { margin: 8px 0 16px; color: var(--sh-ink); font-size: 24px; }
.sh-related-sidebar .article-link { padding: 12px 0; border-top: 1px solid var(--sh-line); color: var(--sh-ink); font-size: 15px; line-height: 1.45; }
.sh-article-featured { margin: 0 0 34px; }
.sh-article-featured img { display: block; width: 100%; max-height: 620px; margin: 0 !important; border-radius: 28px !important; object-fit: cover; box-shadow: var(--sh-shadow); }
.sh-article-featured figcaption { padding: 10px 4px 0; color: var(--sh-muted); font-size: 13px; }
.seo-translation-notice { margin: 0 0 24px; padding: 18px 20px; border: 1px solid #f1c8d1; border-radius: 18px; background: var(--sh-pink-soft); color: var(--sh-ink); }
.seo-translation-notice strong { display: block; margin-bottom: 4px; font-size: 18px; }
.seo-translation-notice p { margin: 0; font-size: 14px; line-height: 1.6; }
.seo-reference-card { margin-top: 50px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--sh-line); border-radius: 28px; background: #f7fbfd; color: var(--sh-ink); }
.seo-reference-card__eyebrow { color: #128dbb; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.seo-reference-card h2,
.seo-internal-links h2 { margin: 8px 0 10px; color: var(--sh-ink); font-size: clamp(26px, 4vw, 38px); line-height: 1.12; }
.seo-reference-card > p { color: var(--sh-muted); }
.seo-reference-card ol { display: grid; gap: 10px; margin: 22px 0 16px; padding-left: 24px; }
.seo-reference-card li { padding-left: 4px; }
.seo-reference-card li a { display: grid; gap: 2px; color: #087eae; text-decoration: none; }
.seo-reference-card li a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.seo-reference-card li span,
.seo-reference-card > small { color: var(--sh-muted); font-size: 13px; }
.seo-internal-links { margin-top: 28px; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: linear-gradient(135deg, var(--sh-blue-soft), var(--sh-pink-soft)); }
.seo-internal-links__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.seo-internal-links__grid a { position: relative; display: grid; gap: 4px; min-height: 145px; padding: 20px; border: 1px solid rgba(18,56,77,.08); border-radius: 18px; background: rgba(255,255,255,.9); color: var(--sh-ink); }
.seo-internal-links__grid strong { padding-right: 28px; font-size: 18px; line-height: 1.3; }
.seo-internal-links__grid span { color: var(--sh-muted); font-size: 14px; line-height: 1.5; }
.seo-internal-links__grid i { position: absolute; top: 18px; right: 18px; color: #168fbd; font-style: normal; }
.sh-knowledge-intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) auto; gap: 28px; align-items: center; margin: 0 0 32px; padding: 30px; border-radius: 26px; background: linear-gradient(135deg, var(--sh-blue-soft), #fff 55%, var(--sh-pink-soft)); }
.sh-knowledge-intro h2 { margin: 6px 0 0; color: var(--sh-ink); font-size: clamp(28px, 4vw, 40px); line-height: 1.08; }
.sh-knowledge-intro p { margin: 0; color: var(--sh-muted); line-height: 1.7; }
.sh-knowledge-intro > a { color: #087eae; font-weight: 750; white-space: nowrap; }
.sh-knowledge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sh-knowledge-card { min-width: 0; overflow: hidden; border: 1px solid var(--sh-line); border-radius: 24px; background: #fff; box-shadow: 0 12px 35px rgba(18,56,77,.07); transition: transform .2s ease, box-shadow .2s ease; }
.sh-knowledge-card:hover { transform: translateY(-4px); box-shadow: var(--sh-shadow); }
.sh-knowledge-card > a { display: grid; grid-template-rows: auto 1fr; height: 100%; color: var(--sh-ink); }
.sh-knowledge-card__image { position: relative; display: grid; place-items: center; height: 172px; overflow: hidden; background: linear-gradient(145deg, #eefaff 0%, #dff6ff 100%); }
.sh-knowledge-card:nth-child(even) .sh-knowledge-card__image { background: linear-gradient(145deg, #fff4f7 0%, #fde3eb 100%); }
.sh-knowledge-card__image::before { content: ''; position: absolute; width: 132px; height: 132px; border-radius: 40px; background: rgba(255,255,255,.88); box-shadow: 0 16px 34px rgba(18,56,77,.08); transform: rotate(-7deg); }
.sh-knowledge-card:nth-child(even) .sh-knowledge-card__image::before { transform: rotate(7deg); }
.sh-knowledge-card__image::after { content: ''; position: absolute; top: 24px; right: 26px; width: 11px; height: 11px; border-radius: 50%; background: var(--sh-pink); box-shadow: -14px 13px 0 -3px rgba(255,255,255,.95); }
.sh-knowledge-card__image img { position: relative; z-index: 1; width: 108px; height: 108px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(22,143,189,.12)); transition: transform .25s ease; }
.sh-knowledge-card:hover .sh-knowledge-card__image img { transform: scale(1.06) rotate(-2deg); }
.sh-knowledge-card__body { display: flex; flex-direction: column; padding: 22px; }
.sh-knowledge-card__body > span { align-self: flex-start; min-width: 38px; padding: 5px 10px; border-radius: 999px; background: var(--sh-blue-soft); color: #087eae; font-size: 12px; font-weight: 800; text-align: center; }
.sh-knowledge-card:nth-child(even) .sh-knowledge-card__body > span { background: var(--sh-pink-soft); color: #b64269; }
.sh-knowledge-card__body h2 { margin: 8px 0; font-size: 23px; line-height: 1.18; }
.sh-knowledge-card__body p { flex: 1; min-height: 66px; margin: 0 0 18px; color: var(--sh-muted); font-size: 14px; line-height: 1.55; }
.sh-knowledge-card__body b { display: inline-flex; align-items: center; gap: 6px; color: #087eae; font-size: 13px; }
.sh-blog-listing .news-title { display: block; margin: 0; color: var(--sh-ink); font-size: 20px; line-height: 1.35; }
.sh-blog-listing .read-time-date { display: flex; justify-content: space-between; gap: 12px; }

@media (max-width: 1199.98px) {
    .sh-knowledge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sh-knowledge-intro { grid-template-columns: 1fr 1fr; }
    .sh-knowledge-intro > a { grid-column: 1 / 3; }
}
@media (max-width: 991.98px) {
    .sh-article-layout { display: flex; flex-direction: column; }
    .sh-article-main,
    .sh-related-sidebar { width: 100%; max-width: 100%; }
    .sh-related-sidebar .related-articles { position: static; }
    .sh-knowledge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .seo-internal-links__grid { grid-template-columns: 1fr; }
    .seo-internal-links__grid a { min-height: 0; }
}
@media (max-width: 767.98px) {
    .sh-article-featured img { max-height: 440px; border-radius: 20px !important; }
    .seo-reference-card,
    .seo-internal-links { margin-top: 30px; padding: 22px 18px; border-radius: 22px; }
    .sh-knowledge-intro { grid-template-columns: 1fr; gap: 14px; padding: 22px 18px; border-radius: 22px; }
    .sh-knowledge-intro > a { grid-column: auto; }
    .sh-knowledge-grid { grid-template-columns: 1fr; }
    .sh-knowledge-hub > .container { padding-inline: 18px; }
    .sh-knowledge-card__image { height: 150px; }
    .sh-knowledge-card__image::before { width: 118px; height: 118px; border-radius: 34px; }
    .sh-knowledge-card__image img { width: 96px; height: 96px; }
    .sh-knowledge-card__body p { min-height: 0; }
}

.sh-editorial-page { background: #fff; color: #143d52; }
.sh-editorial-hero { padding: clamp(4rem, 9vw, 7.5rem) 0 3.5rem; background: linear-gradient(135deg, #dff5fd 0%, #fff 48%, #fde3e9 100%); }
.sh-editorial-hero h1 { max-width: 850px; margin: .5rem 0 1rem; font-size: clamp(2.5rem, 6vw, 5.4rem); line-height: .98; }
.sh-editorial-hero p { max-width: 760px; margin: 0; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.7; }
.sh-editorial-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 6vw, 5rem); padding-top: 4rem; padding-bottom: 5rem; }
.sh-editorial-content section { padding: 0 0 2rem; margin: 0 0 2rem; border-bottom: 1px solid rgba(20, 61, 82, .12); }
.sh-editorial-content h2 { margin: 0 0 .8rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.sh-editorial-content p { font-size: 1.08rem; line-height: 1.85; color: #426170; }
.sh-editorial-content a, .sh-editorial-aside a { color: #087eae; font-weight: 700; }
.sh-editorial-aside { align-self: start; position: sticky; top: 110px; padding: 1.5rem; border-radius: 22px; background: #fce4ea; line-height: 1.7; }
.sh-editorial-aside strong { font-size: 1.2rem; }
.sh-editorial-aside a { display: block; margin-top: .6rem; }
@media (max-width: 767.98px) {
  .sh-editorial-hero { padding-top: 2.5rem; }
  .sh-editorial-grid { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .sh-editorial-aside { position: static; }
}

html { scroll-behavior: smooth; }

body {
    color: var(--sh-ink);
    background: var(--sh-white);
    font-family: "Kanit", "Inter", sans-serif;
    overflow-x: hidden;
}

body a { color: inherit; }
body a:hover { color: inherit; text-decoration: none; }

/* Shared header */
#navbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    min-height: 84px;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid rgba(18, 56, 77, .06);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 28px rgba(18, 56, 77, .05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

#navbar .container { max-width: var(--sh-content-width); }

#navbar.sh-navbar-home {
    border-bottom-color: transparent;
    background: linear-gradient(122deg, rgba(223,246,255,.98) 0 47%, rgba(255,230,237,.98) 47% 100%);
    box-shadow: none;
}

#navbar .navbar-brand,
.sh-footer .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-right: 22px;
    color: var(--sh-ink);
    font-size: 20px;
    line-height: 1;
}

#navbar .navbar-brand img,
.sh-footer .navbar-brand img {
    width: 42px;
    height: 42px;
    margin-right: 9px;
    object-fit: contain;
}

#navbar .navbar-brand strong,
.sh-footer .navbar-brand strong { font-weight: 800; }
#navbar .navbar-brand span,
.sh-footer .navbar-brand span { color: #209bc9; font-weight: 800; }

#navbar .navbar-nav {
    gap: 4px;
    align-items: center;
}
#navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    margin-left: 0 !important;
}
#navbar .nav-link {
    position: relative;
    padding: 10px 11px !important;
    color: var(--sh-ink);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 999px;
}
#navbar .nav-link:hover,
#navbar .nav-link.active { color: #087eae; background: var(--sh-blue-soft); }
#navbar .nav-link::before { display: none !important; }
#navbar .nav-link.dropdown-toggle::after { display: none; }
#navbar .nav-link.flag { padding: 8px 4px; background: transparent; }
#navbar .btn-register {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 8px !important;
    padding: 10px 18px;
    color: var(--sh-ink);
    background: var(--sh-blue);
    border: 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    box-shadow: none;
}
#navbar .navbar-toggler {
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #bee6f6;
    border-radius: 50%;
    background: #effaff;
}

#navbar .sh-mobile-menu-toggle {
    align-items: center;
    justify-content: center;
    color: var(--sh-ink);
    filter: none !important;
}

#navbar .sh-menu-icon,
#navbar .sh-menu-icon::before,
#navbar .sh-menu-icon::after {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

#navbar .sh-menu-icon { position: relative; }
#navbar .sh-menu-icon::before,
#navbar .sh-menu-icon::after { position: absolute; left: 0; content: ""; }
#navbar .sh-menu-icon::before { transform: translateY(-7px); }
#navbar .sh-menu-icon::after { transform: translateY(7px); }
#navbar .sh-mobile-menu-toggle.is-open .sh-menu-icon { background: transparent; }
#navbar .sh-mobile-menu-toggle.is-open .sh-menu-icon::before { transform: rotate(45deg); }
#navbar .sh-mobile-menu-toggle.is-open .sh-menu-icon::after { transform: rotate(-45deg); }

/* Homepage */
.sh-home { background: #fff; }
.sh-shell { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.sh-section { padding: 86px 0; }
.sh-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}
.sh-kicker {
    display: block;
    margin-bottom: 10px;
    color: #1599c9;
    font: 800 12px/1.2 "Inter", sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.sh-title {
    max-width: 780px;
    margin: 0;
    color: var(--sh-ink);
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.04em;
}
.sh-copy { color: var(--sh-muted); font-size: 18px; line-height: 1.75; }
.sh-text-link { color: #087eae; font-weight: 700; white-space: nowrap; }
.sh-text-link::after { content: "  ↗"; }

.sh-btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border: 0;
    border-radius: 999px;
    color: var(--sh-ink);
    background: var(--sh-blue);
    font-weight: 750;
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.sh-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(32, 155, 201, .18); }
.sh-btn--pink { background: var(--sh-pink); }
.sh-btn--white { background: #fff; }

.sh-home-hero {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 20%, rgba(255,255,255,.94) 0 6%, transparent 31%),
        linear-gradient(122deg, var(--sh-blue-soft) 0 47%, var(--sh-pink-soft) 47% 100%);
}
.sh-home-hero::before,
.sh-home-hero::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    pointer-events: none;
}
.sh-home-hero::before { width: 360px; height: 360px; right: -130px; bottom: -170px; border: 70px solid rgba(91,206,250,.20); }
.sh-home-hero::after { width: 180px; height: 180px; left: 43%; top: -105px; background: rgba(245,169,184,.32); }
.sh-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
    min-height: 690px;
    align-items: center;
    gap: 44px;
}
.sh-hero-copy { padding: 70px 0 76px; }
.sh-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 23px;
    color: #148dbb;
    font: 800 12px/1.2 "Inter", sans-serif;
    letter-spacing: .14em;
}
.sh-hero-eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--sh-pink); }
.sh-hero-copy h1 {
    max-width: 680px;
    margin: 0 0 24px;
    color: var(--sh-ink);
    font-size: clamp(56px, 6.5vw, 92px);
    font-weight: 800;
    line-height: .92;
    letter-spacing: -.055em;
}
.sh-hero-copy h1 span { position: relative; display: inline-block; }
.sh-hero-copy h1 span::after {
    position: absolute;
    left: 2px;
    right: 0;
    bottom: -5px;
    height: 9px;
    content: "";
    border-radius: 99px;
    background: var(--sh-pink);
    z-index: -1;
}
.sh-hero-copy p { max-width: 640px; margin: 0 0 30px; color: #365d70; font-size: 19px; line-height: 1.7; }
.sh-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.sh-hero-note { font-weight: 700; }
.sh-hero-note::after { content: " →"; color: #e77191; }
.sh-hero-visual { position: relative; align-self: stretch; min-height: 620px; }
.sh-hero-visual { overflow: hidden; }
.sh-hero-slide { position: absolute; inset: 20px 0 28px; opacity: 0; transform: translateX(24px); transition: opacity .65s ease, transform .65s ease; pointer-events: none; }
.sh-hero-slide.is-active { opacity: 1; transform: translateX(0); }
.sh-hero-slide img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 22px 24px rgba(18,56,77,.14)); }
.sh-hero-label {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 42px;
    max-width: 270px;
    padding: 17px 22px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 22px;
    color: var(--sh-ink);
    background: rgba(255,255,255,.86);
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--sh-shadow);
    backdrop-filter: blur(13px);
}
.sh-hero-dots { position: absolute; z-index: 5; right: 0; top: 70px; display: flex; gap: 7px; }
.sh-hero-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(18,56,77,.22); }
.sh-hero-dot.is-active { width: 28px; border-radius: 99px; background: var(--sh-ink); }

.sh-services { position: relative; margin-top: 0; padding-top: 72px; background: #fff; }
.sh-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sh-service-card {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--sh-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(18,56,77,.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sh-service-card:nth-child(4n+2), .sh-service-card:nth-child(4n+3) { background: #fffafb; }
.sh-service-card:hover { transform: translateY(-5px); border-color: var(--sh-pink); box-shadow: var(--sh-shadow); }
.sh-service-icon { display: grid; width: 58px; height: 58px; margin-bottom: 28px; place-items: center; border-radius: 18px; background: var(--sh-blue-soft); }
.sh-service-card:nth-child(even) .sh-service-icon { background: var(--sh-pink-soft); }
.sh-service-icon img { width: 30px; height: 30px; object-fit: contain; }
.sh-service-card h3 { margin: 0 0 11px; color: var(--sh-ink); font-size: 23px; font-weight: 750; line-height: 1.25; }
.sh-service-card p { margin: 0; color: var(--sh-muted); font-size: 15px; line-height: 1.65; }
.sh-service-card b { margin-top: auto; padding-top: 20px; color: #1599c9; font-size: 14px; }

.sh-path { background: linear-gradient(180deg, #fff 0%, #fff8fa 100%); }
.sh-path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.sh-path-card { position: relative; min-height: 530px; overflow: hidden; border-radius: var(--sh-radius); color: #fff; background: var(--sh-ink); }
.sh-path-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sh-path-card:hover img { transform: scale(1.035); }
.sh-path-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(9,40,56,.05) 24%, rgba(9,40,56,.90) 100%); }
.sh-path-card-content { position: absolute; z-index: 2; left: 34px; right: 34px; bottom: 34px; }
.sh-path-card-content span { display: inline-block; margin-bottom: 14px; padding: 7px 12px; border-radius: 999px; color: var(--sh-ink); background: #fff; font: 800 11px/1 "Inter", sans-serif; letter-spacing: .08em; }
.sh-path-card h3 { max-width: 520px; margin: 0 0 13px; font-size: clamp(35px, 4vw, 56px); font-weight: 800; line-height: .98; letter-spacing: -.035em; }
.sh-path-card p { max-width: 500px; margin: 0; font-size: 17px; opacity: .92; }

.sh-discover { background: var(--sh-dark); color: #fff; }
.sh-discover .sh-title, .sh-discover .sh-copy { color: #fff; }
.sh-bento { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-template-rows: 285px 285px; gap: 18px; }
.sh-bento-card { position: relative; overflow: hidden; padding: 28px; border-radius: 28px; background: var(--sh-blue); }
.sh-bento-card:first-child { grid-row: 1 / 3; background: var(--sh-pink); }
.sh-bento-card:nth-child(2) { grid-column: 2 / 4; background: #fff; }
.sh-bento-card:nth-child(3) { background: var(--sh-blue); }
.sh-bento-card:nth-child(4) { background: var(--sh-pink-soft); }
.sh-bento-card h3 { position: relative; z-index: 2; max-width: 360px; margin: 0 0 8px; color: var(--sh-ink); font-size: 31px; font-weight: 800; line-height: 1.05; }
.sh-bento-card p { position: relative; z-index: 2; max-width: 330px; color: #31566a; font-size: 15px; }
.sh-bento-card .sh-text-link { position: absolute; z-index: 3; left: 28px; bottom: 26px; color: var(--sh-ink); }
.sh-bento-card img { position: absolute; right: -4%; bottom: -6%; width: 58%; height: 88%; object-fit: contain; object-position: right bottom; }
.sh-bento-card:first-child img { width: 92%; height: 58%; right: -12%; }
.sh-bento-card:nth-child(2) img { width: 42%; height: 110%; right: 3%; }
.sh-bento-card--event::after { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(180deg, rgba(8,41,57,.16) 0%, rgba(8,41,57,.18) 35%, rgba(8,41,57,.90) 100%); }
.sh-bento-card.sh-bento-card--event img { z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; transition: transform .45s ease; }
.sh-bento-card--event:hover img { transform: scale(1.035); }
.sh-bento-card--event h3,
.sh-bento-card--event p,
.sh-bento-card--event .sh-text-link { z-index: 2; color: #fff; text-shadow: 0 2px 14px rgba(8,41,57,.28); }
.sh-bento-card--event h3 { max-width: 390px; }
.sh-bento-card--event p { max-width: 360px; }

.sh-steps { background: linear-gradient(135deg, var(--sh-blue-soft), #fff 47%, var(--sh-pink-soft)); }
.sh-step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sh-step { position: relative; min-height: 235px; padding: 28px; border: 1px solid rgba(18,56,77,.08); border-radius: 24px; background: rgba(255,255,255,.88); }
.sh-step-num { display: grid; width: 48px; height: 48px; margin-bottom: 35px; place-items: center; border-radius: 50%; color: var(--sh-ink); background: var(--sh-pink); font: 800 14px/1 "Inter", sans-serif; }
.sh-step:nth-child(even) .sh-step-num { background: var(--sh-blue); }
.sh-step h3 { margin: 0 0 10px; font-size: 23px; font-weight: 750; }
.sh-step p { margin: 0; color: var(--sh-muted); line-height: 1.6; }

.sh-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sh-content-card { overflow: hidden; border: 1px solid var(--sh-line); border-radius: 25px; background: #fff; box-shadow: 0 12px 35px rgba(18,56,77,.05); }
.sh-content-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sh-blue-soft); }
.sh-content-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sh-content-card:hover .sh-content-image img { transform: scale(1.04); }
.sh-content-body { padding: 23px 24px 26px; }
.sh-content-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; color: #248bad; font-size: 13px; font-weight: 700; }
.sh-content-body h3 { margin: 0 0 10px; color: var(--sh-ink); font-size: 24px; font-weight: 750; line-height: 1.3; }
.sh-content-body p { margin: 0; color: var(--sh-muted); line-height: 1.65; }

.sh-events { background: #fff8fa; }
.sh-event-list { display: grid; gap: 14px; }
.sh-event-card { display: grid; grid-template-columns: 116px 1fr auto; align-items: center; gap: 28px; padding: 21px 25px; border: 1px solid #f2d9e0; border-radius: 23px; background: #fff; }
.sh-event-date { display: flex; min-height: 95px; flex-direction: column; align-items: center; justify-content: center; border-radius: 18px; background: var(--sh-pink-soft); text-align: center; }
.sh-event-date strong { font: 800 36px/1 "Inter", sans-serif; }
.sh-event-date span { margin-top: 6px; color: #ae4964; font-size: 12px; font-weight: 700; }
.sh-event-copy small { color: #1599c9; font-weight: 700; }
.sh-event-copy h3 { margin: 5px 0; font-size: 25px; font-weight: 750; }
.sh-event-copy p { margin: 0; color: var(--sh-muted); }

.sh-voices { background: var(--sh-blue); }
.sh-voices-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.sh-voices-copy blockquote { margin: 27px 0; padding-left: 22px; border-left: 4px solid var(--sh-pink); color: var(--sh-ink); font-size: 22px; line-height: 1.7; }
.sh-avatars { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: 10px; min-height: 340px; }
.sh-avatar { overflow: hidden; aspect-ratio: .75; border: 7px solid rgba(255,255,255,.85); border-radius: 999px 999px 30px 30px; background: #fff; box-shadow: var(--sh-shadow); }
.sh-avatar:nth-child(even) { transform: translateY(-34px); }
.sh-avatar img { width: 100%; height: 100%; object-fit: cover; }

.sh-app-wrap { padding-bottom: 90px; }
.sh-app {
    position: relative;
    display: grid;
    min-height: 470px;
    grid-template-columns: 1fr .85fr;
    align-items: center;
    overflow: hidden;
    padding: 58px;
    border-radius: var(--sh-radius);
    background: linear-gradient(118deg, var(--sh-blue-soft) 0 51%, var(--sh-pink) 51% 100%);
}
.sh-app-copy { position: relative; z-index: 2; }
.sh-app-copy h2 { max-width: 600px; margin: 0 0 18px; font-size: clamp(42px, 5vw, 66px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.sh-app-copy p { max-width: 590px; color: #426879; font-size: 18px; }
.sh-store-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sh-store-links img { height: 48px; width: auto; }
.sh-app-model { position: absolute; z-index: 1; right: 2%; bottom: 0; width: 42%; height: 95%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 18px 25px rgba(18,56,77,.14)); }

/* Shared footer */
.sh-footer { position: relative; overflow: hidden; color: #fff; background: var(--sh-dark); }
.sh-footer::after { position: absolute; right: -180px; bottom: -250px; width: 520px; height: 520px; content: ""; border: 90px solid rgba(91,206,250,.08); border-radius: 50%; }
.sh-footer-cta { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 54px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.sh-footer-cta h2 { max-width: 750px; margin: 0; color: #fff; font-size: clamp(36px, 5vw, 62px); font-weight: 800; line-height: 1; }
.sh-footer-cta p { margin: 15px 0 0; color: #b9d1dc; font-size: 17px; }
.sh-footer-main { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr repeat(3, .75fr); gap: 40px; padding: 52px 0 42px; }
.sh-footer .navbar-brand { color: #fff; }
.sh-footer-about p { max-width: 330px; margin: 18px 0; color: #b9d1dc; line-height: 1.7; }
.sh-footer-social { display: flex; gap: 9px; padding: 0; margin: 0; list-style: none; }
.sh-footer-social a { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.09); }
.sh-footer-social img { width: 18px; filter: brightness(0) invert(1); }
.sh-footer h3 { margin: 8px 0 17px; color: #fff; font-size: 16px; font-weight: 750; }
.sh-footer-links { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.sh-footer-links a { color: #b9d1dc; font-size: 14px; }
.sh-footer-links a:hover { color: var(--sh-blue); }
.sh-footer-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; border-top: 1px solid rgba(255,255,255,.12); color: #91afbd; font-size: 13px; }
.sh-footer-policy { display: flex; flex-wrap: wrap; gap: 18px; }
.sh-footer-policy a { color: #b9d1dc; }
.sh-sponsor { max-width: 135px; padding: 10px 13px; border-radius: 12px; background: #fff; }

/* Modern responsive layer for existing Laravel content pages */
.main.smaller-main {
    position: relative;
    display: flex;
    min-height: 410px;
    height: auto;
    align-items: center;
    overflow: hidden;
    padding: 76px 0;
    color: var(--sh-ink);
    background: linear-gradient(120deg, var(--sh-blue-soft), #fff 48%, var(--sh-pink-soft));
}
.main.smaller-main::before { background: linear-gradient(90deg, rgba(255,255,255,.94) 0 43%, rgba(255,255,255,.58) 64%, rgba(255,255,255,.12) 100%); }
.main.smaller-main::after { opacity: .15; }
.main.smaller-main img.main-background { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .66; }
.main.smaller-main .container { position: relative; z-index: 3; }
.main.smaller-main h1,
.main.article-main-header h1 {
    margin: 0 0 18px;
    color: var(--sh-ink);
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.04em;
}
.main.smaller-main p { max-width: 660px; margin: 0; color: #365d70; font-size: 17px; line-height: 1.75; }
.breadcrumbs-wrapper { padding: 18px 0; border-bottom: 1px solid var(--sh-line); background: #fff; }
.breadcrumbs-wrapper .breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; background: transparent; }
.breadcrumbs-wrapper .breadcrumb .breadcrumb-item { color: var(--sh-muted); font-size: 13px; }
.breadcrumbs-wrapper .breadcrumb .breadcrumb-item a { color: #138fbd; font-weight: 700; }

.main-articles,
.article-body,
.news,
.ngos,
.jobs,
.clinics,
.events,
.ambassadors,
.places-body { padding-top: 70px; padding-bottom: 82px; background: #fff; }
.main-articles .main-article-box {
    min-height: 100%;
    padding: 25px;
    border: 1px solid var(--sh-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(18,56,77,.06);
}
.main-articles .main-article-box:hover { transform: translateY(-5px); border-color: var(--sh-pink); box-shadow: var(--sh-shadow); }
.main-articles .main-article-box img { width: 78px; height: 78px; object-fit: contain; }
.main-articles .main-article-box h4 { margin-top: 23px; color: var(--sh-ink); font-size: 22px; font-weight: 750; line-height: 1.3; }
.main-articles .main-article-box p { color: var(--sh-muted); font-size: 15px; line-height: 1.7; }

.article-body { color: #274e62; font-size: 18px; line-height: 1.85; }
.article-body .col-md-7,
.article-body .col-md-8 { min-width: 0; }
.article-body article,
.article-body .seo-article-content { overflow-wrap: anywhere; }
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 { margin-top: 1.65em; margin-bottom: .65em; color: var(--sh-ink); font-weight: 750; line-height: 1.3; }
.article-body h2 { font-size: 34px; }
.article-body h3 { font-size: 27px; }
.article-body p { margin-bottom: 1.35em; }
.article-body img,
.article-body .img-fluid { max-width: 100% !important; height: auto !important; border-radius: 24px; }
.article-body iframe { max-width: 100%; }
.article-body a { color: #087eae; text-decoration: underline; text-underline-offset: 3px; }
.article-body table { display: block; width: 100%; overflow-x: auto; }
.article-body blockquote { margin: 28px 0; padding: 20px 24px; border: 0; border-left: 5px solid var(--sh-pink); border-radius: 0 18px 18px 0; color: var(--sh-ink); background: var(--sh-pink-soft); }
.article-body .related-articles,
.article-body .other-links { padding: 25px; border: 1px solid var(--sh-line); border-radius: 22px; background: #f8fcfe; }
.article-body .related-articles .article-link,
.article-body .other-links ul.links-list li a { padding: 12px 0; color: #24637f; border-color: var(--sh-line); text-decoration: none; }

.news .news-item,
.ngos .ngo-item,
.jobs .job-entry,
.clinics .clinic-box {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--sh-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(18,56,77,.06);
}
.news .news-item:hover,
.ngos .ngo-item:hover,
.jobs .job-entry:hover,
.clinics .clinic-box:hover { transform: translateY(-4px); box-shadow: var(--sh-shadow); }
.news .news-item .news-title,
.ngos .ngo-title,
.jobs .job-title,
.clinics .clinic-title { color: var(--sh-ink); font-weight: 750; }
.news .news-item p,
.ngos .ngo-item p,
.jobs .job-entry,
.clinics .clinic-address { color: var(--sh-muted); }
.ngos .ngo-item { display: flex; min-height: 330px; flex-direction: column; padding: 25px; }
.ngos .ngo-logo { width: 100%; height: 115px; margin-bottom: 22px; object-fit: contain; }
.jobs .jobs-search { overflow: hidden; border: 1px solid var(--sh-line); border-radius: 999px; box-shadow: 0 10px 30px rgba(18,56,77,.06); }
.jobs .job-types { display: flex; max-width: 100%; flex-wrap: wrap; gap: 8px; overflow: visible; }
.jobs .job-types a { display: inline-flex; padding: 8px 14px; border-radius: 999px; color: var(--sh-ink); background: var(--sh-blue-soft); }
.jobs .job-entry { padding: 23px; }
.jobs .job-logo,
.jobs .cjob-logo { width: 100%; height: 110px; object-fit: contain; }
.jobs .job-actions .btn,
.btn.btn-primary { color: var(--sh-ink); border-color: var(--sh-blue); background: var(--sh-blue); border-radius: 999px; font-weight: 700; }
.btn.btn-outline-primary { color: #087eae; border-color: var(--sh-blue); border-radius: 999px; }
.clinics .clinic-box { display: block; }
.clinics .clinic-image { width: 100%; height: 240px; object-fit: cover; }
.clinics .clinic-info { padding: 23px; }
.clinics .clinic-logo { display: none; }
.clinics .clinic-title { display: block; margin-bottom: 9px; font-size: 21px; }
.clinics-results-header .nav { gap: 7px; }
.clinics-results-header .nav .btn { margin: 0 !important; }
.events .event-item { border: 1px solid var(--sh-line); border-radius: 22px; background: #fff; }
.events hr.event-line { margin: 13px 0; opacity: 0; }
.ambassadors .ambassador-main { overflow: hidden; padding: 36px; border-radius: 30px; background: linear-gradient(125deg, var(--sh-blue-soft), var(--sh-pink-soft)); }
.ambassadors .ambassador.ambassador-main .ambassador-avatar,
.ambassadors .ambassador.ambassador-normal .ambassador-avatar { object-fit: cover; background: #fff; }
.ambassadors .ambassador.ambassador-normal { min-height: 100%; padding: 16px; border: 1px solid var(--sh-line); border-radius: 22px; background: #fff; box-shadow: 0 10px 26px rgba(18,56,77,.05); }
.ambassadors .ambassador.ambassador-normal h4 { color: var(--sh-ink); font-weight: 700; }

*:focus-visible { outline: 3px solid var(--sh-pink); outline-offset: 3px; }

@media (max-width: 1199.98px) {
    #navbar .nav-link { padding-inline: 7px; font-size: 13px; }
    .sh-service-grid { grid-template-columns: repeat(2, 1fr); }
    .sh-bento { grid-template-columns: 1fr 1fr; }
    .sh-bento-card:nth-child(2) { grid-column: auto; }
    .sh-bento-card:first-child { grid-row: 1 / 3; }
    .sh-bento-card:nth-child(4) { display: none; }
    .sh-voices-grid { gap: 35px; }
}

@media (min-width: 992px) {
    #navbar.sh-navbar-home .navbar-collapse {
        padding: 4px 6px;
        border: 1px solid rgba(255,255,255,.72);
        border-radius: 999px;
        background: rgba(255,255,255,.56);
        box-shadow: 0 10px 30px rgba(18,56,77,.06);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}

@media (max-width: 991.98px) {
    #navbar .navbar-toggler { display: flex !important; flex: 0 0 46px; }
    #navbar .navbar-collapse { position: absolute; z-index: 1100; top: calc(100% + 8px); left: 14px; right: 14px; width: auto !important; max-height: calc(100vh - 96px); margin: 0 !important; padding: 12px; overflow-y: auto; visibility: visible !important; border: 1px solid rgba(18,56,77,.10); border-radius: 22px; background: rgba(255,255,255,.98); box-shadow: 0 20px 55px rgba(18,56,77,.16); }
    #navbar .navbar-collapse:not(.show) { display: none !important; }
    #navbar .navbar-collapse.show { display: block !important; }
    #navbar .navbar-nav { flex-direction: column; align-items: stretch !important; gap: 3px; }
    #navbar .navbar-nav .nav-item { display: block; }
    #navbar .nav-link { display: block; padding: 11px 14px; font-size: 15px; }
    #navbar .btn-register { display: flex; width: 100%; margin: 8px 0 0 !important; text-align: center; }

    .sh-shell { width: min(100% - 34px, 920px); }
    .sh-section { padding: 68px 0; }
    .sh-hero-grid { grid-template-columns: 1fr .72fr; gap: 10px; }
    .sh-hero-copy h1 { font-size: clamp(53px, 8vw, 76px); }
    .sh-hero-visual { min-height: 560px; }
    .sh-step-grid { grid-template-columns: repeat(2, 1fr); }
    .sh-card-grid { grid-template-columns: repeat(2, 1fr); }
    .sh-card-grid .sh-content-card:last-child { display: none; }
    .sh-voices-grid { grid-template-columns: 1fr; }
    .sh-avatars { min-height: 280px; }
    .sh-app { grid-template-columns: 1fr; padding-right: 40%; }
    .sh-app-model { width: 44%; }
    .sh-footer-main { grid-template-columns: 1.2fr repeat(2, 1fr); }
    .sh-footer-main > div:last-child { grid-column: 2; }
}

@media (max-width: 767.98px) {
    html,
    body { width: 100%; max-width: 100vw; overflow-x: hidden; }
    #navbar { min-height: 68px; padding: 7px 0; }
    #navbar .container { width: 100%; padding-inline: 18px; }
    #navbar .navbar-brand img { width: 37px; height: 37px; }
    #navbar .navbar-brand { font-size: 17px; }
    .sh-shell { width: calc(100% - 28px); }
    .sh-section { padding: 58px 0; }
    .sh-section-head { align-items: flex-start; flex-direction: column; margin-bottom: 27px; }
    .sh-title { font-size: 42px; }
    .sh-copy { font-size: 16px; }

    .sh-home-hero { min-height: auto; }
    .sh-hero-grid { display: flex; min-height: auto; flex-direction: column; align-items: stretch; }
    .sh-hero-copy { z-index: 3; padding: 38px 0 0; }
    .sh-hero-copy h1 { max-width: 100%; margin-bottom: 19px; font-size: clamp(48px, 14vw, 68px); }
    .sh-hero-copy h1 span::after { height: 7px; }
    .sh-hero-copy p { margin-bottom: 24px; font-size: 16px; }
    .sh-hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
    .sh-hero-actions .sh-btn { width: 100%; }
    .sh-hero-visual { width: 100%; min-height: 410px; margin-top: 8px; overflow: hidden; }
    .sh-hero-slide { inset: 0; padding: 0 8px; transform: none; transition: opacity .65s ease; }
    .sh-hero-slide img { width: 100%; max-width: 100%; object-position: center bottom; }
    .sh-hero-label { right: 8px; bottom: 16px; left: 8px; max-width: none; padding: 13px 16px; }
    .sh-hero-dots { top: 20px; right: 10px; }

    .sh-services { margin-top: 0; padding-top: 52px; }
    .sh-service-grid { grid-template-columns: 1fr; gap: 12px; }
    .sh-service-card { min-height: 0; padding: 22px; }
    .sh-service-icon { margin-bottom: 19px; }
    .sh-service-card b { padding-top: 14px; }
    .sh-path-grid { grid-template-columns: 1fr; }
    .sh-path-card { min-height: 460px; }
    .sh-path-card-content { left: 25px; right: 25px; bottom: 26px; }
    .sh-path-card h3 { font-size: 40px; }

    .sh-bento { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3, 320px); }
    .sh-bento-card:first-child { grid-row: auto; }
    .sh-bento-card:nth-child(4) { display: block; }
    .sh-bento-card img, .sh-bento-card:first-child img, .sh-bento-card:nth-child(2) img { width: 55%; height: 72%; right: -5%; }
    .sh-bento-card.sh-bento-card--event img { inset: 0; width: 100%; height: 100%; object-position: 58% center; }
    .sh-step-grid, .sh-card-grid { grid-template-columns: 1fr; }
    .sh-card-grid .sh-content-card:last-child { display: block; }
    .sh-event-card { grid-template-columns: 86px 1fr; gap: 16px; padding: 16px; }
    .sh-event-card .sh-btn { grid-column: 1 / 3; }
    .sh-event-date { min-height: 84px; }
    .sh-event-copy h3 { font-size: 21px; }

    .sh-voices { overflow: hidden; }
    .sh-voices-copy blockquote { font-size: 18px; }
    .sh-avatars { margin: 0; min-height: 180px; gap: 5px; }
    .sh-avatar { border-width: 4px; }
    .sh-app-wrap { padding-bottom: 58px; }
    .sh-app { min-height: 650px; grid-template-columns: 1fr; align-items: start; padding: 38px 26px; background: linear-gradient(145deg, var(--sh-blue-soft) 0 58%, var(--sh-pink) 58% 100%); }
    .sh-app-copy h2 { font-size: 44px; }
    .sh-app-model { right: 0; bottom: -10px; width: 100%; height: 48%; }
    .sh-store-links img { height: 42px; }

    .sh-footer-cta { grid-template-columns: 1fr; padding: 42px 0; }
    .sh-footer-main { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
    .sh-footer-about { grid-column: 1 / 3; }
    .sh-footer-main > div:last-child { grid-column: auto; }
    .sh-footer-bottom { align-items: flex-start; flex-direction: column; }

    .main.smaller-main { min-height: 330px; padding: 52px 0; }
    .main.smaller-main::before { background: rgba(255,255,255,.84); }
    .main.smaller-main img.main-background { opacity: .38; }
    .main.smaller-main h1,
    .main.article-main-header h1 { font-size: 40px; }
    .main.smaller-main p { font-size: 16px; }
    .main-articles,
    .article-body,
    .news,
    .ngos,
    .jobs,
    .clinics,
    .events,
    .ambassadors,
    .places-body { padding-top: 48px; padding-bottom: 58px; }
    .article-body { font-size: 17px; line-height: 1.8; }
    .article-body h2 { font-size: 29px; }
    .article-body h3 { font-size: 24px; }
    .article-body img,
    .article-body .img-fluid { margin-bottom: 26px !important; border-radius: 18px; }
    .article-body .related-articles { margin-bottom: 26px; }
    .jobs > .container > .row:has(.total-results) { align-items: flex-start; flex-direction: column; }
    .jobs > .container > .row:has(.total-results) > [class*="col"] { width: 100%; max-width: 100%; }
    .jobs .total-results { font-size: 24px; }
    .clinics .places-body .container .row:first-child { display: grid; grid-template-columns: 1fr; }
    .clinics .places-body .container .row:first-child > [class*="col"] { width: 100%; max-width: 100%; }
    .control-clinic-word { flex-wrap: wrap; }
    .events > .container > .mb-3 .row { display: flex; align-items: stretch !important; flex-direction: column; gap: 10px; }
    .events > .container > .mb-3 .row > [class*="col"] { width: 100%; max-width: 100%; }
    .events .select-example .form-select { width: 100%; }
    .events .event-item { display: grid; grid-template-columns: 82px 1fr; gap: 14px; padding: 16px; }
    .events .event-date { width: 82px; }
    .events .event-details { padding: 0; }
    .events .event-actions { grid-column: 1 / 3; }
    .events .event-actions .btn { width: 100%; }
    .ambassadors .ambassador-main { padding: 23px; }
    .ambassadors .ambassador.ambassador-main .ambassador-avatar { margin-bottom: 23px; }
}

@media (max-width: 390px) {
    .sh-hero-copy h1 { font-size: 45px; }
    .sh-hero-visual { min-height: 390px; }
    .sh-title { font-size: 38px; }
    .sh-bento-card h3 { font-size: 28px; }
    .sh-footer-main { grid-template-columns: 1fr; }
    .sh-footer-about { grid-column: auto; }
}

/* Complete redesign layer for legacy public and member pages */
#navbar .navbar-brand {
    flex: 0 0 auto;
    margin-top: 0 !important;
    text-transform: none;
}
#navbar .navbar-brand img {
    filter: brightness(0) saturate(100%) invert(78%) sepia(76%) saturate(1639%) hue-rotate(166deg) brightness(97%) contrast(103%) !important;
}
#navbar .navbar-brand strong {
    margin-top: 0;
    color: var(--sh-ink);
}
#navbar .navbar-brand span {
    margin-top: 0;
    color: var(--sh-pink);
    font-weight: 800;
}
.sh-footer .navbar-brand img { filter: none !important; }
.sh-footer .navbar-brand strong { color: #fff; }
.sh-footer .navbar-brand span { color: var(--sh-pink); }

.main.smaller-main::before { display: none !important; }
.main.smaller-main::after {
    display: block;
    opacity: 1;
    background: linear-gradient(90deg, rgba(255,255,255,.96) 0 42%, rgba(255,255,255,.68) 62%, rgba(255,255,255,.18) 100%);
}
.main.smaller-main.v2::after { background: linear-gradient(90deg, rgba(255,244,247,.96) 0 42%, rgba(255,244,247,.66) 62%, rgba(255,255,255,.12) 100%); }
.main.smaller-main h1 { max-width: 760px; width: 100%; overflow-wrap: anywhere; }
.main.smaller-main .sh-kicker { color: #0788b9; }

.ngos > .container > .row,
.jobs > .container > .row:last-child,
.clinics #myUL,
.team > .container > .row,
.ambassadors > .container > .row { row-gap: 24px; }
.ngos > .container > .row > [class*="col"],
.jobs > .container > .row:last-child > [class*="col"],
.clinics #myUL > [class*="col"],
.team > .container > .row > [class*="col"] { display: flex; margin-top: 0 !important; }

.ngos .ngo-item { width: 100%; min-height: 360px; transition: transform .2s ease, box-shadow .2s ease; }
.ngos .ngo-logo {
    height: 140px;
    padding: 18px;
    border: 1px solid var(--sh-line);
    border-radius: 18px;
    background: #fff;
}
.ngos .ngo-title { margin-bottom: 10px; font-size: 20px; line-height: 1.35; }

.jobs .jobs-search,
.clinics .clinic-keyword .form-control {
    min-height: 58px;
    background: #f8fcfe;
}
.jobs .jobs-search .form-control { min-height: 58px; padding-inline: 24px; border: 0; background: transparent; }
.jobs .job-types { margin: 20px 0 34px; padding: 0; list-style: none; }
.jobs .job-types li { margin: 0; }
.jobs .job-types a { color: #0b7199; font-size: 14px; font-weight: 650; }
.jobs .total-results { margin: 14px 0 22px; color: var(--sh-ink); font-size: 30px; font-weight: 800; }
.jobs .job-entry { display: flex; width: 100%; min-height: 390px; flex-direction: column; }
.jobs .job-details { flex: 1; }
.jobs .job-title { margin-top: 18px; font-size: 21px; line-height: 1.35; }
.jobs .job-actions { margin-top: 18px; }
.jobs .job-actions .btn { width: 100%; }

.clinics > .places-body { padding: 0; }
.clinics .places-body > .container > .container { max-width: none; padding: 0; }
.clinics .places-body > .container > .container > .row { align-items: center; gap: 12px; margin: 0; }
.clinics .clinic-keyword { padding: 0; }
.clinics .clinic-keyword .form-control { padding: 13px 18px; border: 1px solid var(--sh-line); border-radius: 18px; }
.clinics .clinics-results-header { margin: 20px 0 32px; }
.clinics .clinics-results-header .container-fluid { padding: 0; }
.clinics .clinics-results-header .nav { max-height: 122px; overflow-y: auto; }
.clinics .clinic-box { width: 100%; transition: transform .2s ease, box-shadow .2s ease; }

.events .select-example .form-select { width: 100%; max-width: 100%; }
.events .dataTables_wrapper table,
.events .dataTables_wrapper tbody,
.events .dataTables_wrapper tr,
.events .dataTables_wrapper td:first-child { display: block; width: 100% !important; }
.events .dataTables_wrapper tr { margin-bottom: 18px; }
.events .dataTables_wrapper td { padding: 0; border: 0; }
.events .event-item {
    display: grid;
    width: 100%;
    margin-inline: 0;
    grid-template-columns: 128px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 22px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.events .event-item:hover { transform: translateY(-3px); box-shadow: var(--sh-shadow); }
.events .event-date {
    display: flex;
    min-height: 116px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 13px;
    border-radius: 18px;
    color: var(--sh-ink);
    background: var(--sh-blue-soft);
    text-align: center;
}
.events .event-date strong { color: var(--sh-ink); font-size: 48px; font-weight: 800; line-height: .9; }
.events .event-date span { margin-top: 9px; font-size: 13px; font-weight: 700; }
.events .event-date i { color: #0c8bb9; font-size: 13px; font-style: normal; font-weight: 700; }
.events .event-details { min-width: 0; }
.events .event-details .event-type { display: inline-flex; margin-bottom: 8px; padding: 5px 10px; border-radius: 999px; color: #0c749d; background: var(--sh-blue-soft); font-size: 12px; font-weight: 750; }
.events .event-details > strong { display: block; margin-bottom: 5px; color: var(--sh-ink); font-size: 22px; line-height: 1.35; }
.events .event-details > span:last-child { display: -webkit-box; overflow: hidden; color: var(--sh-muted); line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.events .event-actions .btn { white-space: nowrap; }

.clinic-basic-info { padding: 30px 0; border-bottom: 1px solid var(--sh-line); background: #fff; }
.clinic-basic-info .clinic-logo { width: 86px; height: 86px; padding: 8px; border: 1px solid var(--sh-line); border-radius: 20px; object-fit: contain; }
.clinic-basic-info .clinic-name { margin: 0 0 5px; color: var(--sh-ink); font-size: 32px; font-weight: 800; }
.clinic-basic-info .clinic-address-index { margin: 0; color: var(--sh-muted); }
.clinic-boxes { padding: 58px 0 78px; background: #f8fcfe; }
.clinic-boxes .row { row-gap: 22px; }
.clinic-boxes .clinic-box { margin-bottom: 22px; padding: 26px; border: 1px solid var(--sh-line); border-radius: 24px; background: #fff; box-shadow: 0 12px 30px rgba(18,56,77,.05); }
.clinic-boxes .clinic-boxtitle,
.clinic-boxes .clinic-box-title { margin-bottom: 18px; color: var(--sh-ink); font-size: 26px; font-weight: 800; }
.clinic-working-hours-entry { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sh-line); }
.event-contact-item,
.clinic-contact-item { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; color: #176f93; background: var(--sh-blue-soft); }
.event-contact-item img,
.clinic-contact-item img { width: 21px; height: 21px; }
.event-map { overflow: hidden; border-radius: 20px; }

.forum { padding: 68px 0 82px; background: #fff; }
.forum-search-add { gap: 12px; margin-bottom: 28px; }
.forum-search { overflow: hidden; border: 1px solid var(--sh-line); border-radius: 999px; background: #f8fcfe; }
.forum-search .form-control { min-height: 54px; border: 0; background: transparent; }
.forum-header { padding: 13px 20px; border-radius: 16px 16px 0 0; color: var(--sh-ink); background: var(--sh-blue-soft); }
.forum-body { overflow: hidden; margin-bottom: 24px; border: 1px solid var(--sh-line); border-top: 0; border-radius: 0 0 20px 20px; }
.forum-post { padding: 20px; border-bottom: 1px solid var(--sh-line); }
.forum-post:last-child { border-bottom: 0; }
.forum-post .post-title { color: var(--sh-ink); font-size: 19px; font-weight: 750; }
.forum-sidebar-widget { margin-bottom: 20px; padding: 22px; border: 1px solid var(--sh-line); border-radius: 22px; background: #f8fcfe; }

.about.v2,
.team { padding: 76px 0; }
.about.v2 { background: #fff; }
.about.v2 h2,
.team h2 { color: var(--sh-ink); font-size: clamp(38px, 5vw, 60px); font-weight: 800; line-height: 1; }
.about.v2 p { color: var(--sh-muted); font-size: 17px; line-height: 1.75; }
.main-actions.v2 { padding: 68px 0; background: var(--sh-blue-soft); }
.main-actions.v2 .row { row-gap: 22px; }
.main-actions.v2 .main-action-box { height: 100%; padding: 26px; border-radius: 22px; background: #fff; }
.team-member { width: 100%; overflow: hidden; padding: 16px; border: 1px solid var(--sh-line); border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(18,56,77,.05); }
.team-member-avatar { width: 100%; aspect-ratio: 1/1; border-radius: 16px; object-fit: cover; }

.sh-contact-section { padding: 82px 0; background: #fff; }
.sh-contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 34px; align-items: start; }
.sh-contact-intro { padding: 42px; border-radius: 30px; background: linear-gradient(145deg, var(--sh-blue-soft), var(--sh-pink-soft)); }
.sh-contact-intro h2 { margin: 0 0 16px; color: var(--sh-ink); font-size: clamp(38px, 5vw, 58px); font-weight: 800; line-height: 1; }
.sh-contact-intro > p { color: var(--sh-muted); font-size: 17px; line-height: 1.75; }
.sh-contact-note { display: grid; gap: 7px; margin-top: 32px; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.8); }
.sh-contact-note strong { color: var(--sh-ink); font-size: 19px; }
.sh-contact-note span { color: var(--sh-muted); }
.sh-contact-note a { color: #087eae; font-weight: 750; }
.sh-contact-form { padding: 34px; border: 1px solid var(--sh-line); border-radius: 30px; background: #fff; box-shadow: var(--sh-shadow); }
.sh-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sh-field { display: grid; gap: 8px; margin-bottom: 18px; }
.sh-field > span { color: var(--sh-ink); font-size: 14px; font-weight: 750; }
.sh-field input,
.sh-field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--sh-line); border-radius: 15px; color: var(--sh-ink); background: #f8fcfe; font: inherit; outline: 0; }
.sh-field input:focus,
.sh-field textarea:focus { border-color: var(--sh-blue); box-shadow: 0 0 0 4px rgba(91,206,250,.16); }
.sh-contact-actions { display: flex; justify-content: flex-end; gap: 10px; }
.sh-contact-actions .sh-btn--white { border: 1px solid var(--sh-line); }
.sh-form-status { min-height: 24px; margin: 14px 0 0; font-weight: 650; }
.sh-form-status.is-success { color: #18814c; }
.sh-form-status.is-error { color: #bc3b5b; }

#cookit {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    background: rgba(13,53,73,.96) !important;
    box-shadow: 0 18px 55px rgba(13,53,73,.24);
    backdrop-filter: blur(16px);
}
#cookit #cookit-container { width: min(1120px, 100%); flex-wrap: nowrap; gap: 10px; }
#cookit #cookit-container > * { margin: 0; }
#cookit #cookit-message { flex: 1; color: #fff !important; font-size: 14px; line-height: 1.5; }
#cookit label,
#cookit span { color: #fff; }
#cookit a { color: var(--sh-blue); }
#cookit #cookit-container #cookit-button { flex: 0 0 auto; margin-left: 12px; padding: 10px 20px; border: 0; border-radius: 999px; color: var(--sh-ink) !important; background: var(--sh-blue) !important; font-size: 14px; font-weight: 750; }

@media (max-width: 767.98px) {
    #navbar .navbar-brand { margin-right: 8px; }
    #navbar .navbar-brand strong,
    #navbar .navbar-brand span { display: inline !important; }

    .main.smaller-main { min-height: 310px; padding: 42px 0; }
    .main.smaller-main::after,
    .main.smaller-main.v2::after { background: linear-gradient(90deg, rgba(255,255,255,.93), rgba(255,255,255,.68)); }
    .main.smaller-main img.main-background { opacity: .48; object-position: 58% center; }
    .main.smaller-main h1,
    .main.article-main-header h1 {
        max-width: 100%;
        margin-bottom: 14px;
        font-size: clamp(32px, 9vw, 40px);
        line-height: 1.08;
        letter-spacing: -.03em;
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .main.smaller-main p { max-width: 100%; font-size: 15px; line-height: 1.65; }
    .main.smaller-main p { white-space: normal !important; word-break: break-all; overflow-wrap: anywhere; }
    .main.smaller-main .row { margin-inline: 0; }
    .main.smaller-main .row > [class*="col"] { padding-inline: 0; }

    .main-articles,
    .article-body,
    .news,
    .ngos,
    .jobs,
    .clinics,
    .events,
    .ambassadors,
    .places-body { padding-top: 36px; padding-bottom: 50px; }

    .ngos > .container > .row,
    .jobs > .container > .row:last-child,
    .clinics #myUL { margin-inline: 0; row-gap: 16px; }
    .ngos > .container > .row > [class*="col"],
    .jobs > .container > .row:last-child > [class*="col"],
    .clinics #myUL > [class*="col"] { padding-inline: 0; }
    .ngos .ngo-item { min-height: 0; padding: 20px; }
    .ngos .ngo-logo { height: 125px; }

    .jobs .job-entry { min-height: 0; }
    .jobs .job-types { margin-bottom: 24px; }
    .jobs .total-results { font-size: 24px; }
    .clinics .places-body > .container > .container > .row { display: grid; grid-template-columns: 1fr; }
    .clinics .places-body > .container > .container > .row > [class*="col"] { width: 100%; max-width: none; }
    .clinics .places-text .btn { width: 100%; }

    .events .event-item { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 15px; }
    .events .event-date { width: 76px; min-height: 92px; padding: 9px; }
    .events .event-date strong { font-size: 36px; }
    .events .event-date span,
    .events .event-date i { font-size: 11px; }
    .events .event-details > strong { font-size: 18px; }
    .events .event-details > span:last-child { -webkit-line-clamp: 3; }
    .events .event-actions { grid-column: 1 / 3; }
    .events .event-actions .btn { width: 100%; }

    .clinic-basic-info { padding: 24px 0; }
    .clinic-basic-info .clinic-name { font-size: 26px; }
    .clinic-boxes { padding: 36px 0 50px; }
    .clinic-boxes .clinic-box { padding: 20px; border-radius: 20px; }

    .forum { padding: 38px 0 54px; }
    .forum-post-meta { margin-top: 14px; }
    .forum-header { display: none; }
    .forum-body { border-top: 1px solid var(--sh-line); border-radius: 20px; }

    .about.v2,
    .team { padding: 52px 0; }
    .main-actions.v2 { padding: 48px 0; }
    .ambassadors-cta .ambassadors-avatars { margin-inline: 0; }
    .ambassadors-cta .ambassadors-avatars .avatar-container { flex: 0 1 64px; width: 64px; height: auto; aspect-ratio: 1; margin-left: -12px; border-width: 3px; }
    .ambassadors-cta .ambassadors-avatars .avatar-container:first-child { margin-left: 0; }
    .ambassadors-cta .ambassadors-avatars .avatar-container img { width: 100%; height: 100%; margin: 0; border: 0; }

    .sh-contact-section { padding: 48px 0; }
    .sh-contact-grid { grid-template-columns: 1fr; gap: 20px; }
    .sh-contact-intro,
    .sh-contact-form { padding: 24px 20px; border-radius: 22px; }
    .sh-contact-intro h2 { font-size: 40px; }
    .sh-field-grid { grid-template-columns: 1fr; gap: 0; }
    .sh-contact-actions { flex-direction: column-reverse; }
    .sh-contact-actions .sh-btn { width: 100%; }

    .main.smaller-main .container,
    .about-me > .container { width: 100vw !important; max-width: 100vw !important; margin-inline: 0 !important; padding-inline: 16px !important; }
    .main.smaller-main .row,
    .main.smaller-main [class*="col"],
    .member-directory-head { min-width: 0; max-width: 100%; }
    .main.smaller-main .row,
    .main.smaller-main .row > [class*="col"] { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
    .main.smaller-main h1,
    .main.smaller-main p { width: calc(100vw - 32px) !important; max-width: calc(100vw - 32px) !important; }
    .member-directory-head h1 { white-space: normal !important; word-break: break-word; overflow-wrap: anywhere; }

    #cookit { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: 16px; }
    #cookit #cookit-container { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
    #cookit #cookit-message { font-size: 11px; line-height: 1.4; }
    #cookit #cookit-container #cookit-button { width: auto !important; min-width: 78px; margin-left: 0; padding: 8px 14px; font-size: 12px; }
    body .welcome-tooltip { display: none !important; }
}
