/*
Theme Name: DLICT Surin
Theme URI: https://dlict.secondarysurin.go.th/
Author: DLICT Surin
Description: ธีมภาษาไทยสำหรับกลุ่มส่งเสริมการศึกษาทางไกล เทคโนโลยีสารสนเทศและการสื่อสาร สพม.สุรินทร์ มีหน้าแรก ข่าว บริการออนไลน์ คู่มือ และการตั้งค่าผ่าน Customizer
Version: 1.4.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dlict-surin
Tags: blog, education, custom-logo, custom-menu, featured-images, wide-blocks
*/
:root{--navy:#102c44;--navy-dark:#0b2134;--ink:#182f42;--muted:#526776;--blue:#087b98;--cyan:#71d7e4;--orange:#ffbf66;--paper:#f4f8fa;--line:#dce6eb;--white:#fff;--radius:18px;--shadow:0 15px 42px rgba(18,47,67,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:#fff;color:var(--ink);font-family:Tahoma,"Leelawadee UI","Noto Sans Thai",Arial,sans-serif;font-size:16px;line-height:1.8;overflow-wrap:break-word}img{max-width:100%;height:auto;vertical-align:middle}svg{vertical-align:middle}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}button{cursor:pointer}h1,h2,h3,h4{line-height:1.5;margin:0 0 16px;font-weight:700;letter-spacing:-.025em}p{margin:0 0 18px}h1{font-size:clamp(32px,3.2vw,50px)}h2{font-size:clamp(26px,2.4vw,34px)}h3{font-size:19px}.container{width:min(1200px,calc(100% - 64px));margin-inline:auto}.section{padding-block:76px}.icon{display:inline-block;flex-shrink:0}.eyebrow{font-family:Arial,Tahoma,sans-serif;font-size:12px;letter-spacing:.17em;font-weight:700;line-height:1.7;color:var(--blue);margin:0 0 13px;display:block}.eyebrow-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#0b8895;margin-right:10px;box-shadow:0 0 0 5px #0b889515}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;white-space:nowrap}.skip-link:focus{clip:auto;clip-path:none;height:auto;width:auto;left:20px;top:12px;z-index:999999;padding:12px 22px;background:white;color:var(--navy);box-shadow:var(--shadow)}:focus-visible{outline:3px solid #d58b1c;outline-offset:5px;border-radius:3px}
.topbar{background:var(--navy-dark);color:#d7e5ed;font-size:12px}.topbar-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:15px}.topbar a{display:inline-flex;align-items:center;gap:10px}.topbar a:hover{color:var(--orange)}.topbar .icon{width:15px;height:15px}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.admin-bar .site-header{top:32px}.header-inner{display:flex;align-items:center;gap:24px;min-height:90px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand-mark{display:grid;place-items:center;width:48px;height:48px;background:var(--navy);border-radius:13px;color:var(--cyan);box-shadow:inset -4px -4px 0 #ffffff08}.brand-mark:hover{color:white}.brand-mark .icon{width:31px;height:31px}.custom-logo-link{display:inline-flex;max-width:72px;max-height:64px}.custom-logo{max-height:64px;object-fit:contain;width:auto}.brand-copy{display:flex;flex-direction:column;line-height:1.5}.brand-copy strong{font:800 24px/1.25 Arial,sans-serif;letter-spacing:-1px;color:var(--navy)}.brand-copy strong span{color:var(--blue);font-weight:400}.brand-copy>span{font-size:11px;color:var(--muted);margin-top:4px}.primary-navigation{margin-left:auto}.primary-menu,.sub-menu,.footer-menu{list-style:none;padding:0;margin:0}.primary-menu{display:flex;align-items:center;gap:22px}.primary-menu>li{position:relative;display:flex;align-items:center}.primary-menu a{font-size:13px;display:block;padding:15px 0;white-space:nowrap;color:var(--ink)}.primary-menu a:hover,.primary-menu .current-menu-item>a{color:var(--blue)}.primary-menu .current-menu-item>a{box-shadow:0 2px 0 var(--blue)}.sub-menu{display:none;position:absolute;top:100%;left:0;min-width:220px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:10px}.sub-menu li{position:relative}.sub-menu a{padding:9px 13px;white-space:normal}.sub-menu .sub-menu{left:100%;top:0}.primary-menu li:hover>.sub-menu,.primary-menu li:focus-within>.sub-menu,.primary-menu li.submenu-open>.sub-menu{display:block}.submenu-toggle{color:var(--blue);border:0;background:none;min-width:32px;min-height:44px;padding:0 6px;font-size:18px}.sub-menu .submenu-toggle{position:absolute;right:0;top:2px}.sub-menu .menu-item-has-children>a{padding-right:32px}.menu-toggle{display:none}.header-search{position:relative}.header-search>summary{width:44px;height:44px;display:grid;place-items:center;background:var(--paper);border:1px solid var(--line);border-radius:50%;cursor:pointer;list-style:none}.header-search>summary::-webkit-details-marker{display:none}.header-search .icon{width:19px;height:19px}.search-popover{position:absolute;right:0;top:60px;width:340px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.search-form{display:flex;gap:8px;width:100%}.search-form input{width:100%;min-width:0;border:1px solid #b4c7d1;padding:11px 13px;border-radius:8px;background:white;color:var(--ink);font-size:14px}.search-form button{border:0;border-radius:8px;background:var(--navy);color:white;padding:10px 14px;min-width:45px}
.hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#f4f9fb 0%,#f4f9fb 50%,#e5f3f5 100%);border-bottom:1px solid #d8e8ed}.hero:before{content:"";position:absolute;right:-180px;top:-340px;width:800px;height:800px;border:1px solid #bfdde0;border-radius:50%;box-shadow:0 0 0 85px #d3e9ec33,0 0 0 170px #d3e9ec25}.hero-grid{display:grid;grid-template-columns:1.03fr 1fr;align-items:center;gap:28px;min-height:580px;padding-block:60px;position:relative}.hero h1{color:var(--navy);font-size:clamp(34px,3.5vw,52px);line-height:1.5;letter-spacing:-.04em;margin:20px 0}.hero-description{font-size:16px;color:#405d70;max-width:530px;line-height:1.95;margin-bottom:30px}.button-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.button{display:inline-flex;align-items:center;justify-content:center;gap:17px;font-size:14px;font-weight:700;padding:13px 22px;border-radius:9px;min-height:50px;transition:background .2s,transform .2s;border:1px solid transparent;text-align:center}.button-primary{background:var(--navy);color:white;box-shadow:0 7px 15px #102c4418}.button-primary:hover{background:#164967;color:#fff;transform:translateY(-2px)}.button .icon{width:19px;height:19px}.button-quiet{color:var(--navy);border-color:#c7d9e3;background:#ffffff66}.button-quiet:hover{background:white}.button-outline{border-color:#b8d1df;color:var(--navy)}.hero-signature{display:flex;align-items:center;gap:12px;color:#526f7b;font:600 10px/1 Arial,sans-serif;letter-spacing:.17em;margin-top:34px}.hero-signature span{width:32px;height:2px;background:#da9b3e}.hero-visual{position:relative;min-width:0}.hero-art{width:100%;filter:drop-shadow(0 25px 35px #0e52651c)}.hero-photo{width:100%;aspect-ratio:1.2;object-fit:cover;border-radius:24px;box-shadow:var(--shadow)}.visual-label{display:flex;gap:12px;align-items:center;position:absolute;background:#ffffffed;box-shadow:0 10px 30px #0d3f5512;border:1px solid #fff;border-radius:12px;padding:14px 18px}.visual-label strong{font:700 13px/1.6 Arial,sans-serif;display:block;color:var(--navy)}.visual-label span{font-size:11px;color:var(--muted);display:block}.visual-label>.icon{width:31px;height:31px;color:var(--blue)}.label-learning{top:2%;right:0}.label-security{bottom:16%;left:-10px}.label-security>.icon{color:#1c8279}.visual-note{text-align:right;margin-right:28px;color:#4f6a79;font-size:11px;margin-top:-10px}.announcement{margin-top:24px;display:flex;align-items:center;gap:20px;background:#fff8ed;border:1px solid #f1dfc5;padding:13px 20px;border-radius:10px;font-size:14px}.announcement-badge{font-size:12px;font-weight:bold;color:#825211;white-space:nowrap}.announcement a{text-decoration:underline;text-underline-offset:4px}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}.section-heading h2{margin:0}.section-heading .eyebrow{margin-bottom:7px}.section-intro{margin:0;color:var(--muted);font-size:14px;line-height:1.9}.services-section{background:white}.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.service-card{position:relative;border:1px solid var(--line);border-radius:var(--radius);padding:26px 27px;transition:transform .2s,box-shadow .2s;background:white;display:flex;flex-direction:column;min-width:0}.service-card:has(a):hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#94c4cf}.service-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.service-icon{width:48px;height:48px;border-radius:13px;background:#edf7f9;display:grid;place-items:center;color:#097c96}.service-2 .service-icon,.service-5 .service-icon{background:#fff5e4;color:#956020}.service-3 .service-icon,.service-6 .service-icon{background:#eaf6ef;color:#29764d}.service-number{font:400 12px Arial,sans-serif;color:#647d8b;letter-spacing:.08em}.service-card h3{margin:0 0 7px;font-size:18px}.service-card p{font-size:14px;color:var(--muted);margin:0 0 14px}.service-action{font-size:12px;font-weight:bold;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--blue);padding-top:14px;margin-top:auto;border-top:1px solid #ecf1f4}.service-action .icon{width:18px;height:18px}.text-link{display:inline-flex;gap:13px;align-items:center;font-size:13px;font-weight:700;color:var(--blue);padding:8px 0}.text-link .icon{width:18px;height:18px}.text-link:hover{color:var(--navy)}
.news-section{background:var(--paper);border-block:1px solid #e9eff2}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.post-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:box-shadow .2s}.post-card:hover{box-shadow:var(--shadow)}.post-image{display:block;overflow:hidden;aspect-ratio:1.7;background:#e1eef3}.post-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.post-image:hover img{transform:scale(1.035)}.post-placeholder{height:100%;position:relative;overflow:hidden;padding:25px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(140deg,#183f58,#0b283e);color:white}.post-placeholder:before,.post-placeholder:after{content:"";position:absolute;border:1px solid #ffffff17;width:270px;height:270px;border-radius:50%;right:-90px;top:-100px}.post-placeholder:after{width:200px;height:200px;right:-55px;top:-65px}.post-placeholder>span:first-child{color:var(--cyan);margin-bottom:10px}.post-placeholder strong{font:700 28px Arial,sans-serif;letter-spacing:-1px}.post-placeholder em{font-style:normal;font-weight:400;color:var(--cyan)}.placeholder-caption{font:9px Arial,sans-serif;letter-spacing:.18em;margin-top:12px}.post-card:nth-child(3n+2) .post-placeholder{background:linear-gradient(140deg,#23626a,#143f50)}.post-card:nth-child(3n+3) .post-placeholder{background:linear-gradient(140deg,#6b532e,#203d4b)}.post-card-body{padding:23px;flex:1;display:flex;flex-direction:column}.post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:11px;color:#596f7d;margin-bottom:12px}.category-label{color:#006a83;background:#eaf5f8;padding:3px 8px;border-radius:4px}.post-title{font-size:18px;margin-bottom:12px;line-height:1.65}.post-excerpt{color:var(--muted);font-size:13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.85;margin:0 0 15px}.read-more{margin-top:auto;font-size:12px}.resources-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:35px;padding-block:64px}.resource-panel{min-width:0}.compact h2{font-size:24px}.compact{margin-bottom:20px}.resource-item{display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding:19px 0}.resource-item h3{font-size:15px;line-height:1.7;margin:0 0 3px}.resource-item time{font-size:11px;color:var(--muted)}.resource-icon{width:44px;height:48px;display:grid;place-items:center;background:#edf5f8;border-radius:8px;color:var(--blue);flex-shrink:0}.resource-arrow{margin-left:auto;color:var(--blue)}.resource-arrow .icon{width:18px;height:18px}
.about-section{background:var(--navy-dark);color:#fff;position:relative;overflow:hidden}.about-grid{display:grid;grid-template-columns:.86fr 1.14fr;gap:75px;align-items:center}.about-section .eyebrow{color:#8cd6e4}.about-section h2{font-size:32px;line-height:1.65;margin-bottom:20px}.about-text{font-size:15px;line-height:2;color:#c2d3dd}.about-section .button-outline{color:white;border-color:#526d80;font-size:13px;margin-top:8px}.about-section .button-outline:hover{background:#ffffff0d}.mission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.mission-card{border-top:1px solid #446071;padding-top:23px}.mission-icon{color:var(--orange);margin-bottom:13px;display:block}.mission-card h3{font-size:17px;margin-bottom:8px}.mission-card p{font-size:13px;line-height:1.9;color:#b5cbd8;margin:0}.contact-section{background:#fff}.contact-panel{border:1px solid #dce8ee;background:linear-gradient(100deg,#f1f7fa,#f8fbfc);border-radius:22px;padding:42px 45px;display:flex;align-items:center;justify-content:space-between;gap:35px}.contact-panel h2{margin-bottom:10px;font-size:28px}.contact-panel p{color:var(--muted);font-size:14px;margin:0;max-width:720px}.contact-panel .button{white-space:nowrap}.contact-details{display:flex;gap:10px 24px;flex-wrap:wrap;margin-top:18px;font-size:13px}.contact-details a{display:flex;align-items:center;gap:8px}.contact-details p{width:100%;font-size:13px}.contact-details .icon{width:17px;height:17px}.site-footer{background:#f7f9fb;border-top:1px solid var(--line);padding-top:42px;color:var(--muted)}.footer-main{display:flex;justify-content:space-between;gap:40px;padding-bottom:34px}.footer-brand{font:700 25px/1.2 Arial,sans-serif;letter-spacing:-.5px;color:var(--navy)}.footer-brand span{font-weight:400;color:var(--blue)}.footer-main p{font-size:12px;line-height:2;margin:15px 0 0;max-width:680px}.footer-menu{display:flex;gap:12px 24px;flex-wrap:wrap;max-width:360px;font-size:12px}.footer-bottom{border-top:1px solid var(--line);padding-block:19px;display:flex;justify-content:space-between;font-size:11px;gap:15px}.footer-bottom>div{display:flex;gap:25px}
.page-banner{background:#edf5f8;padding:52px 0}.page-banner h1{font-size:clamp(30px,3vw,44px);line-height:1.6;margin:12px 0}.page-banner .post-meta{margin-bottom:0;font-size:13px}.breadcrumb{font-size:13px;color:var(--blue)}.article-shell{max-width:940px}.article-heading{max-width:1100px}.article-feature{width:100%;max-height:650px;object-fit:cover;border-radius:18px;margin-bottom:40px}.entry-content{font-size:17px;line-height:1.95}.entry-content>*{margin-block:0 1.5em}.entry-content h2,.entry-content h3{margin-top:1.6em}.entry-content a{text-decoration:underline;text-underline-offset:4px;color:#076b85}.entry-content .wp-element-button{color:inherit}.entry-content .wp-block-button__link{background:var(--navy);color:#fff;text-decoration:none;border-radius:8px}.entry-content iframe{max-width:100%}.entry-content pre{overflow-x:auto;padding:22px;background:#f0f5f7;border-radius:9px}.entry-content code{font-size:.9em}.entry-content blockquote{border-left:4px solid var(--blue);padding:14px 25px;background:var(--paper);margin-left:0;margin-right:0}.entry-content table{border-collapse:collapse;max-width:100%;width:100%}.entry-content th,.entry-content td{border:1px solid var(--line);padding:12px}.entry-content .wp-block-table{overflow-x:auto}.entry-content figure{max-width:100%}.entry-content figcaption,.wp-caption-text{color:var(--muted);font-size:13px}.aligncenter{display:block;margin-inline:auto}.alignleft{float:left;margin:0 25px 20px 0}.alignright{float:right;margin:0 0 20px 25px}.entry-content:after{content:"";clear:both;display:table}.alignwide{width:100%;max-width:100%}.wp-caption{max-width:100%}.gallery{display:flex;flex-wrap:wrap;gap:15px}.gallery-item{flex:1 1 180px;margin:0}.gallery-caption{font-size:13px}.sticky{border-color:#9bc6d1}.bypostauthor>.comment-body{border-left:3px solid var(--blue);padding-left:15px}.post-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}.post-tags a{font-size:12px;background:#eaf4f8;padding:5px 13px;border-radius:5px}.navigation{margin-top:40px}.pagination .nav-links{display:flex;flex-wrap:wrap;gap:9px;justify-content:center}.page-numbers{padding:8px 16px;border:1px solid var(--line);border-radius:7px;font-size:14px}.page-numbers.current{background:var(--navy);color:white}.post-navigation .nav-links{display:flex;gap:30px;justify-content:space-between;border-top:1px solid var(--line);padding-top:25px;font-size:14px}.post-navigation .nav-next{text-align:right}.empty-state{text-align:center;background:#f5f9fb;border:1px dashed #c2d6e1;border-radius:18px;padding:50px 24px}.empty-state>.icon{width:40px;height:40px;color:var(--blue);margin-bottom:20px}.empty-state p{color:var(--muted)}.empty-state .search-form{max-width:500px;margin:25px auto}.empty-state .button{margin-top:16px}.error-code{font:700 100px Arial,sans-serif!important;color:var(--blue)!important;letter-spacing:-5px;margin-bottom:10px}.error-page{max-width:850px;margin-inline:auto}.comments-area{border-top:1px solid var(--line);margin-top:45px;padding-top:30px}.comments-area h2{font-size:24px}.comment-list{padding-left:25px}.comment-body{padding-bottom:25px}.comment-metadata{font-size:12px}.comment-form label{display:block}.comment-form input:not([type=checkbox]),.comment-form textarea,.post-password-form input[type=password]{border:1px solid #b7cbd6;border-radius:8px;padding:11px;width:100%;max-width:100%}.comment-form input[type=submit],.post-password-form input[type=submit]{background:var(--navy);border:0;color:#fff;width:auto;padding:11px 22px;cursor:pointer;border-radius:8px}.comment-form-cookies-consent{display:flex;gap:10px;align-items:flex-start;font-size:13px}.comment-form-cookies-consent input{margin-top:7px}.comment-reply-link{font-size:12px;color:var(--blue)}
@media(min-width:1081px){.primary-menu>li:last-child>.sub-menu{left:auto;right:0}.primary-menu>li:last-child .sub-menu .sub-menu{left:auto;right:100%}}
@media(max-width:1080px){.header-inner{gap:16px;flex-wrap:wrap;padding-block:15px;min-height:80px}.brand{margin-right:auto}.menu-toggle{display:none;align-items:center;gap:7px;background:white;border:1px solid var(--line);border-radius:8px;padding:8px 12px;font-size:13px}.js .menu-toggle{display:flex}.primary-navigation{order:4;flex-basis:100%;margin:0;border-top:1px solid var(--line);padding-top:10px}.js .primary-navigation{display:none}.js .primary-navigation.is-open{display:block;max-height:70vh;overflow-y:auto}.primary-menu{display:block}.primary-menu>li{display:block}.primary-menu a{padding:11px 7px;font-size:14px;white-space:normal}.primary-menu .current-menu-item>a{box-shadow:none;color:var(--blue)}.submenu-toggle{position:absolute;right:0;top:1px;min-width:44px}.sub-menu{position:static;box-shadow:none;border:0;border-left:2px solid var(--line);margin-left:15px;padding:0 0 0 12px}.primary-menu .sub-menu{display:block}.js .primary-menu .sub-menu{display:none}.js .primary-menu .submenu-open>.sub-menu{display:block}.sub-menu .sub-menu{position:static}.primary-menu .menu-item-has-children>a{padding-right:44px}.hero-grid{min-height:510px;gap:15px}.hero h1{font-size:37px}.hero-description{font-size:14px}.visual-label{padding:11px}.visual-label strong{font-size:11px}.visual-label span{font-size:10px}.about-grid{gap:40px}.about-section h2{font-size:28px}.post-grid{gap:18px}.post-card-body{padding:18px}.contact-panel{padding:32px}.section{padding-block:60px}}
@media(max-width:782px){.admin-bar .site-header{top:46px}.container{width:calc(100% - 40px)}.topbar-inner{font-size:10px}.topbar a{display:none}.header-inner{min-height:78px}.brand-copy strong{font-size:22px}.brand-copy>span{font-size:10px}.hero-grid{grid-template-columns:1fr;padding-block:43px 25px;gap:20px}.hero-copy{max-width:600px}.hero h1{font-size:40px;line-height:1.5;margin:16px 0}.hero-description{font-size:15px;max-width:600px}.hero-visual{width:min(100%,490px);margin:5px auto 0}.hero-signature{margin-top:25px}.hero:before{right:-500px;top:0}.visual-label{padding:12px 16px}.visual-label strong{font-size:12px}.visual-label span{font-size:11px}.label-security{left:0}.section{padding-block:48px}.section-heading{gap:16px;align-items:flex-start}.section-intro{font-size:12px;max-width:210px}.services-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.service-card{padding:22px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.post-title{font-size:17px}.about-grid{grid-template-columns:1fr;gap:30px}.about-section h2{max-width:550px}.about-text{max-width:650px}.mission-grid{gap:25px}.contact-panel{display:block}.contact-panel .button{margin-top:22px}.footer-main{flex-direction:column;gap:25px}.footer-bottom{flex-wrap:wrap}.resources-grid{padding-block:45px;gap:35px}.entry-content{font-size:16px}.page-banner{padding-block:35px}.announcement{flex-wrap:wrap;gap:8px;font-size:13px}}
@media(max-width:480px){.container{width:calc(100% - 32px)}.topbar-inner{font-size:9px;min-height:32px}.brand-mark{width:40px;height:40px;border-radius:10px}.brand-mark .icon{width:26px;height:26px}.brand{gap:9px}.brand-copy strong{font-size:20px}.brand-copy>span{font-size:9px}.header-inner{gap:10px}.menu-toggle{padding:8px;font-size:12px}.menu-toggle .icon{width:18px;height:18px}.header-search>summary{width:38px;height:38px}.search-popover{width:min(320px,calc(100vw - 32px));right:0}.hero-grid{padding-top:32px}.hero h1{font-size:32px}.hero-description{font-size:14px}.hero .eyebrow{font-size:10px}.button{font-size:12px;padding:12px 15px;gap:12px;min-height:46px}.button-row{gap:9px}.hero-signature{font-size:9px}.visual-label{padding:9px 11px;border-radius:9px;gap:8px}.visual-label>.icon{width:25px;height:25px}.visual-label strong{font-size:10px}.visual-label span{font-size:9px}.visual-note{font-size:10px}.section-heading{flex-wrap:wrap;margin-bottom:24px}.section-heading h2{font-size:26px}.section-intro{max-width:none}.section-intro br{display:none}.services-grid{gap:12px}.service-card{padding:17px 14px}.service-card h3{font-size:15px}.service-card p{font-size:12px}.service-top{margin-bottom:17px}.service-icon{width:40px;height:40px}.service-icon .icon{width:22px;height:22px}.service-action{font-size:11px}.service-number{font-size:10px}.post-grid{grid-template-columns:1fr}.post-card-body{padding:21px}.post-title{font-size:18px}.post-meta{font-size:11px}.mission-grid{grid-template-columns:1fr;gap:20px}.mission-card{padding-top:20px}.mission-card h3{font-size:17px}.about-section h2{font-size:27px}.contact-panel{padding:26px 23px;border-radius:16px}.contact-panel h2{font-size:24px}.contact-panel p{font-size:13px}.footer-main p{font-size:11px}.footer-bottom{font-size:10px}.compact h2{font-size:23px}.resource-item{gap:12px}.resource-item h3{font-size:14px}.resource-arrow{display:none}.page-banner h1{font-size:28px}.article-feature{border-radius:12px}.alignleft,.alignright{float:none;margin:0 auto 20px}.entry-content ul,.entry-content ol{padding-left:23px}}
@media(max-width:600px){.admin-bar .site-header{top:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{.topbar,.site-header,.site-footer,.hero-visual,.menu-toggle,.header-search,.comments-area,.post-navigation{display:none!important}body{color:#000;background:white;font-size:12pt}.container{width:100%;max-width:none}.section,.page-banner{padding:10px 0}.hero,.about-section,.contact-panel{background:white;color:black}.hero-grid,.about-grid{display:block}.button{border:1px solid #555;color:#000;background:white}.post-grid{grid-template-columns:repeat(2,1fr)}a{color:#000}.post-card,.mission-card{break-inside:avoid}}

/* DLICT News: preserve all text in portrait press posters. */
.post-card.dln-news .post-image,.post-card.dlict-poster-news .post-image{aspect-ratio:1/1.414;background:#eef4f7}
.post-card.dln-news .post-image img,.post-card.dlict-poster-news .post-image img{object-fit:contain}
.post-card.dln-news .post-image:hover img,.post-card.dlict-poster-news .post-image:hover img{transform:none}
.dlict-poster-news .article-feature{max-height:none;object-fit:contain}

/* DLICT Personnel: use the plugin's responsive cards and preserve full portraits. */
.personnel-section{background:var(--paper);border-bottom:1px solid var(--line)}
.personnel-section .section-intro{max-width:480px}
.personnel-section .dlp-directory{margin-block:0}
.personnel-section .dlp-card{box-shadow:var(--shadow)}
.services-all{margin:24px 0 0;text-align:right}
