:root {
    --color-primary: #1B5A7A;
    --color-secondary: #1AA59A;
    --color-accent: #A6ED8E;
    --color-bg: #F3FFB9;
    --color-surface: #ffffff;
    --color-text: #16384A;
    --color-text-soft: #4a6a78;
    --color-border: rgba(27, 90, 122, 0.12);
    --shadow-soft: 0 10px 30px rgba(27, 90, 122, 0.08);
    --radius: 16px;
    --container-width: 1200px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

p {
    text-align: justify;
}

/* Layout */
.container {
    width: min(100% - 2rem, var(--container-width));
    margin: 0 auto;
}

/* Header / Navbar */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-surface);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    /*backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);*/
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.85rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 0;
}

.brand img {
    height: 52px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.nav-menu a {
    padding: 0.75rem 0.95rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
    border-radius: 999px;
    transition: 0.25s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Hero */
.hero {
    padding: 4.5rem 0 4rem;
}

.hero-frame {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 3px solid var(--color-primary);
    border-radius: 32px;
    background-color: rgba(255, 255, 255);
    background-image: url("../images/hero_bg.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center right;
    box-shadow:
        0 20px 50px rgba(27, 90, 122, 0.16),
        inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(243, 255, 185, 0.65), rgba(255, 255, 255, 0.55)),
        linear-gradient(180deg, rgba(27, 90, 122, 0.12), rgba(27, 90, 122, 0.04));
    /*backdrop-filter: blur(5px);*/
}

.hero-logo {
    margin-bottom: 1.5rem;
}

.hero-logo img {
    width: 160px;
    height: auto;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 1;
    margin-left: 2rem;
    max-width: 620px;
    padding: 3rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(27, 90, 122, 0.18);
    box-shadow: 0 12px 30px rgba(27, 90, 122, 0.10);
    animation: heroFadeUp 1s ease forwards;
    backdrop-filter: blur(2px);
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(27, 90, 122, 0.10);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.4rem, 4.8vw, 4.8rem);
    line-height: 1.08;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
}

.hero p {
    max-width: 640px;
    font-size: 1.1rem;
    color: var(--color-text-soft);
    margin-bottom: 1.8rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(27, 90, 122, 0.20);
}

.btn-primary:hover {
    background: #15475f;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-primary);
    border: 1px solid rgba(27, 90, 122, 0.22);
}

.btn-secondary:hover {
    background: rgba(166, 237, 142, 0.35);
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu {
        justify-content: flex-start;
    }

    .hero-frame {
        min-height: 70vh;
    }

    .hero-content {
        margin: 2rem;
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .brand img {
        height: 46px;
    }

    .hero {
        padding-top: 2.5rem;
    }

    .hero-frame {
        min-height: auto;
        border-radius: 24px;
    }

    .hero-logo img {
        width: 140px;
    }

    .hero-content {
        margin: 1rem;
        padding: 1.5rem;
        border-radius: 20px;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .nav-menu a {
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
    }
}

/* Footer */
.site-footer {
    margin-top: 4rem;
    background: var(--color-primary);
    color: #ffffff;
    border-top: 4px solid var(--color-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    padding: 2.4rem 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 260px;
}

.footer-brand img {
    width: 180px;
    height: auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 220px));
    gap: 2.5rem 3.5rem;
    align-items: start;
}

.footer-column h3 {
    font-size: 1rem;
    margin-bottom: 0.9rem;
    color: var(--color-accent);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.86);
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-column a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 1rem 0;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
}

/* Responsive footer */
@media (max-width: 840px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .footer-brand {
        flex-basis: auto;
        justify-content: flex-start;
    }

    .footer-brand img {
        width: 160px;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
        gap: 2rem;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .footer-brand img {
        width: 140px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Home sections */
.home-sections {
    padding: 1rem 0 4rem;
}

.section-heading {
    margin-bottom: 2.5rem;
    max-width: 760px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    background: rgba(27, 90, 122, 0.10);
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h1 {
    font-size: clamp(2.1rem, 3.5vw, 3.5rem);
    font-variant: small-caps;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
}

.section-heading h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    color: var(--color-primary);
    margin-bottom: 0.8rem;
}

.section-heading p {
    font-size: 1.02rem;
    color: var(--color-text-soft);
}

.cards-group + .cards-group {
    margin-top: 3rem;
}

.cards-group h3 {
    font-size: clamp(1.4rem, 2.5vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 0.8rem;
}

.group-header {
    margin-bottom: 1.4rem;
}

.group-header h2 {
    font-size: clamp(1.6rem, 2vw, 2rem);
    color: var(--color-primary);
    margin-bottom: 0.35rem;
}

.group-header h3 {
    font-size: 1.35rem;
    color: var(--color-primary);
    margin-bottom: 0.35rem;
}

.group-header p {
    color: var(--color-text-soft);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.info-card {
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(27, 90, 122, 0.14);
    box-shadow: 0 10px 28px rgba(27, 90, 122, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(27, 90, 122, 0.14);
    border-color: rgba(27, 90, 122, 0.24);
}

.card-link-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(27, 90, 122, 0.06);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.info-card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.2rem 1.2rem 1.35rem;
}

.card-tag {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: rgba(26, 165, 154, 0.12);
    color: var(--color-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.card-body h4 {
    font-size: 1.18rem;
    color: var(--color-primary);
    margin-bottom: 0.55rem;
}

.card-body p {
    font-size: 0.97rem;
    color: var(--color-text-soft);
}

.publication-year-block + .publication-year-block {
    margin-top: 1.5rem;
}

.publication-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.publication-item {
    margin: 0;
    color: var(--color-text-soft);
}

.publication-item a {
    color: var(--color-primary);
    font-weight: 600;
}

.publication-item em {
    color: var(--color-text);
}

/* Responsive cards */
@media (max-width: 980px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-sections {
        padding-top: 0;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .card-body {
        padding: 1rem;
    }
}

/* HAMBURGER (hidden desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    width: 28px;
    height: 22px;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--color-primary);
    border-radius: 2px;
    transition: 0.3s ease;
}

/* Hide checkbox */
#menu-toggle {
    display: none;
}

@media (max-width: 980px) {

    .navbar {
        position: relative;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .nav {
        position: relative;
        width: auto;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1200;
        order: 2;
    }

    .nav-menu {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        padding: 2rem;
        margin: 0;
        background: rgba(243, 255, 185, 0.98);
        backdrop-filter: blur(12px);
        z-index: 1100;
        order: 3;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);
        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;
    }

    .nav-menu li {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 1rem 1.2rem;
        font-size: 1.1rem;
        border-radius: 999px;
    }

    #menu-toggle:checked + .menu-toggle + .nav-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    #menu-toggle:checked + .menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menu-toggle:checked + .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked + .menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* SIAM Section */
.siam-section {
    padding: 4rem 0;
}

.siam-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.siam-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.siam-text p {
    font-size: 1.05rem;
    color: var(--color-text-soft);
    margin-bottom: 1.8rem;
    max-width: 600px;
}

.siam-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.siam-image {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.siam-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 980px) {
    .siam-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .siam-text {
        order: 2;
    }

    .siam-image {
        order: 1;
    }
}

/* Projects page */
.projects-section {
    padding-top: 4rem;
}

.projects-group + .projects-group {
    margin-top: 3.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.project-card {
    height: 100%;
}

.project-card .card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card h3 {
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.project-card h4 {
    font-size: 1.02rem;
    line-height: 1.35;
    color: var(--color-text);
    margin-bottom: 0.45rem;
}

.project-card p {
    font-size: 0.97rem;
    color: var(--color-text-soft);
    margin-bottom: 0.75rem;
}

.project-card strong {
    color: var(--color-primary);
}

.project-entry {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(27, 90, 122, 0.12);
}

.project-entry:first-of-type {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.4rem;
}

.project-list li {
    color: var(--color-text-soft);
    padding-left: 1rem;
    position: relative;
}

.project-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-secondary);
}

/* Responsive projects */
@media (max-width: 640px) {
    .projects-section {
        padding-top: 2.5rem;
    }

    .project-card h3 {
        font-size: 1.2rem;
    }

    .project-card h4 {
        font-size: 1rem;
    }
}

/* Theses page */
.theses-section {
    padding-top: 4rem;
}

.theses-group + .theses-group {
    margin-top: 3.5rem;
}

.theses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.thesis-year-block .card-body {
    padding: 1.4rem 1.5rem;
}

.thesis-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.thesis-list li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--color-text-soft);
    font-size: 0.98rem;
    line-height: 1.65;
}

.thesis-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-secondary);
}

.thesis-list strong {
    color: var(--color-primary);
}

.thesis-list em {
    color: var(--color-text);
}

@media (max-width: 640px) {
    .theses-section {
        padding-top: 2.5rem;
    }

    .thesis-year-block .card-body {
        padding: 1.1rem;
    }

    .thesis-list li {
        font-size: 0.94rem;
        padding-left: 1.2rem;
    }
}

/* Contacts page */
.contacts-section {
    padding-top: 4rem;
}

.contacts-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 1.5rem;
    align-items: stretch;
}

.contact-main-card h2,
.contact-side-card h2,
.professor-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.9rem;
}

.contact-main-card h2,
.contact-side-card h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.professor-card h3 {
    font-size: 1.35rem;
}

.contact-main-card p,
.contact-side-card p,
.professor-card p {
    color: var(--color-text-soft);
    font-size: 0.98rem;
    margin-bottom: 0.8rem;
}

.contact-detail {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(27, 90, 122, 0.12);
}

.contact-detail h3,
.contact-detail h4 {
    color: var(--color-primary);
    margin-bottom: 0.35rem;
}

.contact-detail h3 {
    font-size: 1.05rem;
}

.contact-detail h4 {
    font-size: 0.98rem;
}

.contact-detail a,
.contact-main-card a:not(.btn),
.professor-card a:not(.btn) {
    color: var(--color-primary);
    font-weight: 700;
    transition: color 0.25s ease;
}

.contact-detail a:hover,
.contact-main-card a:not(.btn):hover,
.professor-card a:not(.btn):hover {
    color: var(--color-secondary);
}

.contact-map {
    margin-top: 1.2rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(27, 90, 122, 0.18);
    box-shadow: 0 10px 24px rgba(27, 90, 122, 0.10);
    background: rgba(255, 255, 255, 0.75);
}

.contact-map iframe {
    display: block;
    width: 100%;
    min-height: 280px;
}

.contact-address {
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    background: rgba(27, 90, 122, 0.08);
    border: 1px solid rgba(27, 90, 122, 0.12);
}

.contact-address p {
    text-align: center;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0;
}

.contacts-group {
    margin-top: 3.5rem;
}

.contacts-professors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.professor-card .card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.professor-link {
    margin-top: auto;
    align-self: flex-start;
}

@media (max-width: 980px) {
    .contacts-layout,
    .contacts-professors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contacts-section {
        padding-top: 2.5rem;
    }

    .contact-map iframe {
        min-height: 220px;
    }

    .professor-link {
        width: 100%;
    }
}

/* SIAM Student Chapter page */
.siam-chapter-hero {
    padding: 4.5rem 0 2rem;
}

.siam-chapter-hero-frame {
    position: relative;
    overflow: hidden;
    border: 3px solid var(--color-primary);
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(243, 255, 185, 0.72), rgba(255, 255, 255, 0.86)),
        radial-gradient(circle at top right, rgba(26, 165, 154, 0.18), transparent 45%);
    box-shadow:
        0 20px 50px rgba(27, 90, 122, 0.16),
        inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.siam-chapter-hero-content {
    max-width: 820px;
    padding: 3rem;
}

.siam-chapter-logo {
    margin-bottom: 1.5rem;
}

.siam-chapter-logo img {
    width: min(260px, 80%);
    height: auto;
}

.siam-chapter-hero h1 {
    font-size: clamp(2.2rem, 4.2vw, 4.2rem);
    line-height: 1.08;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
}

.siam-chapter-hero p {
    max-width: 760px;
    font-size: 1.08rem;
    color: var(--color-text-soft);
    margin-bottom: 1.8rem;
}

.siam-chapter-section {
    padding-top: 2rem;
}

.siam-wide-card .card-body {
    padding: 1.5rem;
}

.siam-wide-card p {
    color: var(--color-text-soft);
    margin-bottom: 1rem;
}

.siam-inline-btn {
    margin-top: 0.5rem;
}

.siam-benefits-grid,
.siam-steps-grid,
.siam-news-grid,
.siam-advisors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.siam-people-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.siam-benefit-card .card-body,
.siam-step-card .card-body,
.siam-person-card .card-body,
.siam-news-card .card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.siam-benefit-card h3,
.siam-step-card h3,
.siam-person-card h3,
.siam-news-card h3,
.siam-contact-card h3 {
    color: var(--color-primary);
    font-size: 1.22rem;
    line-height: 1.3;
    margin-bottom: 0.65rem;
}

.siam-benefit-card p,
.siam-step-card p,
.siam-person-card p,
.siam-news-card p,
.siam-contact-card p {
    color: var(--color-text-soft);
    font-size: 0.98rem;
}

.siam-step-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.siam-centered-action {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.siam-contact-card {
    margin-top: 1.5rem;
}

.siam-contact-card a {
    color: var(--color-primary);
    font-weight: 700;
}

.siam-contact-card a:hover {
    color: var(--color-secondary);
}

.siam-chapters-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.5rem;
}

.siam-chapters-list li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--color-text-soft);
}

.siam-chapters-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-secondary);
}

.siam-person-photo {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(27, 90, 122, 0.14);
    box-shadow: 0 8px 20px rgba(27, 90, 122, 0.10);
    background: rgba(27, 90, 122, 0.06);
}

.siam-person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.siam-person-card .card-body {
    align-items: center;
    text-align: center;
}

.siam-person-card p {
    text-align: center;
}

@media (max-width: 980px) {
    .siam-benefits-grid,
    .siam-steps-grid,
    .siam-news-grid,
    .siam-advisors-grid,
    .siam-people-grid,
    .siam-chapters-list {
        grid-template-columns: 1fr;
    }

    .siam-chapter-hero-content {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .siam-chapter-hero {
        padding-top: 2.5rem;
    }

    .siam-chapter-hero-frame {
        border-radius: 24px;
    }

    .siam-chapter-hero-content {
        padding: 1.5rem;
    }

    .siam-chapter-logo img {
        width: 220px;
    }

    .siam-chapter-hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .siam-step-card .btn,
    .siam-centered-action .btn {
        width: 100%;
    }
}