/* ==========================================================================
   Poli Plot Labs – Lean Stylesheet
   --------------------------------------------------------------------------
   Notes:
   - Uses CSS variables for brand colors
   - Keeps components you’re using across pages
   - About page headings are scoped so Index stays the same
   ========================================================================== */

/* ----- Brand tokens ------------------------------------------------------ */
:root{
  --navy:#0B3B4D;
  --navy-light:#4D6B7A;
  --navy-bg:#E6EEF1;
  --orange:#F98400;
  --orange-light:#FFB84D;
  --orange-bg:#FFF3E0;
}

/* Font */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800);

/* ----- Base / Reset (light) --------------------------------------------- */
*,
*::before,
*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; background:#fff; }

html.about-page{ font-size:18px; }

body{
  margin:0;
  font-family:"Open Sans",system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:#111;
  background:#fff;
}

/* About page base adjustments */
body.about-page{ background:#fff; }

img{ max-width:100%; height:auto; display:block; }
a{ color:#010101; text-decoration:none; transition:all .3s ease; }
a:focus, img:focus, button:focus, .btn:focus{ outline:none; }
::selection{ background:#FECC98; color:#fff; }

main[role="main-home-wrapper"],
main[role="main-inner-wrapper"]{ background:#fff; padding-bottom:90px; }

/* Layout: slightly narrower content area like many modern sites */
@media (min-width:1200px){
  /* Wider container to further reduce side whitespace */
  .container{ width:1200px !important; }
}

/* Centered, narrower layout for About page */
/* About page: use full container width (not centered/narrow) */
body.about-page main[role="main-inner-wrapper"]{
  /* Match home page container centering/offset */
  width:auto;
  margin:0 auto;
}

/* Smooth transitions for common elements */
body, img,
.commentys-form input[type="text"],
.commentys-form input[type="email"],
.commentys-form input[type="url"],
.commentys-form textarea{ transition:all .2s linear; }

/* ----- Logo sizes -------------------------------------------------------- */
h1 a img{ width:180px; height:auto; display:block; }
/* Keep logo crisp, proportional, and consistent across pages */
header[role="header"] h1 img{
  width:auto !important;
  height:auto !important;
  max-height:72px;
}
/* Tighter footer logo to reduce overall height
   Use max-width so it also caps any inline width set in HTML */
footer[role="footer"] h1 img{ max-width:120px; height:auto; margin:0 auto; }

/* ========================================================================
   HEADER / NAV
   ======================================================================== */
header[role="header"]{
  background:#fff;
  /* Shorter header */
  padding:36px 0 16px;
  border-bottom:1px solid #e5e5e5; /* subtle divider */
}
header[role="header"] h1{ margin:0; }
header[role="header"] h1 > a{ max-width:110px; display:block; float:left; }

/* Tighten nav top spacing to match shorter header */
header[role="header"] nav{ padding-top:6px; transition:all .6s ease; }
header[role="header"] nav ul{
  display:none;
  position:fixed;
  z-index:60;
  text-align:center;
  width:100%; height:100%;
  inset:0;
  background:var(--navy-bg);
  padding-top:199px;
  margin:0;
}

header[role="header"] nav ul > li{
  font-weight:800;
  font-size:42px;
  display:block;
}
header[role="header"] nav ul > li > a{
  display:block;
  line-height:72px;
  color:#fff;
}
header[role="header"] nav ul > li:hover a,
header[role="header"] nav ul > li.nav-active a{
  color:var(--orange);
}

/* Hamburger (3 lines) */
header[role="header"] nav #menu-button{
  width:38px;
  height:28px;
  position:relative;
  z-index:70;
  float:right;
  cursor:pointer;
  transition:.5s ease-in-out;

  /* hide any accidental text like "Navigation" */
  font-size:0;
  line-height:0;
  color:transparent;
  text-indent:-9999px;
  overflow:visible; /* prevent cut-off when lines rotate into X */
  white-space:nowrap;
}
header[role="header"] nav #menu-button span{
  position:absolute;
  left:0;
  width:100%;
  height:3px;
  background:var(--orange);
  transition:.25s ease-in-out;
  border-radius:2px; /* rounded ends look nicer */
}
header[role="header"] nav #menu-button span:nth-child(1){ top:3px; }
header[role="header"] nav #menu-button span:nth-child(2){ top:12px; }
header[role="header"] nav #menu-button span:nth-child(3){ top:21px; }
header[role="header"] nav #menu-button.open span:nth-child(1){
  top:12px; transform:rotate(135deg);
}
header[role="header"] nav #menu-button.open span:nth-child(2){
  opacity:0; left:-60px;
}
header[role="header"] nav #menu-button.open span:nth-child(3){
  top:12px; transform:rotate(-135deg);
}
/* subtle hover effect */
header[role="header"] nav #menu-button:hover span{ background:var(--navy); }

