/* Modern editorial campus identity — local assets, no external font dependency. */
.hero-art .hero-caption span{position:static;display:block;transform:none;border:0;width:auto;height:auto;right:auto;top:auto}
:root{--green:#163e35;--ink:#193c34;--muted:#6b7972;--line:#e3e7df;--accent:#d4e898}body{font-family:'Leelawadee UI',Tahoma,sans-serif;background:#f8f9f4;line-height:1.7}header{max-width:1280px;padding:24px 40px}.brand strong{font-size:22px;font-weight:700}.brand small{font-size:8px;letter-spacing:1.1px;color:#768379}.seal{width:52px;height:52px;border:1px solid #bcc7ab;color:var(--green);background:#eef2e5;box-shadow:none}.location{background:#eef2e7;border-radius:30px;padding:8px 16px;font-size:11px}.demo{background:#163e35;color:#c4d7c7;padding:6px max(24px,calc((100% - 1200px)/2));font-size:10px;letter-spacing:.2px}.demo a{color:#d4e898}.nav-shell{border:0;box-shadow:none;background:#f8f9f4}#mainNav{max-width:1280px;padding:0 32px 14px;gap:26px;background:transparent;font-size:12px}.nav-label>a{padding:8px}.submenu-toggle{font-size:16px;min-height:38px}.submenu{top:100%;border-radius:14px}.hero{max-width:1200px;margin:0 auto;height:530px;border-radius:22px;overflow:hidden;background:var(--green)}.slide{background:#163e35!important}.slide:nth-child(2){background:#234956!important}.slide:nth-child(3){background:#494f37!important}.hero-copy{max-width:none;width:56%;padding:64px 52px;position:absolute;inset:0 auto 0 0}.hero .eyebrow{font-size:9px;color:#d4e898;letter-spacing:2px}.hero h1{font-size:48px;line-height:1.28;letter-spacing:-1.6px;font-weight:650;margin:24px 0;color:#f4f6eb}.hero p{font-size:14px;max-width:410px;color:#b4cbbd;line-height:1.9}.hero .button{margin-top:22px;background:#d4e898;color:#193b31;border-radius:30px;padding:14px 22px;box-shadow:none}.hero-more{display:inline-block;margin-left:20px;font-size:12px;color:#e0e9db}.hero-art{right:0;top:0;bottom:0;width:44%;height:100%;opacity:1;overflow:hidden}.hero-art>img{width:100%;height:100%;object-fit:cover}.hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#183e3599,transparent 60%)}.hero-caption{position:absolute;bottom:70px;left:30px;right:25px;z-index:1;color:#fff}.hero-caption span{font-size:9px;letter-spacing:3px}.hero-caption strong{display:block;font-size:28px;line-height:1.4;margin:12px 0}.hero-caption small{font-size:8px;letter-spacing:2px}.hero-image{object-position:center}.slide:has(.hero-image) .hero-copy{width:65%;z-index:2}.slide:has(.hero-image):after{background:linear-gradient(90deg,#163e35f0,#163e3555)}.slide-controls{right:auto;left:52px;bottom:25px;gap:10px}.slide-controls button{border-color:#708c7c66;border-radius:20px;width:34px;height:34px;padding:0;font-size:12px}.slide-controls #pause{width:auto;padding:0 12px;font-size:10px}.slide-controls span{font-size:10px;letter-spacing:2px;color:#b5c8bc}.quick{max-width:1200px;border:0;background:transparent;box-shadow:none;margin:20px auto;gap:14px}.quick a{background:#eef1e7;border-radius:12px;padding:23px 24px}.quick a+a{border:0}.quick span{font-family:inherit;font-size:12px;background:#fff;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;color:#728258}.quick b{font-size:13px;font-weight:600}.quick a:hover{background:#e5ecd7}main{max-width:1280px;padding:65px 40px}.heading{margin-bottom:30px}.eyebrow{font-size:9px;color:#6d7f5d;letter-spacing:2px}#news .heading h2{font-size:38px;line-height:1.35;letter-spacing:-1px;margin-top:13px}#news .heading h2 span{color:#85937b}.heading>.muted{font-size:12px;line-height:1.9}.category-chips{display:flex;gap:8px;overflow:auto;white-space:nowrap;margin:0 0 40px;padding-bottom:6px}.category-chips a{border:1px solid #dce2d6;border-radius:25px;padding:8px 18px;font-size:11px;color:#647460}.category-chips .selected{background:#193e35;color:#fff;border-color:#193e35}.category-chips a:hover{background:#e6eddc;color:#193e35}.news-section{margin-bottom:55px;scroll-margin-top:25px}.news-section .section-title{border:0;padding:0;margin-bottom:20px}.news-section h3{border:0;padding:0;font-size:22px;letter-spacing:-.3px}.section-title>span{font-size:10px;color:#7a8778}.section-title>span b{font-size:16px;margin-left:12px;font-weight:normal}.news-layout{gap:22px}.news-item{border:0;border-radius:16px;background:#fff;box-shadow:none}.news-item:hover{transform:translateY(-4px);box-shadow:0 16px 36px #173c3410}.thumb{height:225px;padding:0;position:relative}.thumb>img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.news-item:hover .thumb>img{transform:scale(1.04)}.thumb:after{display:none}.thumb .image-tag{position:absolute;bottom:14px;left:14px;padding:5px 12px;background:#fffffff0;border-radius:20px;font-size:9px;color:#294538;max-width:90%}.thumb:not(:has(img)){padding:25px}.news-copy{padding:23px 24px}.news-copy>small{font-size:9px;color:#7b8778}.news-copy h4{font-size:17px;line-height:1.65;font-weight:650;margin:10px 0}.news-summary{font-size:11px;color:#7b8778;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:18px}.read{border-top:1px solid #edf0e8;padding-top:14px;display:flex;justify-content:space-between;font-size:10px;font-weight:500}.read b{font-size:17px;font-weight:normal;color:#5b735c}.featured{grid-template-columns:1.12fr 1fr}.featured .news-item:first-child .thumb{height:315px}.featured .news-item:not(:first-child){align-items:stretch}.featured .news-item:not(:first-child) .thumb{width:170px;height:auto;min-height:185px}.featured .news-item:not(:first-child) .image-tag{font-size:8px;left:10px;bottom:10px;padding:4px 8px}.featured .news-item:not(:first-child) .news-copy{padding:20px;flex:1}.featured .news-item:not(:first-child) h4{font-size:15px}.featured .news-item:not(:first-child) .news-summary{display:none}.list,.table{border:0;border-radius:14px}.list .news-item,.table .news-item{border-bottom:1px solid #edf0e8;box-shadow:none;transform:none}.list .news-copy{padding:20px 25px;display:grid;grid-template-columns:130px 1fr 90px;gap:20px;align-items:center}.list h4,.table h4{font-size:14px;margin:0}.list .news-summary,.table .news-summary{display:none}.list .read,.table .read{border:0;padding:0}.table .news-copy{grid-template-columns:130px 1fr 90px;padding:20px 25px}.covers .thumb{height:280px}.covers .news-summary{display:none}.empty-state{padding:35px;color:#7d8c78;background:#eef2e8;border-radius:12px;grid-column:1/-1;font-size:13px}.about{padding:42px;background:#edf1e4;border:0;border-radius:20px}.about h2{font-size:30px;margin:15px 0}.about p{font-size:13px}.about .muted{font-size:11px}footer{padding:55px max(30px,calc((100% - 1200px)/2));background:#163e35}footer>.eyebrow{display:block;color:#c2d897;margin-bottom:20px}footer>strong{display:block;font-size:36px;line-height:1.4;font-weight:600;margin-bottom:20px}footer p{color:#a5bdac;font-size:12px}footer a{font-size:11px;border:1px solid #6b8978;padding:9px 18px;border-radius:25px}.button{border-radius:9px;font-weight:600;padding:12px 20px}.button:hover{filter:brightness(1.08)}.article-page{max-width:940px;padding-top:35px}.back-link{font-size:12px;color:#74836b;display:inline-block;margin-bottom:35px}.article-meta{display:flex;gap:20px;align-items:center;font-size:12px;color:#718168}.pill{background:#e9efd9;color:#435d3d;border-radius:30px;padding:7px 15px}.article-page h1{font-size:38px;line-height:1.5;letter-spacing:-.7px;margin:22px 0}.article-lead{font-size:16px;color:#7b8877}.article-cover{width:100%;max-height:480px;object-fit:cover;border-radius:18px;margin:15px 0 30px}.article-body{font-size:16px;line-height:2;color:#415447;margin-bottom:30px;overflow-wrap:anywhere}.admin-page{background:#f2f4ef}.admin-page header{border-bottom:1px solid #e0e5db}.admin{padding-top:38px}.admin .heading h1{font-size:34px}.admin .notice{padding:10px 16px;font-size:11px;background:#f7eedc;border:0;color:#8a7755}.admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:26px 0}.admin-stats>div{background:#fff;border:1px solid #e7ebe2;border-radius:14px;padding:20px 25px;display:flex;justify-content:space-between;align-items:center}.admin-stats span{font-size:12px;color:#77866c}.admin-stats strong{font-size:28px;font-weight:500;color:#294939}.tabs{border-bottom:1px solid #dbe2d4;padding-bottom:0;margin:25px 0}.tabs button{background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;padding:14px 20px;color:#7b8873;font-size:12px}.tabs .active{background:transparent;color:#1e4d39;border-bottom-color:#1e4d39;font-weight:700}.panel{padding:28px;border:1px solid #e2e7dd;border-radius:16px;background:#fff;box-shadow:none}.panel .section-title h3{font-size:23px}.search-field{max-width:450px;margin:22px 0}.search-field input{background:#f7f9f3}.post-row{display:flex;align-items:center;gap:18px;padding:18px 0;border-top:1px solid #ecf0e6}.post-row[hidden]{display:none}.post-thumbnail{width:86px;height:68px;flex-shrink:0;border-radius:8px;overflow:hidden;background:#eaf0e1;display:grid;place-items:center;color:#6a8660}.post-thumbnail img{width:100%;height:100%;object-fit:cover}.post-info{flex:1;min-width:0}.post-info h4{font-size:14px;margin:3px 0;line-height:1.5}.post-info small{font-size:10px;color:#89917f}.post-category{font-size:9px;color:#8a9b71}.status{display:inline-block;font-size:10px;padding:4px 12px;border-radius:20px;white-space:nowrap}.status.live{background:#e7f1df;color:#4f7540}.status.draft{background:#f5eddb;color:#9b7d44}.post-actions{display:flex;align-items:center;gap:8px}.post-actions .button{font-size:11px;padding:8px 15px}.icon-button{background:transparent;border:0;padding:10px;color:#a98177;font-size:11px}.composer{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;margin-top:28px}.compose-main label,.compose-box label{margin-bottom:20px}.compose-main input{font-size:18px;padding:15px}.compose-main textarea{width:100%;resize:vertical;font:inherit;font-size:14px;line-height:1.9;border:1px solid #dce4d5;border-radius:9px;padding:15px;margin-top:8px;background:#fcfdf9;color:#2e4b38}.compose-main label{font-size:12px}.required{color:#b37b4b}.compose-box{background:#f6f8f1;padding:20px;border-radius:12px;margin-bottom:16px}.compose-box h4{font-size:13px;margin:0 0 16px}.compose-box label{font-size:11px}.compose-box input,.compose-box select{background:white;font-size:11px}.cover-preview{height:145px;background:#e8efdd;border:1px dashed #c8d4b6;border-radius:8px;display:grid;place-items:center;font-size:11px;color:#889879;overflow:hidden;margin-bottom:16px}.cover-preview img{width:100%;height:100%;object-fit:cover}.text-button{border:0;background:transparent;color:#917d65;font-size:10px;padding:0 0 10px}.compose-box .muted{display:block;font-size:9px}#uploadMessage{font-size:12px;color:#668b4c}.savebar{background:#f2f4eff5;padding:18px 0}.savebar span{font-size:11px}.fields input,.fields select{border-radius:8px;font-size:13px;background:#fbfcf8}.child-editor{background:#f4f7ef}.admin .success{font-size:12px;border-radius:10px}.admin input[type=file]{max-width:100%;padding:7px;font-size:10px}input::file-selector-button{background:#e9f0df;border:0;padding:7px;border-radius:5px;color:#46613c;margin-right:8px}
@media(max-width:1100px){.hero{margin-inline:24px;height:510px}.hero-copy{padding:55px 35px;width:58%}.hero h1{font-size:40px}.hero-art{width:42%}.hero-more{display:block;margin:18px 0 0}.slide-controls{left:35px}.quick{margin-inline:24px}.featured .news-item:not(:first-child) .thumb{width:135px}.composer{grid-template-columns:minmax(0,1fr) 270px}.post-actions{flex-direction:column;gap:0}}
@media(max-width:900px){header{padding:22px 25px}#mainNav{padding:8px 22px 20px}.mobile-toggle{background:#f8f9f4}.hero{height:510px}.hero h1{font-size:36px}.hero-caption strong{font-size:24px}.hero-caption{left:20px}.hero p{font-size:12px}.hero-copy{padding-top:50px}.quick a{padding:18px;font-size:11px;gap:12px}.quick b{font-size:11px}.quick span{flex-shrink:0}.composer{grid-template-columns:1fr}.compose-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.compose-box{margin:0}.featured .news-item:not(:first-child) .thumb{width:110px}.featured .news-item:not(:first-child) .news-copy{padding:15px}}
@media(max-width:700px){.demo{font-size:8px;padding:6px 16px}.brand strong{font-size:16px}.brand small{font-size:6px;letter-spacing:.4px}.seal{width:44px;height:44px}.brand{gap:10px}header{padding:20px 18px}.mobile-toggle{padding:12px 20px;font-size:12px}.hero{height:630px;margin:0 16px;border-radius:18px}.hero-copy{width:100%;height:360px;padding:30px 25px}.hero .eyebrow{font-size:8px;letter-spacing:1.5px}.hero h1{font-size:33px;margin:18px 0 12px;max-width:450px;line-height:1.3;letter-spacing:-1px}.hero p{font-size:12px;max-width:400px;margin-bottom:8px}.hero .button{padding:11px 19px;font-size:11px;margin-top:12px}.hero-more{display:inline-block;margin:0 0 0 16px;font-size:10px}.hero-art{width:100%;height:260px;top:auto;bottom:0}.hero-art>img{object-position:center 46%}.hero-art:after{background:linear-gradient(0deg,#173c3577,transparent 65%)}.hero-caption{bottom:18px;left:25px}.hero-caption span{font-size:7px}.hero-caption strong{font-size:21px;margin:5px 0}.hero-caption small{font-size:7px}.slide-controls{left:auto;right:20px;bottom:18px;z-index:3}.slide-controls button{background:#173c3577;border:1px solid #ffffff66}.slide-controls #pause{display:none}.slide-controls span{color:white}.slide:has(.hero-image) .hero-copy{width:100%;height:auto}.slide:has(.hero-image):after{background:linear-gradient(0deg,#163e35aa,#163e35dd)}.quick{margin:15px 16px;gap:8px}.quick a{padding:13px 16px;border-radius:10px}.quick b{font-size:12px}.quick span{width:30px;height:30px;font-size:10px}main{padding:38px 20px}#news .heading h2{font-size:30px}#news .heading>.muted{display:block;font-size:10px;margin:0}.category-chips{margin-bottom:30px}.category-chips a{font-size:10px;padding:7px 14px}.news-section h3{font-size:20px}.news-section{margin-bottom:35px}.thumb{height:220px}.news-copy{padding:20px}.news-copy h4{font-size:17px}.featured .news-item:first-child .thumb{height:220px}.featured .news-item:not(:first-child) .thumb{width:110px;min-height:170px}.featured .news-item:not(:first-child) .news-copy{padding:15px}.featured .news-item:not(:first-child) h4{font-size:14px}.featured .news-item:not(:first-child) .image-tag{display:none}.list .news-copy,.table .news-copy{display:block;padding:18px 20px}.list h4,.table h4{margin:8px 0 12px}.list .read,.table .read{justify-content:flex-end;gap:18px}.about{padding:28px}.about h2{font-size:23px}footer{padding:38px 24px}footer>strong{font-size:28px}.admin{padding:28px 16px}.admin .heading h1{font-size:28px}.admin-stats{gap:8px}.admin-stats>div{padding:14px 12px;flex-direction:column;align-items:flex-start}.admin-stats span{font-size:9px}.admin-stats strong{font-size:23px}.tabs{gap:0}.tabs button{padding:12px 14px;font-size:11px}.panel{padding:18px}.post-row{flex-wrap:wrap;gap:12px}.post-thumbnail{width:65px;height:58px}.post-info{flex-basis:calc(100% - 80px)}.post-info h4{font-size:13px}.post-row .status{margin-left:77px}.post-actions{flex-direction:row;margin-left:auto}.post-category{font-size:8px}.compose-side{grid-template-columns:1fr}.compose-main input{font-size:16px}.article-page h1{font-size:27px}.article-lead{font-size:14px}.article-body{font-size:15px}.article-cover{border-radius:12px}.article-meta{font-size:10px}.panel .section-title{align-items:flex-start}.panel .section-title h3{font-size:20px}.panel .section-title .button{font-size:11px;padding:10px 15px}}
.hero-copy{margin:0}
@media(max-width:700px){.slide-controls #pause{display:inline-block;font-size:9px;padding:0 9px}.hero-caption{bottom:66px}.hero{height:630px}.slide-controls{right:20px}}
/* UI/UX Pro Max priority-table fallback: readable type, touch targets, clear feedback. */
:root{--text-secondary:#5b6c60;--text-error:#a3392c;--touch-target:44px}
body{font-size:16px}
.demo{font-size:12px}.brand small{font-size:10px}.location{font-size:12px}#mainNav{font-size:14px}.nav-label>a{min-height:44px;display:flex;align-items:center}.submenu-toggle{min-width:44px;min-height:44px}.submenu a{font-size:14px;min-height:44px}
.hero p{font-size:16px}.hero .eyebrow,.eyebrow{font-size:12px;letter-spacing:1.6px}.hero-more{font-size:14px}.hero .button{font-size:14px;min-height:44px}.hero-caption span,.hero-caption small{font-size:12px;letter-spacing:1px}.slide-controls button{width:44px;height:44px;min-height:44px}.slide-controls span,.slide-controls #pause{font-size:12px}.slide-controls{gap:8px}
.quick b{font-size:15px}.quick span{font-size:12px}#news .heading>.muted{font-size:14px;color:var(--text-secondary)}.category-chips a{font-size:13px;min-height:44px;display:flex;align-items:center}.section-title>span{font-size:12px;color:var(--text-secondary)}.news-copy>small{font-size:12px;color:var(--text-secondary)}.news-copy h4{font-size:18px}.news-summary{font-size:14px;color:var(--text-secondary)}.read{font-size:13px;min-height:44px;align-items:center}.thumb .image-tag{font-size:12px}.featured .news-item:not(:first-child) h4{font-size:16px}.featured .news-item:not(:first-child) .image-tag{font-size:12px}.about p{font-size:16px}.about .muted{font-size:13px;color:var(--text-secondary)}footer p,footer span,footer a{font-size:13px}footer a{min-height:44px}
.admin .heading p{font-size:14px}.admin .notice,.admin .success{font-size:13px}.admin-stats span{font-size:14px}.tabs button{font-size:14px;min-height:48px}.panel .muted{font-size:13px;color:var(--text-secondary)}label{font-size:14px;color:var(--text-secondary)}input,select{font-size:14px;min-height:44px}.post-category,.post-info small{font-size:12px;color:var(--text-secondary)}.post-info h4{font-size:16px}.status{font-size:12px}.post-actions .button,.icon-button{font-size:13px;min-height:44px}.compose-main label,.compose-box label,.compose-box h4{font-size:14px}.compose-box input,.compose-box select{font-size:13px}.compose-box .muted{font-size:12px}.text-button{font-size:13px;min-height:44px}.savebar span{font-size:13px}.savebar .button{min-height:46px}.child-heading .button{font-size:13px;min-height:44px}.admin input[type=file]{font-size:12px}.field-error{font-size:13px;color:var(--text-error);margin:8px 0 16px;display:block}.compose-main [aria-invalid=true]{border:2px solid var(--text-error);background:#fff9f6}#uploadMessage{font-size:14px;color:#3b6830;overflow-wrap:anywhere}.back-link{font-size:14px;min-height:44px}.article-meta{font-size:13px}.hero-copy .hero-more:focus-visible{outline-color:#d4e898}
@media(max-width:1100px){#mainNav{gap:12px}.hero h1{font-size:38px}.hero-copy{padding-top:45px}.hero p{font-size:14px}.hero-more{font-size:13px}}
@media(max-width:700px){.demo{font-size:10px;line-height:1.5}.brand small{font-size:8px}.mobile-toggle{font-size:14px}.hero{height:680px}.hero-copy{height:390px;padding:30px 24px}.hero h1{font-size:32px}.hero p{font-size:14px}.hero .eyebrow{font-size:11px;letter-spacing:1px}.hero .button{font-size:13px}.hero-more{font-size:13px;margin-left:10px}.hero-art{height:280px}.hero-caption{bottom:82px}.hero-caption span,.hero-caption small{font-size:11px}.slide-controls{bottom:18px;right:18px}.slide-controls #pause{display:inline-block;font-size:11px}.quick b{font-size:14px}.quick span{font-size:12px}#news .heading>.muted{font-size:13px}.category-chips a{font-size:12px}.news-copy>small{font-size:12px}.news-copy h4{font-size:17px}.news-summary{font-size:14px}.featured .news-item:not(:first-child) h4{font-size:15px}.featured .news-item:not(:first-child) .news-copy{padding:14px}.list .news-copy,.table .news-copy{font-size:14px}.list h4,.table h4{font-size:16px}.about p{font-size:15px}.admin-stats span{font-size:12px}.tabs button{font-size:13px}.post-info h4{font-size:15px}.post-category,.post-info small{font-size:12px}.panel .section-title .button{font-size:13px}.article-meta{font-size:12px}.hero .hero-more{display:inline-flex;align-items:center;min-height:44px}}
@font-face{font-family:Kanit;src:url('assets/fonts/Kanit-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Kanit;src:url('assets/fonts/Kanit-Medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Kanit;src:url('assets/fonts/Kanit-SemiBold.ttf') format('truetype');font-weight:600 900;font-style:normal;font-display:swap}
body,button,input,select,textarea{font-family:Kanit,Tahoma,sans-serif}.hero h1,.heading h2{font-weight:600;letter-spacing:-.5px}.ui-icon{width:19px;height:19px;flex-shrink:0;vertical-align:middle}.nav-label>a{gap:9px}.nav-label>a .ui-icon{color:#648171}.submenu-toggle{display:grid;place-items:center}.submenu-toggle .ui-icon{width:17px;height:17px;transition:transform .2s}.submenu-toggle[aria-expanded=true] .ui-icon{transform:rotate(180deg)}.mobile-toggle .ui-icon{width:22px;height:22px}.tabs button{display:inline-flex;align-items:center;gap:8px}.tabs .ui-icon{width:18px;height:18px}.gallery-editor{border-top:1px solid var(--line);padding-top:25px;margin-top:25px}.gallery-editor h3{font-size:20px}.gallery-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.gallery-edit-card{padding:12px;border:1px solid var(--line);border-radius:12px;background:#f7f9f2}.gallery-edit-card>img{width:100%;height:140px;object-fit:cover;border-radius:8px}.gallery-edit-card label{margin-bottom:10px}.gallery-edit-card input{font-size:13px!important;padding:9px!important}.gallery-actions{display:flex;gap:8px}.gallery-actions button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--green);font-size:13px}.gallery-actions button:last-child{margin-left:auto;padding:0 10px;color:#a05d43}.document-edit{padding:15px 0;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:15px;align-items:center}.document-edit label{width:100%;margin:0}.document-edit>a{font-size:13px;color:#34654f;min-height:44px;display:flex;align-items:center}.document-edit button{margin-left:auto;padding:0}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gallery-grid figure{margin:0;min-width:0}.gallery-open{display:block;width:100%;border:0;padding:0;border-radius:12px;overflow:hidden;position:relative;background:#edf1e5}.gallery-open>img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;transition:transform .25s}.gallery-open:hover>img{transform:scale(1.04)}.zoom-mark{position:absolute;bottom:10px;right:10px;background:#ffffffee;border-radius:50%;width:32px;height:32px;display:grid;place-items:center}.gallery-grid figcaption{font-size:13px;color:#60715f;margin-top:8px;overflow-wrap:anywhere}.article-gallery,.article-documents{margin-top:40px;padding-top:25px;border-top:1px solid var(--line)}.article-gallery h2,.article-documents h2{font-size:24px}.document-link{display:flex;align-items:center;gap:18px;background:#eef2e6;padding:18px 20px;border-radius:12px;margin:12px 0;min-height:70px}.document-link>span:nth-child(2){flex:1;overflow-wrap:anywhere}.document-link small{display:block;font-size:12px;color:#6c7963}.pdf-badge{color:#a15041;font-size:12px;font-weight:500;border:1px solid #d3b6a6;padding:8px;border-radius:7px}.gallery-viewer[open]{position:fixed;inset:0;width:calc(100vw - 32px);height:calc(100dvh - 32px);max-width:1200px;max-height:none;padding:20px;background:#142a25;color:white;box-shadow:none;display:flex;flex-direction:column;border:0;border-radius:16px}.gallery-viewer::backdrop{background:#0b1b17ed}.viewer-toolbar{display:flex;justify-content:space-between;align-items:center;font-size:14px}.viewer-toolbar button,.viewer-stage button{border:1px solid #6a8275;background:#29473b;color:white;border-radius:9px;min-height:44px;min-width:44px;padding:8px 14px}.viewer-stage{display:flex;gap:15px;align-items:center;justify-content:center;flex:1;min-height:0;padding:15px 0}.viewer-stage img{max-width:calc(100% - 125px);max-height:100%;object-fit:contain;border-radius:8px;min-width:0}.gallery-viewer #viewerCaption{font-size:15px;text-align:center;margin:8px 0;overflow-wrap:anywhere}.viewer-open{overflow:hidden}.gallery-upload input{background:#edf2e6}
@media(max-width:700px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-edit-grid{grid-template-columns:1fr}.gallery-edit-card>img{height:180px}.viewer-stage{gap:5px}.viewer-stage img{max-width:calc(100% - 98px)}.viewer-stage button{padding:0;min-width:44px}.gallery-viewer[open]{padding:12px;width:calc(100vw - 16px);height:calc(100dvh - 16px)}.gallery-grid figcaption{font-size:12px}.document-link{padding:15px;gap:12px;font-size:14px}.nav-label>a{font-size:15px}.tabs button{font-size:12px;padding:12px 10px}.tabs .ui-icon{width:16px;height:16px}.hero h1{font-size:32px;line-height:1.4}}
