/* CMS Paroki - Frontend | Be Vietnam Pro | body 17px/1.75 seperti parokirembang.or.id */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&display=swap');

:root{
  --oss-red-600:#8b1c13;
  --oss-red-500:#9d1f15;
  --oss-red-700:#791811;
  --oss-blue-500:#00479b;
  --oss-blue-600:#003d85;
  --oss-gray-50:#f9fafb;
  --oss-gray-100:#f4f5f5;
  --oss-gray-200:#dfe0e2;
  --oss-gray-300:#cacccf;
  --oss-black:#212121;
  --radius-xl:12px;
  --radius-2xl:16px;
  --shadow-sm:0 1px 3px rgba(0,0,0,.08);
  --shadow-md:0 4px 12px rgba(0,0,0,.08);
  --container-max:1920px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.frontend{
  font-family:'Be Vietnam Pro',Helvetica,Arial,sans-serif;
  font-size:17px;
  line-height:1.75;
  color:#212121;
  background:#f4f5f5; /* OSS bg-oss-gray-100 */
  margin:0;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--oss-blue-500);text-decoration:none}
a:hover{color:var(--oss-blue-600);text-decoration:underline}
img{max-width:100%}

/* Container mirroring OSS persis: max-w-[1920px] mx-auto px-4 sm:px-10 md:px-16 lg:px-24 xl:px-32 3xl:px-36 4xl:px-40 */
.fe-container{
  max-width:var(--container-max);
  margin:0 auto;
  padding-left:16px;
  padding-right:16px;
}
@media(min-width:640px){ .fe-container{padding-left:40px;padding-right:40px} }
@media(min-width:768px){ .fe-container{padding-left:64px;padding-right:64px} }
@media(min-width:1024px){ .fe-container{padding-left:96px;padding-right:96px} }
@media(min-width:1280px){ .fe-container{padding-left:128px;padding-right:128px} }
@media(min-width:1920px){ .fe-container{padding-left:144px;padding-right:144px} }
@media(min-width:2560px){ .fe-container{padding-left:160px;padding-right:160px} }

/* Header OSS style: white, sticky, shadow */
.fe-header{
  background:#fff;
  border-bottom:1px solid #e5e7eb;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
}
.fe-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:72px;
  padding-top:8px;
  padding-bottom:8px;
  gap:16px;
}
@media(min-width:768px){ .fe-header-inner{min-height:88px; padding-top:10px; padding-bottom:10px} }

.fe-brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--oss-black);
  min-width:0;
}
.fe-brand:hover{ text-decoration:none; color:var(--oss-black)}
.fe-brand-logos{
  display:flex;
  flex-direction:row;
  align-items:center;
  flex-wrap:nowrap;
  gap:10px;
  flex-shrink:0;
  min-width:0;
}
.fe-brand-logo.fe-logo-diocese{
  padding-right:10px;
  border-right:1px solid #e5e7eb;
  flex-shrink:0;
}
.fe-brand-logos .fe-brand-logo:only-child{ border-right:none; padding-right:0; }
/* Dua logo berdampingan: batasi lebar tiap logo agar tidak overflow / tumpuk */
.fe-brand-logos--dual .fe-brand-logo{ max-width:130px; }
@media(min-width:768px){ .fe-brand-logos--dual .fe-brand-logo{ max-width:180px; } }
.fe-brand-logo{
  height:56px;
  width:auto;
  max-width:260px;
  object-fit:contain;
  display:block;
  flex-shrink:0;
}
.fe-logo-medium{ height:60px; }
@media(min-width:768px){ .fe-brand-logo{height:64px} .fe-logo-medium{height:68px} }
.fe-logo-placeholder{
  width:56px;height:56px;border-radius:12px;background:#8b1c13;color:#fff;
  display:inline-flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;
}
@media(min-width:768px){ .fe-logo-placeholder{width:64px;height:64px;font-size:22px} }
.fe-brand-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  line-height:1.25;
}
.fe-brand-title{
  font-size:17px;
  font-weight:800;
  color:#111827;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:46vw;
}
.fe-brand-sub{
  font-size:12px;
  font-weight:500;
  color:#6b7280;
  letter-spacing:.02em;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:46vw;
}
.fe-brand-text h1{
  font-size:16px;
  font-weight:700;
  line-height:1.2;
  margin:0;
  color:#111827;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:260px;
}
.fe-brand-text p{
  font-size:12px;
  font-weight:500;
  color:#6b7280;
  margin:0;
  letter-spacing:.02em;
  text-transform:uppercase;
}
@media(min-width:768px){
  .fe-brand-text h1{font-size:18px}
  .fe-brand-text p{font-size:13px}
  .fe-brand-title{font-size:19px; max-width:340px}
  .fe-brand-sub{font-size:13px; max-width:340px}
}
@media(max-width:480px){
  .fe-brand{ gap:8px; }
  .fe-brand-logo{ max-width:160px; }
  .fe-brand-title{ font-size:15px; max-width:44vw; }
  .fe-brand-sub{ font-size:11px; max-width:44vw; }
}

