/* ============================================================================
   PAROKI SMDTBA TULUNGAGUNG — style.css
   Versi terkonsolidasi: duplikasi dihapus, urutan logis, komentar ringkas
   ============================================================================ */

/* ── Google Fonts fallback ──────────────────────────────────────────────── */
:root {
  --font-serif:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:    'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-narrow:  'Archivo Narrow', 'Arial Narrow', Arial, sans-serif;
}
html { font-display: swap; }

/* ── CSS Variables ──────────────────────────────────────────────────────── */
:root {
  /* Palet */
  --primary-purple:  #564938;
  --primary-gold:    #B8860B;
  --accent-burgundy: #722F37;
  --accent-cream:    #F5F1E8;
  --light-lavender:  #E8E4F3;
  --deep-purple:     #3D1E4D;
  --gold:            #b8860b;

  /* Netral */
  --white:       #7e715e;
  --off-white:   #FAFAFA;
  --light-gray:  #F0F0F0;
  --medium-gray: #9E9E9E;
  --dark-gray:   #424242;
  --text-dark:   #2C2C2C;

  /* Shadow */
  --shadow-sm: 0 2px 8px  rgba(91,44,111,.08);
  --shadow-md: 0 4px 16px rgba(91,44,111,.12);
  --shadow-lg: 0 8px 24px rgba(91,44,111,.16);
  --shadow-xl: 0 12px 32px rgba(91,44,111,.2);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transition */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Base ───────────────────────────────────────────────────────────────── */
body {
  font-family: 'Archivo Narrow', var(--font-narrow);
  font-size: 15px;
  line-height: 1.5;
  color: #2c1a0e;
  background: linear-gradient(#d8c3a5, #e6d3b3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-purple);
  margin-bottom: var(--spacing-sm);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 18px; margin-top: 10px; letter-spacing: .5px; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p  { margin-bottom: var(--spacing-sm); font-size: .85rem; }

/* ── Links ──────────────────────────────────────────────────────────────── */
a, a:visited { color: #000; text-decoration: none; transition: all var(--transition-fast); }
a:hover      { color: #ff5301; }
a:focus      { outline: none; border: none; }

/* ── Outer wrapper ──────────────────────────────────────────────────────── */
#outer-wrapper {
  background-color: #f5debb;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  text-align: left;
  font: normal normal 14px Arial, Helvetica, sans-serif;
  box-shadow: none;
  border-radius: 0;
}

/* ── Header paroki ──────────────────────────────────────────────────────── */
.divheaderparoki {
  padding: 5px 5px 0 5px;
  box-sizing: border-box;
  display: block;
  margin-bottom: var(--spacing-md);
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--primary-gold);
  box-shadow: var(--shadow-md);
}
.divheaderparoki img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow);
}
.divheaderparoki:hover img { transform: scale(1.02); }

/* ── Menu bar ───────────────────────────────────────────────────────────── */
#divmenubar {
  margin: 0 0 0 0;
  padding: 5px 12px 5px 5px;
  border-radius: 6px;
  background-color: #dcc5a3;
  box-shadow: var(--shadow-md);
  position: relative;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

#btnmenu {
  border: none;
  border-radius: 6px;
  color: #fff;
  background-color: #22a6f2;
  padding: 5px 10px;
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  transition: all var(--transition-base);
}
#btnmenu:hover { background-color: #fe5100; color: #fff; }

#menubartitle {
  color: #899;
  font-weight: bold;
  float: right;
  line-height: 28px;
  font-family: var(--font-serif);
  letter-spacing: .5px;
}

/* ── Divmenu (grid navigasi) ────────────────────────────────────────────── */
#divmenu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 10px;
  margin: 3px;
  background: transparent;
  position: relative;
  animation: xanimatetop var(--transition-base);
}
@media (max-width: 480px) {
  #divmenu { grid-template-columns: repeat(2, 1fr); }
}

