/* SPFEO Website - Design System
   Primary: deep blue #1B3A8B
   Accent orange: #E87722
   Accent green: #8DC641
   Light bg: #F5F7FA
*/
:root{
  --primary:#1B3A8B;
  --primary-dark:#152d6c;
  --orange:#E87722;
  --green:#8DC641;
  --bg:#F5F7FA;
  --text:#1a1a1a;
  --muted:#5b6470;
  --border:#e3e7ed;
  --white:#fff;
  --radius:6px;
  --shadow:0 4px 18px rgba(20,40,90,.08);
  --container:1280px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Helvetica Neue","Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--primary);text-decoration:none}
a:hover{color:var(--orange)}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}
.topbar .container::before,.topbar .container::after,
.header .container::before,.header .container::after,
.mainnav .container::before,.mainnav .container::after,
.page-grid::before,.page-grid::after,
.footer-top::before,.footer-top::after,
.footer-bottom .container::before,.footer-bottom .container::after{
  content:none;display:none;
}

/* ---------- Top utility bar ---------- */
.topbar{
  background:var(--primary);
  color:#dfe6f5;
  font-size:13px;
  padding:8px 0;
}
.topbar .container{display:flex;justify-content:flex-end;gap:18px;align-items:center}
.topbar a{color:#dfe6f5}
.topbar a:hover{color:var(--orange)}
.topbar .lang a.active{color:#fff;font-weight:700}
.topbar .lang span{margin:0 6px;opacity:.5}
.topbar .search{cursor:pointer;font-size:14px}

/* ---------- Header ---------- */
.header{background:var(--white);border-bottom:1px solid var(--border)}
.header .container{display:flex;align-items:center;justify-content:space-between;padding-top:18px;padding-bottom:18px;gap:24px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:18px}
.brand img{height:54px;width:auto}
.brand-divider{width:1px;height:46px;background:var(--border)}
.brand-text{font-size:13px;color:var(--muted);line-height:1.3}
.brand-text strong{display:block;color:var(--primary);font-size:15px}

.audience{display:flex;gap:14px;align-items:center}
.audience a{
  display:inline-flex;align-items:center;gap:8px;
  font-weight:600;color:var(--primary);
  padding:8px 14px;border-radius:var(--radius);
  transition:background .2s;
}
.audience a:hover{background:var(--bg)}
.audience .ico{
  width:28px;height:28px;border-radius:50%;
  background:var(--bg);color:var(--orange);
  display:inline-flex;align-items:center;justify-content:center;
  font-size:14px;
}

/* ---------- Main nav ---------- */
.mainnav{background:var(--white);border-bottom:1px solid var(--border)}
.mainnav ul{
  list-style:none;display:flex;justify-content:space-between;
  max-width:var(--container);margin:0 auto;padding:0 24px;
}
.mainnav li{position:relative}
.mainnav a{
  display:block;padding:18px 8px;font-weight:600;color:var(--text);
  border-bottom:3px solid transparent;
}
.mainnav a:hover,.mainnav a.active{color:var(--primary);border-color:var(--orange)}
.mainnav .caret{font-size:10px;margin-left:4px;color:var(--muted)}

/* ---------- Hero ---------- */
.hero{position:relative;background:var(--primary);overflow:hidden}
.hero-inner{display:grid;grid-template-columns:340px 1fr;min-height:420px}
.hero-caption{
  background:linear-gradient(180deg,var(--primary) 0%,#13306f 100%);
  color:#fff;padding:60px 36px;display:flex;flex-direction:column;justify-content:center;
}
.hero-caption h1{font-size:32px;line-height:1.35;font-weight:700}
.hero-dots{margin-top:32px;display:flex;gap:10px}
.hero-dots span{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.4)}
.hero-dots span.active{background:var(--orange);width:26px;border-radius:8px}
.hero-image{background-size:cover;background-position:center}
.hero-bottom{height:14px;background:var(--green)}
.hero-arrow{
  position:absolute;left:18px;top:50%;transform:translateY(-50%);
  width:36px;height:36px;border-radius:50%;background:rgba(0,0,0,.35);
  color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;
  font-size:18px;
}
.spfeo-hero-slider .swiper-slide{height:auto}
.spfeo-hero-slider .hero-dots{
  position:absolute!important;
  z-index:5;
  left:36px!important;
  right:auto!important;
  top:308px!important;
  bottom:auto!important;
  margin-top:0;
  width:auto!important;
}
.spfeo-hero-slider .hero-dots.swiper-pagination{
  display:flex;
  gap:10px;
  text-align:left;
}
.spfeo-hero-slider .hero-dots .swiper-pagination-bullet{
  width:10px;
  height:10px;
  margin:0!important;
  border-radius:50%;
  background:rgba(255,255,255,.4);
  opacity:1;
}
.spfeo-hero-slider .hero-dots .swiper-pagination-bullet-active{
  width:26px;
  border-radius:8px;
  background:var(--orange);
}
.spfeo-hero-slider .spfeo-hero-next{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  border:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
}
.spfeo-hero-slider .hero-arrow{
  border:0;
  padding:0;
  z-index:6;
}

/* ---------- Cards row ---------- */
.feature-cards{padding:70px 0;background:var(--white)}
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.fcard{position:relative;border-radius:8px;overflow:hidden;box-shadow:var(--shadow);background:#fff;transition:transform .25s}
.fcard:hover{transform:translateY(-4px)}
.fcard img{width:100%;height:300px;object-fit:cover}
.fcard .label{
  position:absolute;left:18px;right:18px;bottom:18px;
  background:#fff;padding:14px 18px;border-radius:4px;
  font-weight:700;color:var(--primary);letter-spacing:.5px;font-size:14px;
  text-transform:uppercase;box-shadow:0 6px 18px rgba(0,0,0,.12);
  display:flex;align-items:center;justify-content:center;min-height:44px;
  line-height:1.25;text-align:center;white-space:normal;overflow-wrap:anywhere;
}

/* ---------- Video band ---------- */
.video-band{
  background:var(--primary);padding:80px 0;position:relative;
}
.video-band::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 20% 30%,rgba(255,255,255,.06),transparent 40%);
}
.video-frame{
  position:relative;max-width:1100px;margin:0 auto;
  background:url('../img/video-bg.jpg') center/cover;
  aspect-ratio:16/7;border-radius:8px;display:flex;align-items:center;justify-content:center;
  cursor:pointer;
}
.spfeo-video-trigger{color:inherit;text-decoration:none}
.video-frame:focus-visible,
.video-placeholder:focus-visible{outline:3px solid var(--orange);outline-offset:4px}
.play-btn{
  width:84px;height:84px;border-radius:50%;background:rgba(255,255,255,.9);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 30px rgba(0,0,0,.25);transition:transform .2s;
}
.play-btn:hover{transform:scale(1.08)}
.play-btn::after{
  content:"";display:block;width:0;height:0;
  border-left:24px solid var(--primary);
  border-top:14px solid transparent;border-bottom:14px solid transparent;
  margin-left:6px;
}
.video-caption{text-align:center;color:#fff;margin-top:18px;font-weight:600;letter-spacing:1px}

/* ---------- News section ---------- */
.news-section{padding:70px 0;background:var(--white)}
.section-title{text-align:center;font-size:28px;letter-spacing:3px;color:var(--primary);font-weight:700;margin-bottom:40px}
.news-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.spfeo-news-carousel{position:relative}
.news-carousel-viewport{overflow:hidden}
.spfeo-news-carousel .news-grid{
  display:flex;
  grid-template-columns:none;
  gap:22px;
  transition:transform .35s ease;
  will-change:transform;
}
.spfeo-news-carousel.is-resetting .news-grid{transition:none}
.news-card{background:var(--bg);border-radius:6px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s}
.spfeo-news-carousel .news-card{
  flex:0 0 calc((100% - 66px) / 4);
  min-width:0;
}
.news-card:hover{box-shadow:var(--shadow)}
.news-card img{width:100%;height:280px;object-fit:cover;background:#fff}
.news-card.green-strip{background:#eef7e3}
.news-card .body{padding:18px 18px 22px}
.news-card h3{font-size:15px;font-weight:600;color:var(--text);line-height:1.4}
.carousel-controls{display:flex;justify-content:center;gap:14px;margin-top:32px;align-items:center}
.cbtn{
  width:42px;height:42px;border:none;border-radius:4px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;font-size:16px;
}
.cbtn.prev{background:var(--primary);color:#fff}
.cbtn.next{background:var(--green);color:#fff}
.cdots{display:flex;gap:8px}
.cdots span,
.cdots button{width:8px;height:8px;border:0;border-radius:50%;background:#cfd6e0;padding:0;cursor:pointer}
.cdots span.active,
.cdots button.active{background:var(--primary)}
.cbtn:focus-visible,
.cdots button:focus-visible{outline:2px solid var(--orange);outline-offset:3px}

/* ---------- Footer ---------- */
.footer{background:var(--primary);color:#dfe6f5;padding:50px 0 0}
.footer-top{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:30px;padding-bottom:40px}
.footer-brand{display:flex;align-items:center;gap:20px}
.footer-brand img{height:50px;background:#fff;padding:6px;border-radius:4px}
.footer-brand .ft{font-size:13px;line-height:1.4}
.footer-brand strong{display:block;color:#fff;font-size:14px}
.footer-links{display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:flex-end;max-width:560px}
.footer-links a{color:#dfe6f5;font-size:14px;font-weight:500}
.footer-links a:hover{color:var(--orange)}
.footer-bottom{
  background:var(--green);color:#fff;padding:14px 0;font-size:13px;
}
.footer-bottom .container{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
.footer-bottom a{color:#fff;margin-left:14px}

/* ---------- Inner page layout ---------- */
.breadcrumb{background:var(--bg);padding:14px 0;font-size:14px;color:var(--muted)}
.breadcrumb a{color:var(--muted)}
.breadcrumb .current{color:var(--primary);font-weight:600}
.page{padding:40px 0 70px;background:#fff}
.page-grid{display:grid;grid-template-columns:260px 1fr;gap:40px}
.page-grid>*{min-width:0}

.sidebar{background:#fff;border:1px solid var(--border);border-radius:6px;overflow:hidden;align-self:flex-start}
.sidebar a{
  display:flex;align-items:center;gap:10px;padding:14px 18px;
  color:var(--text);border-bottom:1px solid var(--border);font-weight:500;
  border-left:4px solid transparent;
}
.sidebar a:last-child{border-bottom:none}
.sidebar a.active{background:var(--primary);color:#fff;border-left-color:var(--orange)}
.sidebar a:hover:not(.active){background:var(--bg)}
.sidebar .ico{width:20px;text-align:center;color:var(--orange)}
.sidebar a.active .ico{color:#fff}
.sidebar .sub{padding-left:50px;font-size:14px;color:var(--muted)}
.sidebar .caret{margin-left:auto;font-size:10px;color:var(--muted)}

.content h2{font-size:22px;color:var(--text);margin-bottom:24px;font-weight:700}
.content p{margin-bottom:16px;color:#2a2a2a}
.content,.sidebar{overflow-wrap:anywhere}
.video-placeholder{
  background:#000 url('../img/video-bg.jpg') center/cover;
  aspect-ratio:16/9;border-radius:6px;position:relative;display:flex;align-items:center;justify-content:center;margin-bottom:24px;
}
.video-placeholder .play-btn{width:72px;height:72px;background:rgba(255,0,0,.85)}
.video-placeholder .play-btn::after{border-left-color:#fff}
.placeholder-panel{
  border:1px solid var(--border);border-radius:6px;background:var(--bg);
  padding:32px;max-width:760px;
}
.placeholder-panel h2{margin-bottom:14px}
.placeholder-panel p{color:var(--muted);margin-bottom:0}

.spfeo-video-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px}
.spfeo-video-modal-open{overflow:hidden}
.spfeo-video-modal[hidden]{display:none}
.spfeo-video-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72)}
.spfeo-video-modal-dialog{
  position:relative;z-index:1;width:min(960px,100%);background:#000;border-radius:8px;
  box-shadow:0 18px 60px rgba(0,0,0,.35);overflow:hidden;
}
.spfeo-video-modal-close{
  position:absolute;right:10px;top:10px;z-index:2;width:38px;height:38px;border:0;border-radius:50%;
  background:rgba(255,255,255,.94);color:var(--primary);font-size:24px;line-height:1;cursor:pointer;
}
.spfeo-video-modal-close:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.spfeo-video-modal-frame{aspect-ratio:16/9;background:#000}
.spfeo-video-modal-frame iframe,
.spfeo-video-modal-frame video{width:100%;height:100%;display:block;border:0;background:#000}

.role-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--border);border-radius:6px;overflow:hidden;margin:24px 0}
.role-grid .cell{padding:24px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);font-size:14px;color:var(--muted);line-height:1.6}
.role-grid .cell:nth-child(3n){border-right:none}
.role-grid .ico{
  width:44px;height:44px;border-radius:50%;background:var(--bg);
  display:flex;align-items:center;justify-content:center;color:var(--orange);
  margin-bottom:14px;font-size:18px;
}

.fe-section{background:var(--bg);padding:32px;border-radius:6px;margin-top:30px}
.fe-section h3{margin-bottom:20px;font-size:16px}
.fe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.fe-card{background:#fff;padding:20px;border-radius:6px}
.fe-card .ico{color:var(--orange);font-size:22px;margin-bottom:12px}
.fe-card p{font-size:13.5px;color:var(--muted);margin:0}

/* ---------- News list page ---------- */
.year-select{
  display:inline-flex;align-items:center;gap:10px;
  padding:12px 18px;border:1px solid var(--border);border-radius:4px;
  font-weight:600;background:#fff;float:right;
}
.news-list{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;clear:both;padding-top:20px}
.news-item{
  background:var(--bg);padding:28px;border-bottom:4px solid var(--primary);
  position:relative;transition:.2s;
}
.news-item.active{background:var(--primary);color:#fff;border-bottom-color:var(--orange)}
.news-item.active .date,.news-item.active h3,.news-item.active p{color:#fff}
.news-item .day{font-size:46px;font-weight:700;color:var(--primary);line-height:1}
.news-item .ym{font-size:13px;color:var(--muted);margin-bottom:18px}
.news-item h3{font-size:17px;margin-bottom:10px;color:var(--text)}
.news-item p{font-size:13.5px;color:var(--muted);line-height:1.6}
.news-item .arrow{position:absolute;top:28px;right:28px;color:var(--orange);font-size:18px}

/* ---------- Photo gallery ---------- */
.gallery-list{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;clear:both;padding-top:20px}
.gallery-card{display:flex;background:var(--bg);border-radius:6px;overflow:hidden;transition:.2s}
.gallery-card:hover{box-shadow:var(--shadow)}
.gallery-card.active{background:var(--primary);color:#fff}
.gallery-card img{width:46%;object-fit:cover;height:170px}
.gallery-card .body{padding:20px;flex:1;display:flex;flex-direction:column;justify-content:space-between}
.gallery-card h3{font-size:15px;font-weight:600;line-height:1.5}
.gallery-card .meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin-top:14px}
.gallery-card.active .meta{color:#cfd9f0}
.gallery-card .arrow{color:var(--orange)}

/* photo detail grid */
.btn{
  display:inline-flex;align-items:center;gap:8px;padding:10px 18px;
  background:#fff;border:1px solid var(--border);border-radius:4px;cursor:pointer;
  font-weight:600;color:var(--text);
}
.btn:hover{background:var(--bg)}
.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;clear:both;padding-top:24px}
.photo-grid .thumb{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:4px;cursor:pointer}
.photo-grid .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.photo-grid .thumb:hover img{transform:scale(1.05)}
.photo-grid .thumb .zoom{
  position:absolute;right:14px;bottom:14px;width:36px;height:36px;border-radius:50%;
  background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;
  opacity:0;transition:opacity .2s;
}
.photo-grid .thumb:hover .zoom{opacity:1}

/* video gallery */
.video-list{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;clear:both;padding-top:20px}
.vcard{background:#fff;border-radius:6px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.04);border-bottom:3px solid transparent}
.vcard:hover{border-color:var(--green)}
.vcard .thumb{position:relative;aspect-ratio:16/10;background:#222 center/cover}
.vcard .thumb::after{
  content:"";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'><path d='M66.5 7.7c-.8-2.9-3.1-5.2-6-6C55.3.5 34 .5 34 .5S12.7.5 7.5 1.7c-2.9.8-5.2 3.1-6 6C.3 12.9.3 24 .3 24s0 11.1 1.2 16.3c.8 2.9 3.1 5.2 6 6 5.2 1.2 26.5 1.2 26.5 1.2s21.3 0 26.5-1.2c2.9-.8 5.2-3.1 6-6 1.2-5.2 1.2-16.3 1.2-16.3s0-11.1-1.2-16.3z' fill='%23ff0000'/><path d='M27 34l18-10-18-10z' fill='%23fff'/></svg>") center/68px no-repeat;
}
.vcard .body{padding:18px}
.vcard h3{font-size:15px;font-weight:600;margin-bottom:12px;color:var(--text)}
.vcard .meta{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}
.vcard .arrow{color:var(--orange)}

/* contact */
.contact-block{background:#fff;border:1px solid var(--border);border-radius:6px;overflow:hidden;margin-bottom:30px}
.contact-block header{background:#eaf0fb;padding:16px 22px;color:var(--primary);font-weight:700;display:flex;align-items:center;gap:10px}
.contact-block .grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:28px}
.cinfo{display:flex;gap:14px;margin-bottom:22px}
.cinfo .ico{
  width:38px;height:38px;border-radius:50%;background:var(--bg);
  display:flex;align-items:center;justify-content:center;color:var(--orange);flex-shrink:0;
}
.cinfo h4{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:1px;margin-bottom:4px;font-weight:700}
.cinfo p{margin:0;font-size:14px;color:var(--text)}
.map-wrap{position:relative;padding:20px}
.map-wrap img{border-radius:4px}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .news-grid,.news-list,.video-list,.photo-grid{grid-template-columns:repeat(2,1fr)}
  .spfeo-news-carousel .news-card{flex-basis:calc((100% - 22px) / 2)}
  .cards-grid{grid-template-columns:1fr 1fr}
  .role-grid,.fe-grid{grid-template-columns:1fr 1fr}
  .role-grid .cell:nth-child(3n){border-right:1px solid var(--border)}
  .role-grid .cell:nth-child(2n){border-right:none}
}
@media (max-width:768px){
  .header .container{flex-direction:column;align-items:flex-start}
  .mainnav ul{flex-wrap:wrap;justify-content:flex-start;gap:4px}
  .mainnav a{padding:12px 10px;font-size:14px}
  .hero-inner{grid-template-columns:1fr}
  .hero-image{min-height:240px}
  .spfeo-hero-slider .hero-dots{left:36px!important;top:222px!important;bottom:auto!important}
  .cards-grid,.news-grid,.news-list,.gallery-list,.photo-grid,.video-list{grid-template-columns:1fr}
  .spfeo-news-carousel .news-card{flex-basis:100%}
  .role-grid,.fe-grid{grid-template-columns:1fr}
  .role-grid .cell{border-right:none!important}
  .page-grid{grid-template-columns:1fr}
  .contact-block .grid{grid-template-columns:1fr;gap:0}
  .footer-links{justify-content:flex-start}
  .audience{flex-wrap:wrap}
  .gallery-card{flex-direction:column}
  .gallery-card img{width:100%;height:180px}
}

/* ---------- Microweber module integration ---------- */
.brand,.footer-brand{color:inherit}
.mainnav .spfeo-main-menu{list-style:none;display:flex;justify-content:space-between;max-width:var(--container);margin:0 auto;padding:0 24px}
.mainnav .spfeo-main-item{position:relative}
.mainnav .spfeo-sub-menu{list-style:none;display:none;position:absolute;z-index:20;top:100%;left:0;min-width:220px;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);padding:6px 0}
.mainnav .has-submenu:hover>.spfeo-sub-menu{display:block}
.mainnav .spfeo-sub-menu a{padding:10px 16px;border-bottom:0;white-space:nowrap}
.mainnav .has-submenu>a::after{content:"\25BE";font-size:10px;margin-left:4px;color:var(--muted)}
.audience .audience-items{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.audience .audience-item{display:inline-flex}
.footer-links .spfeo-footer-menu{list-style:none;display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:flex-end;margin:0;padding:0}
.footer-links .spfeo-footer-item{display:inline-flex}
.sidebar .spfeo-sidebar-items,.sidebar .spfeo-sidebar-subitems{display:block;margin:0;padding:0}
.sidebar .spfeo-sidebar-item,.sidebar .spfeo-sidebar-subitem{display:block}
.sidebar .spfeo-sidebar-subitems a{padding-left:50px;font-size:14px;color:var(--muted)}
.sidebar .spfeo-sidebar-subitems a.active{color:#fff}
.news-card a{color:inherit}
.news-item{display:block;color:inherit}
.news-item:hover{color:inherit;box-shadow:var(--shadow)}
.gallery-card{color:inherit}
.vcard{display:block;color:inherit}
.fe-card-star{background:linear-gradient(135deg,#fff,#f3f7ff);display:flex;align-items:center;justify-content:center;font-size:48px;color:var(--orange)}
.detail-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}
.detail-year{float:none}
.detail-title{margin-bottom:24px}
.post-hero-image{width:100%;border-radius:6px;margin-bottom:24px}
.post-detail .description{font-size:16px;color:var(--text)}
.photo-grid .thumb{border:0;padding:0;background:transparent;text-align:inherit}

@media (max-width:768px){
  .mainnav .spfeo-main-menu{flex-wrap:wrap;justify-content:flex-start;gap:4px}
  .mainnav .spfeo-sub-menu{position:static;display:block;border:0;box-shadow:none;padding:0 0 0 16px}
  .footer-links .spfeo-footer-menu{justify-content:flex-start}
  .detail-toolbar{align-items:flex-start;flex-direction:column}
}

/* ---------- Runtime alignment for Microweber/Bootstrap ---------- */
body.spfeo-template{
  font-size:16px;
  line-height:1.55;
  font-family:"Helvetica Neue","Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
  color:var(--text);
}
.spfeo-template .container{
  width:auto;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}
.spfeo-template .header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 24px;
  gap:24px;
  flex-wrap:wrap;
}
.spfeo-template .footer-top{
  padding-bottom:40px;
}
.spfeo-template a{text-decoration:none}
.spfeo-template .audience a{
  font-size:16px;
  line-height:1.55;
  font-weight:600;
}
.spfeo-template .mainnav,
.spfeo-template .mainnav ul,
.spfeo-template .mainnav li{
  font-size:16px;
  line-height:1.55;
}
.spfeo-template .mainnav ul{
  list-style:none;
  display:flex;
  justify-content:space-between;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}
.spfeo-template .mainnav li{position:relative}
.spfeo-template .mainnav a{
  display:block;
  padding:18px 8px;
  font-size:16px;
  line-height:1.55;
  font-weight:600;
  color:var(--text);
  border-bottom:3px solid transparent;
}
.spfeo-template .mainnav a:hover,
.spfeo-template .mainnav a.active{
  color:var(--primary);
  border-color:var(--orange);
}
.spfeo-template .mainnav .caret{
  display:inline;
  width:auto;
  height:auto;
  border:0;
  font-size:10px;
  line-height:1.55;
  margin-left:4px;
  color:var(--muted);
  vertical-align:baseline;
}
.spfeo-template .sidebar .caret{
  display:inline;
  width:auto;
  height:auto;
  border:0;
  vertical-align:baseline;
}
.spfeo-template .breadcrumb{
  margin:0;
  border-radius:0;
  background:var(--bg);
  padding:14px 0;
  font-size:14px;
  line-height:1.55;
}
.spfeo-template .hero-caption h1{
  margin:0;
  font-size:32px;
  line-height:1.35;
  font-weight:700;
}
.spfeo-template .section-title{
  margin:0 0 40px;
  font-size:28px;
  line-height:1.55;
  font-weight:700;
}
.spfeo-template .news-card h3{
  margin:0;
  font-size:15px;
  line-height:1.4;
  font-weight:600;
}
.spfeo-template .content h2{
  margin:0 0 24px;
  font-size:22px;
  line-height:1.55;
  font-weight:700;
}
.spfeo-template .content p{
  margin:0 0 16px;
  font-size:16px;
  line-height:1.55;
}
.spfeo-template .role-grid .cell{
  font-size:14px;
  line-height:1.6;
}
.spfeo-template .fe-section h3{
  margin:0 0 20px;
  font-size:16px;
  line-height:1.55;
  font-weight:700;
}
.spfeo-template .fe-card p{
  margin:0;
  font-size:13.5px;
  line-height:1.55;
}
.spfeo-template .year-select{
  font-size:16px;
  line-height:1.55;
}
.spfeo-template .news-item{
  font-size:16px;
  line-height:1.55;
}
.spfeo-template .news-item .day{
  margin:0;
  font-size:46px;
  line-height:1;
  font-weight:700;
}
.spfeo-template .news-item .ym{
  margin:0 0 18px;
  font-size:13px;
  line-height:1.55;
}
.spfeo-template .news-item h3{
  margin:0 0 10px;
  font-size:17px;
  line-height:1.55;
  font-weight:700;
}
.spfeo-template .news-item p{
  margin:0 0 16px;
  font-size:13.5px;
  line-height:1.6;
}
.spfeo-template .gallery-card h3{
  margin:0;
  font-size:15px;
  line-height:1.5;
  font-weight:600;
}
.spfeo-template .gallery-card .meta,
.spfeo-template .vcard .meta{
  line-height:1.55;
}
.spfeo-template .btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 18px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:4px;
  font-size:16px;
  line-height:1.55;
  font-weight:600;
  color:var(--text);
}
.spfeo-template .vcard h3{
  margin:0 0 12px;
  font-size:15px;
  line-height:1.55;
  font-weight:600;
}
.spfeo-template .contact-block header{
  font-size:16px;
  line-height:1.55;
}
.spfeo-template .cinfo h4{
  margin:0 0 4px;
  font-size:13px;
  line-height:1.55;
  font-weight:700;
}
.spfeo-template .cinfo p{
  margin:0;
  font-size:14px;
  line-height:1.55;
}

@media (max-width:768px){
  .spfeo-template .mainnav ul{
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:4px;
  }
  .spfeo-template .mainnav a{
    padding:12px 10px;
    font-size:14px;
    line-height:1.55;
  }
}