/* Nav */
.fe-nav{
  display:none;
  align-items:center;
  gap:4px;
}
@media(min-width:1024px){ .fe-nav{display:flex} }
.fe-nav a{
  font-size:14px;
  font-weight:600;
  color:#374151;
  padding:8px 12px;
  border-radius:6px;
  transition:all .15s;
  white-space:nowrap;
}
@media(min-width:1024px){ .fe-nav a{font-size:15px} }
.fe-nav a:hover,
.fe-nav a.active{
  background:#fafafa;
  color:var(--oss-red-600);
  text-decoration:none;
}
.fe-nav a.active{ background:#faebea; }
.fe-header-right{ display:flex; align-items:center; gap:10px; margin-left:auto; }
.fe-search{
  display:none;
  align-items:center;
  position:relative;
}
@media(min-width:1024px){ .fe-search{ display:flex; } }
.fe-search input{
  width:210px;
  height:38px;
  padding:0 40px 0 14px;
  border:1px solid #e5e7eb;
  border-radius:999px;
  font-family:'Be Vietnam Pro',sans-serif;
  font-size:14px;
  background:#f9fafb;
  color:#111827;
  outline:none;
  transition:all .2s;
}
.fe-search input::placeholder{ color:#9ca3af; }
.fe-search input:focus{
  border-color:#8b1c13;
  background:#fff;
  box-shadow:0 0 0 3px rgba(139,28,19,.08);
  width:250px;
}
.fe-search button{
  position:absolute;
  right:4px;
  width:30px; height:30px;
  border:none;
  background:#8b1c13;
  color:#fff;
  border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  font-size:12px;
  transition:background .15s;
}
.fe-search button:hover{ background:#791811; }
.fe-search-mobile{
  display:flex;
  gap:8px;
  margin-bottom:14px;
}
.fe-search-mobile input{
  flex:1;
  height:42px;
  padding:0 14px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  font-family:'Be Vietnam Pro',sans-serif;
  font-size:15px;
  background:#f9fafb;
}
.fe-search-mobile button{
  height:42px;
  padding:0 16px;
  border:none;
  background:#8b1c13;
  color:#fff;
  border-radius:10px;
  font-weight:600;
  font-size:14px;
  cursor:pointer;
}
@media(min-width:1024px){ .fe-search-mobile{ display:none; } }
/* Dropdown (Top Menu bertingkat) */
.fe-nav-dropdown{ position:relative; }
.fe-nav-dropdown > a.fe-dropdown-toggle{ display:inline-flex; align-items:center; }
.fe-dropdown-menu{
  display:none;
  position:absolute;
  top:100%; left:0;
  min-width:200px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:10px;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
  padding:6px;
  z-index:60;
}
.fe-nav-dropdown:hover .fe-dropdown-menu,
.fe-nav-dropdown:focus-within .fe-dropdown-menu{ display:block; }
.fe-dropdown-menu a{
  display:block;
  padding:9px 10px;
  font-size:13px;
  font-weight:600;
  color:#374151;
  border-radius:8px;
}
.fe-dropdown-menu a:hover{ background:#faebea; color:var(--oss-red-600); text-decoration:none }
.fe-dropdown-menu a.active{ background:#faebea; color:var(--oss-red-600) }
/* Level 2+ submenu (Kronik Paroki dll) */
.fe-dropdown-sub{ position:relative; }
.fe-dropdown-sub > .fe-dropdown-item{
  display:flex; align-items:center; gap:4px; justify-content:space-between;
  padding:9px 10px; font-size:13px; font-weight:600; color:#374151; border-radius:8px; cursor:pointer;
}
.fe-dropdown-sub:hover > .fe-dropdown-item{ background:#faebea; color:var(--oss-red-600); text-decoration:none }
.fe-dropdown-submenu{
  display:none; position:absolute; top:0; left:100%; min-width:220px;
  background:#fff; border:1px solid #e5e7eb; border-radius:10px;
  box-shadow:0 10px 24px rgba(0,0,0,.12); padding:6px; z-index:61;
}
.fe-dropdown-sub:hover > .fe-dropdown-submenu,
.fe-dropdown-sub:focus-within > .fe-dropdown-submenu{ display:block; }

/* Mobile toggle */
.fe-menu-toggle{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border:1px solid #e5e7eb;
  background:#fff;
  border-radius:8px;
  cursor:pointer;
}
@media(min-width:1024px){ .fe-menu-toggle{display:none} }
.fe-menu-toggle i{ font-size:14px; color:#374151 }

.fe-mobile-nav{
  display:none;
  background:#fff;
  border-top:1px solid #e5e7eb;
  padding:12px 16px 16px;
}
.fe-mobile-nav.open{display:block}
.fe-mobile-nav a{
  display:block;
  padding:10px 12px;
  font-size:15px;
  font-weight:500;
  color:#374151;
  border-radius:8px;
}
.fe-mobile-nav a:hover{ background:#f9fafb; color:var(--oss-red-600); text-decoration:none }

/* Slideshow */
.fe-hero{ background:#fff; }
.fe-slideshow{
  position:relative;
  overflow:hidden;
  background:#0f172a;
  height:320px;
}
@media(min-width:768px){ .fe-slideshow{height:420px} }
@media(min-width:1024px){ .fe-slideshow{height:460px} }
.fe-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .6s ease;
  display:flex;
}
.fe-slide.active{ opacity:1; z-index:1 }
.fe-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.fe-slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.05) 100%);
}
.fe-slide-content{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  align-items:center;
  padding:20px;
}
@media(min-width:768px){ .fe-slide-content{padding:40px 64px} }
@media(min-width:1024px){ .fe-slide-content{padding:40px 96px} }
@media(min-width:1280px){ .fe-slide-content{padding:40px 128px} }
@media(min-width:1920px){ .fe-slide-content{padding:40px 144px} }
@media(min-width:2560px){ .fe-slide-content{padding:40px 160px} }

.fe-slide-box{
  max-width:560px;
  color:#fff;
}
.fe-slide-eyebrow{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  background:rgba(255,255,255,.18);
  backdrop-filter:blur(4px);
  padding:4px 8px;
  border-radius:999px;
  margin-bottom:10px;
}
.fe-slide-title{
  font-size:24px;
  font-weight:700;
  line-height:1.2;
  margin:0 0 8px;
  text-shadow:0 2px 8px rgba(0,0,0,.3);
}
@media(min-width:768px){ .fe-slide-title{font-size:32px} }
@media(min-width:1024px){ .fe-slide-title{font-size:36px} }
.fe-slide-desc{
  font-size:15px;
  line-height:1.5;
  color:rgba(255,255,255,.9);
  margin:0 0 16px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
@media(min-width:768px){ .fe-slide-desc{font-size:16px} }
.fe-slide-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:15px;
  font-weight:600;
  background:var(--oss-red-600);
  color:#fff;
  padding:10px 18px;
  border-radius:999px;
  text-decoration:none;
  transition:all .2s;
}
.fe-slide-btn:hover{ background:var(--oss-red-700); color:#fff; text-decoration:none; transform:translateY(-1px) }

/* Slideshow controls */
.fe-slide-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  width:36px; height:36px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,.15);
  transition:all .2s;
}
.fe-slide-nav:hover{ background:#fff; transform:translateY(-50%) scale(1.05) }
.fe-slide-nav.prev{ left:12px }
.fe-slide-nav.next{ right:12px }
@media(min-width:768px){ .fe-slide-nav.prev{left:20px} .fe-slide-nav.next{right:20px} }
.fe-slide-nav i{ font-size:12px; color:#1f2937 }

.fe-slide-dots{
  position:absolute;
  bottom:16px;
  left:50%;
  transform:translateX(-50%);
  z-index:3;
  display:flex;
  gap:6px;
}
.fe-slide-dots button{
  width:28px;
  height:4px;
  border-radius:999px;
  border:none;
  background:rgba(255,255,255,.45);
  cursor:pointer;
  transition:all .2s;
  padding:0;
}
.fe-slide-dots button.active{ background:#fff; width:32px }

.fe-slideshow-empty{
  height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, #0f172a, #1e3a5f);
  color:#fff;
  text-align:center;
  padding:20px;
}

/* Section */
.fe-section{ padding:28px 0; }
@media(min-width:768px){ .fe-section{padding:32px 0} }
.fe-section-alt{ background:#fff; }
.fe-section-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.fe-section-title{
  font-size:20px;
  font-weight:700;
  color:#111827;
  margin:0;
  position:relative;
  padding-left:12px;
}
.fe-section-title::before{
  content:"";
  position:absolute;
  left:0; top:50%;
  transform:translateY(-50%);
  width:4px; height:22px;
  background:var(--oss-red-600);
  border-radius:999px;
}
@media(min-width:768px){ .fe-section-title{font-size:24px} }
@media(min-width:1024px){ .fe-section-title{font-size:26px} }
.fe-section-link{
  font-size:13px;
  font-weight:600;
  color:var(--oss-red-600);
  display:inline-flex;
  align-items:center;
  gap:4px;
  white-space:nowrap;
}
@media(min-width:768px){ .fe-section-link{font-size:14px} }
@media(min-width:1024px){ .fe-section-link{font-size:16px} }
.fe-section-link:hover{ color:var(--oss-red-700) }

/* Berita cards - OSS style */
.fe-grid-berita{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
@media(min-width:640px){ .fe-grid-berita{grid-template-columns:repeat(2,1fr);gap:16px} }
@media(min-width:1024px){ .fe-grid-berita{grid-template-columns:repeat(3,1fr);gap:20px} }

.fe-card-berita{
  background:#fff;
  border-radius:var(--radius-xl);
  overflow:hidden;
  border:1px solid #f0f0f0;
  box-shadow:var(--shadow-sm);
  transition:all .2s;
  display:flex;
  flex-direction:column;
  height:100%;
  text-decoration:none;
  color:inherit;
}
.fe-card-berita:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-md);
  border-color:#e5e7eb;
  text-decoration:none;
  color:inherit;
}
.fe-card-berita-img{
  height:168px;
  overflow:hidden;
  background:#f4f5f5;
  position:relative;
}
.fe-card-berita-img img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .4s;
}
.fe-card-berita:hover .fe-card-berita-img img{ transform:scale(1.04) }
.fe-card-berita-body{ padding:14px 14px 12px; flex:1; display:flex; flex-direction:column }
.fe-card-berita-cat{
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--oss-red-600);
  margin-bottom:6px;
}
.fe-card-berita-title{
  font-size:16px;
  font-weight:600;
  line-height:1.45;
  color:#111827;
  margin:0 0 6px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:46px;
}
.fe-card-berita-excerpt{
  font-size:14px;
  line-height:1.6;
  color:#6b7280;
  margin:0 0 10px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  flex:1;
}
.fe-card-berita-meta{
  font-size:13px;
  font-weight:500;
  color:#4b5563;
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:auto;
  padding-top:8px;
  border-top:1px solid #f9fafb;
}
.fe-card-berita-meta i{ font-size:13px }

/* ============ HEADLINE + LIST (berita/artikel frontpage) ============ */
.fe-hl-wrap{ display:grid; grid-template-columns:1.25fr 1fr; gap:28px; align-items:start; }
@media(max-width:900px){ .fe-hl-wrap{ grid-template-columns:1fr; } }
.fe-hl-main{ display:block; text-decoration:none; color:inherit; min-width:0; }
.fe-hl-main:hover{ text-decoration:none; color:inherit; }
.fe-hl-img{ overflow:hidden; border-radius:12px; }
.fe-hl-img img{ width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; display:block; transition:transform .4s; }
.fe-hl-main:hover .fe-hl-img img{ transform:scale(1.03); }
.fe-hl-rule{ height:4px; background:#8b1c13; border-radius:2px; margin:0 0 14px; }
.fe-hl-title{ font-family:'Playfair Display',Georgia,serif; font-size:24px; font-weight:700; line-height:1.3; color:#111827; margin:0 0 8px; }
.fe-hl-meta{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; font-size:13px; font-weight:500; color:#4b5563; padding:8px 0; border-top:1px solid #eef0f2; border-bottom:1px solid #eef0f2; margin-bottom:10px; }
.fe-hl-meta i{ font-size:13px; }
.fe-hl-sep{ color:#d1d5db; }
.fe-hl-excerpt{ font-size:15px; line-height:1.7; color:#4b5563; margin:0; text-align:justify; }
.fe-hl-list{ display:flex; flex-direction:column; gap:22px; min-width:0; }
.fe-hl-item{ display:flex; gap:14px; border-left:4px solid #8b1c13; padding-left:14px; text-decoration:none; color:inherit; min-width:0; }
.fe-hl-item:hover{ text-decoration:none; color:inherit; }
.fe-hl-thumb{ flex:0 0 150px; width:150px; overflow:hidden; border-radius:8px; align-self:flex-start; }
.fe-hl-thumb img{ width:100%; height:110px; object-fit:cover; display:block; transition:transform .35s; }
.fe-hl-item:hover .fe-hl-thumb img{ transform:scale(1.05); }
.fe-hl-body{ flex:1; min-width:0; }
.fe-hl-item-title{ font-size:16px; font-weight:700; line-height:1.4; color:#111827; margin:0 0 6px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.fe-hl-item .fe-hl-meta{ border:none; padding:0 0 6px; margin-bottom:2px; }
.fe-hl-item-excerpt{ font-size:14px; line-height:1.6; color:#4b5563; margin:0; text-align:justify; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:480px){
  .fe-hl-thumb{ flex-basis:110px; width:110px; }
  .fe-hl-thumb img{ height:86px; }
  .fe-hl-title{ font-size:20px; }
  .fe-hl-item-title{ font-size:15px; }
}

/* Layout columns variants */
.fe-grid-berita.cols-1{grid-template-columns:1fr}
.fe-grid-berita.cols-2{grid-template-columns:1fr}
@media(min-width:640px){ .fe-grid-berita.cols-2{grid-template-columns:repeat(2,1fr)} }
@media(min-width:1024px){ .fe-grid-berita.cols-4{grid-template-columns:repeat(4,1fr)} }
.fe-grid-berita.cols-4{grid-template-columns:repeat(2,1fr)}
@media(min-width:640px){ .fe-grid-berita.cols-4{grid-template-columns:repeat(3,1fr)} }
@media(min-width:1024px){ .fe-grid-berita.cols-4{grid-template-columns:repeat(4,1fr)} }

/* Galeri */
.fe-grid-galeri{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}
@media(min-width:640px){ .fe-grid-galeri{grid-template-columns:repeat(3,1fr);gap:14px} }
@media(min-width:1024px){ .fe-grid-galeri{grid-template-columns:repeat(4,1fr);gap:16px} }
.fe-grid-galeri.cols-2{grid-template-columns:repeat(2,1fr)}
.fe-grid-galeri.cols-3{grid-template-columns:repeat(3,1fr)}
.fe-grid-galeri.cols-4{grid-template-columns:repeat(4,1fr)}

/* Kalender Liturgi */
.fe-kalender-wrap iframe{ display:block; }
.fe-kalender-fallback a{ color:var(--oss-red-600); }
.fe-galeri-item{
  position:relative;
  border-radius:12px;
  overflow:hidden;
  background:#fff;
  border:1px solid #f0f0f0;
  box-shadow:var(--shadow-sm);
  cursor:pointer;
  height:160px;
}
@media(min-width:768px){ .fe-galeri-item{height:180px} }
.fe-galeri-item img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .35s;
}
.fe-galeri-item:hover img{ transform:scale(1.06) }
.fe-galeri-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 60%);
  opacity:0;
  transition:opacity .2s;
  display:flex;
  align-items:flex-end;
  padding:10px;
}
.fe-galeri-item:hover .fe-galeri-overlay{ opacity:1 }
.fe-galeri-caption{
  font-size:14px;
  font-weight:600;
  color:#fff;
  line-height:1.35;
  width:100%;
  flex:1;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-shadow:0 1px 3px rgba(0,0,0,.5);
}

/* Pengumuman / info bar like OSS */
.fe-info-strip{
  background:#fff;
  border-top:1px solid #f0f0f0;
  border-bottom:1px solid #f0f0f0;
  padding:12px 0;
}
.fe-info-strip-inner{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  color:#374151;
  overflow:hidden;
}
.fe-info-badge{
  background:var(--oss-red-600);
  color:#fff;
  font-size:12px;
  font-weight:700;
  padding:4px 8px;
  border-radius:999px;
  white-space:nowrap;
  flex-shrink:0;
}

/* Pagination */
.fe-pagination{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top:20px;
}
.fe-pagination a, .fe-pagination span{
  min-width:34px; height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #e5e7eb;
  background:#fff;
  border-radius:8px;
  font-size:14px;
  font-weight:600;
  color:#374151;
  padding:0 8px;
}
.fe-pagination a:hover{ background:#f9fafb; border-color:var(--oss-red-600); color:var(--oss-red-600); text-decoration:none }
.fe-pagination .active{ background:var(--oss-red-600); border-color:var(--oss-red-600); color:#fff }

/* Article detail */
.fe-article{
  background:#fff;
  border-radius:16px;
  border:1px solid #f0f0f0;
  overflow:hidden;
  box-shadow:var(--shadow-sm);
}
.fe-article-header{ padding:22px 22px 0 }
@media(min-width:768px){ .fe-article-header{padding:26px 26px 0} }
.fe-article-meta{ font-size:14px; font-weight:500; color:#4b5563; display:flex; gap:12px; flex-wrap:wrap; margin-bottom:12px }
.fe-article-title{ font-size:24px; font-weight:700; line-height:1.25; color:#111827; margin:0 0 12px }
@media(min-width:768px){ .fe-article-title{font-size:30px} }
@media(min-width:1024px){ .fe-article-title{font-size:32px} }
.fe-article-featured{ width:100%; max-height:460px; object-fit:cover; display:block; margin:16px 0 0; border-radius:0 }
.fe-article-content{ padding:22px; font-size:16px; line-height:1.75; color:#374151 }
@media(min-width:768px){ .fe-article-content{padding:24px} }
.fe-article-content p{ margin:0 0 12px }
.fe-article-content h2{ font-size:20px; font-weight:700; margin:18px 0 10px; color:#111827 }
@media(min-width:768px){ .fe-article-content h2{font-size:22px} }
.fe-article-content img{ max-width:100%; border-radius:8px; margin:12px 0 }

/* Like / Love - 1 IP sekali */
.fe-like-box{ display:flex; align-items:center; gap:12px; margin-top:18px; padding:14px 16px; background:#fff; border:1px solid #f0f0f0; border-radius:12px; box-shadow:var(--shadow-sm); }
.fe-like-btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 16px; border:1px solid #fecaca; background:#fef2f2; color:#dc2626;
  border-radius:999px; font-weight:700; font-size:14px; cursor:pointer;
  transition:all .2s; font-family:'Be Vietnam Pro',sans-serif;
}
.fe-like-btn:hover{ background:#fee2e2; border-color:#fca5a5; transform:translateY(-1px); }
.fe-like-btn.liked{ background:#8b1c13; border-color:#8b1c13; color:#fff; }
.fe-like-btn.liked:hover{ background:#7a1811; }
.fe-like-btn i{ font-size:16px; }
.fe-like-count{ min-width:20px; text-align:center; font-weight:800; }
.fe-like-hint{ font-size:13px; color:#6b7280; }

/* Komentar sinkron Admin */
.fe-comments{ margin-top:28px; background:#fff; border:1px solid #f0f0f0; border-radius:16px; padding:22px; box-shadow:var(--shadow-sm); }
@media(min-width:768px){ .fe-comments{ padding:26px; } }
.fe-comments-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; flex-wrap:wrap; }
.fe-comment-count{ font-weight:700; color:var(--oss-red-600); }
.fe-comments-note{ font-size:13px; font-weight:500; color:#4b5563; }
.fe-alert{ padding:10px 12px; border-radius:10px; font-size:14px; margin-bottom:14px; display:flex; align-items:center; gap:8px; }
.fe-alert-success{ background:#ecfdf5; border:1px solid #a7f3d0; color:#065f46; }
.fe-alert-error{ background:#fef2f2; border:1px solid #fecaca; color:#991b1b; }
.fe-comments-empty{ text-align:center; padding:18px; color:#6b7280; border:1px dashed #e5e7eb; border-radius:12px; background:#fafafa; }
.fe-comments-empty i{ font-size:22px; display:block; margin-bottom:6px; opacity:.6; }
.fe-comments-empty p{ margin:0; font-size:14px; }
.fe-comment-list{ display:flex; flex-direction:column; gap:18px; margin-bottom:20px; }
.fe-comment-thread{ display:flex; flex-direction:column; gap:0; }
.fe-comment-item{ display:flex; gap:12px; padding:16px 18px; background:#fff; border:1px solid #e5e7eb; border-radius:16px; box-shadow:0 1px 2px rgba(0,0,0,.04); align-items:flex-start; }
.fe-comment-ava-wrap{ position:relative; flex-shrink:0; align-self:flex-start; }
.fe-comment-ava{ width:40px; height:40px; border-radius:999px; background:#d1d5db; color:#fff; display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0; }
.fe-comment-ava-img{ width:40px; height:40px; border-radius:999px; object-fit:cover; display:block; flex-shrink:0; border:1px solid #e5e7eb; }
.fe-comment-ava-badge{ position:absolute; bottom:-2px; right:-2px; width:18px; height:18px; border-radius:999px; background:#1e40af; color:#fff; border:2px solid #fff; display:flex; align-items:center; justify-content:center; font-size:9px; font-weight:800; line-height:1; }
.fe-comment-body{ flex:1; min-width:0; }
.fe-comment-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:8px; }
.fe-comment-author{ font-size:15px; font-weight:700; color:#1e293b; line-height:1.2; }
.fe-comment-date{ font-size:13px; font-weight:500; color:#4b5563; margin-top:2px; }
.fe-comment-actions-top{ font-size:13px; font-weight:500; color:#4b5563; display:flex; align-items:center; gap:6px; white-space:nowrap; flex-shrink:0; }
.fe-comment-actions-top .sep{ color:#d1d5db; }
.fe-comment-text{ font-size:16px; line-height:1.7; color:#334155; white-space:pre-wrap; word-break:break-word; }
.fe-comment-like{ display:flex; align-items:center; gap:6px; margin-top:12px; color:#64748b; font-size:13px; font-weight:700; }
.fe-comment-like i{ font-size:16px; color:#64748b; }
.fe-comment-like span{ color:#334155; }
.fe-comment-like-btn{ display:inline-flex; align-items:center; gap:6px; margin-top:12px; padding:5px 10px; border:1px solid transparent; background:transparent; color:#64748b; font-size:14px; font-weight:700; cursor:pointer; border-radius:999px; transition:all .15s; font-family:'Be Vietnam Pro',sans-serif; line-height:1; }
.fe-comment-like-btn:hover{ background:#fff2f2; border-color:#fecaca; color:#dc2626; }
.fe-comment-like-btn.liked{ color:#dc2626; background:#fef2f2; border-color:#fecaca; }
.fe-comment-like-btn i{ font-size:16px; color:#64748b; transition:color .15s; }
.fe-comment-like-btn:hover i{ color:#dc2626; }
.fe-comment-like-btn.liked i{ color:#dc2626; }
.fe-comment-like-btn span{ color:#334155; transition:color .15s; }
.fe-comment-like-btn:hover span{ color:#dc2626; }
.fe-comment-like-btn.liked span{ color:#dc2626; }
.fe-comment-like-btn:disabled{ opacity:.6; cursor:not-allowed; }
.fe-comment-replies{ margin-left:32px; margin-top:14px; display:flex; flex-direction:column; gap:12px; position:relative; }
.fe-comment-replies::before{ content:""; position:absolute; left:-18px; top:-10px; bottom:50%; width:18px; border-left:1px solid #e5e7eb; border-bottom:1px solid #e5e7eb; border-radius:0 0 0 10px; }
.fe-comment-item--reply{ background:#fff; }
@media(max-width:640px){
  .fe-comment-item{ padding:14px; }
  .fe-comment-replies{ margin-left:20px; }
  .fe-comment-ava, .fe-comment-ava-img{ width:36px; height:36px; font-size:14px; }
  .fe-comment-ava-badge{ width:16px; height:16px; font-size:8px; bottom:-1px; right:-1px; }
}
.fe-comment-form{ margin-top:20px; padding-top:20px; border-top:1px solid #f0f0f0; }
.fe-comment-form-title{ font-size:19px; font-weight:700; margin:0 0 6px; color:#111827; line-height:1.3; }
.fe-comment-hint{ font-size:14px; color:#4b5563; margin:0 0 16px; line-height:1.5; }
.fe-comment-hint .req{ color:#dc2626; }
.fe-form-row{ display:grid; grid-template-columns:1fr; gap:16px; margin-bottom:4px; }
@media(min-width:640px){ .fe-form-row{ grid-template-columns:1fr 1fr; } }
.fe-form-group{ display:flex; flex-direction:column; gap:8px; margin-bottom:4px; }
.fe-form-group label{ font-size:14px; font-weight:600; color:#374151; }
.fe-form-group label .req{ color:#dc2626; }
.fe-form-group input, .fe-form-group textarea{ width:100%; padding:12px 14px; border:1px solid #e5e7eb; border-radius:10px; font-family:'Be Vietnam Pro',sans-serif; font-size:15px; color:#1f2937; background:#fff; outline:none; transition:border .15s, box-shadow .15s; line-height:1.5; }
.fe-form-group textarea{ min-height:120px; resize:vertical; }
.fe-form-group input::placeholder, .fe-form-group textarea::placeholder{ color:#6b7280; opacity:1; font-size:15px; }
.fe-form-group input:focus, .fe-form-group textarea:focus{ border-color:#8b1c13; box-shadow:0 0 0 3px rgba(139,28,19,.08); }
.fe-btn{ display:inline-flex; align-items:center; gap:8px; padding:10px 18px; border-radius:999px; font-weight:600; font-size:14px; border:none; cursor:pointer; }
.fe-comment-form .fe-btn{ margin-top:16px; padding:12px 22px; font-size:15px; }
.fe-btn-primary{ background:#8b1c13; color:#fff; }
.fe-btn-primary:hover{ background:#791811; color:#fff; }

/* Breadcrumb */
.fe-breadcrumb{ font-size:14px; color:#4b5563; margin-bottom:12px }
.fe-breadcrumb a{ color:#6b7280 }
.fe-breadcrumb a:hover{ color:var(--oss-red-600) }

/* Footer OSS style: bg-oss-red-600 #8b1c13 */
.fe-footer{
  background:var(--oss-red-600);
  color:#fff;
  padding:32px 0 24px;
  margin-top:24px;
}
.fe-footer a{ color:#fff; text-decoration:none }
.fe-footer a:hover{ text-decoration:underline }
.fe-footer-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:24px 32px;
  align-items:start;
}
.fe-footer-grid > *{ min-width:0; overflow-wrap:break-word; word-break:break-word; }
@media(min-width:768px){ .fe-footer-grid{grid-template-columns:1fr 1fr;} }
@media(min-width:1024px){ .fe-footer-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr) minmax(0,.8fr) minmax(0,1fr);} }
.fe-footer-brand img{
  max-height:52px;
  width:auto;
  display:block;
  margin-bottom:16px;
  filter:brightness(0) invert(1);
}
.fe-footer-title{
  font-size:15px;
  font-weight:700;
  margin:0 0 14px !important;
  letter-spacing:.02em;
  /* Fix judul & garis bawah sejajar: paksa 1 baris, jarak rapat */
  min-height:auto !important;
  height:auto !important;
  display:block !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  line-height:1.35 !important;
  padding-bottom:8px !important;
  border-bottom:1px solid rgba(255,255,255,.22) !important;
  box-sizing:border-box !important;
}
.fe-footer-text{
  font-size:14px;
  line-height:1.7;
  color:rgba(255,255,255,.9);
  margin:0;
}
.fe-footer-links{ list-style:none; padding:0; margin:0 }
.fe-footer-links li{ margin-bottom:8px }
.fe-footer-links a{ font-size:14px; color:rgba(255,255,255,.92) }
.fe-footer-office-hours{ margin-top:14px; }
.fe-footer-subtitle{ font-size:13px; font-weight:700; margin:0 0 6px; color:#fff; letter-spacing:.02em; }
.fe-footer-office-content{ font-size:13px; line-height:1.7; color:rgba(255,255,255,.9); }
.fe-footer-office-content p{ margin:0 0 4px; }
.fe-footer-white-box{
  background:#fff;
  color:#212121;
  border-radius:12px;
  padding:16px 18px;
  margin-top:16px;
  box-shadow:0 8px 24px rgba(0,0,0,.14);
  border:1px solid rgba(0,0,0,.04);
}
.fe-footer-white-title{ font-size:14px; font-weight:700; margin:0 0 8px; color:#8b1c13; }
.fe-footer-white-content{ font-size:13px; line-height:1.65; color:#374151; }
.fe-footer-white-content p{ margin:0 0 6px; }
.fe-footer-white-content a{ color:#8b1c13; }
.fe-footer-text a{ color:#fff; text-decoration:underline; text-underline-offset:2px; }
.fe-footer-bottom{
  margin-top:24px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.18);
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
  font-size:13px;
  color:rgba(255,255,255,.8);
}
@media(min-width:768px){ .fe-footer-bottom{flex-direction:row; justify-content:space-between} }
.fe-social{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.fe-social a{
  width:28px; height:28px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  transition:all .2s;
}
.fe-social a:hover{ background:rgba(255,255,255,.24); text-decoration:none }

/* Empty states */
.fe-empty{
  background:#fff;
  border:1px dashed #dfe0e2;
  border-radius:12px;
  padding:28px 16px;
  text-align:center;
  color:#6b7280;
  font-size:15px;
}

/* Lightbox */
.fe-lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:100;
  padding:20px;
}
.fe-lightbox.open{ display:flex }
.fe-lightbox img{
  max-width:90vw;
  max-height:85vh;
  object-fit:contain;
  border-radius:8px;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
}
.fe-lightbox-close{
  position:absolute;
  top:16px; right:16px;
  width:36px; height:36px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:none;
  color:#fff;
  font-size:16px;
  cursor:pointer;
}

/* ==================== WIDGETS (WordPress-like) ==================== */
.fe-layout-with-sidebar{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  align-items:start;
}
@media(min-width:1024px){
  .fe-layout-with-sidebar{ grid-template-columns: 1fr 340px; }
  .fe-layout-with-sidebar.sidebar-left{ grid-template-columns: 340px 1fr; }
  .fe-layout-with-sidebar.no-sidebar{ grid-template-columns: 1fr; }
}
.fe-main-content{ min-width:0; }
.fe-sidebar{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.widget{
  background:#fff;
  border:1px solid #f0f0f0;
  border-radius:12px;
  padding:18px;
  box-shadow:0 1px 3px rgba(0,0,0,.06);
  margin-bottom:20px;
}
.widget:last-child{ margin-bottom:0; }
.widget-title{
  font-size:16px;
  font-weight:700;
  color:#111827;
  margin:0 0 18px;
  padding-bottom:12px;
  border-bottom:2px solid #8b1c13;
  position:relative;
  line-height:1.3;
}
.widget-text{
  font-size:14px;
  line-height:1.7;
  color:#374151;
  margin-top:4px;
}
.widget-html{ font-size:14px; line-height:1.6; color:#374151; margin-top:4px; }
.widget-list{
  list-style:none;
  padding:0;
  margin:4px 0 0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.widget-list li{
  font-size:14px;
  line-height:1.5;
  color:#374151;
  padding-bottom:10px;
  border-bottom:1px solid #f9fafb;
}
.widget-list li:last-child{ border-bottom:none; padding-bottom:0; }
.widget-list a{ color:#374151; font-weight:500; }
.widget-list a:hover{ color:#8b1c13; text-decoration:none; }
.widget-recent-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.widget-recent-text{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.widget-recent-date{ display:block; margin-top:2px; font-size:12px; font-weight:500; color:#4b5563; }
.widget-recent-date i{ margin-right:4px; }
.widget-recent-date i.fa-eye{ margin-left:6px; }
.widget-recent-date span{ margin:0 1px; color:#9ca3af; }
.widget-thumb{
  width:64px;
  height:48px;
  object-fit:cover;
  border-radius:8px;
  flex-shrink:0;
}
.widget-search{ margin-top:4px; }
.widget-search .form-control{
  border-radius:999px 0 0 999px;
  font-family:'Be Vietnam Pro',sans-serif;
}
.widget-search .btn{
  border-radius:0 999px 999px 0;
  background:#8b1c13;
  border-color:#8b1c13;
}
.widget-gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  margin-top:4px;
}
.widget-gallery-thumb img{
  width:100%;
  height:64px;
  object-fit:cover;
  border-radius:8px;
  display:block;
}
.widget-contact{ margin-top:4px; }
.widget-contact li{ display:flex; gap:10px; align-items:flex-start; line-height:1.6; }
.widget-contact i{ color:#8b1c13; margin-top:4px; min-width:18px; font-size:14px; text-align:center; }
.widget-social{ margin-top:8px; gap:12px !important; }
.widget-social .btn{
  border-radius:999px;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 14px;
  line-height:1.4;
}
.widget-social .btn i{ font-size:14px; margin-right:1px; }

/* Footer widgets override (transparent bg) */
.fe-footer .widget{
  background:transparent;
  border:none;
  box-shadow:none;
  padding:0;
}
.fe-footer .widget-title{
  color:#fff;
  border-bottom-color:rgba(255,255,255,.25);
  font-size:15px;
  margin-bottom:14px !important;
  padding-bottom:8px !important;
  /* Fix judul & garis bawah sejajar: paksa 1 baris, jarak rapat */
  min-height:auto !important;
  height:auto !important;
  display:block !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  line-height:1.35 !important;
  box-sizing:border-box !important;
}
.fe-footer .widget-list a{ color:rgba(255,255,255,.92); }
.fe-footer .widget-list li{ border-bottom-color:rgba(255,255,255,.12); color:rgba(255,255,255,.9); }
.fe-footer .widget-text, .fe-footer .widget-html{ color:rgba(255,255,255,.9); }
.fe-footer .widget-contact i{ color:rgba(255,255,255,.95); }
.fe-footer .widget-social .btn{ color:#fff; border-color:rgba(255,255,255,.45); background:rgba(255,255,255,.1); }
.fe-footer .widget-social .btn:hover{ color:#fff; background:rgba(255,255,255,.22); border-color:rgba(255,255,255,.6); text-decoration:none; }
.fe-footer-widgets-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:24px 32px;
  align-items:start;
}
@media(min-width:768px){ .fe-footer-widgets-grid{ grid-template-columns:1fr 1fr; } }
@media(min-width:1024px){ .fe-footer-widgets-grid{ grid-template-columns:repeat(4,1fr); } }
.fe-footer-has-widgets .fe-footer-grid{ display:none; }

/* ==================== POPUP IMAGE (hanya homepage) ==================== */
.fe-popup-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:200;
  padding:20px;
  opacity:0;
  visibility:hidden;
  transition:opacity 250ms ease, visibility 250ms ease;
}
.fe-popup-overlay.open{
  opacity:1;
  visibility:visible;
}
.fe-popup-card{
  position:relative;
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  max-width:90vw;
  max-height:85vh;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
  transform:scale(.92);
  opacity:0;
  transition:transform 250ms ease, opacity 250ms ease;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.fe-popup-overlay.open .fe-popup-card{
  transform:scale(1);
  opacity:1;
}
.fe-popup-img{
  display:block;
  max-width:90vw;
  max-height:85vh;
  width:auto;
  height:auto;
  object-fit:contain;
}
.fe-popup-card a{ display:block; line-height:0; }
.fe-popup-close{
  position:absolute;
  top:10px;
  right:10px;
  width:36px;
  height:36px;
  border-radius:50%;
  border:none;
  background:#fff;
  color:#111827;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:14px;
  z-index:2;
  transition:transform 150ms ease, background 150ms ease;
}
.fe-popup-close:hover{ transform:scale(1.07); background:#f9fafb; }
.fe-popup-close:active{ transform:scale(.96); }
.fe-popup-dismiss{
  display:block;
  width:100%;
  border:none;
  background:#fff;
  color:#6b7280;
  font-family:'Be Vietnam Pro',sans-serif;
  font-size:13px;
  font-weight:600;
  padding:10px 14px;
  cursor:pointer;
  border-top:1px solid #f3f4f6;
  transition:background 150ms ease, color 150ms ease;
}
.fe-popup-dismiss:hover{ background:#f9fafb; color:#374151; }
@media(max-width:640px){
  .fe-popup-overlay{ padding:16px; }
  .fe-popup-card{ max-width:92vw; max-height:82vh; border-radius:12px; }
  .fe-popup-img{ max-width:92vw; max-height:78vh; }
  .fe-popup-close{ width:32px; height:32px; top:8px; right:8px; font-size:13px; }
}

/* ==================== POPUP TEKS (pengumuman, ala contoh) ==================== */
.fe-popup-text-card{
  width:min(600px, 92vw);
  max-width:92vw;
  max-height:88vh;
  align-items:stretch;
  text-align:left;
}
.fe-popup-text-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:#8b1c13;
  color:#fff;
  padding:12px 16px;
  flex-shrink:0;
}
.fe-popup-text-brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  font-weight:700;
  letter-spacing:.02em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.fe-popup-text-brand i{ font-size:16px; }
.fe-popup-text-close{
  width:32px;
  height:32px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,.16);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:14px;
  flex-shrink:0;
  transition:background 150ms ease, transform 150ms ease;
}
.fe-popup-text-close:hover{ background:rgba(255,255,255,.28); transform:scale(1.06); }
.fe-popup-text-body{
  padding:20px 22px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  font-size:15px;
  line-height:1.7;
  color:#374151;
  max-height:calc(88vh - 170px);
}
.fe-popup-text-title{
  font-size:17px;
  font-weight:700;
  color:#1e3a5f;
  margin:0 0 10px;
  line-height:1.4;
}
.fe-popup-text-content p{ margin:0 0 12px; }
.fe-popup-text-content p:last-child{ margin-bottom:0; }
.fe-popup-text-content ul, .fe-popup-text-content ol{ margin:0 0 12px; padding-left:20px; }
.fe-popup-text-content li{ margin-bottom:4px; }
.fe-popup-text-content a{ color:#8b1c13; font-weight:600; }
.fe-popup-text-content table{
  width:100%;
  border-collapse:collapse;
  margin:12px 0 14px;
  font-size:14px;
  background:#fff8ec;
  border:1px solid #f0d9a8;
  border-radius:10px;
  overflow:hidden;
}
.fe-popup-text-content th, .fe-popup-text-content td{
  padding:9px 12px;
  border-bottom:1px solid #f0d9a8;
  text-align:left;
}
.fe-popup-text-content tr:last-child th, .fe-popup-text-content tr:last-child td{ border-bottom:none; }
.fe-popup-text-content th{ font-weight:700; color:#1e3a5f; }
.fe-popup-text-content h3, .fe-popup-text-content h4, .fe-popup-text-content h5{
  color:#1e3a5f; margin:14px 0 8px; line-height:1.4;
}
.fe-popup-text-footer{
  padding:14px 22px 12px;
  border-top:1px solid #f3f4f6;
  flex-shrink:0;
  background:#fff;
}
.fe-popup-ok{
  display:block;
  width:100%;
  border:none;
  border-radius:10px;
  background:#8b1c13;
  color:#fff;
  font-family:'Be Vietnam Pro',sans-serif;
  font-size:15px;
  font-weight:700;
  padding:12px 16px;
  cursor:pointer;
  transition:background 150ms ease, transform 150ms ease;
}
.fe-popup-ok:hover{ background:#791811; }
.fe-popup-ok:active{ transform:scale(.99); }
.fe-popup-dismiss-text{
  border-top:none;
  padding:9px 14px 2px;
  font-size:12px;
}
@media(max-width:640px){
  .fe-popup-text-card{ width:94vw; max-height:90vh; }
  .fe-popup-text-body{ padding:16px; font-size:14px; max-height:calc(90vh - 160px); }
  .fe-popup-text-title{ font-size:16px; }
  .fe-popup-text-footer{ padding:12px 16px 10px; }
}
/* ============ JELAJAH FITUR - card ikon besar eye-catching ============ */
.fe-jelajah{background:linear-gradient(135deg,#9d1f15 0%,#8b1c13 55%,#5f130d 100%);padding:44px 0 50px;}
.fe-jelajah-head{text-align:center;margin-bottom:26px;position:relative;}
.fe-jelajah-title{font-size:clamp(22px,3vw,32px);font-weight:700;letter-spacing:.06em;color:#ffffff;margin:0;text-shadow:0 2px 8px rgba(0,0,0,.25);}
.fe-jelajah-sub{color:#f3d9d7;font-size:16px;margin:8px 0 0;}
.fe-jelajah-bar{display:block;width:72px;height:4px;border-radius:99px;background:#f59e0b;margin:14px auto 0;}
.fe-jelajah-grid{display:grid;gap:18px;grid-template-columns:repeat(2,1fr);}
@media(min-width:768px){.fe-jelajah-grid.cols-4,.fe-jelajah-grid.cols-3{grid-template-columns:repeat(4,1fr);}.fe-jelajah-grid.cols-2{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1100px){.fe-jelajah-grid.cols-3{grid-template-columns:repeat(3,1fr);}.fe-jelajah-grid.cols-2{grid-template-columns:repeat(2,1fr);}}
@media(max-width:480px){.fe-jelajah-grid{grid-template-columns:repeat(2,1fr);gap:12px;}}
.fe-jelajah-card{position:relative;background:#fff;border-radius:18px;padding:28px 14px 20px;text-align:center;text-decoration:none;color:#111827;box-shadow:0 2px 10px rgba(0,0,0,.06);border:1px solid #eef0f2;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease;display:flex;flex-direction:column;align-items:center;}
.fe-jelajah-card:hover{text-decoration:none;color:#111827;transform:translateY(-6px);box-shadow:0 14px 30px rgba(0,0,0,.12);}
.fe-jelajah-icon{width:76px;height:76px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:30px;background:var(--feat,#8b1c13);box-shadow:0 8px 20px rgba(0,0,0,.18);margin-bottom:12px;transition:transform .22s ease;overflow:hidden;}
.fe-jelajah-card:hover .fe-jelajah-icon{transform:scale(1.08) rotate(-3deg);}
.fe-jelajah-icon img{width:100%;height:100%;object-fit:cover;}
.fe-jelajah-name{font-weight:700;font-size:16px;line-height:1.35;min-height:44px;display:flex;align-items:center;}
.fe-jelajah-desc{font-size:14px;color:#4b5563;line-height:1.55;margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:44px;}
.fe-jelajah-go{margin-top:10px;font-size:13px;font-weight:700;color:var(--feat,#8b1c13);opacity:0;transform:translateY(4px);transition:opacity .2s ease,transform .2s ease;}
.fe-jelajah-card:hover .fe-jelajah-go{opacity:1;transform:none;}
.fe-jelajah-badge{position:absolute;top:12px;right:12px;background:var(--feat,#8b1c13);color:#fff;font-size:11px;font-weight:700;padding:3px 9px;border-radius:99px;letter-spacing:.04em;box-shadow:0 3px 8px rgba(0,0,0,.15);}
.fe-jelajah-card.is-soon{cursor:default;}
@media(max-width:480px){.fe-jelajah-icon{width:62px;height:62px;font-size:24px;}.fe-jelajah-name{font-size:14px;min-height:38px;}.fe-jelajah-desc{display:none;}.fe-jelajah-go{display:none;}}

/* ============ GALERI ALBUM (ala parokiklepu.or.id/galeri) ============ */
.fe-album-page-title{font-size:clamp(24px,3.4vw,34px);font-weight:800;color:#111827;margin:0;letter-spacing:-.01em}
.fe-album-page-sub{color:#4b5563;font-size:16px;margin:6px 0 0}
.fe-album-stats{display:flex;gap:16px;margin:18px 0 22px}
.fe-album-stat{background:#fff;border:1px solid #f0f0f0;border-radius:14px;box-shadow:var(--shadow-sm);padding:12px 22px;text-align:center;min-width:110px}
.fe-album-stat-num{display:block;font-size:24px;font-weight:800;color:var(--oss-red-600);line-height:1.1}
.fe-album-stat-label{font-size:13px;font-weight:600;color:#6b7280}
.fe-album-grid{display:grid;grid-template-columns:1fr;gap:18px}
@media(min-width:640px){.fe-album-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.fe-album-grid{grid-template-columns:repeat(3,1fr)}.fe-album-grid.cols-2{grid-template-columns:repeat(2,1fr)}.fe-album-grid.cols-4{grid-template-columns:repeat(4,1fr)}}
.fe-album-grid.page{margin-top:4px}
.fe-album-card{background:#fff;border:1px solid #f0f0f0;border-radius:16px;overflow:hidden;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;color:#111827;transition:transform .2s,box-shadow .2s}
.fe-album-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,0,0,.10);text-decoration:none;color:#111827}
.fe-album-cover{position:relative;height:200px;background:#eef0f2;overflow:hidden}
.fe-album-card.small .fe-album-cover{height:150px}
.fe-album-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.fe-album-card:hover .fe-album-cover img{transform:scale(1.05)}
.fe-album-cover-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:40px;background:linear-gradient(135deg,#f3f4f6,#e5e7eb)}
.fe-album-count{position:absolute;top:10px;right:10px;background:rgba(0,0,0,.62);color:#fff;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;display:inline-flex;align-items:center;gap:6px}
.fe-album-body{padding:16px 16px 14px;display:flex;flex-direction:column;gap:8px;flex:1}
.fe-album-title{font-size:17px;font-weight:700;line-height:1.4;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fe-album-desc{font-size:14px;color:#4b5563;line-height:1.6;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fe-album-previews{display:flex;gap:6px;align-items:center;margin-top:2px}
.fe-album-previews img{width:64px;height:48px;object-fit:cover;border-radius:8px;border:1px solid #eee}
.fe-album-more{background:#f3f4f6;border:1px solid #e5e7eb;color:#374151;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px}
.fe-album-link{margin-top:auto;font-size:13px;font-weight:700;color:var(--oss-red-600);display:inline-flex;align-items:center;gap:6px}
/* Detail */
.fe-album-hero{border-radius:16px;overflow:hidden;margin:14px 0 6px;max-height:420px;position:relative;background:#e5e7eb}
.fe-album-hero img{width:100%;height:100%;max-height:420px;object-fit:cover;display:block}
.fe-album-hero-glow{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.25),transparent 55%);pointer-events:none}
.fe-back-link{display:inline-flex;align-items:center;gap:8px;margin:14px 0 4px;font-size:14px;font-weight:600;color:#374151;background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:8px 16px}
.fe-back-link:hover{color:var(--oss-red-600);border-color:var(--oss-red-600);text-decoration:none}
.fe-album-detail-title{font-size:clamp(22px,3.2vw,30px);font-weight:800;color:#111827;margin:8px 0 6px;line-height:1.3}
.fe-album-detail-desc{font-size:16px;color:#374151;line-height:1.75;margin:0 0 10px;width:100%}
.fe-album-meta{display:flex;gap:16px;flex-wrap:wrap;font-size:14px;color:#4b5563;font-weight:600;margin-bottom:18px}
.fe-photos-title{font-size:19px;font-weight:800;color:#111827;margin:6px 0 2px}
.fe-photos-hint{font-size:14px;color:#6b7280;margin:0 0 14px}
.fe-grid-galeri.detail{grid-template-columns:repeat(2,1fr)}
@media(min-width:640px){.fe-grid-galeri.detail{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1024px){.fe-grid-galeri.detail{grid-template-columns:repeat(4,1fr)}}

/* Album Lainnya di sidebar kanan halaman detail galeri */
.fe-album-side-widget{ position:sticky; top:80px; }
.fe-album-side-list{ display:flex; flex-direction:column; gap:12px; margin-top:4px; }
.fe-album-side-item{ display:flex; gap:10px; align-items:flex-start; padding-bottom:12px; border-bottom:1px solid #f3f4f6; }
.fe-album-side-item:last-child{ border-bottom:none; padding-bottom:0; }
.fe-album-side-item img{ width:84px; height:64px; object-fit:cover; border-radius:8px; flex-shrink:0; border:1px solid #eee; }
.fe-album-side-ph{ width:84px; height:64px; border-radius:8px; flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#f3f4f6,#e5e7eb); color:#9ca3af; font-size:20px; }
.fe-album-side-text{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.fe-album-side-title{ font-size:14px; font-weight:700; line-height:1.4; color:#111827; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.fe-album-side-item:hover .fe-album-side-title{ color:var(--oss-red-600); }
.fe-album-side-item:hover{ text-decoration:none; }
.fe-album-side-count{ font-size:12px; font-weight:600; color:#6b7280; }

/* ============ AGENDA: TIMELINE + KALENDER + EVENT CARD ============ */
.fe-agenda-sub{color:#6b7280;font-size:14px;margin:4px 0 0}
.fe-agenda-viewtoggle{display:inline-flex;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:999px;padding:3px;gap:2px}
.fe-agenda-viewtoggle button{border:0;background:transparent;font-size:13px;font-weight:700;color:#6b7280;padding:8px 16px;border-radius:999px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.fe-agenda-viewtoggle button.active{background:#fff;color:var(--oss-red-600);box-shadow:var(--shadow-sm)}
.fe-agenda-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin:6px 0 18px}
.fe-agenda-filters{display:flex;gap:8px;flex-wrap:wrap}
.fe-agenda-filters a{font-size:13px;font-weight:700;color:#374151;background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:8px 14px;text-decoration:none}
.fe-agenda-filters a.active{background:var(--oss-red-600);border-color:var(--oss-red-600);color:#fff}
.fe-agenda-count{display:inline-block;min-width:20px;text-align:center;background:rgba(0,0,0,.08);border-radius:999px;font-size:12px;padding:0 6px;margin-left:4px}
.fe-agenda-filters a.active .fe-agenda-count{background:rgba(255,255,255,.25)}
.fe-agenda-search{display:flex;gap:6px;align-items:center}
.fe-agenda-search input[type=text]{border:1px solid #e5e7eb;border-radius:999px;padding:8px 14px;font-size:14px;min-width:220px;background:#fff}
.fe-agenda-search button{border:1px solid var(--oss-red-600);background:var(--oss-red-600);color:#fff;border-radius:999px;width:36px;height:36px;cursor:pointer}
.fe-agenda-reset{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:999px;border:1px solid #e5e7eb;color:#6b7280;background:#fff}
.fe-agenda-month{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 12px;font-size:17px;font-weight:800;color:#111827}
.fe-agenda-month span{display:inline-flex;align-items:center;gap:10px}
.fe-agenda-month span::before{content:"";width:4px;height:20px;background:var(--oss-red-600);border-radius:999px;display:inline-block}
.fe-agenda-month em{font-style:normal;font-size:12px;font-weight:700;color:#6b7280;background:#f3f4f6;border-radius:999px;padding:4px 12px}
.fe-agenda-timeline{display:flex;flex-direction:column;gap:12px;position:relative}
.fe-agenda-item{display:flex;gap:14px;background:#fff;border:1px solid #f0f0f0;border-radius:16px;padding:14px;box-shadow:var(--shadow-sm);transition:box-shadow .2s,transform .2s}
.fe-agenda-item:hover{box-shadow:var(--shadow-md);transform:translateY(-1px)}
.fe-agenda-item.is-past{opacity:.85}
.fe-agenda-datebox{flex-shrink:0;width:60px;height:64px;border-radius:12px;background:linear-gradient(180deg,var(--oss-red-600),var(--oss-red-700));color:#fff;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.fe-agenda-datebox strong{font-size:22px;font-weight:800}
.fe-agenda-datebox span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;opacity:.95}
.fe-agenda-datebox.lg{width:76px;height:80px}.fe-agenda-datebox.lg strong{font-size:30px}
.fe-agenda-datebox.sm{width:48px;height:52px;border-radius:10px}.fe-agenda-datebox.sm strong{font-size:17px}.fe-agenda-datebox.sm span{font-size:10px}
.fe-agenda-body{flex:1;min-width:0}
.fe-agenda-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#4b5563}
.fe-agenda-dot{opacity:.5}
.fe-agenda-badge{font-size:11px;font-weight:800;border-radius:999px;padding:2px 10px;text-transform:uppercase;letter-spacing:.04em}
.fe-agenda-badge.today{background:#dcfce7;color:#15803d}
.fe-agenda-badge.past{background:#f3f4f6;color:#6b7280}
.fe-agenda-title{margin:6px 0 4px;font-size:17px;font-weight:700;line-height:1.4}
.fe-agenda-title a{color:#111827;text-decoration:none}
.fe-agenda-title a:hover{color:var(--oss-red-600)}
.fe-agenda-excerpt{font-size:14px;color:#6b7280;line-height:1.6;margin:0 0 10px}
.fe-agenda-actions{display:flex;flex-wrap:wrap;gap:8px}
.fe-agenda-btn{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#374151;background:#f9fafb;border:1px solid #e5e7eb;border-radius:999px;padding:7px 14px;text-decoration:none}
.fe-agenda-btn:hover{border-color:var(--oss-red-600);color:var(--oss-red-600);text-decoration:none}
.fe-agenda-btn.primary{background:var(--oss-red-600);border-color:var(--oss-red-600);color:#fff}
.fe-agenda-btn.primary:hover{background:var(--oss-red-700);color:#fff}
/* Kalender */
.fe-agenda-calwrap{background:#fff;border:1px solid #f0f0f0;border-radius:16px;box-shadow:var(--shadow-sm);padding:18px}
.fe-agenda-calhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.fe-agenda-calhead h2{margin:0;font-size:19px;font-weight:800;color:#111827}
.fe-agenda-calhead h2 small{font-size:13px;font-weight:600;color:#6b7280}
.fe-agenda-calnav{width:36px;height:36px;border-radius:999px;border:1px solid #e5e7eb;display:inline-flex;align-items:center;justify-content:center;color:#374151;background:#fff}
.fe-agenda-calnav:hover{border-color:var(--oss-red-600);color:var(--oss-red-600)}
.fe-agenda-calgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.fe-agenda-calhead-row span{text-align:center;font-size:12px;font-weight:800;color:#6b7280;text-transform:uppercase;padding:6px 0}
.fe-agenda-calcell{aspect-ratio:1/1;border:1px solid #f3f4f6;border-radius:10px;background:#f9fafb;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:14px;font-weight:600;color:#374151;position:relative}
.fe-agenda-calcell.blank{background:transparent;border:0}
button.fe-agenda-calcell.has-event{background:#fff;border-color:#fecaca;cursor:pointer}
button.fe-agenda-calcell.has-event:hover{border-color:var(--oss-red-600)}
.fe-agenda-calcell.today{outline:2px solid var(--oss-red-600);outline-offset:1px}
.fe-agenda-calcell.selected{background:var(--oss-red-600);color:#fff;border-color:var(--oss-red-600)}
.fe-agenda-caldot{width:7px;height:7px;border-radius:999px;background:var(--oss-red-600);display:inline-block}
.fe-agenda-caldot.inline{vertical-align:middle;margin-right:4px}
.fe-agenda-calcell.selected .fe-agenda-caldot{background:#fff}
.fe-agenda-calhint{font-size:13px;color:#6b7280;margin:10px 0}
.fe-agenda-callist{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.fe-agenda-calitem{display:flex;align-items:center;gap:12px;background:#f9fafb;border:1px solid #f0f0f0;border-radius:12px;padding:10px 12px;color:#111827}
.fe-agenda-calitem:hover{border-color:var(--oss-red-600);text-decoration:none;color:#111827}
.fe-agenda-calitem-date{flex-shrink:0;min-width:64px;text-align:center;font-size:12px;font-weight:800;color:var(--oss-red-600);background:#fff;border:1px solid #fee2e2;border-radius:8px;padding:6px 4px;line-height:1.3}
.fe-agenda-calitem-text{flex:1;min-width:0;display:flex;flex-direction:column}
.fe-agenda-calitem-text strong{font-size:14px;line-height:1.4}
.fe-agenda-calitem-text small{font-size:12px;color:#6b7280}
.fe-agenda-calnote{font-size:13px;font-weight:600;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:8px 12px;color:#7f1d1d}
.fe-agenda-calnote button{margin-left:8px;border:1px solid #fecaca;background:#fff;border-radius:999px;font-size:12px;font-weight:700;padding:2px 10px;cursor:pointer}
/* Homepage event cards */
.fe-agenda-homegrid{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:640px){.fe-agenda-homegrid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.fe-agenda-homegrid.cols-3,.fe-agenda-homegrid.cols-4{grid-template-columns:repeat(3,1fr)}}
.fe-event-card{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid #f0f0f0;border-radius:14px;padding:14px;box-shadow:var(--shadow-sm);color:inherit;transition:transform .2s,box-shadow .2s}
.fe-event-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);text-decoration:none;color:inherit}
.fe-event-card-body{flex:1;min-width:0}
.fe-event-card-top{font-size:12px;font-weight:700;color:var(--oss-red-600);display:flex;align-items:center;gap:8px;margin-bottom:4px}
.fe-event-card-body h3{margin:0 0 6px;font-size:16px;font-weight:700;line-height:1.4;color:#111827;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fe-event-card-meta{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:13px;font-weight:600;color:#4b5563}
.fe-event-card-go{color:#d1d5db;font-size:13px;margin-top:6px}
.fe-event-card:hover .fe-event-card-go{color:var(--oss-red-600)}
/* Detail */
.fe-agenda-detail-grid{display:grid;grid-template-columns:1fr;gap:20px;margin-top:12px}
@media(min-width:900px){.fe-agenda-detail-grid{grid-template-columns:2fr 1fr}}
.fe-agenda-detail-main{background:#fff;border:1px solid #f0f0f0;border-radius:16px;box-shadow:var(--shadow-sm);padding:20px}
.fe-agenda-detail-top{display:flex;gap:16px;align-items:flex-start}
.fe-agenda-detail-title{margin:6px 0 4px;font-size:clamp(22px,3vw,28px);font-weight:800;color:#111827;line-height:1.3}
.fe-agenda-detail-loc{color:#4b5563;font-weight:600;margin:0}
.fe-agenda-detail-hero{margin:16px 0;border-radius:12px;overflow:hidden;background:#f3f4f6}
.fe-agenda-detail-hero img{width:100%;max-height:420px;object-fit:cover;display:block}
.fe-agenda-detail-desc{font-size:15px;line-height:1.75;color:#374151;white-space:normal}
.fe-agenda-detail-desc.muted{color:#9ca3af}
.fe-agenda-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid #f3f4f6}
.fe-agenda-detail-side .fe-agenda-sidebox{background:#fff;border:1px solid #f0f0f0;border-radius:16px;box-shadow:var(--shadow-sm);padding:16px;position:sticky;top:80px}
.fe-agenda-sidebox h3{margin:0 0 12px;font-size:15px;font-weight:800;color:#111827}
.fe-agenda-sideitem{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-top:1px solid #f3f4f6;color:#111827}
.fe-agenda-sideitem:hover{text-decoration:none}.fe-agenda-sideitem:hover strong{color:var(--oss-red-600)}
.fe-agenda-sideitem strong{display:block;font-size:14px;line-height:1.4}
.fe-agenda-sideitem small{font-size:12px;color:#6b7280}
@media(max-width:640px){.fe-agenda-item{padding:12px}.fe-agenda-datebox{width:52px;height:56px}.fe-agenda-datebox strong{font-size:19px}.fe-agenda-toolbar{flex-direction:column;align-items:stretch}.fe-agenda-search input[type=text]{flex:1;min-width:0}}
/* ---- Agenda: thumbnail di timeline + kalender (diperbesar) ---- */
.fe-agenda-check{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#374151;background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:7px 12px;cursor:pointer;white-space:nowrap}
.fe-agenda-check input{accent-color:var(--oss-red-600)}
.fe-agenda-item-thumb{flex-shrink:0;width:120px;height:120px;border-radius:12px;overflow:hidden;border:1px solid #f0f0f0;background:#f3f4f6;padding:0;cursor:zoom-in;position:relative}
.fe-agenda-item-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.fe-agenda-item-thumb:hover img{transform:scale(1.05)}
.fe-zoom-hint{position:absolute;right:6px;bottom:6px;background:rgba(0,0,0,.6);color:#fff;font-size:11px;border-radius:999px;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center}
.fe-agenda-calcell{padding:4px 2px}
.fe-agenda-calnum{line-height:1.2;display:flex;align-items:center;justify-content:center;gap:4px}
.fe-agenda-calbadge{font-style:normal;font-size:10px;font-weight:800;color:#fff;background:var(--oss-red-600);border-radius:999px;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px}
.fe-agenda-calcell.with-img{justify-content:flex-start;gap:3px}
.fe-agenda-calbanner{display:block;width:100%;border-radius:8px;overflow:hidden;background:#e5e7eb;position:relative;cursor:zoom-in;border:0;padding:0}
.fe-agenda-calbanner img{width:100%;height:52px;object-fit:cover;display:block}
.fe-agenda-calbanner:hover img{filter:brightness(.94)}
.fe-agenda-calmore{position:absolute;left:0;right:0;bottom:0;font-style:normal;font-size:10px;font-weight:800;color:#fff;background:rgba(0,0,0,.62);padding:2px 4px;text-align:center}
.fe-agenda-calcell.selected .fe-agenda-calmore{background:rgba(255,255,255,.9);color:var(--oss-red-600)}
.fe-agenda-calcell.selected .fe-agenda-calbadge{background:#fff;color:var(--oss-red-600)}
.fe-agenda-calcount{font-size:10px;font-weight:700;color:#6b7280;line-height:1.2}
.fe-agenda-calcell.selected .fe-agenda-calcount{color:#fff}
.fe-agenda-calitem{display:flex;align-items:center}
.fe-agenda-calitem-thumbbtn{flex-shrink:0;border:1px solid #eee;background:#f3f4f6;border-radius:12px;padding:0;cursor:zoom-in;overflow:hidden;width:80px;height:80px}
.fe-agenda-calitem-thumb{width:100%;height:100%;object-fit:cover;display:block}
.fe-agenda-calitem-thumbbtn:hover .fe-agenda-calitem-thumb{filter:brightness(.94)}
.fe-agenda-calitem-ph{flex-shrink:0;width:80px;height:80px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);color:#9ca3af;font-size:24px;border:1px solid #eee}
/* Lightbox */
#agenda-lightbox{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}
#agenda-lightbox[hidden]{display:none}
.fe-lb-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78)}
.fe-lb-box{position:relative;background:#fff;border-radius:16px;max-width:min(720px,94vw);max-height:90vh;overflow:auto;padding:12px;box-shadow:0 24px 60px rgba(0,0,0,.4)}
.fe-lb-box img{width:100%;max-height:70vh;object-fit:contain;border-radius:10px;background:#111}
.fe-lb-box figcaption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 4px 2px;font-size:14px;font-weight:700;color:#111827}
.fe-lb-box figcaption a{font-size:13px;font-weight:700;color:var(--oss-red-600);white-space:nowrap}
.fe-lb-close{position:absolute;top:18px;right:18px;width:36px;height:36px;border-radius:999px;border:0;background:rgba(0,0,0,.6);color:#fff;cursor:pointer;font-size:15px}
.fe-lb-close:hover{background:var(--oss-red-600)}
/* ---- Agenda: badge + pills kategori ---- */
.fe-agenda-catbadge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#fff;border-radius:999px;padding:3px 11px;line-height:1.5;white-space:nowrap}
.fe-agenda-catbadge i{font-size:9px}
.fe-agenda-catbadge.sm{font-size:10px;padding:2px 9px}
.fe-agenda-catpills{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 10px;margin:0 0 6px;scrollbar-width:thin}
.fe-agenda-catpills a{flex-shrink:0;display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:#374151;background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:7px 14px;text-decoration:none}
.fe-agenda-catpills a:hover{border-color:var(--oss-red-600);color:var(--oss-red-600);text-decoration:none}
.fe-agenda-catpills a.active{background:#111827;border-color:#111827;color:#fff}
.fe-agenda-catpills-dot{width:9px;height:9px;border-radius:999px;display:inline-block}
.fe-agenda-calitem-badges{display:block;margin:3px 0 1px}
.fe-agenda-sideitem .fe-agenda-catbadge{margin:4px 0 2px}
@media(max-width:640px){
  .fe-agenda-item-thumb{width:88px;height:88px;border-radius:10px}
  .fe-agenda-calcell{font-size:12px;border-radius:8px}
  .fe-agenda-calbanner img{height:38px}
  .fe-agenda-calitem-thumbbtn,.fe-agenda-calitem-ph{width:64px;height:64px;border-radius:10px}
  .fe-agenda-search{flex-wrap:wrap}
}
/* ================= KRONIK PAROKI (timeline tahunan, warna template) ================= */
.fe-kronik-filter{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:10px 14px;box-shadow:var(--shadow-sm);flex-shrink:0}
.fe-kronik-filter label{font-size:13px;font-weight:800;color:#374151;display:inline-flex;align-items:center;gap:6px}
.fe-kronik-filter select{font:inherit;font-size:15px;font-weight:700;color:#111827;border:1px solid #e5e7eb;border-radius:9px;padding:8px 12px;background:#f9fafb;cursor:pointer}
.fe-kronik-filter select:focus{outline:2px solid var(--oss-red-600);outline-offset:1px}
.fe-kronik-btn{font:inherit;font-size:13px;font-weight:800;background:var(--oss-red-600);color:#fff;border:0;border-radius:9px;padding:9px 14px;cursor:pointer}
.fe-kronik-pills{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 8px;margin:0 0 4px;scrollbar-width:thin}
.fe-kronik-pills.loc{margin-bottom:12px}
.fe-kronik-pills a{flex-shrink:0;display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:#374151;background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:7px 14px;text-decoration:none}
.fe-kronik-pills a:hover{border-color:var(--oss-red-600);color:var(--oss-red-600);text-decoration:none}
.fe-kronik-pills a.active{background:#111827;border-color:#111827;color:#fff}
.fe-kronik-pills .dot{width:9px;height:9px;border-radius:999px;display:inline-block}
.fe-kronik-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#fff;border-radius:999px;padding:3px 11px;line-height:1.5;white-space:nowrap;text-decoration:none}
.fe-kronik-badge i{font-size:9px}
.fe-kronik-badge.sm{font-size:10px;padding:2px 9px}
.fe-kronik-badge.year{background:#111827}
.fe-kronik-wrap{display:grid;grid-template-columns:64px 1fr;gap:0;background:#fff;border:1px solid #e9e4da;border-radius:18px;overflow:hidden;box-shadow:var(--shadow-md)}
.fe-kronik-rail{position:relative;background:linear-gradient(180deg,#fdf8ef,#f7f1e3)}
.fe-kronik-rail::after{content:"";position:absolute;top:0;bottom:0;right:0;width:34px;background:var(--oss-red-600)}
.fe-kronik-globe{position:absolute;top:18px;left:50%;transform:translateX(-50%);width:44px;height:44px;border-radius:999px;background:#fff;border:2px solid var(--oss-red-600);color:var(--oss-red-600);display:inline-flex;align-items:center;justify-content:center;font-size:20px;z-index:2}
.fe-kronik-timeline{list-style:none;margin:0;padding:28px 28px 28px 0;position:relative}
.fe-kronik-timeline::before{content:"";position:absolute;top:0;bottom:0;left:39px;width:3px;background:#1f2937;border-radius:2px}
.fe-kronik-node{position:relative;display:grid;grid-template-columns:150px 96px 1fr;gap:18px;align-items:start;padding:22px 0 22px 0}
.fe-kronik-node + .fe-kronik-node{border-top:1px dashed #e5e7eb}
.fe-kronik-when{text-align:right;padding-top:14px}
.fe-kronik-when strong{display:block;font-size:clamp(18px,2.4vw,30px);font-weight:800;color:var(--oss-red-600);line-height:1.1}
.fe-kronik-when span{display:block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#9ca3af;margin-top:4px}
.fe-kronik-dot{position:relative;z-index:1;width:96px;height:96px;border-radius:999px;background:#fff;border:3px solid #1f2937;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 0 0 10px #fff,0 0 0 12px #e5e7eb;justify-self:center}
.fe-kronik-dot img{width:100%;height:100%;object-fit:cover}
.fe-kronik-dot i{font-size:30px;color:#fff;background:#1f2937;width:64px;height:64px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center}
.fe-kronik-dot::before,.fe-kronik-dot::after{content:"";position:absolute;top:50%;width:14px;border-top:2px dotted #9ca3af;z-index:-1}
.fe-kronik-dot::before{left:-16px}
.fe-kronik-dot::after{right:-16px}
.fe-kronik-card{min-width:0;background:#fff}
.fe-kronik-badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.fe-kronik-item-title{font-size:19px;line-height:1.4;margin:0 0 6px;color:#111827}
.fe-kronik-item-title a{color:inherit}
.fe-kronik-item-title a:hover{color:var(--oss-red-600);text-decoration:none}
.fe-kronik-excerpt{font-size:14.5px;color:#4b5563;margin:0 0 10px}
.fe-kronik-thumb{display:block;border-radius:12px;overflow:hidden;border:1px solid #e5e7eb;max-width:420px}
.fe-kronik-thumb img{width:100%;height:220px;object-fit:cover;display:block;transition:transform .3s}
.fe-kronik-thumb:hover img{transform:scale(1.03)}
.fe-kronik-more{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:800;color:var(--oss-red-600);margin-top:10px}
.fe-kronik-more:hover{color:var(--oss-red-700);text-decoration:none}
.fe-kronik-count{text-align:center;color:#6b7280;font-size:13px;margin:14px 0 0}
.fe-kronik-detail{background:#fff;border:1px solid #e9e4da;border-radius:18px;padding:clamp(20px,3vw,40px);box-shadow:var(--shadow-md)}
.fe-kronik-detail .fe-article-header{margin-bottom:4px}
.fe-kronik-5w1h{display:grid;gap:14px;margin-top:18px}
.fe-kronik-qa{border:1px solid #eef0f2;border-left:5px solid var(--oss-red-600);border-radius:12px;padding:16px 18px;background:#fff}
.fe-kronik-qa:nth-child(2){border-left-color:#00479b}
.fe-kronik-qa:nth-child(3){border-left-color:#15803d}
.fe-kronik-qa:nth-child(4){border-left-color:#0e7490}
.fe-kronik-qa:nth-child(5){border-left-color:#7c3aed}
.fe-kronik-qa:nth-child(6){border-left-color:#b45309}
.fe-kronik-qa h2{font-size:16px;margin:0 0 8px;color:#111827;display:flex;align-items:center;gap:10px}
.fe-kronik-qa h2 small{font-size:12px;font-weight:600;color:#9ca3af}
.fe-kronik-qa-icon{width:34px;height:34px;flex-shrink:0;border-radius:10px;background:var(--oss-red-600);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:14px}
.fe-kronik-qa:nth-child(2) .fe-kronik-qa-icon{background:#00479b}
.fe-kronik-qa:nth-child(3) .fe-kronik-qa-icon{background:#15803d}
.fe-kronik-qa:nth-child(4) .fe-kronik-qa-icon{background:#0e7490}
.fe-kronik-qa:nth-child(5) .fe-kronik-qa-icon{background:#7c3aed}
.fe-kronik-qa:nth-child(6) .fe-kronik-qa-icon{background:#b45309}
.fe-kronik-qa-body{font-size:15.5px;color:#374151;white-space:pre-line}
.fe-kronik-share{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.fe-kronik-related{margin-top:26px}
.fe-kronik-related h3{font-size:18px;color:#111827;margin:0 0 12px}
.fe-kronik-rel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.fe-kronik-rel-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;padding:0 0 12px;display:block;color:inherit}
.fe-kronik-rel-card:hover{text-decoration:none;border-color:var(--oss-red-600)}
.fe-kronik-rel-card img{width:100%;height:130px;object-fit:cover;display:block}
.fe-kronik-rel-date{display:block;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--oss-red-600);padding:10px 12px 2px}
.fe-kronik-rel-card strong{display:block;font-size:14px;line-height:1.45;padding:0 12px;color:#111827}
@media(max-width:820px){
  .fe-kronik-wrap{grid-template-columns:34px 1fr}
  .fe-kronik-rail::after{width:20px}
  .fe-kronik-globe{width:30px;height:30px;font-size:14px}
  .fe-kronik-timeline{padding:18px 14px 18px 0}
  .fe-kronik-timeline::before{left:22px}
  .fe-kronik-node{grid-template-columns:56px 1fr;gap:12px}
  .fe-kronik-when{grid-column:1/-1;text-align:left;padding-top:0}
  .fe-kronik-when strong{font-size:18px}
  .fe-kronik-dot{width:64px;height:64px;grid-row:2}
  .fe-kronik-dot i{width:42px;height:42px;font-size:19px}
  .fe-kronik-card{grid-column:2}
  .fe-kronik-thumb img{height:170px}
}
/* ---- Kronik: placeholder foto, info kosong, kotak berita terkait ---- */
.fe-kronik-noimg{display:flex;align-items:center;gap:12px;background:#f9fafb;border:1px dashed #d1d5db;border-radius:14px;padding:22px;color:#9ca3af;font-size:14px;margin:20px 0 6px}
.fe-kronik-noimg i{font-size:26px;color:#c7cdd4}
.fe-kronik-emptyinfo{display:flex;align-items:flex-start;gap:10px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;border-radius:12px;padding:14px 16px;font-size:14.5px;margin-top:18px}
.fe-kronik-emptyinfo i{margin-top:3px}
.fe-kronik-berita{display:flex;gap:18px;align-items:stretch;background:linear-gradient(135deg,#fef2f2,#fff7ed);border:1px solid #fecaca;border-radius:14px;padding:18px;margin-top:20px;overflow:hidden}
.fe-kronik-berita-text{flex:1;min-width:0}
.fe-kronik-berita-kicker{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--oss-red-600);margin:0 0 6px}
.fe-kronik-berita-text h3{font-size:18px;line-height:1.4;margin:0 0 8px;color:#111827}
.fe-kronik-berita-text h3 a{color:inherit}
.fe-kronik-berita-text h3 a:hover{color:var(--oss-red-600);text-decoration:none}
.fe-kronik-berita-text p{font-size:14px;color:#4b5563;margin:0 0 12px}
.fe-kronik-berita-thumb{flex-shrink:0;width:220px;border-radius:10px;overflow:hidden;align-self:center}
.fe-kronik-berita-thumb img{width:100%;height:150px;object-fit:cover;display:block}
.fe-kronik-more.news{color:#00479b;margin-top:10px}
.fe-kronik-more.news:hover{color:#003d85}
@media(max-width:640px){
  .fe-kronik-berita{flex-direction:column}
  .fe-kronik-berita-thumb{width:100%}
  .fe-kronik-berita-thumb img{height:170px}
  .fe-kronik-more.news{margin-left:0;margin-top:6px}
}