/* ── Menu wrapper & tombol ──────────────────────────────────────────────── */
.menu-wrapper {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  padding: 1px;
  justify-items: center;
  border-radius: var(--radius-lg);
  margin: var(--spacing-sm);
  backdrop-filter: blur(10px);
}

.divtombol {
  background: linear-gradient(160deg, #6b5740 0%, #3e2e20 100%);
  color: #fff;
  text-align: center;
  border-radius: 14px;
  width: 90px;
  height: 90px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 2px 2px 6px rgba(0,0,0,.35);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.divtombol::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left var(--transition-slow);
}
.divtombol:hover::before { left: 100%; }
.divtombol:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--primary-gold) 0%, #D4A017 100%);
}

.imgtombol {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 0;
  display: block;
  margin: 0 auto 5px;
  filter: brightness(1.1);
  transition: transform var(--transition-base);
}
.divtombol:hover .imgtombol { transform: scale(1.1) rotate(5deg); }

.tulisan {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  margin-top: var(--spacing-xs);
  letter-spacing: .3px;
}

/* tombol lama (table-based, fallback) */
.tbtombol {
  cursor: pointer;
  width: 100%;
  margin: 2px;
  background-color: #fcfcfc;
  border-collapse: collapse;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.08);
  height: 100%;
}
.tbtombol:hover { background-color: #ffefaf !important; }

.tdtombol_icon {
  background: black;
  width: 20%;
  text-align: center;
  vertical-align: middle;
  border-radius: 6px 6px 0 0;
  padding: .9em 0 0 0;
}
.tdtombol_text {
  background: black;
  width: 20%;
  text-align: center;
  vertical-align: middle;
  border-radius: 0 0 6px 6px;
  font-size: .8em;
  padding: 4px 0 0 0;
  margin: 0;
  line-height: 1.2;
}

/* ── Link ashort ────────────────────────────────────────────────────────── */
a.ashort, a.ashort:visited { color: white; text-decoration: none; font-family: 'Archivo Narrow', sans-serif; }
a.ashort:hover   { color: #fe5100; }
a.ashort:focus   { border: none; outline: none; }

/* ── Content .par ───────────────────────────────────────────────────────── */
.par {
  padding: 5px 0;
  font: normal normal 16px Arial, Helvetica, sans-serif;
  text-align: center;
  max-width: 900px;
  margin: var(--spacing-md) auto;
  border-radius: var(--radius-lg);
}
.par h1 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--primary-purple);
  margin-bottom: var(--spacing-lg);
  font-weight: 700;
}
.par h2   { margin-top: var(--spacing-lg); }
.par p    { line-height: 1.8; color: var(--dark-gray); margin-bottom: var(--spacing-md); }
.par b    { color: var(--primary-purple); font-weight: 600; }

.defpar { padding: 5px; font: normal normal 14px Arial, Helvetica, sans-serif; text-align: justify; }
.defparcenter { padding: 5px; font: normal normal 14px Arial, Helvetica, sans-serif; text-align: center; }
.par_about { text-align: justify; padding: 5px; margin-top: 5px; font-size: .9em; }

