.content-main { min-height: 55vh; padding-bottom: 4.5rem; }
.content-hero { overflow: hidden; border-bottom: 1px solid #e4edf7; background: linear-gradient(110deg, #eef7ff 0%, #f8fbff 56%, #eff9f5 100%); }
.content-hero > .container { position: relative; display: flex; min-height: 300px; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 3.7rem; padding-bottom: 3.7rem; }
.content-hero-copy { position: relative; z-index: 1; max-width: 690px; }
.content-hero-copy .section-tag, .content-section-heading .section-tag, .article-aside-heading .section-tag, .career-detail-title .section-tag, .career-description .section-tag, .career-side-panel .section-tag, .careers-note .section-tag, .contact-form-heading .section-tag { display: inline-block; margin-bottom: 0.65rem; }
.content-hero h1 { margin: 0; color: var(--navy); font-size: 3.1rem; font-weight: 800; line-height: 1.12; }
.content-hero h1 span { color: var(--blue); }
.content-hero-copy > p { max-width: 590px; margin: 1rem 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.content-hero-mark { display: grid; width: 205px; height: 205px; flex: 0 0 205px; align-content: center; justify-items: center; gap: 0.55rem; border: 1px solid #dce9f6; border-radius: 8px; background: rgba(255, 255, 255, 0.78); color: var(--navy-2); transform: rotate(3deg); }
.content-hero-mark i { color: var(--blue); font-size: 4rem; }
.content-hero-mark span:first-child { margin-right: 3.2rem; color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.content-hero-mark span:last-child { margin-left: 3.2rem; color: var(--green); font-size: 0.85rem; font-weight: 700; }
.content-list-section { padding-top: 3.5rem; }
.content-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.content-section-heading h2, .article-aside-heading h2, .career-side-panel h2 { margin: 0; color: var(--navy); font-size: 1.75rem; font-weight: 800; }
.content-section-heading p { margin: 0.5rem 0 0; color: var(--muted); font-size: 1rem; }
.content-count { padding: 0.55rem 0.8rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--navy-2); font-size: 0.9rem; font-weight: 700; white-space: nowrap; }
.blog-card { height: 100%; overflow: hidden; border: 1px solid #e2eaf4; border-radius: 8px; background: #fff; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(13, 28, 63, 0.09); }
.blog-image { position: relative; display: block; aspect-ratio: 16 / 8.2; overflow: hidden; background: #edf4fa; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-image img { transform: scale(1.035); }
.blog-image-label { position: absolute; bottom: 0.85rem; left: 0.85rem; padding: 0.4rem 0.65rem; border-radius: 4px; background: #fff; color: var(--navy); font-size: 0.85rem; font-weight: 700; }
.blog-card-body { padding: 1.25rem 1.35rem 1.35rem; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--muted); font-size: 0.88rem; }
.blog-meta span { display: inline-flex; align-items: center; gap: 0.38rem; }
.blog-meta i { color: var(--blue); }
.blog-card h3 { margin: 0.8rem 0 0.55rem; color: var(--navy); font-size: 1.35rem; font-weight: 800; line-height: 1.3; }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card-body > p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.content-read-link { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1rem; color: var(--blue); font-size: 0.95rem; font-weight: 800; }
.content-read-link:hover { color: var(--blue-dark); }
.article-main { padding-top: 1.25rem; }
.content-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0 0 1.4rem; color: var(--muted); font-size: 0.9rem; }
.content-breadcrumb a { color: var(--blue); font-weight: 700; }
.content-breadcrumb i { color: #a7b3c2; font-size: 0.72rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; align-items: start; }
.article-header { padding: 0.4rem 0 1.25rem; }
.article-header .section-tag { display: inline-block; margin-bottom: 0.65rem; }
.article-header h1 { max-width: 850px; margin: 0 0 1rem; color: var(--navy); font-size: 2.6rem; font-weight: 800; line-height: 1.16; }
.article-cover { aspect-ratio: 16 / 7.2; overflow: hidden; border-radius: 8px; background: #edf4fa; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-intro { margin: 1.55rem 0 1.2rem; color: var(--navy-2); font-size: 1.2rem; font-weight: 600; line-height: 1.75; }
.article-body { color: var(--navy-2); font-size: 1rem; line-height: 1.8; }
.article-body h2 { margin: 2rem 0 0.7rem; color: var(--navy); font-size: 1.55rem; font-weight: 800; }
.article-body h3 { margin: 1.25rem 0 0.45rem; color: var(--navy); font-size: 1.12rem; font-weight: 800; }
.article-body p { margin: 0 0 0.9rem; }
.article-body ul { padding-left: 1.35rem; }
.article-body li { margin-bottom: 0.48rem; padding-left: 0.2rem; }
.article-body li::marker { color: var(--blue); }
.article-tags { display: flex; align-items: flex-start; gap: 0.8rem; margin-top: 1.8rem; padding-top: 1.1rem; border-top: 1px solid #e8eff7; color: var(--navy); font-size: 0.9rem; }
.article-tags > span { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.article-tags a { padding: 0.32rem 0.55rem; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.article-share { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.3rem; color: var(--navy); font-size: 0.92rem; font-weight: 700; }
.article-share button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--blue); }
.article-share .content-read-link { margin: 0 0 0 auto; }
.article-aside { position: sticky; top: 100px; padding: 1.2rem; border: 1px solid #e2eaf4; border-radius: 8px; background: #fff; }
.article-aside-heading { margin-bottom: 1rem; }
.article-aside-heading h2 { font-size: 1.2rem; }
.aside-article { display: grid; grid-template-columns: 76px 1fr; gap: 0.8rem; align-items: center; padding: 0.8rem 0; border-top: 1px solid #edf2f8; color: var(--navy); }
.aside-article img { width: 76px; height: 66px; border-radius: 4px; object-fit: cover; }
.aside-article small, .aside-article strong { display: block; }
.aside-article small { margin-bottom: 0.2rem; color: var(--blue); font-size: 0.82rem; }
.aside-article strong { font-size: 0.92rem; line-height: 1.35; }
.aside-article:hover strong { color: var(--blue); }
.aside-career-link { display: flex; align-items: center; gap: 0.65rem; margin-top: 0.8rem; padding: 0.8rem; border-radius: 6px; background: #f1f8ff; color: var(--blue); }
.aside-career-link > span { flex: 1; }
.aside-career-link strong, .aside-career-link small { display: block; }
.aside-career-link strong { font-size: 0.85rem; }
.aside-career-link small { margin-top: 0.2rem; color: var(--muted); font-size: 0.8rem; }
.careers-list-hero > .container { min-height: 360px; }
.careers-list-hero .content-hero-copy { max-width: 700px; }
.careers-list-hero .content-hero-copy .btn { margin-top: 1.2rem; }
.career-hero-visual { position: relative; width: 330px; height: 255px; flex: 0 0 330px; }
.career-hero-visual img { position: absolute; right: 0; bottom: 0; width: 300px; height: 245px; object-fit: contain; object-position: bottom; }
.career-visual-note { position: absolute; top: 0; left: 0; z-index: 1; display: flex; align-items: center; gap: 0.65rem; padding: 0.8rem 0.9rem; border: 1px solid #e1eaf3; border-radius: 6px; background: #fff; color: var(--navy); font-size: 0.9rem; line-height: 1.35; }
.career-visual-note i { color: #e3a523; font-size: 1.5rem; }
.career-visual-note strong { color: var(--blue); }
.career-list { border-top: 1px solid #e2eaf4; }
.career-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) 42px; gap: 1.1rem; align-items: center; padding: 1.3rem 0; border-bottom: 1px solid #e2eaf4; }
.career-role-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 8px; font-size: 1.35rem; }
.role-blue { background: #eaf4ff; color: #0f7ae5; }.role-green { background: #eaf8f0; color: #16864e; }.role-yellow { background: #fff6e4; color: #b97809; }.role-red { background: #fff0ec; color: #d05c43; }.role-purple { background: #f2efff; color: #6650c9; }
.career-title-row { display: flex; align-items: center; gap: 0.65rem; }
.career-title-row h3 { margin: 0; color: var(--navy); font-size: 1.2rem; font-weight: 800; }
.career-title-row h3 a { color: inherit; }
.career-title-row h3 a:hover { color: var(--blue); }
.career-status { padding: 0.24rem 0.5rem; border-radius: 4px; background: #eaf8f0; color: #16864e; font-size: 0.78rem; font-weight: 700; }
.career-card-main > p { margin: 0.45rem 0 0.7rem; color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
.career-meta { display: flex; flex-wrap: wrap; gap: 0.55rem 1.1rem; color: var(--muted); font-size: 0.88rem; }
.career-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.career-meta i { color: var(--blue); }
.career-open { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--blue); font-size: 1.05rem; transition: 0.2s ease; }
.career-open:hover { border-color: var(--blue); background: var(--blue); color: white; }
.careers-note { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 2.2rem; padding: 1.5rem 1.7rem; border: 1px solid #e2eaf4; border-radius: 8px; background: #fff; }
.careers-note h2 { margin: 0; color: var(--navy); font-size: 1.25rem; font-weight: 800; }
.careers-note p { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.95rem; }
.career-detail-main { padding-top: 1.25rem; }
.career-detail-hero { display: flex; align-items: center; gap: 1.25rem; padding: 1.4rem 0 1.8rem; border-bottom: 1px solid #e4edf7; }
.career-detail-icon { display: grid; width: 76px; height: 76px; flex: 0 0 76px; place-items: center; border-radius: 8px; background: #eaf4ff; color: var(--blue); font-size: 2rem; }
.career-detail-title { flex: 1; }
.career-detail-title .section-tag { margin-bottom: 0.25rem; }
.career-detail-title h1 { margin: 0; color: var(--navy); font-size: 2.2rem; font-weight: 800; }
.career-detail-title > p { margin: 0.35rem 0 0.7rem; color: var(--muted); font-size: 1rem; }
.career-apply-button { flex: 0 0 auto; }
.career-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 3rem; align-items: start; padding-top: 2rem; }
.career-description section { margin-bottom: 2rem; }
.career-description h2 { margin: 0 0 0.85rem; color: var(--navy); font-size: 1.5rem; font-weight: 800; }
.career-description p, .career-description li { color: var(--navy-2); font-size: 1rem; line-height: 1.75; }
.career-requirements { padding-left: 1.3rem; }
.career-requirements li { margin-bottom: 0.55rem; padding-left: 0.2rem; }
.career-requirements li::marker { color: var(--blue); }
.career-application-note { display: flex; gap: 0.85rem; padding: 1rem; border-radius: 6px; background: #f0f7ff; }
.career-application-note i { color: var(--blue); font-size: 1.2rem; }
.career-application-note p { margin: 0; font-size: 0.95rem; }
.career-side-panel { position: sticky; top: 100px; padding: 1.25rem; border: 1px solid #e2eaf4; border-radius: 8px; background: #fff; }
.career-side-panel h2 { margin-bottom: 1rem; font-size: 1.25rem; }
.career-side-panel dl { margin: 0 0 1rem; }
.career-side-panel dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 0; border-top: 1px solid #edf2f8; font-size: 0.92rem; }
.career-side-panel dt { color: var(--muted); font-weight: 500; }
.career-side-panel dd { margin: 0; color: var(--navy); font-weight: 700; text-align: right; }
.career-back-link { display: flex; justify-content: center; gap: 0.4rem; margin-top: 1rem; color: var(--blue); font-size: 0.92rem; font-weight: 700; }
.contact-hero > .container { min-height: 345px; }
.contact-response { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.4rem; color: var(--blue); }
.contact-response > i { font-size: 1.6rem; }
.contact-response strong, .contact-response small { display: block; }
.contact-response strong { color: var(--navy); font-size: 0.95rem; }
.contact-response small { margin-top: 0.2rem; color: var(--muted); font-size: 0.88rem; }
.contact-hero-art { position: relative; width: 350px; height: 265px; flex: 0 0 350px; }
.contact-hero-art img { width: 100%; height: 100%; object-fit: contain; }
.contact-hero-art > span { position: absolute; right: 0.15rem; bottom: 0.6rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 0.8rem; border: 1px solid #e1eaf3; border-radius: 6px; background: #fff; color: var(--navy); font-size: 0.9rem; font-weight: 700; }
.contact-hero-art > span i { color: var(--blue); }
.contact-content { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr); gap: 3.5rem; padding-top: 3.2rem; }
.contact-content .content-section-heading { margin-bottom: 1.1rem; }
.contact-content .content-section-heading h2 { max-width: 440px; font-size: 1.7rem; }
.contact-info-list { border-top: 1px solid #e2eaf4; }
.contact-info-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 0.8rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid #e2eaf4; color: var(--navy); }
.contact-info-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 6px; background: #edf6ff; color: var(--blue); font-size: 1.1rem; }
.contact-info-row small, .contact-info-row strong { display: block; }
.contact-info-row small { margin-bottom: 0.25rem; color: var(--muted); font-size: 0.87rem; }
.contact-info-row strong { font-size: 0.98rem; line-height: 1.45; overflow-wrap: anywhere; }
.contact-info-row > i { color: #9baabd; font-size: 0.9rem; }
.contact-info-row:hover strong { color: var(--blue); }
.contact-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.25rem; }
.contact-stats div { padding: 0.5rem 0.7rem; border-right: 1px solid #e2eaf4; }
.contact-stats div:first-child { padding-left: 0; }
.contact-stats div:last-child { border: 0; }
.contact-stats strong, .contact-stats span { display: block; }
.contact-stats strong { color: var(--blue); font-size: 1.15rem; font-weight: 800; }
.contact-stats span { margin-top: 0.2rem; color: var(--muted); font-size: 0.87rem; }
.contact-social { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.4rem; }
.contact-social strong { margin-right: 0.3rem; color: var(--navy); font-size: 0.9rem; }
.contact-social a { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 5px; color: var(--blue); }
.contact-social a:hover { background: var(--blue); color: #fff; }
.contact-form-panel { padding: 1.6rem; border: 1px solid #e1e9f3; border-radius: 8px; background: #fff; box-shadow: 0 14px 32px rgba(13, 28, 63, 0.06); }
.contact-form-heading h2 { margin: 0; color: var(--navy); font-size: 1.55rem; font-weight: 800; }
.contact-form-heading p { margin: 0.4rem 0 1.2rem; color: var(--muted); font-size: 0.98rem; }
.contact-form-panel form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-field label { display: block; margin-bottom: 0.4rem; color: var(--navy-2); font-size: 0.92rem; font-weight: 700; }
.contact-field label span { color: #d14545; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; min-height: 46px; padding: 0.7rem 0.8rem; border: 1px solid #dbe5f0; border-radius: 6px; outline: none; background: #fff; color: var(--navy); font: inherit; font-size: 0.95rem; }
.contact-field textarea { min-height: 135px; resize: vertical; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15, 122, 229, 0.1); }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #8d9bad; }
.contact-message-field { grid-column: 1 / -1; }
.contact-form-panel form > .btn { justify-self: start; min-width: 180px; }

@media (max-width: 991.98px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 1.8rem; }
  .contact-content { grid-template-columns: 1fr 1.1fr; gap: 2rem; }
  .career-detail-layout { grid-template-columns: minmax(0, 1fr) 275px; gap: 1.8rem; }
}

@media (max-width: 767.98px) {
  .content-main { padding-bottom: 3rem; }
  .content-hero > .container { min-height: 275px; padding-top: 2.6rem; padding-bottom: 2.6rem; }
  .content-hero h1 { font-size: 2.3rem; }
  .content-hero-copy > p { font-size: 1rem; }
  .content-hero-mark { width: 130px; height: 130px; flex-basis: 130px; }
  .content-hero-mark i { font-size: 2.7rem; }
  .content-hero-mark span:first-child { margin-right: 1.7rem; }.content-hero-mark span:last-child { margin-left: 1.7rem; }
  .content-list-section { padding-top: 2.4rem; }
  .content-section-heading h2 { font-size: 1.5rem; }
  .content-section-heading p { font-size: 0.95rem; }
  .blog-card h3 { font-size: 1.2rem; }
  .article-layout, .career-detail-layout { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 2.1rem; }
  .article-cover { aspect-ratio: 16 / 9; }
  .article-aside, .career-side-panel { position: static; }
  .article-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 0.8rem; }
  .article-aside-heading, .aside-career-link { grid-column: 1 / -1; }
  .aside-article { grid-template-columns: 66px 1fr; }
  .aside-article img { width: 66px; height: 58px; }
  .careers-list-hero > .container { min-height: 300px; }
  .career-hero-visual { position: absolute; right: 0.7rem; bottom: 0; width: 205px; height: 175px; opacity: 0.32; }
  .career-hero-visual img { width: 205px; height: 170px; }
  .career-visual-note { display: none; }
  .career-card { grid-template-columns: 48px minmax(0, 1fr) 36px; gap: 0.7rem; }
  .career-role-icon { width: 46px; height: 46px; font-size: 1.15rem; }
  .career-title-row h3 { font-size: 1.05rem; }
  .career-card-main > p { font-size: 0.93rem; }
  .career-meta { gap: 0.4rem 0.75rem; font-size: 0.84rem; }
  .career-open { width: 35px; height: 35px; }
  .careers-note { align-items: flex-start; flex-direction: column; gap: 1rem; padding: 1.2rem; }
  .career-detail-hero { flex-wrap: wrap; }
  .career-detail-title h1 { font-size: 1.8rem; }
  .career-apply-button { margin-left: 5.1rem; }
  .contact-hero > .container { min-height: 300px; }
  .contact-hero-art { display: none; }
  .contact-content { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
  .contact-form-panel { padding: 1.2rem; }
}

@media (max-width: 480px) {
  .content-hero > .container { min-height: 250px; }
  .content-hero h1 { font-size: 2rem; }
  .content-hero-mark { display: none; }
  .content-count { padding: 0.45rem 0.55rem; font-size: 0.82rem; }
  .content-section-heading { align-items: flex-start; }
  .blog-card-body { padding: 1rem; }
  .blog-meta { gap: 0.65rem; font-size: 0.82rem; }
  .article-header h1 { font-size: 1.8rem; }
  .article-intro { font-size: 1.05rem; }
  .article-aside { grid-template-columns: 1fr; }
  .career-card { grid-template-columns: 42px minmax(0, 1fr); }
  .career-role-icon { width: 40px; height: 40px; }
  .career-open { display: none; }
  .career-meta span:last-child { flex-basis: 100%; }
  .career-apply-button { margin-left: 0; }
  .contact-stats div { padding-inline: 0.4rem; }
  .contact-stats strong { font-size: 1rem; }
  .contact-stats span { font-size: 0.8rem; }
  .contact-social { flex-wrap: wrap; }
  .contact-social strong { flex-basis: 100%; }
  .contact-form-panel form { grid-template-columns: 1fr; }
  .contact-message-field { grid-column: auto; }
  .contact-form-panel form > .btn { width: 100%; }
}

.legal-main { padding-bottom: 5rem; }
.legal-hero { background-image: url("../../images/info-desktop.png"); background-position: center; background-size: cover; }
.legal-hero > .container { min-height: 250px; }
.legal-document { padding-top: 1.7rem; }
.legal-document-meta { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid #e4edf7; color: var(--muted); font-size: 0.9rem; }
.legal-document-meta span:first-child { display: inline-flex; align-items: center; gap: 0.45rem; }
.legal-document-meta i { color: var(--blue); }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); justify-content: space-between; gap: 3rem; padding-top: 1.6rem; }
.legal-toc { position: sticky; top: 100px; display: grid; align-content: start; gap: 0.65rem; height: max-content; padding: 0.25rem 0 0.25rem 1rem; border-left: 2px solid #dce9f6; }
.legal-toc strong { margin-bottom: 0.25rem; color: var(--navy); font-size: 0.95rem; }
.legal-toc a { color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
.legal-toc a:hover { color: var(--blue); }
.legal-copy { min-width: 0; color: var(--navy-2); }
.legal-copy > p, .legal-copy section p, .legal-copy li { color: var(--navy-2); font-size: 1rem; line-height: 1.8; }
.legal-copy > p { margin: 0 0 1.4rem; }
.legal-copy section { scroll-margin-top: 100px; margin: 0 0 1.65rem; }
.legal-copy h2 { margin: 0 0 0.55rem; color: var(--navy); font-size: 1.2rem; font-weight: 800; line-height: 1.4; }
.legal-copy section p { margin: 0 0 0.75rem; }
.legal-copy ul { margin: 0 0 0.85rem; padding-left: 1.4rem; }
.legal-copy li { margin-bottom: 0.4rem; padding-left: 0.15rem; }
.legal-copy li::marker { color: var(--blue); }
.legal-copy a { color: var(--blue); font-weight: 700; }
.legal-copy a:hover { color: var(--blue-dark); }

.gallery-hero > .container { min-height: 300px; }
.gallery-hero .content-hero-mark { transform: rotate(3deg); }
.gallery-section { padding-bottom: 0.5rem; }
.gallery-section-heading { margin-bottom: 1.35rem; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.7rem; }
.gallery-filter { padding: 0.62rem 0.9rem; border: 1px solid #e2eaf4; border-radius: 5px; background: #f8fafc; color: var(--navy-2); font-size: 0.9rem; font-weight: 600; transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease; }
.gallery-filter:hover { border-color: #bfdbf8; background: #eef7ff; color: var(--blue); }
.gallery-filter.is-active { border-color: var(--blue); background: var(--blue); color: #fff; }
.gallery-filter:focus-visible { outline: 3px solid rgba(15, 122, 229, 0.28); outline-offset: 2px; }
.gallery-item[hidden] { display: none !important; }
.gallery-card { height: 100%; overflow: hidden; border: 1px solid #e2eaf4; border-radius: 8px; background: #fff; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(13, 28, 63, 0.09); }
.gallery-card-image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #edf4fa; }
.gallery-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-card:hover .gallery-card-image img { transform: scale(1.035); }
.gallery-image-action { position: absolute; right: 0.85rem; bottom: 0.85rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.65rem; border-radius: 4px; background: rgba(255, 255, 255, 0.94); color: var(--navy); font-size: 0.8rem; font-weight: 700; opacity: 0; transform: translateY(4px); transition: opacity 0.2s ease, transform 0.2s ease; }
.gallery-card-image:hover .gallery-image-action, .gallery-card-image:focus-visible .gallery-image-action { opacity: 1; transform: translateY(0); }
.gallery-image-action i { color: var(--blue); }
.gallery-card-caption { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; padding: 1rem 1.05rem; }
.gallery-card-caption h3 { margin: 0; color: var(--navy); font-size: 1rem; font-weight: 800; line-height: 1.4; }
.gallery-card-caption > i { flex: 0 0 auto; color: var(--blue); font-size: 1rem; }
.gallery-back-link { display: inline-flex; align-items: center; gap: 0.45rem; margin-bottom: 1.2rem; color: var(--blue); font-size: 0.9rem; font-weight: 700; }
.gallery-back-link:hover { color: var(--blue-dark); }
.gallery-album-hero > .container { min-height: 250px; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.gallery-album-section { padding-top: 1.5rem; }
.gallery-album-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 2rem; align-items: start; }
.gallery-carousel { min-width: 0; }
.gallery-carousel-stage { position: relative; display: grid; min-height: 280px; aspect-ratio: 16 / 9; place-items: center; overflow: hidden; border: 1px solid #e2eaf4; border-radius: 8px; background: #eaf2fa; }
.gallery-carousel-image { width: 100%; height: 100%; object-fit: contain; }
.gallery-carousel-control { position: absolute; top: 50%; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 50%; background: rgba(13, 28, 63, 0.66); color: #fff; font-size: 1.15rem; transform: translateY(-50%); transition: background 0.18s ease; }
.gallery-carousel-control:hover { background: var(--blue); }
.gallery-carousel-control:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.gallery-carousel-prev { left: 1rem; }
.gallery-carousel-next { right: 1rem; }
.gallery-carousel-counter { position: absolute; right: 0.85rem; bottom: 0.85rem; padding: 0.35rem 0.6rem; border-radius: 4px; background: rgba(13, 28, 63, 0.74); color: #fff; font-size: 0.82rem; font-weight: 700; }
.gallery-thumbnails { display: flex; gap: 0.65rem; overflow-x: auto; padding: 1rem 0 0.4rem; scrollbar-color: #c4d7eb transparent; scrollbar-width: thin; }
.gallery-thumbnail { width: 96px; height: 72px; flex: 0 0 96px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 5px; background: #edf4fa; }
.gallery-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbnail:hover { border-color: #9bc9f4; }
.gallery-thumbnail.is-active { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(15, 122, 229, 0.16); }
.gallery-thumbnail:focus-visible { outline: 3px solid rgba(15, 122, 229, 0.32); outline-offset: 2px; }
.gallery-album-info { padding: 1.3rem; border: 1px solid #e2eaf4; border-radius: 8px; background: #fff; }
.gallery-album-info .section-tag { display: inline-block; margin-bottom: 0.6rem; }
.gallery-album-info h2 { margin: 0; color: var(--navy); font-size: 1.4rem; font-weight: 800; line-height: 1.35; }
.gallery-photo-count { display: flex; align-items: center; gap: 0.5rem; margin: 0.9rem 0; color: var(--navy-2); font-size: 0.92rem; font-weight: 700; }
.gallery-photo-count i { color: var(--blue); }
.gallery-album-info hr { margin: 1rem 0; border-color: #e4edf7; opacity: 1; }
.gallery-album-info > p:last-child { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.65; }
.gallery-album-error { margin-top: 1rem; padding: 0.8rem 1rem; border: 1px solid #f3c7c7; border-radius: 6px; background: #fff5f5; color: #9b1c1c; font-size: 0.92rem; }

@media (max-width: 767.98px) {
  .legal-hero > .container { min-height: 520px; align-items: flex-start; padding-top: 3rem; padding-bottom: 2rem; }
  .legal-hero { background-image: url("../../images/info-mobile.png"); background-position: center bottom; }
  .legal-document { padding-top: 1.2rem; }
  .legal-document-meta { flex-direction: column; gap: 0.45rem; font-size: 0.86rem; }
  .legal-layout { grid-template-columns: 1fr; gap: 1.7rem; padding-top: 1.1rem; }
  .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 0.55rem; padding: 0 0 1rem; border: 0; border-bottom: 1px solid #e4edf7; }
  .legal-toc strong { flex-basis: 100%; }
  .legal-toc a { padding: 0.35rem 0.55rem; border: 1px solid var(--line); border-radius: 4px; font-size: 0.85rem; }
  .gallery-hero > .container { min-height: 220px; }
  .gallery-section-heading { align-items: flex-start; }
  .gallery-filters { gap: 0.45rem; margin-bottom: 1.25rem; }
  .gallery-filter { padding: 0.5rem 0.68rem; font-size: 0.82rem; }
  .gallery-album-hero > .container { min-height: 220px; }
  .gallery-album-layout { grid-template-columns: 1fr; gap: 1rem; }
  .gallery-carousel-stage { min-height: 210px; }
  .gallery-album-info { padding: 1rem; }
  .gallery-album-section { padding-top: 1.2rem; }
}