/* Homepage header/footer variants */
header[role="header"].header--home{ background:#fff; }
footer[role="footer"].footer--home{ background:#fff; }

/* ========================================================================
   HERO (Index)
   ======================================================================== */
#site-hero-title{
  margin:0; font-weight:900; line-height:1; letter-spacing:-.02em;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; transform:translateZ(0);
}
#site-hero-title .line-1{
  color:var(--navy); font-size:clamp(42px,6vw,72px); position:relative; display:inline-block; white-space:nowrap;
}
#site-hero-title .line-1::after{
  content:""; position:absolute; left:0; bottom:-8px; width:56%; height:10px; border-radius:8px;
  background:linear-gradient(90deg,var(--orange),rgba(249,132,0,0)); transition:width .28s ease;
}
#site-hero-title:hover .line-1::after{ width:100%; }

#site-hero-title .line-2{
  display:inline-flex; align-items:center; gap:10px; margin-top:10px;
  color:var(--navy); font-size:clamp(28px,4.5vw,56px); font-weight:900; letter-spacing:.01em;
}
#site-hero-title .line-2::before{
  content:""; width:10px; height:10px; border-radius:50%; background:var(--orange);
  box-shadow:0 0 0 6px rgba(249,132,0,.15);
}
@keyframes dot-pulse{
  0%{ transform:scale(1); box-shadow:0 0 0 6px rgba(249,132,0,.15); }
  60%{ transform:scale(1.2); box-shadow:0 0 0 14px rgba(249,132,0,0); }
  100%{ transform:scale(1); box-shadow:0 0 0 6px rgba(249,132,0,.15); }
}
#site-hero-title .line-1:hover + .line-2::before{ animation:dot-pulse 1.1s ease-out infinite; }
@media (prefers-reduced-motion:reduce){
  #site-hero-title .line-1:hover + .line-2::before{ animation:none; }
}

