:root {
  --sgc-green-700: #176b45;
  --sgc-green-800: #105638;
  --sgc-green-600: #21865a;
  --sgc-green-100: #eaf5ee;
  --sgc-green-050: #f6faf7;
  --sgc-green-border: #d7e5db;
  --sgc-card-shadow: 0 7px 22px rgba(24, 63, 42, .075);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; }
html { overflow-x: clip; }
body { min-width: 0; overflow-x: clip; }
img, video, iframe, canvas, svg { max-width: 100%; }
main, section, article, aside, header, footer, nav, form, fieldset,
.container, .admin-content, .career-card, .career-card-body, .career-detail-main,
.membership-main-content, .membership-form-grid, .membership-review-grid,
.signup-level-option, .auth-form-panel, .auth-form-content { min-width: 0; }
button, input, textarea, select { max-width: 100%; }
pre, code, td, th, p, a, strong, small, label { overflow-wrap: anywhere; }
.btn-primary, .admin-btn-primary, .admin-primary-btn { background: var(--sgc-green-700); border-color: var(--sgc-green-700); }
.btn-primary:hover, .admin-btn-primary:hover, .admin-primary-btn:hover { background: var(--sgc-green-800); border-color: var(--sgc-green-800); }
.btn-outline { border-color: #b9d6c3; }
.btn-outline:hover { border-color: #8cbea0; background: var(--sgc-green-050); }
@media (max-width: 1320px) {
  .site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 14px;
    min-height: 0;
    padding: 12px clamp(14px, 2.2vw, 28px);
  }
  .site-header .brand { grid-column: 1; grid-row: 1; min-width: 0; width: auto; flex: initial; max-width: 100%; }
  .site-header .menu-toggle {
    grid-column: 2; grid-row: 1; display: inline-flex !important; align-items: center; justify-content: center;
    width: 44px; height: 42px; padding: 0; border: 1px solid var(--sgc-green-border); border-radius: 9px;
    background: #fff; color: var(--sgc-green-700); cursor: pointer;
  }
  .site-header .menu-toggle:focus-visible { outline: 3px solid rgba(33,134,90,.22); outline-offset: 2px; }
.site-header .menu-toggle-icon { display: inline-block; font: 700 23px/1 Arial, sans-serif; color: var(--sgc-green-700); }
  .site-header .main-nav {
    grid-column: 1 / -1; grid-row: 2; display: none; order: initial; flex: initial; width: 100%; min-width: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    padding: 10px 0 4px; border-top: 1px solid var(--sgc-green-border);
  }
  .site-header .main-nav.open { display: flex !important; }
  .site-header .main-nav a { display: flex; align-items: center; gap: 8px; white-space: normal; min-width: 0; width: 100%; padding: 11px 12px; border-radius: 8px; font-size: 14px; }
  .site-header .main-nav a i { display: inline-block; flex: 0 0 20px; width: 20px; margin: 0; text-align: center; color: var(--sgc-green-700); }
  .site-header .main-nav a:hover, .site-header .main-nav a.active { background: var(--sgc-green-100); color: inherit; }
  .site-header .main-nav a:hover i, .site-header .main-nav a.active i { color: var(--sgc-green-700); }
  .site-header .header-actions { grid-column: 1 / -1; grid-row: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; width: 100%; min-width: 0; order: initial; white-space: normal; }
  .site-header .header-actions .btn { min-height: 38px; padding: 9px 13px; }
}
@media (max-width: 600px) {
  .site-header { padding: 10px 14px; gap: 8px 10px; }
  .site-header .brand { gap: 8px; }
  .site-header .brand img { width: 42px; height: 42px; flex: 0 0 42px; }
  .site-header .brand strong, .site-header .brand b { font-size: 12px; line-height: 1.25; }
  .site-header .brand small { font-size: 10px; }
  .site-header .header-actions { justify-content: stretch; }
  .site-header .header-actions .btn { flex: 1 1 calc(50% - 8px); min-width: 0; padding: 9px 8px; font-size: 12px; }
}
.admin-sidebar .admin-nav-link.active,
.admin-sidebar .admin-nav-link.active:hover,
.admin-sidebar .admin-nav-link[aria-current="page"] {
  background: var(--sgc-green-700) !important;
  border-color: var(--sgc-green-700) !important;
  color: #fff !important;
}
.admin-sidebar .admin-nav-link.active .nav-icon,
.admin-sidebar .admin-nav-link.active i,
.admin-sidebar .admin-nav-link.active span { color: #fff !important; }
.admin-sidebar .admin-nav-link { border-radius: 9px; }
.page-hero, .events-page-hero:not(.career-page-hero), .news-notice-hero,
.campus-page-hero, .profile-compact-heading, .alumni-directory-heading {
  background: linear-gradient(115deg, #edf7f0 0%, #f8fbf8 74%, #eef7f1 100%);
  border-bottom: 1px solid var(--sgc-green-border);
}
.events-page-hero .events-hero-icon, .news-notice-hero-icon { background: rgba(24,107,69,.09); border: 1px solid rgba(24,107,69,.13); }
.page-hero .eyebrow, .events-page-hero .eyebrow, .news-notice-hero .eyebrow,
.campus-page-hero .eyebrow, .profile-compact-heading .eyebrow { color: var(--sgc-green-700); }
.quick-card, .panel, .community-cta, .listing-card, .profile-card, .profile-details>div,
.feature, .admin-action, .event-feature-card, .event-detail-card, .alumni-short-card,
.campus-gallery-card, .news-notice-panel, .career-card, .career-post-form-card,
.membership-fee-card, .membership-benefit-card, .membership-payment-card,
.membership-wizard-card, .home-membership-feature, .home-campus-feature,
.events-empty-state, .news-notice-empty, .campus-gallery-empty, .career-empty-state,
.about-value-card, .about-intro-card, .about-logo-card {
  border: 1.5px solid var(--sgc-green-border);
  box-shadow: var(--sgc-card-shadow);
}
.event-feature-card, .alumni-short-card, .campus-gallery-card, .career-card,
.membership-benefit-card, .membership-payment-card, .about-value-card,
.about-intro-card, .about-logo-card, .feature { border-radius: 14px; overflow: hidden; }
.quick-card:hover, .event-feature-card:hover, .alumni-short-card:hover,
.campus-gallery-card:hover, .career-card:hover, .feature:hover {
  border-color: #b4d3bf;
  box-shadow: 0 11px 28px rgba(24, 63, 42, .105);
}
.events-page-tabs, .news-notice-category-tabs, .campus-gallery-filters { gap: 8px; flex-wrap: wrap; }
.events-page-tabs a, .news-notice-category-tabs a, .campus-gallery-filters a {
  min-height: 36px; padding: 8px 13px; border: 1px solid var(--sgc-green-border); border-radius: 9px;
  background: #fff; color: #43544a; font-weight: 700; transition: background .16s, border-color .16s, color .16s;
}
.events-page-tabs a.active, .events-page-tabs a:hover,
.news-notice-category-tabs a.active, .news-notice-category-tabs a:hover,
.campus-gallery-filters a.active, .campus-gallery-filters a:hover {
  background: var(--sgc-green-700); border-color: var(--sgc-green-700); color: #fff;
}
.events-filter-panel, .news-notice-toolbar, .alumni-dir-filter-form, .campus-gallery-toolbar {
  min-width: 0; border: 1px solid var(--sgc-green-border); border-radius: 13px; background: #fff;
}
.events-filter-panel, .news-notice-toolbar, .alumni-dir-filter-form { box-shadow: 0 4px 15px rgba(24,63,42,.045); }
.events-filter-panel input, .events-filter-panel select, .news-notice-toolbar input,
.news-notice-toolbar select, .alumni-dir-filter-form input, .alumni-dir-filter-form select,
.campus-gallery-search input, .career-search-form input {
  min-width: 0; max-width: 100%; border: 1px solid #d8e4db; border-radius: 8px; background: #fbfdfb;
}
.events-filter-panel input:focus, .events-filter-panel select:focus, .news-notice-toolbar input:focus,
.news-notice-toolbar select:focus, .alumni-dir-filter-form input:focus, .alumni-dir-filter-form select:focus,
.campus-gallery-search input:focus, .career-search-form input:focus {
  border-color: #6fac88; outline: 0; box-shadow: 0 0 0 3px rgba(33,134,90,.11);
}
.events-search, .news-notice-search, .alumni-directory-search { min-width: 0; max-width: 100%; }
.events-search .site-search-field, .news-notice-search .site-search-field { flex: 1 1 auto; width: auto; }
.alumni-directory-search { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px; }
.alumni-directory-search > .site-search-field { grid-column: 2; grid-row: 1; }
.alumni-directory-search > button[type="submit"] { grid-column: 3; grid-row: 1; }
.campus-gallery-search > div { display: grid !important; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; min-width: 0; }
.campus-gallery-search > div > .site-search-field { grid-column: 1; grid-row: 1; }
.campus-gallery-search > div > button[type="submit"] { grid-column: 2; grid-row: 1; }
.career-search-form { min-width: 0; }
.career-search-form .site-search-field { flex: 1 1 auto; }
.site-search-field { position: relative; display: flex; align-items: center; flex: 1 1 0; min-width: 0; width: 100%; max-width: 100%; }
.site-search-field > input[type="search"], .site-search-field > input[data-list-search] {
  display: block; flex: 1 1 auto; width: 100%; min-width: 0; max-width: 100%; padding-right: 42px !important;
}
.site-search-field > input[type="search"]::-webkit-search-cancel-button { appearance: none; -webkit-appearance: none; }
.site-search-field > .site-search-clear {
  appearance: none; position: absolute !important; z-index: 5; top: 50% !important; right: 5px !important;
  transform: translateY(-50%) !important; display: grid !important; place-items: center !important;
  width: 28px !important; min-width: 28px !important; height: 28px !important; min-height: 28px !important;
  padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important;
  background: transparent !important; color: #d3172a !important; box-shadow: none !important;
  font-size: 23px !important; font-weight: 800 !important; line-height: 1 !important; text-decoration: none !important; cursor: pointer !important;
}
.site-search-field > .site-search-clear:hover, .site-search-field > .site-search-clear:focus-visible {
  background: rgba(211,23,42,.07) !important; color: #a90d1d !important; outline: 2px solid rgba(211,23,42,.18); outline-offset: 1px;
}
html:has(body.auth-screen), body.auth-screen, body.auth-screen .auth-only-main { background: #f7faf8 !important; }
.auth-screen .auth-split-page { background: #fff !important; border-color: #e0e9e2 !important; box-shadow: 0 24px 60px rgba(25,58,39,.10) !important; }
.auth-screen .auth-visual-panel { background: #343d37 !important; }
.auth-screen .auth-visual-background { opacity: 1 !important; filter: saturate(.68) contrast(1.01) brightness(.92) !important; }
.auth-screen .auth-visual-overlay {
  background: linear-gradient(180deg, rgba(22,28,24,.03) 0%, rgba(20,28,23,.10) 42%, rgba(10,18,14,.58) 100%),
    linear-gradient(125deg, rgba(42,51,44,.05), rgba(27,33,29,.03) 63%) !important;
}
.auth-screen .auth-form-panel { background: #fff !important; color: #25382d !important; }
.auth-screen .auth-form-content h1 { color: #1c2b22 !important; }
.auth-screen .auth-form-kicker, .auth-screen .auth-form-lead a,
.auth-screen .auth-form-options>a, .auth-screen .auth-switch-line a,
.auth-screen .auth-form-foot a { color: #176b45 !important; }
.auth-screen .auth-input-shell { background: #f7faf8 !important; border-color: #d9e5dc !important; }
.auth-screen .auth-input-shell:focus-within { background: #fff !important; border-color: #75b38d !important; box-shadow: 0 0 0 3px rgba(33,134,90,.12) !important; }
.auth-screen .auth-input-shell input, .auth-screen .auth-input-shell input:not([type=checkbox]) { color: #25382d !important; }
.auth-screen .auth-input-shell input::placeholder { color: #88978d !important; }
.auth-screen .auth-submit { background: var(--sgc-green-700) !important; border-color: var(--sgc-green-700) !important; box-shadow: 0 6px 16px rgba(19,87,54,.15) !important; }
.auth-screen .auth-submit:hover { background: var(--sgc-green-800) !important; border-color: var(--sgc-green-800) !important; }
@media (min-width: 761px) {
  .auth-screen .auth-split-page { align-items: start !important; }
  .auth-screen .auth-visual-panel { align-self: start !important; height: 660px !important; min-height: 660px !important; max-height: 660px !important; }
  .auth-screen .auth-visual-background { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center !important; transform: none !important; transition: none !important; }
}
@media (min-width: 761px) and (max-height: 760px) { .auth-screen .auth-visual-panel { height: 600px !important; min-height: 600px !important; max-height: 600px !important; } }
.about-redesigned { align-items: start; grid-template-columns: minmax(0,1.65fr) minmax(270px,.75fr); gap: 24px; padding-block: 38px 54px; }
.about-main-column { display: grid; gap: 18px; min-width: 0; }
.about-intro-card { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 16px; align-items: start; padding: 22px; background: #fff; }
.about-section-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #e8f4ec; color: var(--sgc-green-700); font-size: 21px; }
.about-intro-card .eyebrow { margin-bottom: 6px; font-size: 10px; }
.about-intro-card h2 { margin: 0 0 9px; font-size: clamp(20px,2vw,25px); line-height: 1.3; }
.about-intro-card p:last-child { margin: 0; color: #56675d; line-height: 1.75; }
.about-mission-vision-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 14px; }
.about-value-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; padding: 22px; background: #fff; }
.about-value-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: #267d53; }
.about-vision-card::before { background: #6d9b7e; }
.about-value-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: #eaf5ee; color: #176b45; font-size: 18px; }
.about-value-card > div { display: grid; gap: 3px; }
.about-value-eyebrow { margin: 0; color: #688275; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; }
.about-value-card h2 { margin: 0; font-size: 21px; color: inherit; }
.about-value-text { margin: 0 !important; max-width: none !important; color: #4f6256 !important; font-size: 13px; line-height: 1.78; text-align: justify; text-justify: inter-word; hyphens: auto; }
.about-feature-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.about-feature-grid .feature { background: #fff; padding: 17px; }
.about-feature-grid .feature:nth-child(1) i { color: #267d53; }
.about-feature-grid .feature:nth-child(2) i { color: #39765d; }
.about-feature-grid .feature:nth-child(3) i { color: #59856a; }
.about-logo-card { display: flex; position: relative; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 100%; gap: 12px; padding: 28px 22px; text-align: center; background: linear-gradient(160deg,#f4faf6 0%,#ffffff 55%,#edf7f0 100%); }
.about-logo-orbit { position: relative; display: grid; place-items: center; width: min(100%,230px); aspect-ratio: 1; margin: 6px auto 4px; border: 1px dashed #bfd9c7; border-radius: 50%; background: radial-gradient(circle,rgba(217,239,224,.76) 0,rgba(243,250,245,.42) 58%,transparent 59%); }
.about-logo-ring { display: grid; place-items: center; width: 64%; aspect-ratio: 1; border: 1px solid #d6e7dc; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px rgba(24,86,51,.12); }
.about-logo-ring img { display: block; width: 84%; height: 84%; object-fit: contain; }
.about-logo-dot { position: absolute; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: #21865a; box-shadow: 0 0 0 4px rgba(33,134,90,.1); }
.about-logo-dot-one { top: 18%; right: 14%; }
.about-logo-dot-two { bottom: 17%; left: 13%; background: #7fab8e; }
.about-logo-kicker { margin: 0 !important; color: #5e846e !important; font-size: 10px !important; font-weight: 850; letter-spacing: 1.4px; }
.about-logo-card h2 { margin: 0; font-size: 27px; line-height: 1.25; color: #223d2d; }
.about-logo-card > p:not(.about-logo-kicker) { margin: 0 0 6px; color: #66776c; font-size: 13px; line-height: 1.7; }
.about-logo-card .btn { margin-top: auto; align-self: stretch; border-radius: 9px; }
.campus-gallery-card { border-radius: 14px; }
.campus-gallery-image { border-radius: 0; min-width: 0; width: 100%; }
.campus-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.campus-gallery-empty { border-style: solid; border-radius: 14px; background: #fbfdfb; }
.campus-gallery-empty > span { border-radius: 12px; background: #e8f4ec; color: var(--sgc-green-700); }
@media (max-width: 900px) {
  .about-redesigned { grid-template-columns: minmax(0,1fr); }
  .about-logo-card { min-height: 0; }
  .about-logo-orbit { width: min(58vw,220px); }
  .about-mission-vision-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-feature-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .events-filter-panel, .news-notice-toolbar { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 28px); max-width: 100%; }
  .about-redesigned { padding-block: 24px 38px; gap: 18px; }
  .about-intro-card { grid-template-columns: minmax(0,1fr); padding: 18px; gap: 11px; }
  .about-mission-vision-grid, .about-feature-grid { grid-template-columns: minmax(0,1fr); }
  .about-value-card { padding: 18px; }
  .about-value-text { text-align: left; hyphens: auto; }
  .about-logo-card { padding: 23px 18px; }
  .about-logo-orbit { width: min(62vw,205px); }
  .alumni-directory-search { grid-template-columns: auto minmax(0,1fr); }
  .alumni-directory-search > .site-search-field { grid-column: 2; }
  .alumni-directory-search > button[type="submit"] { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .events-search, .news-notice-search { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 8px; }
  .events-search > .site-search-field, .news-notice-search > .site-search-field { grid-column: 2; }
  .events-search > button[type="submit"], .news-notice-search > button[type="submit"] { grid-column: 1 / -1; width: 100%; }
  .campus-gallery-search > div { grid-template-columns: minmax(0,1fr); }
  .campus-gallery-search > div > .site-search-field, .campus-gallery-search > div > button[type="submit"] { grid-column: 1; width: 100%; }
  .career-card-grid { grid-template-columns: minmax(0,1fr) !important; }
  .career-card, .career-card-media, .career-card-body, .career-default-template, .career-default-template-large,
  .career-detail-layout > *, .membership-apply-banner, .membership-application-wrap, .membership-wizard-card,
  .membership-review-grid, .membership-form-grid, .auth-split-page, .auth-form-panel { min-width: 0; width: 100%; max-width: 100%; }
  .career-card-media, .career-detail-banner, .career-post-image-preview { overflow: hidden; }
  .career-card-media img, .career-detail-banner img, .career-post-image-preview img,
  .campus-gallery-image img, .campus-upload-preview, .campus-edit-photo-preview img { display: block; max-width: 100%; width: 100%; object-fit: cover; }
  .career-search-form, .career-listing-heading, .membership-apply-banner, .footer-bottom { flex-direction: column; align-items: stretch; }
  .career-search-form > *, .membership-apply-banner > *, .footer-policy-links { min-width: 0; max-width: 100%; }
  .campus-gallery-filters { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; padding: 2px 0 6px; }
  .campus-gallery-filters a { flex: 0 0 auto; white-space: nowrap; }
  .events-feature-grid, .alumni-short-grid, .campus-gallery-grid, .content-grid, .quick-links, .stats,
  .membership-overview-grid, .membership-benefits-grid, .membership-payment-grid, .career-form-grid { grid-template-columns: minmax(0,1fr) !important; }
  .event-feature-card, .alumni-short-card, .campus-gallery-card, .career-card { max-width: 100%; }
  .event-feature-footer { flex-wrap: wrap; gap: 8px; }
  .event-feature-footer .btn { min-width: 0; flex: 1 1 auto; }
  .footer-policy-links { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; line-height: 1.7; }
  .footer-copyright { overflow-wrap: anywhere; }
}
@media (max-width: 390px) {
  .site-header .brand b { font-size: 11px; }
  .site-header .brand small { font-size: 9px; }
  .site-header .menu-toggle { width: 40px; height: 40px; }
  .about-value-text { font-size: 12.5px; line-height: 1.72; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.admin-content .admin-card, .admin-content .admin-form-card, .admin-content .admin-table-card,
.admin-content .admin-action, .admin-content .admin-stat, .admin-content .admin-kpi,
.admin-content .admin-info-tile, .admin-content .notification-recent-card {
  border: 1.5px solid #d7e5db;
  box-shadow: 0 5px 18px rgba(24, 63, 42, .055);
}
.admin-content .admin-card, .admin-content .admin-form-card, .admin-content .admin-table-card,
.admin-content .notification-recent-card { border-radius: 13px; overflow: hidden; }
.admin-content .admin-card-header, .admin-content .admin-form-intro { border-bottom-color: #e5eee7; }