/* ── Header labels ──────────────────────────────────────────────────────── */
.header {
  font: normal bold 14px Arial, Helvetica, sans-serif;
  color: #fff;
  border-radius: 100px;
  padding: 6px 14px;
  background-color: #dcc5a3;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}
.subheader {
  font: normal bold 16px Arial, Helvetica, sans-serif;
  margin-top: .3em;
  margin-bottom: 0;
}
.downloadheader {
  text-align: center;
  font: normal bold 14px Arial, Helvetica, sans-serif;
  color: white;
  border-radius: 0 100px 100px 0;
  padding: 6px 14px;
  background-color: #22a6f2;
}
.bubblehead {
  text-align: center;
  font: normal bold 12px Arial, Helvetica, sans-serif;
  color: white;
  border-radius: 100px;
  padding: 6px 14px;
  background-color: #c07050;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btdef, .btlink {
  background-color: #22a6f2;
  color: white;
  border: none;
  border-radius: 100px;
  padding: 6px 14px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .5px;
  transition: all var(--transition-base);
}
.btdef:hover, .btlink:hover { background-color: #fe5100; color: #fff; }

a.btlink:visited { color: #fff; }

.btgreen       { background-color: #4caf50; }
.btgreen:hover { background-color: #4cd153; }

.btabout {
  background-color: var(--accent-burgundy);
  font: italic normal 11px Arial, Helvetica, sans-serif;
  margin-top: .5em;
}
.btabout:hover { background-color: #fd8d00; color: #fff; }

.btnorange {
  cursor: pointer;
  background: linear-gradient(to bottom, #fbb450 5%, #f89306 100%);
  border-radius: 5px;
  border: 1px solid #c97e1c;
  display: inline-block;
  color: #fff;
  font: bold 14px Arial, Helvetica, sans-serif;
  padding: 6px 11px;
  text-decoration: none;
  text-shadow: 0 1px 0 #8f7f24;
  transition: all var(--transition-fast);
}
.btnorange:hover  { background: linear-gradient(to bottom, #f89306 5%, #fbb450 100%); }
.btnorange:active { position: relative; top: 1px; }

.btnarsip {
  padding: 4px 8px;
  margin: 5px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btbar {
  background-color: #fcfcfc;
  border-collapse: collapse;
  color: black;
  box-shadow: 0 4px 4px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.1);
  border-radius: 6px;
  width: 100%;
  text-align: left;
  margin-top: 4px;
  padding: 10px;
}
.btbar:hover { background-color: #fe9; }

.divbtbar { width: 100%; display: inline-block; margin: 0 0 5px 0; }

/* ── Modals ─────────────────────────────────────────────────────────────── */
.modal, .modalx {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  padding: 20px;
  background-color: rgba(20,12,28,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-y: auto;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn .25s ease;
}
.modal[style*="block"], .modalx[style*="block"] { display: flex !important; }

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modalSlideUp {
  from { transform: translateY(40px) scale(.96); opacity: 0; }
  to   { transform: translateY(0) scale(1);     opacity: 1; }
}

/* About modal */
.modal-content {
  background: linear-gradient(135deg, #3D1E4D 0%, #564938 100%);
  margin: auto;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  animation: modalSlideUp .3s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  color: white;
}
.close, .closex {
  color: rgba(255,255,255,.7);
  float: right;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  transition: all .2s ease;
  line-height: 1;
}
.close:hover, .close:focus,
.closex:hover, .closex:focus { color: #fff; transform: rotate(90deg); }

.modal-body {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  padding: 20px 8px;
  border: 3px solid white;
  border-radius: 10px;
  background-image: linear-gradient(to right, #22a6f2, #0f5f8d);
}
.modal-body img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-md);
}

/* Photo modal */
.photo-modal-content {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 300px;
  margin: auto;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
  animation: modalSlideUp .32s cubic-bezier(.34,1.56,.64,1);
  position: relative;
}
.photo-modal-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3/3.5;
  overflow: hidden;
  background: #e8e0d8;
}
.photo-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .4s ease;
}
.photo-modal-content:hover .photo-modal-hero img { transform: scale(1.03); }

.photo-modal-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(10,6,16,.7), transparent);
  pointer-events: none;
}
.photo-modal-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  border: none;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  font-weight: 300;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
  z-index: 2;
  line-height: 1;
}
.photo-modal-close:hover {
  background: rgba(184,134,11,.8);
  color: #fff;
  transform: rotate(90deg) scale(1.1);
}
.photo-modal-info { padding: 16px 18px 20px; background: #fff; }
.photo-modal-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #b8860b;
  background: rgba(184,134,11,.1);
  border: 1px solid rgba(184,134,11,.25);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  min-height: 18px;
}
.photo-modal-badge:empty { display: none; }
.photo-modal-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #2c2c2c;
  margin: 0 0 5px;
  line-height: 1.25;
}
.photo-modal-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #9e9e9e;
  letter-spacing: .3px;
  min-height: 14px;
}
.photo-modal-sub:empty { display: none; }

/* ── Tabs ───────────────────────────────────────────────────────────────── */
ul.tabs {
  padding: 0;
  margin: 0 0 -1px 0;
  list-style-type: none;
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-gold) var(--light-gray);
}
ul.tabs::-webkit-scrollbar        { height: 8px; }
ul.tabs::-webkit-scrollbar-track  { background: var(--light-gray); border-radius: 4px; }
ul.tabs::-webkit-scrollbar-thumb  { background: var(--primary-gold); border-radius: 4px; }
ul.tabs::-webkit-scrollbar-thumb:hover { background: var(--primary-purple); }

ul.tabs li { display: inline-block; flex-shrink: 0; }
ul.tabs li a {
  display: inline-block;
  padding: 7px 7px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-gray);
  background-image: linear-gradient(to top, #c2ac8d, #c2ac8d);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}
ul.tabs li a:hover { background: none; }
ul.tabs li.selected a,
ul.tabs li.selected a:hover {
  background: var(--white);
  color: #f5debb !important;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

div.tabcontents {
  border: 1px solid var(--white);
  padding: var(--spacing-lg);
  background: var(--white);
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-md);
}
.tabcontents { box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.08); }
.tabcontents #tab_info a,
.tabcontents #tab_foto a { color: #f5debb !important; }
.tabcontents #tab_info a:hover,
.tabcontents #tab_foto a:hover { text-decoration: underline; }

/* ── W3 Components ──────────────────────────────────────────────────────── */
.w3-container {
  padding: 6px;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-radius: 5px;
  background-color: #c2ac8d;
}
.w3-container.w3-card { 
  background-color: var(--white) !important; }

.w3-panel {
  cursor: pointer;
  padding: 1px;
  margin: 5px 4px;
  border-radius: 5px;
  background-color: #f9f9f9 !important;
  border-left: 4px solid var(--primary-gold);
  transition: all var(--transition-base);
}
.w3-panel:hover { background-color: #ffefb0 !important; }
.w3-panel.w3-card { background-color: #f7e0be !important; }

.w3-card { box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.08); }

/* ── Panel / card ───────────────────────────────────────────────────────── */
.panel   { margin: 6px; border-radius: 6px; background-color: #fff !important; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.08); display: none; padding: 10px; }
.card    { display: flex; background: #fce8c6; margin-bottom: 5px; padding: 8px; border-radius: 5px; }

/* ── Accordion ──────────────────────────────────────────────────────────── */
.accordion {
  background-color: #e9d4b6;
  color: black;
  cursor: pointer;
  padding: 10px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-weight: bold;
}

/* ── Icons & Images ─────────────────────────────────────────────────────── */
.imgiconsmall { width: 20px; border: 0; padding: 0 6px 0 0; vertical-align: middle; }
.iconsquare   { border: 0; border-radius: 5px; width: 75px; height: 75px; transition: transform var(--transition-base); }
.iconcircle   { border: 0; border-radius: 100px; width: 75px; height: 75px; transition: transform var(--transition-base); }
.iconkat      { border: 0; border-radius: 5px; width: 60px; }
.iconheadline { border: 0; width: 54px; }
.iconheadlineright { border: 0; height: 75px; padding-right: 6px; }

.w3-panel:hover .iconsquare,
.w3-panel:hover .iconcircle { transform: scale(1.1); }

.imgpastor  { border: 1px solid #ccc; border-radius: 50%; margin: 0 0 .5em 0; }
.imglink    { border: 0; width: 70px; height: 70px; }
.imgposter  { width: 100%; margin-top: 10px; border: 0; border-collapse: collapse; }
.imgpartitur { border: 0; width: 100%; }

/* ── Table cells ────────────────────────────────────────────────────────── */
.tdicon          { padding: 6px 0 6px 6px; vertical-align: top; }
.tddesc          { padding: 10px 16px 10px 12px; width: 100%; font-size: 14px; vertical-align: middle; }
.tdtitle         { padding: 0 16px 0 4px; width: 100%; }
.tdnum           { color: #999; float: right; margin: 4px; font-size: 12px; }
.tdiconheadline  { text-align: top; padding-left: .5em; padding-right: .4em; }
.tddate          { padding: 0 3px 0 6px; width: 36px; vertical-align: top; }
.tdacara, .tdposterhead { padding: 0 0 0 8px; font: 14px 'PT Sans', sans-serif; vertical-align: middle; }
.tdposterhead    { padding-top: 10px; padding-bottom: 8px; }
.tdlink          { padding: 0 10px; font-size: 14px; font-weight: normal; }
.tdspacer        { width: 1px; background-color: #636363; }
.tdpastor        { font: normal normal 16px Arial, Helvetica, sans-serif; text-align: center; padding: 0 1em .8em 0; }

.tbpastorparoki { float: left; }
.tabledef       { padding: 0; border-spacing: 0; border-collapse: collapse; }
.table100       { width: 100%; }

/* ── Utility typography ─────────────────────────────────────────────────── */
.containerhead      { padding: 4px 6px 0 3px; width: 100%; vertical-align: top; }
.containertitle     { font-size: 16px; font-weight: bold; }
.headline_title     { font-size: 16px; font-weight: bold; }
.headline_title_tabcontent { font-size: 16px; font-weight: bold; }
.headline_title2    { font-size: 14px; font-weight: bold; }
.headline_subtitle  { font-size: 14px; }
.headline_subtitle_green { color: green; font-size: 12px; font-weight: bold; margin-top: .2em; }
.headline_ket       { font-size: 12px; line-height: 18px; }
.kring              { font-size: 14px; font-weight: bold; }
.wilayah            { font-size: 20px; font-weight: bold; }
.biggername         { font-size: 16px; font-weight: bold; }
.namakategorial     { font-size: 14px; font-weight: bold; font-family: 'PT Sans', sans-serif; }
.namagroup          { font-size: 16px; font-weight: bold; padding-left: .2em; }
.subtitle           { padding-left: .2em; }
.kontributor        { margin: 10px 0 5px 0; text-align: center; font-size: 12px; }

.datefont   { color: #ff6300; font-weight: bold; }
.greyfont   { color: #558; }
.darkgreyfont { color: #666; }

keter { color: #c00; font-style: italic; }
merah { color: #c00; font-weight: bold; }
jingga { color: #d60; font-weight: bold; }
hijau { color: #060; }
biru  { color: #03c; }
abu   { color: #777; }

.disabled   { color: #999; list-style-image: url('img/pdf-grey.png'); }
.listgform  { list-style-image: url('img/gform-blue.png'); }
.hrmenu     { height: 1px; border: none; background-color: #909090; margin-bottom: 0; }

A.adef:link, A.adef:active, A.adef:visited { text-decoration: none; font-weight: normal; color: #204080; }
A.adef:hover { color: #ff5722; }

ul.app { padding-left: 33px; list-style-image: url('img/app-yellow.png'); }
ul.pdf { padding-left: 33px; list-style-image: url('img/pdf-orange.png'); }

/* ── Date widget ────────────────────────────────────────────────────────── */
.date {
  display: block;
  width: 42px;
  margin: 8px auto;
  background: #fff;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
}
.date .binds {
  position: absolute;
  height: 6px;
  width: 22px;
  background: transparent;
  border: 1px solid #999;
  border-width: 0 3px;
  top: -3px;
  left: 0; right: 0;
  margin: auto;
}
.date .month {
  background: #57617e;
  display: block;
  padding: 2px;
  color: #fff;
  font-size: 14px;
  font-weight: normal;
  box-shadow: 0 0 2px #333;
}
.date .day, .date .holiday {
  color: #57617e;
  display: block;
  margin: 0;
  padding: 3px 0;
  font-size: 22px;
  box-shadow: 0 0 3px #333;
  position: relative;
}
.date .holiday { color: #e63a00; }
.date .day::after, .date .holiday::after {
  content: '';
  display: block;
  height: 100%; width: 96%;
  position: absolute;
  top: 2px; left: 2%;
  z-index: -1;
  box-shadow: 0 0 2px #333;
}
.date .day::before, .date .holiday::before {
  content: '';
  display: block;
  height: 100%; width: 90%;
  position: absolute;
  top: 4px; left: 5%;
  z-index: -1;
  box-shadow: 0 0 2px #ccc;
}

/* ── Video embed ────────────────────────────────────────────────────────── */
.video { width: 100%; margin: 6px 0; position: relative; }
.video > .video-height { padding-top: 56.25%; display: block; }

/* ── HR ─────────────────────────────────────────────────────────────────── */
.hrdef { height: 1px; border: none; background-color: #bbb; }

/* ── Agenda ─────────────────────────────────────────────────────────────── */
#div_agenda { padding: 15px; }
.imgiconagenda { height: 58px; float: right; margin-top: 5px; border-radius: 4px; }

/* ── iframe ─────────────────────────────────────────────────────────────── */
#framecontent { border: none; width: 100%; height: 1600px; }

/* ── Maps ───────────────────────────────────────────────────────────────── */
#divgmaps { width: 100%; height: 300px; margin: 5px; border-radius: 6px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
#div_footer { width: 1000px; font-size: 15px; margin: 0 auto; }
.tdfooter {
  padding: 10px 0 15px 5px;
  background-color: transparent;
  border: 0;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.8;
  font-size: 14px;
}
.tdfooter b   { color: var(--primary-gold); font-weight: 600; font-family: var(--font-serif); font-size: 16px; }
.tdfooter a   { color: var(--primary-gold); text-decoration: underline; }
.tdfooter a:hover { color: var(--white); }

#topjump {
  font-size: 24px;
  color: #fe5100;
  background: transparent;
  border-radius: 50%;
  position: relative;
  right: 0; bottom: 0;
  float: right;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-block;
}
#topjump:hover { color: var(--white); transform: translateY(-8px); }

/* ── Animations ─────────────────────────────────────────────────────────── */
@keyframes xanimatetop {
  from { top: -800px; opacity: 1; }
  to   { top: 0;      opacity: 1; }
}
@-webkit-keyframes xanimatetop {
  from { top: -800px; opacity: 1; }
  to   { top: 0;      opacity: 1; }
}

/* Blinking "in progress" badge */
@-webkit-keyframes blinker {
  from { opacity: 1; }
  to   { opacity: .1; }
}
.prog {
  font-size: .8em;
  font-style: italic;
  font-weight: bold;
  color: white;
  background: red;
  padding: 2px 8px;
  border-radius: 50px;
  float: left;
  -webkit-animation: blinker .45s infinite ease-in-out alternate;
}

/* ── Skeleton loading ───────────────────────────────────────────────────── */
@keyframes skeletonShimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.skeleton {
  background: linear-gradient(90deg, #e8dfd0 25%, #f2ebe0 50%, #e8dfd0 75%);
  background-size: 600px 100%;
  animation: skeletonShimmer 1.4s infinite linear;
  border-radius: 4px;
  display: block;
}
.skeleton-card  { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #e8dfd0; }
.skeleton-thumb { width: 100%; aspect-ratio: 16/10; }
.skeleton-body  { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.skeleton-title { height: 18px; width: 85%; }
.skeleton-title2 { height: 18px; width: 60%; }
.skeleton-text  { height: 13px; width: 100%; }
.skeleton-text2 { height: 13px; width: 75%; }
.skeleton-meta  { height: 11px; width: 50%; margin-top: 4px; }

.skeleton-galeri-item  { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #e8dfd0; }
.skeleton-galeri-thumb { width: 100%; aspect-ratio: 1; }

@keyframes contentFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.content-loaded { animation: contentFadeIn .35s ease both; }
.hidden { display: none; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero-paroki {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.65), rgba(0,0,0,.9)),
    radial-gradient(circle at center, rgba(0,0,0,.2), rgba(0,0,0,.6));
}
.hero-inner { position: relative; max-width: 720px; padding: 20px; }

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 4.8rem);
  line-height: 1.15;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-shadow: 0 10px 40px rgba(0,0,0,.9);
  color: #ffffff;
}
.hero-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 1;
  color: #ffffff;
  margin-bottom: 22px;
}
.hero-location {
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  letter-spacing: 6px;
  opacity: 0.85;
  color: #ffffff;
  position: relative;
}
.hero-location::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,.4);
  margin: 0 auto 10px;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  width: 18px; height: 28px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 20px;
}
.scroll-indicator::after {
  content: '';
  display: block;
  width: 3px; height: 6px;
  background: #fff;
  margin: 5px auto;
  border-radius: 2px;
  animation: scrollMove 1.5s infinite;
}
@keyframes scrollMove {
  0%   { opacity: 0; transform: translateY(0); }
  50%  { opacity: 1; transform: translateY(6px); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ── Home menu ──────────────────────────────────────────────────────────── */
.home-menu a {
  background: #f2f2f2;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #2c1a0e;
  font-weight: 600;
  transition: all .25s ease;
}
.home-menu a:hover {
  background: linear-gradient(135deg, #b8860b, #d4a017);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
.home-menu a:active { transform: scale(.96); }


/* ── Jadwal ─────────────────────────────────────────────────────────────── */
.jadwal-modern { padding: 30px 15px; }
.jadwal-modern h2 { text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; margin-bottom: 20px; color: #3a2a1a; }

.jadwal-grid   { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; max-width: 600px; margin: auto; }

.jadwal-card {
  background: #fff;
  border-radius: 14px;
  padding: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  position: relative;
  overflow: hidden;
  transition: all .25s ease;
}
.jadwal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px; width: 100%;
  background: linear-gradient(90deg, #b8860b, #d4af37);
}
.jadwal-header { font-size: .85rem; font-weight: 700; margin-bottom: 10px; color: var(--gold); letter-spacing: .5px; }
.jadwal-item   { display: flex; justify-content: space-between; padding: 6px 0; font-size: .85rem; border-bottom: 1px dashed #eee; }
.jadwal-item:last-child { border-bottom: none; }
.jadwal-item span { color: #555; }
.jadwal-item b    { color: #2c1a0e; }
.jadwal-btn       { display: block; margin: 20px auto 0; text-align: center; padding: 10px 16px; background: #b8860b; color: #fff; border-radius: 8px; text-decoration: none; font-size: .85rem; width: fit-content; }
.jadwal-btn:hover { background: #d4a017; }

/* ── Artikel ─────────────────────────────────────────────────────────────── */
.artikel-modern { padding: 20px 10px; }
.artikel-title  { text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; margin-bottom: 20px; color: #3a2a1a; }
.artikel-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: stretch; }

.artikel-featured {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 230px;
  display: block;
}
.artikel-featured img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.artikel-featured:hover img { transform: scale(1.05); }
.artikel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  display: flex;
  align-items: flex-end;
  padding: 15px;
}
.artikel-overlay h3 { color: #fff; font-size: .9rem; line-height: 1.3; }

.artikel-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 5px 0;
}
.artikel-small {
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #2c1a0e;
  padding: 6px;
  align-items: center;
  transition: all .2s ease;
  min-height: 80px;
}
.artikel-small:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.1); }
.artikel-small img   { width: 70px; height: 65px; object-fit: cover; border-radius: 8px; }
.artikel-small-content p { font-size: .75rem; line-height: 1.3; margin: 0; }

/* ── Shared card shadow util ────────────────────────────────────────────── */
.card-shadow,
.romo-card,
.artikel-small,
.jadwal-card {
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  transition: all .25s ease;
}
.card-shadow:hover,
.romo-card:hover,
.artikel-small:hover,
.jadwal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.15);
}

/* ── Container main ─────────────────────────────────────────────────────── */
.container-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 14px;
}

.container-main section {
  margin-bott
/* ============================================================================
   RESPONSIVE
   ============================================================================ */

/* Medium: 768–989px */
@media only screen and (min-width: 768px) and (max-width: 989px) {
  #outer-wrapper   { width: 100%; padding: 0; }
  #framecontent    { height: 1440px; }
  #div_agenda      { padding: 10px; }
  #div_footer      { width: 768px; font-size: 14px; }
  .tdtombol_icon   { padding: .8em 0 0 0; }
  .tdtombol_text   { font-size: 14px; padding: 0 0 .9em 0; line-height: 110%; }
  .header, .subheader, .par { font-size: 16px; }
  p { margin-bottom: 1.8em; }
}

/* Small: ≤767px */
@media only screen and (max-width: 767px) {
  #outer-wrapper  { width: 100%; padding: 0; }
  #framecontent   { height: 1600px; }
  #div_agenda     { padding: 10px; }
  #div_footer     { width: 520px; font-size: 12px; }
  #menubartitle   { display: none; }
  .tdtombol_icon  { padding: .6em 0 0 0; }
  .tdtombol_text  { font-size: 14px; padding: 0 0 .9em 0; line-height: 100%; }
  .romo-card      { width: 180px; padding: var(--spacing-md); }
  .romo-name      { font-size: .95rem; }
  .artikel-layout { grid-template-columns: 1fr; }
  .artikel-featured { height: 180px; }
}

/* Smallest: ≤479px */
@media only screen and (max-width: 479px) {
  #outer-wrapper  { width: 100%; padding: 0; }
  #framecontent   { height: 2220px; }
  #div_agenda     { padding: 5px; }
  #div_footer     { width: 100%; font-size: 11px; }
  .header, .subheader, .par, .tdpastor { font-size: 14px; }
  .tdtombol_icon  { padding: .5em 0 0 0; }
  .tdtombol_text  { font-size: 13px; padding: 0 0 .6em 0; line-height: 110%; }
  .date           { width: 38px; }
  .tdacara        { font-size: 14px; }
}

/* Menu grid responsive */
@media (max-width: 768px) {
  .menu-wrapper {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 1px;
  }
  .divtombol { width: 80px; height: 80px; padding: 1px; }
  .imgtombol { width: 45px; height: 45px; }
  .tulisan   { font-size: 12px; }
  ul.tabs li a { padding: 12px 16px; font-size: 11px; }
}
@media (max-width: 480px) {
  .menu-wrapper  { grid-template-columns: repeat(4, 1fr); }
  .divtombol     { width: 80px; height: 80px; }
  .imgtombol     { width: 45px; height: 45px; }
  .tulisan       { font-size: 12px; }
  ul.tabs li a   { padding: 10px 12px; font-size: 10px; }
}

/* Hero mobile */
@media (max-width: 768px) {
  .hero-paroki {
    aspect-ratio: 16/2;
    min-height: unset;
    height: auto;
    padding: 0;
  }
  .hero-inner    { max-width: 90%; padding: 15px; transform: translateY(-8px); }
  .hero-title    { font-size: 2rem; }
  .hero-tagline  { font-size: .8rem; letter-spacing: 2px; }
  .hero-location { font-size: .7rem; letter-spacing: 4px; opacity: .75; }
}

/* Large: min-width 900px */
@media only screen and (min-width: 900px) {
  .header, .subheader, .par { font-size: 16px; }
  p { margin-bottom: 1.8em; }
  .date .day, .date .holiday { font-size: 26px; }
  .date .month { font-size: 16px; }
  .tdacara { font-size: 18px; }
}

/* Photo modal small screens */
@media (max-width: 360px) {
  .photo-modal-content { max-width: 260px; }
  .photo-modal-name    { font-size: 17px; }
}

/* ── Accessibility ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:       0.01ms !important;
    animation-iteration-count: 1     !important;
    transition-duration:      0.01ms !important;
  }
}

/* ── Print ──────────────────────────────────────────────────────────────── */
@media print {
  #divmenubar, #divmenu, #div_footer, .modal, .modalx { display: none !important; }
  body { background: white; }
  .par { box-shadow: none; border: 1px solid #ccc; }
}