.tagline{ font-size:1.3rem; font-weight:300; color:#555; margin-top:-3px; letter-spacing:.4px; }

/* Ensure hero text color */
header h2 .line-1, header h2 .line-2, figcaption h2{ color:var(--navy) !important; }

/* ========================================================================
   INDEX – UI bits (topics, feature, cards)
   ======================================================================== */
.section-h{ font-size:20px; font-weight:800; color:var(--navy); margin:8px 0 12px; }

.topic-chips a{
  display:inline-block; margin:4px 8px 0 0; padding:6px 10px; border-radius:999px;
  border:1px solid #e3e3e3; font-size:13px; color:var(--navy); background:#fff;
}
.topic-chips a:hover{ border-color:var(--orange); }

.cta-card{
  background:#fff; border:1px solid #eee; border-radius:14px; padding:16px;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
}
.cta-title{ margin:0 0 6px; font-size:18px; color:var(--navy); }
.cta-form{ display:flex; gap:8px; }
.cta-form input[type="email"]{ flex:1; padding:10px 12px; border:1px solid #ddd; border-radius:10px; }
.cta-form button{
  padding:10px 14px; border:none; border-radius:10px; background:var(--orange); color:#fff; font-weight:700;
}
.cta-note{ display:block; margin-top:8px; color:#666; font-size:12px; }

.feature-card,
.gradient-feature{
  position:relative; background:#fff; border-radius:14px; overflow:hidden; text-decoration:none;
  box-shadow:0 2px 10px rgba(0,0,0,.06); transition:transform .25s ease, box-shadow .25s ease;
  display:flex;
}
.feature-card{ max-width:800px; min-height:240px; margin:0 auto 32px; align-items:stretch; }
.feature-card .feature-band{ width:12px; background:linear-gradient(to bottom,var(--orange),#fff); }
.feature-card .feature-body{ flex:1; padding:28px; display:flex; flex-direction:column; justify-content:center; }
.feature-card .feature-title{ margin:0 0 10px; color:var(--navy); font-size:24px; }
.feature-card .feature-dek{ margin:0 0 12px; color:#223; font-size:16px; line-height:1.5; }
.feature-card .feature-meta{ color:#666; font-size:13px; }
.feature-card:hover{ transform:translateY(-6px); box-shadow:0 12px 28px rgba(0,0,0,.15); }
.feature-card:hover .feature-band{ background:linear-gradient(to bottom,var(--navy),#fff); }

.gradient-feature .feature-band{ width:10px; background:linear-gradient(to bottom,var(--orange),#fff); }
.gradient-feature .feature-body{ padding:18px; flex:1; }
.gradient-feature .feature-title{ margin:0 0 6px; color:var(--navy); font-size:22px; }
.gradient-feature .feature-dek{ margin:0 0 8px; color:#223; }
.gradient-feature .feature-meta{ color:#666; font-size:13px; }
.gradient-feature:hover{ transform:translateY(-4px); box-shadow:0 10px 24px rgba(0,0,0,.12); }
.gradient-feature:hover .feature-band{ background:linear-gradient(to bottom,var(--navy),#fff); }

.post-card{
  display:block; background:#fff; border:1px solid #eee; border-radius:14px; overflow:hidden;
  text-decoration:none; box-shadow:0 2px 10px rgba(0,0,0,.04);
  transition:transform .25s ease, box-shadow .25s ease; height:100%;
}
.post-card:hover{ transform:translateY(-4px); box-shadow:0 10px 24px rgba(0,0,0,.10); }
.post-media{ height:8px; background:linear-gradient(to right,var(--orange),#fff); }
.post-body{ padding:14px; }
.post-title{ margin:0 0 6px; color:var(--navy); font-size:18px; }
.post-dek{ margin:0 0 8px; color:#223; font-size:14px; }
.post-meta{ color:#666; font-size:12px; }
.link-more{ font-weight:800; color:var(--orange); }

.latest-analyses .row{
  display:flex; flex-direction:column; align-items:center; gap:16px;
}
.latest-analyses .row > [class*="col-"]{ width:100%; float:none; }
.latest-analyses .post-card{ max-width:800px; margin:0 auto; }
.latest-analyses .text-right{ text-align:center; margin-top:8px; }

/* Grid helper for legacy lists */
.grid-lod{ display:flex; flex-wrap:wrap; list-style:none; padding:0; margin:0; }

/* ========================================================================
   ABOUT (scoped so index styles remain)
   ======================================================================== */
.hero-accent{ color:var(--orange); }

/* About section headings – lowercase / smaller than hero */
main[role="main-inner-wrapper"] .section-h{
  font-size:1.35rem; font-weight:600; text-transform:none;
  position:relative; display:inline-block; margin-bottom:1rem; color:var(--navy);
  line-height:1.3; letter-spacing:.3px;
}
main[role="main-inner-wrapper"] .section-h::after{
  content:""; position:absolute; bottom:-6px; left:50%; transform:translateX(-50%);
  width:40%; height:3px; background:var(--orange); border-radius:2px; transition:width .3s ease;
}
main[role="main-inner-wrapper"] .section-h:hover::after{ width:70%; }
main[role="main-inner-wrapper"] .section-h.left::after{ left:0; transform:none; }

main[role="main-inner-wrapper"] .section-h.sm{
  font-size:1.1rem; font-weight:500; margin-bottom:.8rem; letter-spacing:.2px;
}

/* Lead text */
.about-lead{
  font-size:1.05rem; line-height:1.7; color:#223; max-width:800px; margin:0; /* left-align block, not centered */
}

/* About/Team cards */
.about-card,
.team-card{
  background:#fff; border:1px solid #eee; transition:transform .3s ease, box-shadow .3s ease;
}
.about-card{ font-size:.95rem; line-height:1.6; }
.about-card .about-icon{
  width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:8px; background:var(--orange-bg); color:var(--orange); margin-bottom:10px; font-size:16px;
}
.hover-lift:hover{ transform:translateY(-6px); box-shadow:0 8px 18px rgba(0,0,0,.12); }

.team-card{ font-size:.95rem; background:#fff; }
.team-card:hover{ transform:translateY(-5px); box-shadow:0 8px 16px rgba(0,0,0,.12); }

/* Accent variant for info blocks */
.about-card.accent-left{ border-left:3px solid var(--orange); }
.team-row{ display:flex; align-items:center; gap:16px; }
.team-avatar{ width:112px; height:112px; object-fit:cover; border-radius:50%; }
.team-name{ margin:0; color:var(--navy); font-weight:800; font-size:1.35rem; }
.team-role{ margin:0; font-size:.9rem; color:#666; }
.team-bio{ margin-top:6px; color:#223; font-size:.9rem; line-height:1.5; }
.team-links{ margin-top:6px; }
.team-links a{ margin-right:10px; color:var(--navy-light); font-size:16px; }
.team-links a:hover{ color:var(--orange); }
.team-toggle{ margin-top:6px; background:none; border:none; padding:0; color:var(--orange); font-weight:700; cursor:pointer; }
.team-toggle:hover{ color:var(--navy); text-decoration:underline; }
.team-bio-long{ display:none; margin-top:6px; color:#223; font-size:.9rem; line-height:1.6; }
.team-card[aria-expanded="true"] .team-bio-long{ display:block; }
.team-card{ padding:28px !important; }
.about-wrap .col-md-12 + .col-md-12 .team-card{
  border-top:1px solid #eee; /* subtle separator between members */
  margin-top:12px;
  padding-top:12px;
}
.border-orange{ border-color:var(--orange) !important; }

/* Timeline */
.timeline{
  position:relative; max-width:none; margin:0; padding:2rem 0; /* align with section columns */
}
.timeline::before{
  content:""; position:absolute; left:8px; top:0; transform:none;
  width:2px; height:100%; background:var(--orange);
}
.timeline-item{ position:relative; width:100%; padding:.8rem 1.5rem .8rem 2rem; left:0 !important; text-align:left !important; }
.timeline-dot{
  position:absolute; top:.8rem; left:8px; transform:none;
  width:10px; height:10px; background:var(--orange); border-radius:50%; z-index:1;
  box-shadow:0 0 0 6px rgba(249,132,0,.15); /* match hero dot glow */
}

/* ==========================
   Why It Matters: Bridge UI
   ========================== */
.ppl-bridge{
  --ppl-ink: var(--navy);
  --ppl-muted: var(--navy-light);
  --ppl-bg: #ffffff;
  --ppl-top: var(--navy-bg);
  --ppl-primary: var(--navy);
  --ppl-accent: var(--orange);
  --ppl-ring: rgba(249,132,0,.28);
  --ppl-shadow: 0 12px 30px rgba(2,8,23,.10), 0 4px 12px rgba(2,8,23,.06);
  background: var(--ppl-bg);
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
}
.ppl-bridge h2{
  font-weight:800; font-size:clamp(1.4rem, 2.4vw, 2rem); line-height:1.2; margin:0 0 .5rem; color:var(--ppl-ink);
}
.ppl-lede{ color: var(--ppl-muted); margin: 0 0 1rem; font-size: clamp(1rem, 1.2vw, 1.1rem); }
.ppl-stack{ display:grid; gap:14px; align-items:center; }
.ppl-card{
  width:100%; text-align:left; background:#fff; border:1px solid #e6e8ec; border-radius:18px; padding:18px 20px;
  box-shadow:var(--ppl-shadow); cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ppl-card:focus{ outline:none; box-shadow:0 0 0 6px var(--ppl-ring), var(--ppl-shadow); }
.ppl-card:hover{ transform:translateY(-2px); }
.ppl-card-head{ display:flex; align-items:center; gap:12px; }
.ppl-card h3{ margin:0; color:var(--ppl-ink); font-weight:700; font-size:clamp(1.05rem, 1.6vw, 1.25rem); line-height:1.2; }
.ppl-card-body{
  margin:10px 0 0; color:var(--ppl-muted); font-size:.98rem; max-height:0; opacity:0; transform:translateY(-6px);
  transition:max-height .25s ease, opacity .2s ease, transform .25s ease;
}
.ppl-card[aria-expanded="true"] .ppl-card-body{ max-height:220px; opacity:1; transform:translateY(0); }
/* layer accents matching brand */
.ppl-top{ background:linear-gradient(0deg,#fff,#fff) padding-box, linear-gradient(90deg,var(--ppl-top), #f8fafc) border-box; }
.ppl-mid{ background:linear-gradient(0deg,#fff,#fff) padding-box, linear-gradient(90deg,#E6EEF1,#ffffff) border-box; border-color:#d8e3e9; }
.ppl-bot{ background:linear-gradient(0deg,#fff,#fff) padding-box, linear-gradient(90deg,#FFF3E0,#fff) border-box; border-color:#fde6cc; }
.ppl-top{ max-width:100%; }
.ppl-mid{ max-width:88%; }
.ppl-bot{ max-width:76%; }
.ppl-dot{ width:14px; height:14px; border-radius:999px; display:inline-block; flex:0 0 14px; background:var(--ppl-muted); }
.ppl-top .ppl-dot{ background:var(--ppl-top); border:2px solid #cbd5e1; }
.ppl-mid .ppl-dot{ background:var(--ppl-primary); box-shadow:0 0 0 3px rgba(11,59,77,.15); }
.ppl-bot .ppl-dot{ background:var(--ppl-accent); box-shadow:0 0 0 3px rgba(249,132,0,.18); }
@media (min-width: 860px){ .ppl-stack{ gap:16px; } }
.timeline-content{
  background:#fff; padding:.8rem 1rem; border-radius:6px;
  box-shadow:0 3px 10px rgba(0,0,0,.06); transition:transform .25s ease, box-shadow .25s ease;
}
.timeline-content h4{ margin-bottom:.4rem; font-size:1rem; font-weight:600; color:var(--orange); }
.timeline-content p{ font-size:.9rem; color:#223; }
.timeline-content:hover{ transform:translateY(-4px); box-shadow:0 6px 16px rgba(0,0,0,.1); }

@media (max-width:768px){
  .timeline::before{ left:8px; transform:none; }
  .timeline-item{ width:100%; text-align:left !important; padding-left:2rem; margin-bottom:1.5rem; left:0 !important; }
  .timeline-dot{ left:0; transform:none; }
}

/* Legacy “about” blocks kept for compatibility (used by older HTML) */
main[role="main-inner-wrapper"] .about-content{
  background:var(--orange); padding:57px 67px; color:#fff;
}
main[role="main-inner-wrapper"] .about-content p{ font-size:17px; line-height:30px; color:#fff; padding-bottom:20px; }
main[role="main-inner-wrapper"] .thumbnails-pan{ padding-top:30px; }
main[role="main-inner-wrapper"] .thumbnails-pan section figure{
  background:#fff; position:relative; overflow:hidden; cursor:pointer; transition:all .6s ease;
}
main[role="main-inner-wrapper"] .thumbnails-pan section figure figcaption{
  position:absolute; bottom:-50%; left:0; right:0; background:var(--orange); margin:0 69px; text-align:center; color:#fff; padding:16px 0 27px; transition:all .6s ease;
}
main[role="main-inner-wrapper"] .thumbnails-pan section figure figcaption h3{ font-size:21px; font-weight:300; }
main[role="main-inner-wrapper"] .thumbnails-pan section figure figcaption h5{ text-transform:uppercase; font-size:13px; font-weight:700; }
main[role="main-inner-wrapper"] .thumbnails-pan section figure:hover{ background:var(--orange); color:#fff; }
main[role="main-inner-wrapper"] .thumbnails-pan section figure:hover figcaption{ bottom:0; }

/* ========================================================================
   BLOG / WORK DETAILS / CONTACT (kept concise)
   ======================================================================== */
body.blogmain-page{ background:#fff; }
body.blog1-page{ background:#fff; }

   section.blog-content{ margin-bottom:29px; }
section.blog-content figure{ overflow:hidden; position:relative; background:#fff; cursor:pointer; }
section.blog-content figure .post-date{
  text-align:center; color:#fff; font-weight:800; font-size:14px; line-height:18px; text-transform:uppercase;
  display:block; background:var(--orange); width:130px; height:130px; position:absolute; left:0; top:0; padding-top:41px; z-index:50;
}
section.blog-content figure .post-date span{ font-size:50px; line-height:35px; display:block; }
section.blog-content article{
  font-size:21px; line-height:30px; color:#fff; font-weight:800; padding:33px 0 31px 42px;
}

.work-details .keyword-chips a {
  display:inline-block;
  margin:4px 8px 0 0;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #e3e3e3;
  font-size:13px;
  color:var(--navy); /* This sets the default text color to navy */
  background:#fff;
}
.work-details .keyword-chips a:hover {
  border-color:var(--orange);
}

.work-details,.blog-details{ padding:0 69px; margin-top:40px; }
.work-details header h2{ color:#343; font-size:36px; font-weight:800; }
.work-details header a{ display:inline-block; color:var(--orange); font-size:24px; font-weight:800; padding-top:3px; }
.work-details header a i{ color:#0d0d0d; padding-left:10px; }
.work-details header a:hover{ color:#0d0d0d; }
.work-details p{
  font-size:16px; color:#001f4d; line-height:30px; margin-bottom:20px; font-weight:500; text-align:justify;
}
.work-details p a{ color:var(--orange); }
.work-details .footnote-text{
  text-align:justify; color:#001f4d; font-weight:300; font-size:12px; line-height:20px;
}
.work-images{ margin-top:46px; }
.work-images li{ margin-bottom:50px; }
.work-images img.large-img{ width:90%; max-width:100%; height:auto; margin:20px auto; display:block; }
.interactive-orange-line {
  position: relative; /* This is important for positioning the pseudo-element */
  margin-bottom: 20px; /* Adjust spacing as needed */
  height: 10px; /* This needs to have a height so the pseudo-element is visible */
}

.interactive-orange-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0; /* Positions the line at the bottom of the div */
  width: 50px; /* Initial width of the line */
  height: 10px; /* Height of the line */
  border-radius: 8px; /* For the curved ends */
  background: linear-gradient(90deg, var(--orange), rgba(249, 132, 0, 0));
  transition: width 0.28s ease; /* Adds the smooth hover effect */
}

.interactive-orange-line:hover::after {
  width: 100%; /* Line expands to full width on hover */
}

article[role="pge-title-content"].blog-header,
article[role="pge-title-content"].contact-header{ padding-bottom:218px; }
article[role="pge-title-content"].contact-header p a{ color:#fff; padding-right:34px; }
article[role="pge-title-content"].contact-header p a:hover{ color:var(--orange); }

.demo-wrapper{ width:100%; height:499px; margin:0 auto; }
#surabaya{ width:100%; height:100%; }
.error_message{ color:var(--orange); }
#success_page h3, #success_page p{ color:#60ca6f; }

.contat-from-wrapper{ padding:0 69px; margin-top:108px; }
.contat-from-wrapper input[type="text"],
.contat-from-wrapper input[type="email"],
.contat-from-wrapper textarea{
  width:100%; display:block; outline:none; border:0; border-bottom:1px solid #bbb; background:transparent;
  color:#404; font-size:21px; line-height:23px; padding-bottom:24px;
}
.contat-from-wrapper textarea{ height:77px; margin-top:56px; }
.contat-from-wrapper input[type="text"]:focus,
.contat-from-wrapper input[type="email"]:focus,
.contat-from-wrapper textarea:focus{ border-bottom-color:#9f9e9e; }
.contat-from-wrapper input[type="submit"]{
  display:block; border:none; width:200px; line-height:60px; text-transform:uppercase; font-size:21px; color:#fff;
  font-weight:800; letter-spacing:2px; background:var(--orange); margin:41px auto 0;
}

.image-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none; /* Initially hidden */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: default;
}
.image-popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    cursor: default;
}
.image-popup-content.is-dragging {
    cursor: grabbing;
}
.image-popup-image {
    max-width: 100%;
    max-height: 100%;
    display: block;
}
.image-popup-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.image-popup-close:hover,
.image-popup-close:focus {
    color: #161616;
    text-decoration: none;
    cursor: default;
}

img.clickable-image {
  cursor: pointer;
}

/* ==========================================================================
   Interactive Post Title Styling
   ========================================================================== */

/* The main title */
.work-details header h2 {
    position: relative;
    display: inline;
    text-align: center;
    color: var(--navy);
    font-size: 3.5rem; /* Larger font size for impact */
    line-height: 1.1;
    margin-bottom: 20px; /* Space below the title */
    cursor: pointer;
}

/* Styling for the date and author */
.post-meta-details {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between elements */
    margin-bottom: 30px; /* Space below this block */
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.post-meta-details h3, .post-meta-details h6 {
    margin: 0; /* Remove default margins */
    color: var(--navy-light); /* Use a lighter color for the metadata */
    font-weight: 600;
}

.post-meta-details h3 {
    font-size: 1.1rem;
}

.post-meta-details h6 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Style for the Dataset link */
.post-meta-details a {
    color: var(--orange);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-meta-details a:hover {
    color: var(--navy);
    text-decoration: underline;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
footer[role="footer"]{
  background:#fff;
  /* Reduce vertical padding to make footer less tall */
  padding:40px 0 28px;
  border-top:1px solid #e5e5e5; /* subtle divider */
}
footer[role="footer"] > h1 a{ margin:0 auto; display:block; }
/* Tighter spacing for footer nav */
footer[role="footer"] nav{ padding:12px 0 12px; }
footer[role="footer"] nav > ul{ text-align:center; padding:0; margin:0; }
footer[role="footer"] nav > ul > li{
  display:inline-block; text-transform:uppercase; font-size:15px; margin:0 13px;
}
footer[role="footer"] nav > ul > li > a{ color:#9d9d9d; }
footer[role="footer"] nav > ul > li:hover a{ color:var(--orange); }

/* Less space under social icons */
footer[role="footer"] ul[role="social-icons"]{ padding:0 0 16px; margin:0; text-align:center; }
footer[role="footer"] ul[role="social-icons"] > li{ display:inline-block; margin:0 6.5px; }
footer[role="footer"] ul[role="social-icons"] > li > a{
  display:block; width:42px; height:42px; background:var(--navy); color:#fff;
  line-height:42px; font-size:20px; border-radius:100%; text-align:center; transition:background-color .3s ease;
}
footer[role="footer"] ul[role="social-icons"] > li:hover a{ background:var(--orange); }
footer[role="footer"] .copy-right{ text-align:center; display:block; font-size:12px; line-height:13px; color:#9c9c9c; }

/* ========================================================================
   UTILITIES
   ======================================================================== */
.mt-2{ margin-top:12px; } .mt-3{ margin-top:18px; } .mt-4{ margin-top:24px; } .mt-5{ margin-top:36px; }
.text-right{ text-align:right; }
.sr-only{ position:absolute; left:-9999px; }
.placeholder-orange{ background:#F47F28; width:100%; height:300px; }

/* End of Lean Stylesheet */


/* Keep inner pages at a readable width */
main[role="main-inner-wrapper"] {
  max-width: 1140px;   /* matches Bootstrap lg container */
  margin: 0 auto;      /* centers it */
  padding-left: 15px;
  padding-right: 15px;
}
