/* Ayutthaya Technical College inspired global theme.
 * Keeps Singburi Technical College 2 content and identity while applying
 * the reference site's maroon, gold, cream and neutral UI palette.
 */
:root{
    --purple:#801818;
    --deep:#4d0c10;
    --mid:#9b2323;
    --pastel:#f4e5e3;
    --soft:#f4e5e3;
    --off:#fbfaf7;
    --gold:#ffc400;
    --gold-soft:#fff3b8;
    --ink:#181214;
    --muted:#6e6464;
    --line:#e8e0dc;
    --white:#fff;
    --shadow:0 16px 42px rgba(31,20,16,.10);
    --news-purple:#801818;
    --news-deep:#4d0c10;
    --news-gold:#ffc400;
    --news-ink:#181214;
    --news-muted:#6e6464;
    --news-line:#e8e0dc;
    --news-soft:#fbfaf7;
}

body{
    color:#181214;
    background:
        linear-gradient(135deg,rgba(255,196,0,.04),transparent 34%),
        linear-gradient(#fff 0%,#f7f5f1 48%,#fff 100%);
}

/* College introduction hero */
.college-intro-hero{
    position:relative;
    min-height:500px;
    overflow:hidden;
    color:#fff;
    background-color:#4d0c10;
    background-image:
        linear-gradient(90deg,rgba(24,4,7,.98) 0%,rgba(77,12,16,.94) 38%,rgba(128,24,24,.72) 69%,rgba(47,9,13,.5) 100%),
        linear-gradient(180deg,rgba(0,0,0,.08),rgba(35,4,8,.35)),
        var(--hero-image);
    background-size:cover;
    background-position:center 18%;
}
.college-intro-hero:before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 24% 42%,rgba(255,196,0,.08),transparent 23%),
        linear-gradient(118deg,transparent 0 53%,rgba(255,196,0,.15) 53.1% 53.3%,transparent 53.4%);
    pointer-events:none;
}
.college-hero-texture{
    position:absolute;
    inset:auto auto -25% -7%;
    width:580px;
    aspect-ratio:1;
    border-radius:50%;
    border:1px solid rgba(255,196,0,.1);
    box-shadow:0 0 0 70px rgba(255,196,0,.025),0 0 0 140px rgba(255,196,0,.02);
}
.college-intro-content{position:relative;z-index:2;padding:54px 0 112px}
.college-english-name{
    color:#ffc400;
    font:600 clamp(1.35rem,2.2vw,2rem)/1.2 "Segoe Script","Brush Script MT",cursive;
    font-style:italic;
    margin-bottom:4px;
}
.college-intro-content h1{margin:0;font-family:Prompt,sans-serif;line-height:1.05;letter-spacing:-.02em}
.college-intro-content h1 span{display:block;font-size:clamp(2.6rem,4.3vw,4.5rem);font-weight:700;color:#fff}
.college-intro-content h1 strong{display:block;font-size:clamp(3rem,4.8vw,5rem);font-weight:700;color:#ffc400}
.college-affiliations{display:flex;align-items:center;gap:16px;margin-top:22px;font:600 1.04rem Prompt,sans-serif}
.college-affiliations i{width:3px;height:27px;background:#ffc400;display:block}
.college-philosophy{
    width:min(720px,100%);
    margin-top:24px;
    padding:20px 24px;
    border:1px solid rgba(255,255,255,.28);
    border-left:4px solid #ffc400;
    border-radius:0 11px 11px 0;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(5px);
}
.college-philosophy q{display:block;font:600 1.18rem/1.55 Prompt,sans-serif;text-decoration:none}
.college-philosophy q:before,.college-philosophy q:after{color:#ffc400}
.college-philosophy b{display:block;margin-top:10px;color:#ffc400;font-family:Prompt,sans-serif}
.hero-shortcuts{position:relative;z-index:9;margin-top:-51px;padding-bottom:28px}
.hero-shortcut-shell{
    display:grid;
    grid-template-columns:112px repeat(4,minmax(0,1fr));
    gap:9px;
    padding:9px;
    border:2px solid rgba(255,255,255,.9);
    border-radius:20px;
    background:rgba(221,210,204,.85);
    box-shadow:0 20px 44px rgba(35,12,9,.16);
    backdrop-filter:blur(12px);
}
.hero-shortcut-label{
    min-height:74px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    border-radius:13px;
    background:linear-gradient(135deg,#9b2323,#801818);
    color:#fff;
    font:700 1rem Prompt,sans-serif;
}
.hero-shortcut-label span{width:9px;height:9px;border-radius:50%;background:#ffc400}
.hero-shortcut-card{
    min-width:0;
    min-height:74px;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 18px;
    align-items:center;
    gap:10px;
    padding:12px 14px;
    border:1px solid rgba(255,255,255,.98);
    border-radius:12px;
    background:linear-gradient(135deg,#fff 0%,#fffdf8 55%,#f5edd9 100%);
    color:#181214;
    box-shadow:0 3px 9px rgba(58,30,18,.06);
    transition:.2s ease;
}
.hero-shortcut-card:hover{transform:translateY(-2px);border-color:#ffc400;box-shadow:0 9px 20px rgba(77,12,16,.13)}
.hero-shortcut-icon{color:#801818;font-size:1.75rem;display:grid;place-items:center}
.hero-shortcut-card strong{display:block;font:700 1rem Prompt,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-shortcut-card small{display:block;color:#6e6464;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-shortcut-card>b{color:#aaa092;font-size:1.8rem;font-weight:400}
.hero-shortcuts+.home-spotlight{padding-top:28px}

/* Header and navigation */
.singll-topbar,.topbar{background:#4d0c10;color:rgba(255,255,255,.9)}
.singll-header,.mainnav{border-bottom-color:rgba(255,255,255,.2)}
.singll-brand strong,.brand strong{color:#4d0c10}
.singll-menu-toggle,.menu-btn{background:#f4e5e3;color:#4d0c10}
.singll-nav-shell,.navshell{
    background:
        linear-gradient(135deg,rgba(255,196,0,.14),transparent 32%),
        linear-gradient(100deg,#4d0c10,#801818 52%,#9b2323);
}
.singll-nav .sub-menu,.submenu{border-top-color:#ffc400;box-shadow:0 18px 42px rgba(31,20,16,.22)}
.singll-nav .sub-menu a:after,.submenu a:after{color:#801818}
.singll-nav .sub-menu a:hover,.singll-nav .sub-menu a:focus,.submenu a:hover,.submenu a:focus{background:#f4e5e3;color:#801818}

/* Hero areas */
.singll-home-hero{
    background:
        radial-gradient(circle at 82% 22%,rgba(255,196,0,.18),transparent 20%),
        linear-gradient(110deg,#4d0c10 0%,#801818 55%,#9b2323 100%);
}
.singll-page-hero,.singll-hero,.page-hero,.history-hero,.news-hero{
    background:
        linear-gradient(105deg,rgba(77,12,16,.97),rgba(128,24,24,.88)),
        radial-gradient(circle at 78% 30%,rgba(255,196,0,.22) 0 10%,transparent 11%),
        linear-gradient(150deg,#9b2323,#4d0c10);
}
.singll-kicker,.hero-label,.news-hero-label,.eyebrow,.catalog-kicker{
    border-color:rgba(255,196,0,.65);
}
.singll-kicker,.hero-label,.news-hero-label{background:rgba(255,196,0,.1);color:#fff3b8}
.singll-hero-copy h1 em{color:#ffc400}
.singll-hero-copy p,.singll-page-hero p,.page-hero p,.history-hero p,.news-hero p{color:rgba(255,255,255,.86)}
.singll-breadcrumb,.breadcrumb,.news-breadcrumb a{color:rgba(255,255,255,.86)}

/* Shared cards, labels and controls */
.singll-section-soft,.catalog-section,.news-archive-section,.news-detail-section,.history-main{
    background:linear-gradient(135deg,#fff 0%,#fbfaf7 55%,#f7f5f1 100%);
}
.singll-eyebrow,.section-head .eyebrow,.catalog-kicker,.news-title-block>span,.news-content-label,.singll-news-body time,.singll-list-card time,.post-date,.program-count{
    border-color:#ead18d;
    background:#fff3b8;
    color:#801818;
}
.singll-section-head>a,.singll-view-all,.view-all{color:#4d0c10;box-shadow:0 8px 20px rgba(31,20,16,.08)}
.singll-quick-card:hover{border-color:#ffc400}
.singll-quick-card>span,.singll-service-grid>a>span,.service-grid .ico{background:#f4e5e3;color:#801818}
.singll-quick-card>b,.singll-program-grid>a>span,.singll-program-grid>a>b,.singll-service-grid b,.program-link span:first-child{color:#801818}
.singll-readmore,.read-more,.news-card-more{border-color:#ead18d;background:#fffdf5;color:#801818}
.singll-card-image,.post-image,.news-card-cover{background:linear-gradient(135deg,#f4e5e3,#801818)}
.singll-card-image b,.post-tag,.news-card-tag{background:#801818;color:#fff}
.post-tag,.news-card-tag{border-color:#ffc400}
.news-search button,.news-pagination .current,.news-back-row>a,.news-detail-actions a,.back-button,.pager .current{background:#801818;color:#fff}
.news-title-block{border-image:linear-gradient(#ffc400,#801818) 1}
.news-result-count,.news-card-body time,.news-detail-meta>span,.news-gallery-head h3 span,.news-gallery-head button{color:#801818}
.news-card-body time,.news-result-count{background:#fff3b8;border-color:#ead18d}
.document-row:nth-child(even),.singll-list-card>a:hover{background:#fffaf0}
.doc-icon,.doc-actions a{color:#801818}
.anchor-nav a:hover,.singll-anchor-nav a:hover{background:#f4e5e3;color:#801818}

/* Home feature sections */
.singll-director,.no-gift-card{
    background:
        radial-gradient(circle at 10% 0,rgba(255,255,255,.08),transparent 30%),
        linear-gradient(145deg,#4d0c10 0%,#801818 55%,#4d0c10 100%);
}
.facebook-section,.singll-facebook{
    background:
        linear-gradient(90deg,transparent 49.9%,rgba(255,255,255,.05) 50%,transparent 50.1%),
        linear-gradient(110deg,#4d0c10,#801818 58%,#9b2323);
}
.facebook-channel{background:linear-gradient(135deg,#fff,#f4e5e3)}
.facebook-channel.active{border-color:#ffc400;box-shadow:inset 0 0 0 1px #ffc400}
.facebook-page-head strong,.facebook-cover,.facebook-post b{color:#4d0c10}
.ita-section{
    background:
        radial-gradient(circle at 15% 50%,rgba(255,255,255,.09),transparent 22%),
        linear-gradient(105deg,#4d0c10,#801818 72%,#9b2323);
}
.ita-cta{background:linear-gradient(135deg,#fff,#f4e5e3);color:#4d0c10}
.featured-category,.featured-dots button.is-active{background:#ffc400}
.featured-caption{border-left-color:#ffc400;color:#801818}
.featured-arrow{color:#801818}

/* Information and history pages */
.history-visual{background:linear-gradient(140deg,#f4e5e3,#801818)}
.visual-caption{background:rgba(77,12,16,.82)}
.story-card h2 span,.fact b,.event:before,.value-card span,.meaning-heading small,.meaning-icon,.sub-icon,.dharma b{color:#801818}
.event:before{background:#801818}
.timeline:before{background:linear-gradient(#ffc400,#801818)}
.year{background:#f4e5e3;color:#4d0c10}
.logo-stage{background:radial-gradient(circle,#fff 0 36%,#fff3b8 37% 56%,#f4e5e3 57%)}
.logo-panel{background:linear-gradient(145deg,#4d0c10,#801818 60%,#4d0c10);box-shadow:0 16px 35px rgba(31,20,16,.2)}
.meaning-card h3,.meaning-heading h3{color:#4d0c10}
.contact-card,.principle-quote,.singll-quote{background:linear-gradient(135deg,#4d0c10,#801818)}
.map-card,.singll-map-placeholder,.map{background:repeating-linear-gradient(45deg,#fbfaf7,#fbfaf7 18px,#f1ece7 18px,#f1ece7 36px)}

/* Footer */
.singll-footer,footer{padding:26px 0 12px;background:#2f090d;color:#e8dedd;font-size:.84rem;line-height:1.5}
.singll-footer-grid,.footer-grid{gap:20px}
.singll-footer h3,.singll-footer-grid h3,.footer-grid h3{margin:4px 0;font-size:1rem;line-height:1.35}
.singll-footer p,.singll-footer-grid p,.footer-grid p{margin:5px 0;line-height:1.5}
.singll-footer a,.singll-footer-grid a,.footer-grid a{margin:3px 0;line-height:1.45}
.singll-footer-logo,.footer-logo{width:58px;height:58px}
.visitor-stats{gap:16px;margin-top:14px;padding:10px 12px}
.visitor-stats>strong{font-size:.9rem}
.visitor-summary>span{padding:6px 9px;font-size:.8rem}
.visitor-summary b{font-size:.96rem}
.singll-copyright,.copyright{margin-top:14px;padding-top:10px;color:#c9b9b7;font-size:.8rem}

/* Keep the actual college colour swatches purple/white; they describe
 * institutional colours and are content, not interface chrome. */
.college-color.purple{background:linear-gradient(135deg,#3d075f,#7b1fa2)}
.color-card.purple{background:#6a1b9a}
.singll-color-grid .purple{background:linear-gradient(135deg,#3d075f,#7b1fa2)}

@media(max-width:920px){
    .singll-nav .sub-menu,.submenu{background:rgba(255,255,255,.09)}
    .singll-nav .sub-menu a,.submenu a{color:#fff}
    .singll-nav .sub-menu a:hover,.submenu a:hover{background:rgba(255,255,255,.12);color:#fff}
}

@media(max-width:920px){
    .college-intro-hero{min-height:520px;background-position:62% center}
    .college-intro-content{padding:58px 0 98px}
    .college-intro-content h1 span{font-size:clamp(2.25rem,8vw,3.8rem)}
    .college-intro-content h1 strong{font-size:clamp(2.55rem,9vw,4.2rem)}
    .college-affiliations{align-items:flex-start;flex-direction:column;gap:5px;font-size:.95rem}
    .college-affiliations i{display:none}
    .college-philosophy{max-width:650px}
    .hero-shortcut-shell{grid-template-columns:repeat(2,minmax(0,1fr))}
    .hero-shortcut-label{grid-column:1/-1;min-height:52px}
}

@media(max-width:620px){
    .college-intro-hero{min-height:555px;background-position:65% center}
    .college-intro-content{padding:48px 0 96px}
    .college-english-name{font-size:1.15rem}
    .college-intro-content h1 span{font-size:2.25rem}
    .college-intro-content h1 strong{font-size:2.7rem;line-height:1.12}
    .college-affiliations{margin-top:18px;font-size:.82rem;line-height:1.5}
    .college-philosophy{margin-top:19px;padding:16px 17px}
    .college-philosophy q{font-size:.95rem}
    .college-philosophy b{font-size:.88rem}
    .hero-shortcuts{margin-top:-38px;padding-bottom:18px}
    .hero-shortcut-shell{gap:7px;padding:7px;border-radius:16px}
    .hero-shortcut-card{min-height:76px;grid-template-columns:34px minmax(0,1fr) 12px;padding:10px 9px;gap:6px}
    .hero-shortcut-icon{font-size:1.35rem}
    .hero-shortcut-card strong{font-size:.84rem}
    .hero-shortcut-card small{display:none}
    .hero-shortcut-card>b{font-size:1.3rem}
}

/* Header layout matched to the reference: one maroon band, gold accents,
 * cream dropdown cards. These rules intentionally come last. */
@media(min-width:1101px){
    .singll-topbar,.topbar{display:none}
    .singll-header,.mainnav{
        display:grid;
        grid-template-columns:clamp(285px,25vw,320px) minmax(0,1fr);
        align-items:center;
        gap:10px;
        min-height:72px;
        padding:4px max(16px,calc((100vw - 1048px)/2));
        background:
            linear-gradient(135deg,rgba(255,196,0,.06),transparent 30%),
            linear-gradient(100deg,#67210f 0%,#801818 46%,#a51f29 100%);
        border-top:3px solid #294743;
        border-bottom:1px solid rgba(255,196,0,.36);
        box-shadow:0 8px 24px rgba(37,9,13,.18);
        overflow:visible;
    }
    .singll-brand-row,.navrow{
        width:auto;
        height:auto;
        min-width:0;
        margin:0;
        padding:0;
    }
    .singll-brand,.brand{gap:10px;min-width:0;white-space:nowrap}
    .singll-brand img,.singll-brand .custom-logo,.brand .logo{
        width:48px!important;
        height:48px!important;
        flex:0 0 48px;
        border:1px solid rgba(255,211,79,.72);
        box-shadow:0 4px 14px rgba(24,4,6,.3);
    }
    .singll-brand strong,.brand strong{
        color:#fff;
        font:700 .9rem Prompt,sans-serif;
        line-height:1.28;
    }
    .singll-brand small,.brand small{
        color:#ffc400;
        font:600 .76rem Prompt,sans-serif;
        line-height:1.28;
    }
    .singll-nav-shell,.navshell{background:transparent;min-width:0}
    .singll-nav-shell>.wrap,.navshell>.wrap{width:100%;margin:0}
    .singll-nav,.primary-nav{justify-content:flex-end;align-items:center;gap:1px;min-height:58px}
    .singll-nav>.menu-item>a,.singll-nav>.menu-item>button,.primary-nav>.menu-item>a,.primary-nav>.menu-item>button{
        min-height:46px;
        padding:0 5px;
        border:1px solid transparent;
        border-radius:10px;
        color:#fff;
        font:700 var(--singll-menu-font-size,15px) Prompt,sans-serif;
        transition:.2s ease;
    }
    .singll-nav>.menu-item:hover>a,.singll-nav>.menu-item:hover>button,
    .singll-nav>.menu-item:focus-within>a,.singll-nav>.menu-item:focus-within>button,
    .singll-nav>.current-menu-item>a,.singll-nav>.current-menu-ancestor>a{
        color:#fff;
        background:rgba(255,255,255,.09);
        border-color:transparent;
        box-shadow:none;
    }
    .singll-nav .sub-menu,.submenu{
        top:calc(100% + 9px);
        width:270px;
        padding:7px;
        background:rgba(220,203,197,.92);
        border:2px solid rgba(255,255,255,.72);
        border-radius:16px;
        box-shadow:0 16px 36px rgba(30,5,8,.28);
        backdrop-filter:blur(12px);
    }
    .singll-nav .sub-menu li+li,.submenu li+li{margin-top:4px}
    .singll-nav .sub-menu a,.submenu a{
        min-height:46px;
        padding:8px 13px;
        color:#181214;
        background:linear-gradient(135deg,#fff 0%,#fffdf5 55%,#f2e7cf 100%);
        border:2px solid rgba(255,255,255,.95);
        border-radius:10px;
        font:700 .86rem Prompt,sans-serif;
        box-shadow:0 3px 8px rgba(63,31,19,.06);
    }
    .singll-nav .sub-menu a:after,.submenu a:after{color:#978d82;font-size:1.35rem;font-weight:400}
    .singll-nav .sub-menu a:hover,.singll-nav .sub-menu a:focus,.submenu a:hover,.submenu a:focus{
        color:#801818;
        background:linear-gradient(135deg,#fffdf5,#fff3b8);
        border-color:#ffc400;
        transform:translateX(2px);
    }
}

.gallery-heading{margin:0 0 14px;color:#4d0c10;font:700 1.5rem Prompt,sans-serif}
.gallery a{
    min-height:170px;
    padding:16px;
    border-radius:18px;
    overflow:hidden;
    display:flex;
    align-items:flex-end;
    background-color:#f4e5e3;
    background-size:cover;
    background-position:center;
    color:#fff;
    box-shadow:inset 0 -90px 70px -58px rgba(47,9,13,.9);
}
.gallery a span{font-weight:700;text-shadow:0 1px 5px rgba(0,0,0,.6)}
.map-frame{display:block;width:100%;padding:0;border:1px solid var(--line)}
.map-external-link{display:grid;place-items:center;padding:24px;text-align:center;color:#801818;font:700 1.05rem Prompt,sans-serif}
.map-external-link:hover{border-color:#ffc400;background:#fff3b8}

/* Individual program pages */
.program-detail-hero{padding:72px 0 76px;color:#fff;background:radial-gradient(circle at 82% 20%,rgba(255,196,0,.2),transparent 24%),linear-gradient(115deg,#4d0c10,#801818 62%,#a51f29)}
.program-breadcrumb{display:flex;flex-wrap:wrap;gap:9px!important;color:#f4d9d5;font-size:.9rem}.program-breadcrumb a:hover{color:#ffc400}
.program-detail-badges{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 12px}.program-detail-badges span,.program-detail-kicker{display:inline-flex;padding:6px 12px;border:1px solid rgba(255,196,0,.65);border-radius:999px;background:rgba(255,196,0,.1);color:#ffd85a;font:600 .82rem Prompt,sans-serif}
.program-detail-badges .program-detail-icon{align-items:center;justify-content:center;min-width:42px;padding-inline:10px}.program-detail-icon .program-line-icon{width:24px;height:24px}
.program-detail-hero h1{max-width:900px;margin:0;font:700 clamp(2.2rem,5vw,4.2rem)/1.16 Prompt,sans-serif}.program-detail-hero p{max-width:820px;margin:14px 0 0;color:#f4d9d5;font-size:1.08rem}
.program-detail-section{padding:52px 0 78px;background:linear-gradient(135deg,#fff,#fbf7f2)}
.program-detail-card{overflow:hidden;border:1px solid #eadbd4;border-radius:22px;background:#fff;box-shadow:0 18px 42px rgba(60,22,17,.1)}.program-detail-card.has-image{display:grid;grid-template-columns:minmax(300px,.8fr) 1.2fr}
.program-detail-image{min-height:420px;margin:0;background:#f3e8e5}.program-detail-image img{width:100%;height:100%;min-height:420px;object-fit:cover}
.program-detail-content{padding:38px}.program-detail-content h2,.program-detail-content h3{color:#801818;font-family:Prompt,sans-serif}.program-detail-content>p:first-of-type{margin-top:20px}.program-detail-content ul{padding-left:22px}
.program-detail-back{display:inline-flex;margin-top:26px;padding:11px 18px;border:1px solid #e8c661;border-radius:10px;background:#fff9df;color:#801818;font-weight:700}.program-detail-back:hover{background:#fff3b8}
@media(max-width:780px){.program-detail-card.has-image{grid-template-columns:1fr}.program-detail-image,.program-detail-image img{min-height:260px;max-height:360px}.program-detail-content{padding:24px}.program-detail-hero{padding:52px 0 58px}}

@media(max-width:1100px){
    .singll-topbar,.topbar{display:none}
    .singll-header,.mainnav{
        display:block;
        min-height:76px;
        padding:0;
        background:linear-gradient(100deg,#4d0c10,#801818 62%,#9b2323);
        border-bottom-color:rgba(255,196,0,.3);
    }
    .singll-brand-row,.navrow{height:76px;padding:0 16px;gap:12px}
    .singll-brand,.brand{flex:1 1 auto;min-width:0;overflow:hidden}
    .singll-brand>span,.brand>span{min-width:0;overflow:hidden}
    .singll-brand strong,.brand strong,.singll-brand small,.brand small{overflow-wrap:anywhere}
    .singll-brand strong,.brand strong{color:#fff}
    .singll-brand small,.brand small{color:#ffc400}
    .singll-menu-toggle,.menu-btn{display:block;flex:0 0 auto;background:#fff3b8;color:#4d0c10}
    .singll-nav-shell,.navshell{
        display:none;
        position:absolute;
        left:0;
        right:0;
        top:76px;
        max-height:calc(100vh - 76px);
        overflow:auto;
        background:linear-gradient(145deg,#4d0c10,#801818);
        box-shadow:0 18px 34px rgba(37,9,13,.25);
    }
    .singll-nav-shell.is-open,.navshell.is-open{display:block}
    .singll-nav,.primary-nav{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:10px;gap:2px}
    .singll-nav .menu-item,.primary-nav .menu-item{display:block}
    .singll-nav>.menu-item>a,.singll-nav>.menu-item>button,.primary-nav>.menu-item>a,.primary-nav>.menu-item>button{
        width:100%;min-height:48px;padding:10px 14px;justify-content:space-between;border-radius:10px;
        font-size:var(--singll-menu-font-size,15px)
    }
    .singll-nav .sub-menu,.submenu{
        position:static;
        width:100%;
        max-height:0;
        overflow:hidden;
        padding:0 10px;
        border:0;
        border-radius:10px;
        box-shadow:none;
        opacity:1;
        visibility:visible;
        transform:none;
        background:rgba(255,255,255,.12);
        transition:max-height .25s ease,padding .25s ease;
    }
    .singll-nav .menu-item.is-mobile-open>.sub-menu,.primary-nav .menu-item.is-mobile-open>.submenu{max-height:680px;padding:8px 10px;margin-bottom:6px}
    .singll-nav .sub-menu li+li,.submenu li+li{margin-top:5px}
    .singll-nav .sub-menu a,.submenu a{
        min-height:48px;
        color:#181214;
        background:linear-gradient(135deg,#fff,#fff3db);
        border-radius:10px;
    }
    .singll-nav .sub-menu a:hover,.submenu a:hover{background:#fff3b8;color:#801818}
}

@media(max-width:620px){
    .singll-brand img,.singll-brand .custom-logo,.brand .logo{width:54px!important;height:54px!important}
    .singll-brand strong,.brand strong{font-size:.8rem;line-height:1.3}
    .singll-menu-toggle,.menu-btn{padding:9px 12px}
    .gallery{grid-template-columns:1fr}
    .no-gift-title{width:100%;line-height:1.05}
    .no-gift-title span{font-size:2.3rem;white-space:normal}
}

/* Compact public layout and managed document archives. */
.singll-section{padding:56px 0}
.singll-page-hero,.singll-hero,.page-hero,.history-hero,.news-hero,.document-hero{min-height:280px}
.news-hero h1,.document-hero h1{font-size:clamp(2rem,3.4vw,3.15rem)}
.news-archive-section{padding:32px 0 58px}
.news-archive-section>.wrap{padding:22px}
.news-archive-head{margin-bottom:18px;padding-bottom:18px}
.news-title-block h2{font-size:clamp(1.65rem,2.5vw,2.35rem)}
.news-archive-grid{gap:14px}
.news-card-body{padding:14px}

@media(min-width:921px){
    .college-intro-hero{min-height:430px}
    .college-intro-content{padding:38px 0 82px}
    .college-intro-content h1 span{font-size:clamp(2.2rem,3.3vw,3.45rem)}
    .college-intro-content h1 strong{font-size:clamp(2.65rem,3.8vw,4rem)}
    .college-philosophy{max-width:680px;padding:16px 20px}
}

.document-hero{position:relative;display:grid;align-items:center;overflow:hidden;color:#fff;background:linear-gradient(105deg,rgba(55,7,10,.97),rgba(128,24,24,.88)),linear-gradient(135deg,#4d0c10,#9b2323)}
.document-hero:after{content:"";position:absolute;right:-80px;bottom:-150px;width:520px;height:360px;border:1px solid rgba(255,196,0,.2);border-radius:50%}
.document-hero>.wrap{position:relative;z-index:1}
.document-hero h1{margin:10px 0 6px;color:#fff;font-family:Prompt,sans-serif;line-height:1.15}
.document-hero p{max-width:760px;margin:0;color:rgba(255,255,255,.84)}
.document-kicker{display:inline-flex;padding:6px 12px;border:1px solid rgba(255,196,0,.58);border-radius:999px;background:rgba(255,196,0,.1);color:#fff3b8;font-weight:700}
.document-archive-section{padding:34px 0 62px;background:linear-gradient(180deg,#f8f6f3,#fff)}
.document-archive-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px;padding-left:18px;border-left:4px solid #a61f24}
.document-archive-head>div>span{display:inline-flex;padding:5px 11px;border:1px solid #ead18d;border-radius:999px;background:#fff3b8;color:#801818;font-weight:700}
.document-archive-head h2{margin:7px 0 2px;color:#21191a;font:700 clamp(1.8rem,2.8vw,2.5rem)/1.2 Prompt,sans-serif}
.document-archive-head p{margin:0;color:#6e6262}
.document-archive-head>strong{flex:none;padding:7px 13px;border:1px solid #ead18d;border-radius:999px;background:#fff;color:#801818}
.document-search{max-width:620px;margin:0 0 22px}
.document-search label{display:block;margin-bottom:6px;color:#4d0c10;font-weight:700}
.document-search>div{display:flex;gap:8px}
.document-search input{width:100%;min-height:44px;padding:9px 13px;border:1px solid #ddcfca;border-radius:9px;background:#fff;font:inherit}
.document-search button{flex:none;padding:9px 19px;border:0;border-radius:9px;background:#801818;color:#fff;font:700 1rem Prompt,sans-serif;cursor:pointer}
.document-list{overflow:hidden;border:1px solid #e6d8d2;border-radius:12px;background:#fff;box-shadow:0 12px 34px rgba(56,20,19,.07)}
.document-row{display:grid;grid-template-columns:54px 112px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:86px;padding:12px 14px;border-bottom:1px solid #eadfd9}
.document-row:nth-child(even){background:#fffaf0}
.document-row:last-child{border-bottom:0}
.document-icon{display:grid;width:48px;height:58px;place-items:center;border:1px solid #e3d4cf;border-radius:7px;background:#fff;color:#9b2323;font-weight:700;box-shadow:0 4px 10px rgba(65,24,20,.06)}
.document-row time{display:inline-flex;justify-content:center;padding:5px 8px;border:1px solid #ead18d;border-radius:999px;background:#fff3b8;color:#801818;font-weight:700;white-space:nowrap}
.document-row-copy{min-width:0}
.document-row-copy h3{margin:0;color:#21191a;font:600 1rem/1.55 Prompt,sans-serif}
.document-row-copy h3 a{color:inherit}
.document-row-copy p{display:-webkit-box;overflow:hidden;margin:3px 0 0;color:#756969;font-size:.9rem;-webkit-box-orient:vertical;-webkit-line-clamp:1}
.document-actions{display:flex;gap:7px}
.document-actions a,.document-download,.document-back{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 13px;border:1px solid #e0caca;border-radius:8px;background:#fff;color:#801818;font-weight:700;white-space:nowrap}
.document-actions a:hover,.document-download:hover,.document-back:hover{border-color:#ffc400;background:#fff3b8}
.document-pdf{min-width:52px}
.job-document-list .job-document-row{grid-template-columns:54px minmax(0,1fr) auto;min-height:88px;gap:14px;padding:9px 14px}
.job-document-thumb{display:grid;width:48px;height:68px;overflow:hidden;place-items:center;border:1px solid #e3d4cf;border-radius:6px;background:#fff;box-shadow:0 3px 9px rgba(65,24,20,.07)}
.job-document-thumb img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#fff;transform:none}
.job-document-placeholder{display:grid;width:100%;height:100%;padding:9px 7px;align-content:start;gap:5px;background:linear-gradient(160deg,#fff,#faf7f5);color:#801818;text-align:center}
.job-document-placeholder b{margin-bottom:4px;font-size:.72rem}.job-document-placeholder i{display:block;height:2px;border-radius:2px;background:#d8cbc5}.job-document-placeholder i:nth-of-type(2){width:78%}.job-document-placeholder i:nth-of-type(3){width:60%}
.job-document-main{display:flex;min-width:0;align-items:center;gap:14px}.job-document-main .post-date,.job-document-main time{flex:none;width:max-content;padding:5px 10px;font-size:.82rem;line-height:1.35}.job-document-main>strong,.job-document-row .document-row-copy h3{margin:0;font:600 1rem/1.55 Prompt,sans-serif}.job-document-main>strong a{color:#21191a}.job-document-main .document-row-copy{min-width:0}
.job-document-row .doc-actions,.job-document-row .document-actions{gap:10px}.job-document-row .doc-actions a,.job-document-row .document-actions a{display:inline-flex;min-height:42px;align-items:center;justify-content:center;padding:8px 16px;border:1px solid #e0caca;border-radius:9px;background:#fff;color:#801818;font-weight:700;white-space:nowrap}
.document-detail-section{background:#f8f6f3}
.document-detail-card{max-width:940px;margin:auto;padding:28px}
.document-detail-card>time{display:inline-flex;padding:5px 11px;border:1px solid #ead18d;border-radius:999px;background:#fff3b8;color:#801818;font-weight:700}
.document-detail-card h1{margin:14px 0 22px;color:#261c1d;font:700 clamp(1.8rem,3vw,2.6rem)/1.35 Prompt,sans-serif}
.document-detail-image img{display:block;width:100%;height:auto;border-radius:12px}
.document-detail-content{margin:22px 0;line-height:1.9}
.document-download{margin-right:8px;background:#801818;color:#fff}
.visitor-stats{display:grid;grid-template-columns:120px minmax(330px,1fr) auto;align-items:center;gap:16px;min-height:100px;margin-top:14px;padding:10px 12px;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:rgba(255,255,255,.06)}
.visitor-stats>strong{color:#ffc400;font:700 1rem Prompt,sans-serif}
.visitor-summary{display:flex;gap:10px}
.visitor-summary>span{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.82);font-size:.82rem;white-space:nowrap}
.visitor-summary b{color:#fff;font-size:1rem}
.visitor-stats .is-online:before{content:"";width:8px;height:8px;border-radius:50%;background:#56d364;box-shadow:0 0 0 4px rgba(86,211,100,.15)}
.visitor-chart{display:grid;height:74px;grid-template-columns:repeat(12,minmax(15px,1fr));align-items:end;gap:4px;padding:3px 6px 17px;border-bottom:1px solid rgba(255,255,255,.12)}
.visitor-bar-item{position:relative;display:flex;height:54px;min-width:0;align-items:center;justify-content:flex-end;flex-direction:column;margin:0}
.visitor-bar{display:block;width:min(16px,72%);height:var(--bar-height);min-height:2px;border-radius:4px 4px 1px 1px;background:linear-gradient(180deg,#ffc400,#d58f00);box-shadow:0 0 10px rgba(255,196,0,.18);transition:height .25s ease}
.visitor-bar-value{position:absolute;top:-1px;padding:0!important;background:transparent!important;color:#fff;font-size:.6rem;line-height:1}
.visitor-bar-item figcaption{position:absolute;bottom:-16px;color:#cdbdbc;font-size:.6rem;line-height:1;white-space:nowrap}

@media(max-width:760px){
    .singll-section{padding:42px 0}
    .singll-page-hero,.singll-hero,.page-hero,.history-hero,.news-hero,.document-hero{min-height:245px}
    .news-archive-section>.wrap{padding:17px}
    .document-archive-head{align-items:flex-start;flex-direction:column;gap:10px}
    .document-row{grid-template-columns:48px minmax(0,1fr);gap:10px;padding:14px}
    .document-icon{grid-row:1 / span 2;width:44px;height:54px}
    .document-row time{justify-self:start}
    .document-row-copy{grid-column:1 / -1}
    .document-actions{grid-column:1 / -1;width:100%}
    .document-actions a{flex:1}
    .job-document-list .job-document-row{grid-template-columns:48px minmax(0,1fr);min-height:0;gap:10px;padding:11px}
    .job-document-thumb{grid-row:1;width:44px;height:62px}
    .job-document-main{align-items:flex-start;flex-direction:column;gap:7px}
    .job-document-main .post-date,.job-document-main time{justify-self:start;padding:4px 9px;font-size:.78rem}
    .job-document-main>strong,.job-document-main .document-row-copy h3{font-size:.92rem;line-height:1.5}
    .job-document-row .doc-actions,.job-document-row .document-actions{grid-column:1 / -1;width:100%}
    .job-document-row .doc-actions a,.job-document-row .document-actions a{flex:1}
    .visitor-stats{grid-template-columns:100px 1fr;gap:8px 12px}
    .visitor-chart{min-width:0}
    .visitor-summary{display:grid;grid-column:1 / -1;width:100%;grid-template-columns:repeat(3,1fr)}
    .visitor-summary>span{justify-content:center;text-align:center}
}

@media(max-width:480px){
    .document-search>div{flex-direction:column}
    .document-search button{width:100%}
    .visitor-stats{grid-template-columns:1fr}
    .visitor-stats>strong{text-align:center}
    .visitor-summary{grid-column:1;grid-template-columns:1fr}
    .visitor-summary>span{justify-content:center}
}
