/* Botanical presentation: warm ivory, sand and almost-white sage. */
:root{--forest:#34442c;--green:#5c6946;--lime:#b39a63;--cream:#faf8f0;--ink:#30382b;--muted:#717568;--line:#e2dfd0;--sage:#f4f6ee;--sand:#eee2c8;--gold:#aa8c50}
body{background:var(--cream)}
.wrap{width:min(1360px,calc(100% - 80px))}
.umbrella{background:#f3f5ed;color:var(--green);border-bottom:1px solid var(--line)}
.header{background:#fcfbf5}.header-inner{padding:16px 0}.brand-code{display:none}.brand-name{border-color:#c3b48f}.brand-name strong{font-size:22px}.brand-name small{font-size:15px}.brand-name:after{content:'';width:46px;height:2px;background:var(--gold);margin-top:7px}
nav a.active{border-color:var(--gold)}nav a:hover{color:#887039}
.hero{background:#f9f8ef;min-height:510px;border-bottom:1px solid #e8e5d8}.hero-inner{min-height:510px}.hero-copy{width:53%;padding:44px 0 50px}.hero-art{left:48%;background-position:60% center;border-radius:0 0 0 48%;filter:saturate(.73)}.hero-art:before{background:linear-gradient(90deg,#f9f8ef 0%,#f9f8ef00 20%)}
.hero:before{content:'';position:absolute;width:580px;height:410px;left:-240px;top:-300px;border:1px solid #baa66f80;border-radius:48%;background:#f0f3e8;transform:rotate(-23deg)}
.hero:after{content:'';position:absolute;width:260px;height:480px;left:-220px;bottom:-290px;border:1px solid #baa66f70;border-radius:50%;background:#f3f5ec;pointer-events:none}
h1{font-size:clamp(48px,5vw,75px);line-height:1.03;font-weight:500;letter-spacing:-.035em}.hero h2{font-size:clamp(20px,1.8vw,25px)}.eyebrow{color:#8a713d;letter-spacing:.18em}.hero .eyebrow:after{content:'';display:inline-block;vertical-align:middle;width:54px;height:1px;background:var(--gold);margin-left:18px}
.search-form{border-color:#9a987b;background:#fffef9;border-radius:12px;box-shadow:none;padding:3px;gap:12px}.search-form button{background:#63734d;border-radius:9px;box-shadow:inset 0 0 0 1px #ffffff45}.search-form input{padding:12px 0;font-size:16px}.text-link{color:#556242}.outline-button{border-color:var(--gold);background:#fffcf4;border-radius:24px}
.browse-heading{text-align:center;padding:30px 0 0}.browse-heading .eyebrow{margin-bottom:5px}.browse-heading h2{font:500 clamp(34px,3.4vw,50px)/1.35 var(--herbarium-font-body);margin:0}.browse{padding:20px 0 30px;gap:20px}.browse>a{position:relative;display:grid;grid-template-columns:1fr auto;gap:0;padding:0;overflow:hidden;border:1px solid #e3d8c0;border-radius:10px;background:var(--sand)}.browse>a:before{content:'';grid-column:1/-1;height:170px;background-size:cover;background-position:center;filter:saturate(.7)}.browse>a:nth-child(1):before{background-image:url('../img/specimen-demo.png');background-position:center 38%;background-size:100% auto}.browse>a:nth-child(2):before{background-image:url('../img/web/hero.jpg');background-position:75% 55%}.browse>a>i{display:none}.browse>a>span{padding:16px 20px}.browse>a>b{align-self:center;margin-right:20px;border:1px solid var(--gold);border-radius:50%;height:32px;width:32px;text-align:center;line-height:30px}.browse strong{font-weight:500;font-size:19px}.browse small{font-size:13px;color:#5c604e}.browse>a:hover{background:#e9dab8}
.collection-feature{display:grid;grid-template-columns:1fr 1.45fr;gap:0;margin-bottom:10px;border:1px solid #e9e4d5;border-radius:12px;overflow:hidden}.statistics{grid-template-columns:repeat(3,1fr);align-content:center;border-radius:0;padding:30px 26px;background:linear-gradient(120deg,#f4f6ef,#f8f9f4)}.statistics .collection-title{grid-column:1/-1;border:0;text-align:left;margin-bottom:26px}.collection-title .eyebrow{margin:0 0 9px;font-size:11px}.collection-title h2{font-size:21px;font-weight:500;line-height:1.6;margin:0}.statistics>div{border-color:#c9b786}.statistics>div:nth-of-type(4){border:0}.statistics strong{font-size:clamp(29px,3vw,44px);font-weight:600}.statistics>div>span{font-size:13px}.statistics>p{grid-column:1/-1;text-align:left;margin:25px 0 0;padding:16px 0 0;border-top:1px solid var(--line)}
.featured{position:relative;min-height:300px;padding:40px 34px;background:linear-gradient(90deg,#f6eddc 15%,#f8f2e7e8 48%,#faf6ed00 82%),url('../img/web/hero.jpg') 78% center/cover;border-radius:65px 0 0 0}.featured>div{max-width:65%}.featured h2{font:600 37px/1.1 'Cormorant Garamond',Georgia,serif;margin:0 0 8px}.featured h3{font-size:20px;font-weight:500;margin:0 0 13px}.featured p{font-size:14px;max-width:290px}.featured .text-link{border:1px solid var(--gold);border-radius:24px;padding:9px 20px;background:#fffaf0}
.section-heading .eyebrow{font-size:11px}.section-heading h2{font-size:38px;font-weight:500}.section-heading p:last-child{font-size:20px}.section-heading .text-link{border:1px solid var(--gold);border-radius:24px;padding:9px 18px}.specimen-card{border-color:#e8e0ce;background:#fffcf5;border-radius:7px}.specimen-content{padding:16px 18px}.specimen-content small{color:#8d733b}.specimen-content h3{font-weight:500}.specimen-picture{filter:saturate(.72);background-position-y:64.1%;aspect-ratio:253/247}.specimen-content .text-link{border:0}.filter-fields select,.filter-fields button{background:#fffdf6;border-color:#d9d3c1}.demo-note{color:#73796b}
.editorial{gap:22px}.editorial .about{background:linear-gradient(90deg,#f3f5eefa 18%,#f4f5ecd9 55%,#f4f5ec22),url('../img/web/hero.jpg') 65% center/cover}.workshop{background:#f8f1e3}.workshop:after{background:linear-gradient(90deg,#faf5eb 20%,#faf5ebdf 60%,transparent)}.editorial article{border:1px solid #ebe4d4}.type-section{border-color:#dcd5c2}
footer{background:linear-gradient(110deg,#f4f6ee,#f9faf5 55%,#f1f4e9);border-top:1px solid #b7a271;color:var(--ink);padding-top:35px}.footer-main{display:grid;grid-template-columns:1.1fr 1fr 1fr;align-items:start;gap:36px}.footer-main>div+div{border-left:1px solid #c6b88f;padding-left:30px}.footer-main p{border:0;padding:0;margin:12px 0 0;font-size:14px}.footer-main p small{color:#6d735f}.footer-main h2{font:600 23px 'Cormorant Garamond',Georgia,serif;margin:0 0 12px}.footer-links a{display:block;font-size:14px;margin-bottom:5px}.footer-main .portal-link{display:inline-block;border:1px solid #929773;border-radius:22px;padding:9px 20px;font-size:14px;margin-top:15px}.footer-brand{font-size:33px}.footer-bottom{color:#69715e;border-color:#d6d8c7}
@media(min-width:1500px){.hero,.hero-inner{min-height:550px}}
@media(max-width:1100px){.wrap{width:calc(100% - 48px)}.hero-copy{width:56%}.hero-art{left:46%}.browse>a>span{padding:14px}.browse strong{font-size:17px}.collection-feature{grid-template-columns:1fr 1.2fr}.statistics{padding:24px 18px}.featured{padding:32px 24px}.featured>div{max-width:78%}.footer-main{gap:22px}}
@media(max-width:760px){.wrap{width:calc(100% - 32px)}.hero,.hero-inner{min-height:0}.hero-inner{padding-bottom:250px}.hero-copy{width:100%;padding:30px 0 20px}.hero-art{inset:auto 0 0;height:270px;border-radius:30% 0 0 0}.hero-art:before{background:linear-gradient(#f9f8ef,transparent 35%)}h1{font-size:clamp(43px,9vw,62px)}.hero h2{font-size:20px}.brand-name small{font-size:12px}.brand-name strong{font-size:19px}.browse-heading{padding-top:24px}.browse-heading h2{font-size:32px}.browse{grid-template-columns:1fr;gap:12px}.browse>a{grid-template-columns:110px 1fr auto;align-items:center}.browse>a:before{grid-column:auto;height:105px}.browse>a>span{padding:12px}.browse>a>b{margin-right:12px;width:28px;height:28px;line-height:26px}.browse small{font-size:12px}.collection-feature{grid-template-columns:1fr}.statistics{padding:24px}.collection-title h2{font-size:20px}.statistics .collection-title{margin-bottom:20px}.statistics strong{font-size:37px}.statistics p br{display:block}.statistics p small{margin:0}.featured{border-radius:35px 0 0;min-height:275px;padding:30px 24px}.featured>div{max-width:80%}.featured h2{font-size:34px}.section-heading{flex-wrap:wrap;gap:10px}.section-heading h2{font-size:34px}.section-heading .text-link{margin-top:0}.specimen-content{padding:12px}.specimen-content small{font-size:10px}.footer-main{grid-template-columns:1fr;gap:24px}.footer-main>div+div{border-left:0;border-top:1px solid #d8d8c5;padding:20px 0 0}.search-form{gap:8px}.search-form input{font-size:16px}.search-form button{padding:10px 16px}}

/* Footer layout and identity. */
.herbarium-footer{background:#f7f8f2;border-top:1px solid #c7b88f;padding:42px 0 18px;color:#3d4835}
.herbarium-footer .footer-main{display:grid;grid-template-columns:1.35fr .85fr 1fr;gap:48px;align-items:start}
.herbarium-footer .footer-main>div+div{border:0;padding-left:0}
.footer-lockup{display:inline-flex;gap:17px;align-items:center}
.footer-lockup img{width:52px;height:66px;object-fit:contain}
.footer-lockup>span{display:flex;flex-direction:column;border-left:1px solid #c7b88f;padding-left:17px}
.footer-lockup strong{font-size:24px;line-height:1.4;font-weight:500}
.footer-lockup em{font:500 25px/1.2 'Cormorant Garamond',Georgia,serif;font-style:normal}
.herbarium-footer .footer-main p{font-size:14px;line-height:1.9;margin:15px 0 0;color:#636b5b}
.herbarium-footer .footer-main h2{font:500 16px/1.6 'Anuphan',Tahoma,sans-serif;margin:3px 0 14px;color:#3d4835}
.herbarium-footer .footer-links a{font-size:14px;line-height:1.8;margin-bottom:8px;color:#636b5b}
.herbarium-footer a:hover{color:#8a713d}
.herbarium-footer .portal-link{background:#fffdf7;border:1px solid #b4a477;padding:9px 19px;margin-top:18px;font-size:14px}
.herbarium-footer .portal-link span{margin-left:20px}
.herbarium-footer .footer-bottom{margin-top:32px;padding-top:16px;border-color:#e0e2d5;color:#707665;font-size:12px}
@media(max-width:760px){.herbarium-footer{padding-top:28px}.herbarium-footer .footer-main{grid-template-columns:1fr 1fr;gap:26px 22px}.footer-identity{grid-column:1/-1}.herbarium-footer .footer-main>div+div{padding:0;border:0}.footer-lockup strong{font-size:22px}.herbarium-footer .footer-bottom{margin-top:25px;font-size:11px}}
@media(max-width:420px){.herbarium-footer .footer-main{grid-template-columns:1fr}.herbarium-footer .footer-portal{border-top:1px solid #e0e2d5!important;padding-top:20px!important}}
/* Shared header styling, domain-specific navigation. */
.header .header-inner{gap:24px}.header .brand{flex-shrink:0}.header .brand-name small{max-width:230px;line-height:1.35}.header #navigation{gap:24px;align-items:center}.header .nav-item{display:block;color:#3d4835;padding:12px 0;white-space:nowrap;line-height:1.4}.header .nav-item strong{display:block;font-size:14px;font-weight:500}.header .nav-item small{display:block;font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:#737763;margin-top:4px}.header .nav-item.active{border-bottom:2px solid #b39a63}.header .nav-dropdown{position:relative;margin:0;padding:0;border:0}.header .nav-dropdown summary{list-style:none;cursor:pointer}.header .nav-dropdown summary::-webkit-details-marker{display:none}.header .nav-dropdown summary strong span{font-size:15px;margin-left:5px}.header .nav-dropdown[open]>summary{color:#887039}.header .nav-submenu{position:absolute;left:-20px;top:100%;width:270px;background:#fffdf7;border:1px solid #e2dccb;border-top:2px solid #b39a63;box-shadow:0 12px 28px #30382b15;border-radius:0 0 6px 6px;padding:10px;z-index:20}.header .nav-submenu a{display:block;padding:12px;border-radius:3px;font-size:14px;line-height:1.5;white-space:normal}.header .nav-submenu a:hover{background:#f2f4e9}.header .nav-submenu a small{display:block;color:#747866;font-size:12px;margin-top:3px}.header-actions{display:flex;align-items:center;gap:18px;padding-left:20px;border-left:1px solid #d8d2c0}.header-language{display:flex;gap:4px;align-items:center;white-space:nowrap;font-size:12px}.header-language b{font-weight:500}.header-language button{font-size:12px;padding:0;border:0;background:transparent;color:#96998d;cursor:default}.header .header-portal{border:1px solid #a9ad90;border-radius:22px;padding:8px 13px;font-size:12px;white-space:nowrap}.header-portal span{margin-left:8px}
@media(min-width:761px) and (max-width:1250px){.header .header-inner{flex-wrap:wrap;gap:8px}.header #navigation{width:100%;justify-content:flex-end;gap:26px}.header .brand-name small{max-width:none}.header .nav-item{padding:8px 0}.header .header-inner{padding-top:14px;padding-bottom:12px}}
@media(max-width:760px){.header .header-inner{gap:12px}.header .brand{gap:9px;max-width:calc(100% - 56px)}.header .brand-name small{font-size:11px;max-width:210px}.header #navigation{align-items:stretch;gap:0;padding:4px 0;width:100%;border-top:1px solid #e5e1d3}.header #navigation.open{display:flex;flex-direction:column}.header .nav-item{padding:13px 8px;white-space:normal}.header .nav-item.active{border-bottom:0;border-left:2px solid #b39a63}.header .nav-dropdown{width:100%}.header .nav-submenu{position:static;width:100%;box-shadow:none;border:0;border-left:1px solid #cfc3a3;border-radius:0;background:#f7f7ef;margin:0 0 8px 8px;width:calc(100% - 8px)}.header .header-actions{padding:16px 8px 4px;border-left:0;border-top:1px solid #e5e1d3;justify-content:space-between}}
/* Portal-style single institutional header; Herbarium colors and menu. */
.header{background:rgba(252,251,246,.96);border-bottom:1px solid #e4e4df}
.header .header-inner{width:100%;max-width:1800px;padding:9px 48px;min-height:82px;flex-wrap:nowrap;gap:26px}
.header .brand{gap:16px}.header .brand img{height:64px;width:auto}.header .brand-name{border:0;padding:0;min-width:155px;gap:0}.header .brand-name:after{display:none}.header .brand-name strong{font-size:16px;font-weight:600;line-height:1.15}.header .brand-name b{font:400 11px/1.15 'Anuphan',sans-serif;margin-top:3px;color:#65705d}.header .brand-name .brand-rule{display:block;width:88%;height:2px;background:#b5b986;margin:5px 0 4px}.header .brand-name small{font:400 10px/1.2 'Anuphan',sans-serif;max-width:none;color:#65705d}
.header #navigation{width:auto;gap:30px;margin-left:auto;justify-content:flex-end}.header .nav-item{position:relative;padding:15px 0;border:0}.header .nav-item strong{font-size:12px;font-weight:600;text-transform:uppercase;line-height:1.25}.header .nav-item small{font-size:11px;letter-spacing:0;text-transform:none;margin-top:5px;line-height:1.3;color:#737967}.header .nav-item.active{border:0}.header .nav-item.active:after{content:'';position:absolute;bottom:5px;left:0;width:24px;height:2px;background:#b0a071}.header-actions{gap:14px;border:0;padding-left:10px}.header .header-search{padding:8px 0;font-size:14px}.header .header-portal{border:0;border-left:1px solid #dddccd;border-radius:0;padding:3px 0 3px 16px;font-size:11px}.header-language{font-size:12px}
@media(min-width:992px) and (max-width:1199px){.header .header-inner{padding:10px 28px;gap:18px}.header .brand img{height:60px}.header .brand-name{min-width:135px}.header #navigation{gap:20px}.header .brand-name strong{font-size:14px}.header .nav-item strong{font-size:11px}.header .nav-item small{font-size:10px}.header-actions{gap:10px;padding-left:0}}
@media(max-width:991px){.header .header-inner{padding:12px 24px;min-height:76px;flex-wrap:wrap;gap:0}.header .brand{max-width:calc(100% - 55px);gap:12px}.header .brand img{height:50px}.header .brand-name{min-width:135px}.header .brand-name strong{font-size:15px}.header .brand-name small{font-size:9px}.header .brand{margin-right:auto}.header .menu-toggle{display:block;margin-left:0}.header #navigation{display:none;width:100%;margin:12px 0 0;padding:8px 0;border-top:1px solid #e4e4d9;gap:0}.header #navigation.open{display:flex;flex-direction:column;align-items:stretch}.header .nav-item{padding:12px 8px}.header .nav-item.active:after{bottom:5px;left:8px}.header .nav-dropdown{width:100%}.header .nav-submenu{position:static;width:100%;margin:0;padding:6px 12px;box-shadow:none;border:0;border-left:1px solid #cfc3a3;border-radius:0;background:#f7f7ef}.header .header-actions{display:flex;align-items:center;justify-content:flex-start;padding:16px 8px 6px;gap:18px;border-top:1px solid #e5e1d3}.header .header-portal{margin-left:auto}.header .header-search{padding:6px 0}}
@media(max-width:420px){.header .header-inner{padding-left:16px;padding-right:16px}}
/* Compact typographic domain accent; the organization crest stays in the footer. */
.header .brand.domain-wordmark{position:relative;display:block;width:240px;height:60px;flex:0 0 240px;isolation:isolate;max-width:calc(100% - 55px);gap:0}
.domain-wordmark .domain-outline{position:absolute;top:1px;left:0;display:block;width:100%;overflow:hidden;white-space:nowrap;font:700 35px/1.2 Arial,sans-serif;letter-spacing:-1.3px;color:transparent;-webkit-text-stroke:.65px #aab19a;opacity:.52;pointer-events:none;user-select:none;z-index:-1}
.domain-wordmark .domain-title{position:absolute;left:17px;bottom:1px;display:flex;flex-direction:column;align-items:flex-start}
.domain-wordmark .domain-title strong{font:600 23px/1.25 'Anuphan',Tahoma,sans-serif;color:#34442c}
.domain-wordmark .domain-title small{font:500 17px/1.1 'Cormorant Garamond',Georgia,serif;color:#65705a;margin-top:2px}
@media(max-width:1199px){.header .brand.domain-wordmark{width:220px;flex-basis:220px}.domain-wordmark .domain-outline{font-size:33px;letter-spacing:-1.4px}}
@media(max-width:991px){.header .brand.domain-wordmark{height:52px;width:auto;flex:0 1 auto;min-width:0}.domain-wordmark .domain-outline{font-size:32px;top:0}.domain-wordmark .domain-title{left:14px;bottom:0}.domain-wordmark .domain-title strong{font-size:21px}.domain-wordmark .domain-title small{font-size:16px}}
@media(forced-colors:active){.domain-wordmark .domain-outline{display:none}}
/* Separate the outline accent from the readable domain title. */
.header .brand.domain-wordmark{height:64px}
.domain-wordmark .domain-outline{position:static;width:100%;font-size:25px;line-height:27px;letter-spacing:1px;opacity:.58;overflow:visible}
.domain-wordmark .domain-title{position:static;display:flex;margin-top:3px;padding-left:0}
.domain-wordmark .domain-title strong{font-size:20px;line-height:23px}
.domain-wordmark .domain-title small{font-size:14px;line-height:16px;margin-top:1px}
@media(max-width:1199px){.domain-wordmark .domain-outline{font-size:24px;letter-spacing:.7px}}
@media(max-width:991px){.header .brand.domain-wordmark{height:62px}.domain-wordmark .domain-outline{font-size:23px;line-height:25px}.domain-wordmark .domain-title{margin-top:3px;padding-left:0}.domain-wordmark .domain-title strong{font-size:19px;line-height:22px}.domain-wordmark .domain-title small{font-size:14px;line-height:16px}}
/* Minimal overlap; organization attribution remains clearly separated. */
.domain-wordmark .domain-title{margin-top:-2px;position:relative;z-index:1}
.domain-wordmark .domain-title small{font:400 11px/16px 'Anuphan',Tahoma,sans-serif;margin-top:3px;color:#707662}
@media(max-width:991px){.domain-wordmark .domain-title{margin-top:-2px}.domain-wordmark .domain-title small{font-size:11px;line-height:16px;margin-top:3px}}
/* Two-line domain identity without the organization subtitle. */
.header .brand.domain-wordmark{height:50px}
@media(max-width:991px){.header .brand.domain-wordmark{height:46px}}
/* Domain identity: Thai name, outlined English name, organization. */
.header .brand.domain-wordmark{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;height:64px}
.domain-wordmark .domain-thai{font:600 20px/25px 'Anuphan',Tahoma,sans-serif;color:#34442c}
.domain-wordmark .domain-outline{position:static;z-index:auto;font:700 24px/25px Arial,sans-serif;letter-spacing:1px;width:auto;overflow:visible;opacity:.65}
.domain-wordmark .domain-owner{font:400 10px/14px 'Anuphan',Tahoma,sans-serif;color:#707662;margin-top:1px}
@media(max-width:991px){.header .brand.domain-wordmark{height:60px}.domain-wordmark .domain-thai{font-size:19px;line-height:23px}.domain-wordmark .domain-outline{font-size:23px;line-height:24px}.domain-wordmark .domain-owner{font-size:10px;line-height:13px}}
/* Tighten the Thai/English lockup without overlapping the glyphs. */
.header .brand.domain-wordmark{gap:0}
.domain-wordmark .domain-thai{line-height:23px}
.domain-wordmark .domain-outline{line-height:23px;margin-top:-1px}
.domain-wordmark .domain-owner{margin-top:4px}
@media(max-width:991px){.domain-wordmark .domain-thai{line-height:22px}.domain-wordmark .domain-outline{line-height:22px;margin-top:-1px}}
/* Indent Thai labels while keeping the English accent in place. */
.domain-wordmark .domain-thai,
.domain-wordmark .domain-owner{margin-left:10px}
/* Move only the Thai title 2px closer to HERBARIUM. */
.domain-wordmark .domain-thai{position:relative;top:2px}
/* Teal accent on the outlined domain name only. */
.domain-wordmark .domain-outline{-webkit-text-stroke-color:#5f9690;opacity:.85}
/* Put the color emphasis on the readable Thai title. */
.domain-wordmark .domain-thai{color:#397a72}
.domain-wordmark .domain-outline{-webkit-text-stroke-color:#aab19a;opacity:.65}
/* Keep the English outline as a faint decorative background accent. */
.domain-wordmark .domain-outline{opacity:.22}



/* Compact footer identity lockup */
.herbarium-footer .footer-lockup { gap:14px; align-items:center; }
.herbarium-footer .footer-lockup img { width:44px; height:56px; }
.herbarium-footer .footer-lockup > span { border-left:0; padding-left:0; gap:1px; }
.herbarium-footer .footer-lockup strong { font-size:25px; line-height:1.2; color:#34442c; }
.herbarium-footer .footer-lockup em { font:500 16px/1.25 'Anuphan',Tahoma,sans-serif; letter-spacing:.08em; color:#69756c; }
.herbarium-footer .footer-identity > p { margin-top:9px; font-size:13px; color:#69756c; }


/* Footer wordmark hierarchy */
.herbarium-footer .footer-lockup { display:flex; flex-direction:column; align-items:flex-start; gap:16px; }
.herbarium-footer .footer-title { font:500 42px/1.05 'Anuphan',Tahoma,sans-serif; color:#34442c; }
.herbarium-footer .footer-title span { font-weight:400; }
.herbarium-footer .footer-org { display:flex; align-items:center; gap:14px; }
.herbarium-footer .footer-org img { width:44px; height:56px; object-fit:contain; }
.herbarium-footer .footer-org > span { display:flex; flex-direction:column; gap:2px; }
.herbarium-footer .footer-org strong { font-size:21px; font-weight:500; color:#34442c; }
.herbarium-footer .footer-org small { font-size:14px; color:#69756c; letter-spacing:.02em; }
.herbarium-footer .footer-identity > p { display:none; }
@media(max-width:760px){.herbarium-footer .footer-title{font-size:32px}.herbarium-footer .footer-org strong{font-size:18px}.herbarium-footer .footer-org small{font-size:12px}}


.herbarium-footer .footer-org { flex-direction:row !important; align-items:center; }

.herbarium-footer .footer-org { gap:18px; }

.herbarium-footer .footer-org { gap:24px; }

.herbarium-footer .footer-org { gap:36px; }

.herbarium-footer .footer-org > span { margin-left:40px !important; }

.herbarium-footer .footer-org { gap:28px !important; }
.herbarium-footer .footer-org > span { margin-left:0 !important; }

.herbarium-footer .footer-org { gap:18px !important; }

.herbarium-footer .footer-lockup { row-gap:28px; }

/* Footer identity moved to closing row */
.herbarium-footer .footer-main { grid-template-columns:1fr 1fr; }
.herbarium-footer .footer-main > div + div { border-left:0; padding-left:0; }
.herbarium-footer .footer-identity-bottom { margin-top:34px; padding-top:24px; border-top:1px solid #d6d8c7; }
.herbarium-footer .footer-identity-bottom .footer-lockup { gap:12px; }
.herbarium-footer .footer-identity-bottom .footer-title { font-size:32px; }
.herbarium-footer .footer-identity-bottom .footer-org img { width:38px; height:48px; }
.herbarium-footer .footer-identity-bottom .footer-org strong { font-size:18px; }
.herbarium-footer .footer-identity-bottom .footer-org small { font-size:12px; }
@media(max-width:760px){.herbarium-footer .footer-main{grid-template-columns:1fr 1fr}.herbarium-footer .footer-identity-bottom{margin-top:26px;padding-top:20px}}


/* Keep the herbarium name above; move only logo and organization below */
.herbarium-footer .footer-main { grid-template-columns:1.1fr 1fr 1fr; }
.herbarium-footer .footer-brand-top .footer-title { font:500 32px/1.1 'Cormorant Garamond',Georgia,serif; color:#34442c; }
.herbarium-footer .footer-brand-top .footer-title span { font-weight:400; }
.herbarium-footer .footer-identity-bottom .footer-lockup { gap:0; }
.herbarium-footer .footer-identity-bottom .footer-org { margin-top:0; }


/* Organization lockup replaces duplicate footer text */
.herbarium-footer .footer-bottom { align-items:center; }
.herbarium-footer .footer-bottom-identity { display:inline-flex; align-items:center; gap:18px; color:#34442c; }
.herbarium-footer .footer-bottom-identity img { width:38px; height:48px; object-fit:contain; }
.herbarium-footer .footer-bottom-identity > span { display:flex; flex-direction:column; gap:1px; }
.herbarium-footer .footer-bottom-identity strong { font-size:17px; font-weight:500; }
.herbarium-footer .footer-bottom-identity small { font-size:12px; color:#69756c; }
@media(max-width:760px){.herbarium-footer .footer-bottom-identity{gap:14px}.herbarium-footer .footer-bottom-identity strong{font-size:15px}.herbarium-footer .footer-bottom-identity small{font-size:11px}}



.herbarium-footer .footer-bottom-identity > span { letter-spacing:normal !important; line-height:1.35; }

/* Footer wordmark lockup */
.herbarium-footer .footer-brand-top .footer-title{display:flex;flex-direction:column;align-items:flex-start;gap:1px;font:600 34px/1.05 'Anuphan',Tahoma,sans-serif;letter-spacing:-.03em;color:#111}
.herbarium-footer .footer-brand-top .footer-title span{font:400 12px/1.2 Arial,sans-serif;letter-spacing:.08em;color:#aaa;text-transform:uppercase}
@media(max-width:760px){.herbarium-footer .footer-brand-top .footer-title{font-size:29px}.herbarium-footer .footer-brand-top .footer-title span{font-size:11px}}
.herbarium-footer .footer-brand-top:after{width:650px}
.herbarium-footer .footer-portal{display:block}
.herbarium-footer .footer-main{grid-template-columns:1.2fr 1fr 1fr 1.35fr 1.25fr;gap:28px;align-items:start}.herbarium-footer .footer-brand-top{padding-right:28px;border-right:1px solid #d6d8c7;min-height:64px}.herbarium-footer .footer-title{margin:0}.herbarium-footer .footer-menu-item{display:flex;flex-direction:column;gap:4px;color:#34442c;text-decoration:none;padding-top:1px}.herbarium-footer .footer-menu-item strong{font-size:15px;font-weight:600;line-height:1.2}.herbarium-footer .footer-menu-item small{font-size:12px;line-height:1.35;color:#69756c}.herbarium-footer .footer-portal{padding-left:28px;border-left:1px solid #d6d8c7;min-height:64px}.herbarium-footer .footer-portal h2{margin:0 0 7px}.herbarium-footer .footer-portal p{margin:0 0 12px;font-size:12px;line-height:1.55}.herbarium-footer .portal-link{margin:0}
.herbarium-footer .wrap{max-width:1290px}.herbarium-footer .footer-main{grid-template-columns:560px 160px 110px 210px 250px;gap:0;align-items:start;justify-content:start}.herbarium-footer .footer-brand-top{padding-top:1px}.herbarium-footer .footer-brand-top .footer-title{font-size:30px}.herbarium-footer .footer-menu-item{padding-top:2px}.herbarium-footer .footer-portal{padding-left:28px;border-left:2px solid #187aa0;min-height:140px}.herbarium-footer .footer-portal h2{font-size:15px;font-weight:500}.herbarium-footer .footer-portal p{font-size:12px;line-height:1.7;margin:8px 0 16px}.herbarium-footer .footer-portal .portal-link{display:block;width:100%;box-sizing:border-box;text-align:center;padding:9px 14px;background:#17647f;border-color:#123f51;color:#fff}
@media(max-width:991px){.herbarium-footer .footer-main{grid-template-columns:1fr 1fr;gap:24px}.herbarium-footer .footer-brand-top,.herbarium-footer .footer-portal{border:0;padding:0}}
.herbarium-footer .footer-brand-top:after{width:850px}
.herbarium-footer .footer-brand-top{border-right:0!important;padding-right:0}
.herbarium-footer .footer-brand-description{max-width:260px;margin:12px 0 0;color:#69756c;font-size:12px;line-height:1.6}
.herbarium-footer{padding-top:28px;padding-bottom:12px}.herbarium-footer .footer-main{min-height:0;padding-bottom:22px}.herbarium-footer .footer-portal{min-height:118px}.herbarium-footer .footer-bottom{padding-top:12px;padding-bottom:10px;margin-top:0}
.herbarium-footer .footer-kicker{display:flex;align-items:center;gap:20px;margin:0 0 12px;color:#8a713d;font:600 10px/1 'Anuphan',Tahoma,sans-serif;letter-spacing:.18em}.herbarium-footer .footer-kicker i{display:block;width:54px;height:1px;background:#b99a5a}
.herbarium-footer .footer-brand-top{position:relative}.herbarium-footer .footer-brand-top:after{content:'';position:absolute;top:15px;left:190px;width:330px;height:2px;background:#187aa0}
.herbarium-footer .footer-main{grid-template-columns:minmax(0,1fr) 150px 120px 190px 250px;gap:0;align-items:start}.herbarium-footer .footer-menu-item{position:static}
.herbarium-footer .footer-brand-top:after{display:none!important}.herbarium-footer .footer-brand-description{max-width:260px}
.herbarium-footer .footer-portal{border-left:0!important;padding-left:0}.herbarium-footer .footer-portal .portal-link{background:#fffdf7;border:1px solid #b4a477;color:#3d4835}
.herbarium-footer .footer-brand-top .footer-title{color:#5f4b32!important}

/* Footer composition: brand, links and portal are separate columns. */
.herbarium-footer .footer-main{
  position:relative;
  display:grid;
  grid-template-columns:minmax(180px,1fr) repeat(5,max-content) minmax(180px,230px);
  gap:24px;
  align-items:start;
}
.herbarium-footer .footer-brand-top{position:relative;min-width:0}
.herbarium-footer .footer-brand-top:after{content:'';display:block;position:absolute;left:150px;top:17px;width:300px;height:2px;background:#b99a5a;opacity:.82}
.herbarium-footer .footer-brand-top:after{display:block!important;content:'';position:absolute;left:150px;top:17px;width:280px;height:2px;background:#b99a5a;opacity:.82}
.herbarium-footer .footer-menu-item{position:relative;min-width:0;padding:2px 0 0!important;border:0!important;transform:none!important;color:#34442c;text-decoration:none}
.herbarium-footer .footer-menu-item strong{font-size:13px;line-height:1.2;white-space:nowrap;letter-spacing:-.01em}
.herbarium-footer .footer-menu-item small{font-size:12px;line-height:1.35}
.herbarium-footer .footer-menu-item:not(:last-of-type):after{content:'';position:absolute;left:auto;right:-16px;top:6px;width:8px;height:8px;border-radius:50%;background:#1e7898;opacity:.62;z-index:2}
.herbarium-footer .footer-portal{min-width:0;padding-left:0!important;border:0!important}
.herbarium-footer .footer-portal h2{white-space:nowrap}
.herbarium-footer .footer-portal .portal-link{display:block;width:180px;max-width:100%;box-sizing:border-box;padding:5px 16px;background:#fffdf7;border:1px solid #b4a477;color:#3d4835}
.herbarium-footer .footer-main:before{content:'';position:absolute;left:540px;top:8px;width:70px;height:70px;border-radius:50%;background:repeating-linear-gradient(125deg,transparent 0 7px,#c9b894 7px 9px);opacity:.48;pointer-events:none}
.herbarium-footer .footer-main:after{content:'';position:absolute;left:502px;top:86px;width:22px;height:22px;border-radius:50%;background:repeating-linear-gradient(125deg,transparent 0 6px,#c9b894 6px 8px);opacity:.34;pointer-events:none}
.herbarium-footer .footer-decor-circle-three{position:absolute;left:810px;top:99px;width:34px;height:34px;border-radius:50%;background:repeating-linear-gradient(125deg,transparent 0 6px,#c9b894 6px 8px);opacity:.30;pointer-events:none}
@media(max-width:991px){.herbarium-footer .footer-main:before{display:none}.herbarium-footer .footer-main:after{display:none}}
@media(max-width:991px){.herbarium-footer .footer-main{grid-template-columns:1fr 1fr;gap:24px}.herbarium-footer .footer-brand-top:after{display:none}.herbarium-footer .footer-portal{grid-column:1/-1}}
@media(max-width:991px){
  .herbarium-footer .footer-brand-top{grid-column:1/-1}
  .herbarium-footer .footer-brand-top:after{display:block!important;left:150px!important;width:min(280px,calc(100% - 150px))!important}
  .herbarium-footer .footer-menu-item{transform:none!important}
  .herbarium-footer .footer-menu-item[href="news.html"]{transform:none!important}
  .herbarium-footer .footer-menu-item:not(:last-of-type):after{display:none}
  .herbarium-footer .footer-decor-circle-three{display:none}
}

/* Restored footer layout fixes. */
.herbarium-footer{overflow-x:clip}
.herbarium-footer .footer-brand-top .footer-title{gap:2px}
.herbarium-footer .footer-brand-top .footer-title span{display:inline-block;width:max-content;border-top:2px solid #b99a5a;padding-top:2px}
.herbarium-footer .footer-brand-top:after{display:none!important}
@media (min-width:992px) and (max-width:1384px){
  .herbarium-footer .footer-menu-item,
  .herbarium-footer .footer-menu-item[href="news.html"]{transform:none!important}
}
@media (min-width:992px) and (max-width:1290px){
  .herbarium-footer .footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}
  .herbarium-footer .footer-brand-top{grid-column:1/-1}
  .herbarium-footer .footer-menu-item,
  .herbarium-footer .footer-menu-item[href="news.html"]{transform:none!important;width:auto!important}
  .herbarium-footer .footer-menu-item:not(:last-of-type):after{display:none!important}
  .herbarium-footer .footer-portal{grid-column:1/-1;padding-top:20px!important;border-top:1px solid #d6d8c7!important}
}
