/*
Theme Name: Taufiq Ismail
Description: Editorial WordPress theme for Taufiq Ismail's personal archive.
Version: 1.0.11
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: literary-archive
*/

:root{
  --paper:#f4f1e9;
  --paper-deep:#eee9df;
  --ink:#1d1c1a;
  --muted:#6f6b63;
  --line:#d9d3c8;
  --accent:#955a42;
  --green:#526157;
  --max:1240px;
  --reading:760px;
  --header-h:72px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family: 'Inter', sans-serif;
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
::selection{background:#d8c8bb;color:var(--ink)}

.container{
  width:min(calc(100% - 64px),var(--max));
  margin-inline:auto;
}

/* Header */
.site-header{
  position:relative;
  z-index:120;
  height:var(--header-h);
  padding:0;
  border-bottom:1px solid var(--line);
  background:rgba(244,241,233,.96);
}
.header-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.site-brand,
.fullscreen-menu__brand{
  display:inline-flex;
  align-items:center;
  min-width:0;
  text-decoration:none;
}
.site-brand .custom-logo-link,
.fullscreen-menu__brand .custom-logo-link{
  display:flex;
  align-items:center;
}
.site-brand .custom-logo,
.fullscreen-menu__brand .custom-logo{
  width:auto;
  max-height:34px;
}
.site-title{
  display:block;
  font:400 25px/1.1 Georgia,"Times New Roman",serif;
  letter-spacing:-.025em;
  text-decoration:none;
}
.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:24px;
}
.language-switcher{
  display:flex;
  gap:8px;
  align-items:center;
}
.language-switcher a{
  font-size:10px;
  line-height:1;
  letter-spacing:.16em;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--muted);
}
.language-switcher a.current{
  color:var(--ink);
  font-weight:700;
}
.menu-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  padding:0;
  background:none;
  border:0;
  color:var(--ink);
  cursor:pointer;
}
.menu-toggle-lines{
  display:flex;
  flex-direction:column;
  gap:5px;
  width:20px;
}
.menu-toggle-lines i{
  display:block;
  width:20px;
  height:1px;
  background:currentColor;
  transition:transform .25s ease,opacity .2s ease;
}
.menu-is-open .menu-toggle-lines i:first-child{transform:translateY(3px) rotate(45deg)}
.menu-is-open .menu-toggle-lines i:last-child{transform:translateY(-3px) rotate(-45deg)}

.fullscreen-menu{
  position:fixed;
  inset:0;
  z-index:110;
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  background:var(--paper);
  transform:translateY(-12px);
  transition:opacity .28s ease,transform .28s ease,visibility 0s linear .28s;
}
.fullscreen-menu.is-open{
  visibility:visible;
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
  transition:opacity .28s ease,transform .28s ease;
}
.fullscreen-menu__inner{
  width:min(calc(100% - 64px),var(--max));
  height:100vh;
  margin-inline:auto;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:24px 0;
  box-sizing: border-box;
  overflow:hidden;
}
.fullscreen-menu__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:var(--header-h);
}
.fullscreen-menu__brand .site-title{font-size:25px}
.menu-close{
  position:relative;
  width:34px;
  height:34px;
  padding:0;
  border:0;
  background:none;
  color:var(--ink);
  cursor:pointer;
}
.menu-close span{
  position:absolute;
  left:7px;
  top:16px;
  width:21px;
  height:1px;
  background:currentColor;
}
.menu-close span:first-child{transform:rotate(45deg)}
.menu-close span:last-child{transform:rotate(-45deg)}
.fullscreen-menu__nav{
  flex: 1 1 auto;
  min-height: 0; 
  display: flex;
  align-items: center;
  
  -webkit-overflow-scrolling: touch;
}
.fullscreen-menu__nav ul{
  list-style:none;
  margin:0;
  padding:20px 0;
  width: 100%;
}
.fullscreen-menu__nav li{margin:0}
.fullscreen-menu__nav a{
  display:inline-block;
  padding:5px 0;
  color:var(--ink);
  text-decoration:none;
  font:400 clamp(36px,4.5vw,56px)/1 Cormorant Garamond,serif;
  letter-spacing:-.04em;
  transition:transform .25s ease,color .25s ease;
}
.fullscreen-menu__nav a:hover{
  color:var(--accent);
  transform:translateX(10px);
}
.fullscreen-menu__footer{
  display:flex;
  flex-shrink: 0;
  justify-content:space-between;
  align-items:flex-end;
  gap:30px;
  border-top:1px solid var(--line);
  padding-top:20px;
  color:var(--muted);
}
.fullscreen-menu__footer p{
  margin:0;
  font-size:10px;
  line-height:1.4;
  text-transform:uppercase;
  letter-spacing:.14em;
}
body.menu-is-open{overflow:hidden}

/* v1.0.2 — compact fullscreen menu for shorter desktop viewports */
@media (max-height:800px) and (min-width:601px){
  .fullscreen-menu__inner{padding:16px 0 20px;}
  .fullscreen-menu__nav{min-height:0;overflow-y:auto;}
  .fullscreen-menu__nav ul{padding:15px 0;}
  .fullscreen-menu__nav a{font-size:clamp(28px, 4.5vh, 42px);line-height:1.1;padding:4px 0;}
}


/* Type system */
.hero-kicker,.eyebrow,.meta{
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:10px;
  line-height:1.3;
  color:var(--muted);
}
.hero{
  padding:118px 0 132px;
}
.hero h1{
  margin:22px 0 28px;
  max-width:1000px;
  font:400 clamp(58px,8vw,110px)/.9 Cormorant Garamond,serif;
  letter-spacing:-.055em;
}
.hero-intro,.archive-intro{
  max-width:720px;
  margin:0;
  font:400 17px/1.7 Inter,sans-serif;
  letter-spacing:0;
}
.button{
  display:inline-block;
  margin-top:36px;
  padding:10px 16px;
  border:1px solid var(--ink);
  text-decoration:none;
  font-size:10px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.16em;
  transition:background .2s ease,color .2s ease;
}
.button:hover{background:var(--ink);color:var(--paper)}

.section{
  padding:108px 0 116px;
  border-top:1px solid var(--line);
}
.section-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:30px;
  margin-bottom:48px;
}
.section h2{
  margin:0;
  font:400 clamp(38px,4.5vw,60px)/1 Cormorant Garamond,serif;
  letter-spacing:-.045em;
}
.section-link{
  flex:none;
  padding-bottom:7px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.14em;
  text-decoration:none;
  border-bottom:1px solid var(--muted);
}
.section-link:hover{color:var(--accent);border-color:var(--accent)}

/* Editorial cards */
.work-grid,.book-grid,.video-grid{
  background:none;
  border:0;
}
.work-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  border-top:1px solid var(--line);
}
.archive-card{
  background:transparent;
  min-height:290px;
  padding:30px 30px 34px;
  border-bottom:1px solid var(--line);
  text-decoration:none;
  transition:background .25s ease;
}
.archive-card:hover{background:var(--paper-deep)}
.archive-card h3{
  margin:10px 0 14px;
  font:400 clamp(27px,3vw,38px)/1.08 Cormorant Garamond,serif;
  letter-spacing:-.035em;
}
.archive-card p{
  max-width:600px;
  color:var(--muted);
  margin:0;
}

/* Pages / archives */
.page-header{padding:118px 0 68px}
.page-header h1{
  margin:18px 0 0;
  max-width:1120px;
  font:400 clamp(58px,8.5vw,48px)/.9 Cormorant Garamond,serif;
  letter-spacing:-.065em;
}
.content-wrap{
  max-width:var(--reading);
  margin:auto;
  padding:56px 0 120px;
}
.content-wrap h2,.content-wrap h3{
  font-family:Cormorant Garamond,serif;
  font-weight:400;
}
.content-wrap p{margin:0 0 1.5em}

.archive-toolbar{
  display:flex;
  justify-content:space-between;
  margin-bottom:34px;
}
.archive-search{display:flex;gap:8px;width:100%}
.archive-search input{
  width:min(480px,100%);
  padding:13px 0;
  border:0;
  border-bottom:1px solid var(--line);
  background:transparent;
  font:inherit;
  outline:0;
}
.archive-search input:focus{border-color:var(--ink)}
.archive-search button{
  padding:11px 16px;
  border:1px solid var(--ink);
  background:var(--ink);
  color:var(--paper);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.archive-filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:34px;
}
.filter-pill{
  padding:7px 11px;
  border:1px solid var(--line);
  text-decoration:none;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.filter-pill.active{border-color:var(--ink)}

.archive-list{border-top:1px solid var(--line)}
.archive-row{
  display:grid;
  grid-template-columns:90px minmax(0,1fr) 170px;
  gap:30px;
  padding:30px 0;
  border-bottom:1px solid var(--line);
  text-decoration:none;
}
.archive-row h2{
  margin:0;
  font:400 31px/1.12 Cormorant Garamond,serif;
  letter-spacing:-.025em;
}
.summary{color:var(--muted);margin-top:7px}
.work-meta{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  margin-bottom:45px;
}
.work-meta-item{background:var(--paper);padding:18px}
.work-meta-value{font:19px Cormorant Garamond,serif}

/* Footer */
.site-footer{
  width:100%;
  border-top:1px solid var(--line);
  margin-top:0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  min-height:72px;
}
.footer-kicker{
  margin-bottom:0px;
  color:var(--green);
  text-transform:uppercase;
  letter-spacing:.25em;
  font-size:10px;
  line-height:1.3;
}
.footer-statement{
  max-width:1100px;
  margin:0 auto;
}
.footer-statement p{
  margin:0;
  font:400 clamp(42px,6vw,76px)/1.02 Cormorant Garamond,serif;
  letter-spacing:-.055em;
}
.footer-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:18px 42px;
  margin-top:48px;
}
.footer-links a{
  padding-bottom:5px;
  border-bottom:1px solid var(--muted);
  text-decoration:none;
  font-size:13px;
  line-height:1.2;
}
.footer-links a:hover{
  color:var(--accent);
  border-color:var(--accent);
}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:30px;
  margin-top:100px;
  padding-top:18px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:10px;
  line-height:1.4;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.footer-copy{
  margin:0;
  font:400 12px/1.4 Inter,sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
}

.footer-social{
  display:flex;
  align-items:center;
  gap:32px;
}

.footer-social a{
  font:400 12px/1.4 Inter,sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
  text-decoration:none;
  transition:opacity .2s ease;
}

.footer-social a:hover{
  opacity:.55;
}

/* v0.6.13 Selected Works editorial styling */
.ti-dynamic-grid--work.ti-dynamic-grid--selected{
  grid-template-columns:repeat(2,minmax(0,1fr));
  border-top:1px solid var(--line);
  border-left:0;
  background:transparent;
}

/* Give the editorial grid the wider, quieter margins of the reference layout. */
@media(min-width:1101px){
  .ti-dynamic-grid--work.ti-dynamic-grid--selected{
    width:min(1400px,calc(100vw - 160px));
    max-width:none;
    margin-inline:auto;
  }
}

.ti-selected-work{
  display:grid;
  grid-template-columns:130px minmax(0,1fr);
  gap:28px;
  min-width:0;
  padding:0 0 34px;
  border-bottom:1px solid var(--line);
  text-decoration:none;
}
.ti-selected-work:nth-child(n+3){padding-top:34px}
.ti-selected-work:nth-child(odd){
  padding-right:34px;
  border-right:1px solid var(--line);
}
.ti-selected-work:nth-child(even){padding-left:34px}
.ti-selected-work__meta{padding-top:3px}
.ti-selected-work__type,.ti-selected-work__publication{
  font-size:10px;
  line-height:1.3;
  text-transform:uppercase;
  letter-spacing:.17em;
  color:var(--accent);
}
.ti-selected-work__year{
  margin-top:12px;
  font:400 27px/1 Cormorant Garamond,serif;
  color:var(--green);
}
.ti-selected-work__content h3{
  margin:0;
  font-family:"Cormorant Garamond",serif;
  font-size:30px;
  font-weight:400;
  line-height:1.08;
  letter-spacing:-.015em;
  color:#1A1A1A;
}
.ti-selected-work__excerpt{
  margin-top:17px;
  max-width:620px;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
}
.ti-selected-work__publication{
  margin-top:20px;
  color:var(--green);
}
.ti-selected-work:hover .ti-selected-work__content h3{
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:5px;
}

@media(max-width:1100px){
  .ti-dynamic-grid--work.ti-dynamic-grid--selected{grid-template-columns:1fr 1fr}
  .ti-selected-work{
    grid-template-columns:100px minmax(0,1fr);
    gap:22px;
  }
  .ti-selected-work:nth-child(odd){padding-right:24px}
  .ti-selected-work:nth-child(even){padding-left:24px}
}

@media(max-width:700px){
  .ti-dynamic-grid--work.ti-dynamic-grid--selected{grid-template-columns:1fr}
  .ti-selected-work,
  .ti-selected-work:nth-child(n+3),
  .ti-selected-work:nth-child(odd),
  .ti-selected-work:nth-child(even){
    grid-template-columns:90px minmax(0,1fr);
    padding:26px 0;
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .ti-selected-work:first-child{padding-top:0}
  .ti-selected-work__content h3{font-size:30px}
}

/* Responsive */
@media(max-width:900px){
  .container{width:min(calc(100% - 40px),var(--max))}
  .fullscreen-menu__inner{width:min(calc(100% - 40px),var(--max))}
  .fullscreen-menu__nav a{font-size:clamp(36px,6vw,52px)}
  .hero{padding:86px 0 92px}
  .work-grid{grid-template-columns:1fr 1fr 1fr 1fr}
  .archive-row{grid-template-columns:70px 1fr}
  .archive-row>:last-child{grid-column:2}
  .work-meta{grid-template-columns:1fr 1fr}
  .footer-statement p{font-size:clamp(40px,7vw,64px)}
}
@media(max-width:600px){
  .container{width:min(calc(100% - 30px),var(--max))}
  .site-header{height:64px}
  .header-actions{gap:16px}
  .fullscreen-menu__inner{width:min(calc(100% - 30px),var(--max));padding:15px 0 20px}
  .fullscreen-menu__header{min-height:54px}
  .fullscreen-menu__nav ul{padding:35px 0}
  .fullscreen-menu__nav a{font-size:clamp(34px,10vw,46px)}
  .fullscreen-menu__footer{flex-direction:column;align-items:flex-start;gap:8px}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:8px;margin-top:70px}
  .hero{padding:72px 0 80px}
  .hero h1{font-size:clamp(48px,14vw,72px)}
  .hero-intro{font-size:21px}
  .section{padding:74px 0 82px}
  .section-heading{align-items:start;flex-direction:column;gap:18px;margin-bottom:32px}
  .section h2{font-size:40px}
  .page-header{padding:78px 0 48px}
  .archive-row{grid-template-columns:1fr;gap:8px}
  .archive-row>:last-child{grid-column:auto}
  .work-meta{grid-template-columns:repeat(4, 1fr)}
  .site-footer {
        margin-top: 0;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .footer-inner {
        min-height: auto;
    }

}
}

/* v0.4 Books & Videos */
.book-layout{display:grid;grid-template-columns:minmax(220px,320px) 1fr;gap:70px;align-items:start}
.book-cover{border:1px solid var(--line);background:#e9e3d8}
.book-cover img{width:100%}
.book-details h2{font:400 clamp(34px,5vw,58px)/1.05 Cormorant Garamond,serif;margin:0 0 20px}
.detail-table{border-top:1px solid var(--line);margin:30px 0}.detail-row{display:grid;grid-template-columns:150px 1fr;gap:20px;padding:14px 0;border-bottom:1px solid var(--line)}
.video-embed{position:relative;width:100%;aspect-ratio:16/9;background:#e5dfd3;margin-bottom:30px}.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-placeholder{height:100%;display:grid;place-items:center;font:28px Cormorant Garamond,serif;color:var(--muted)}
.video-meta{display:flex;flex-wrap:wrap;gap:10px 25px;margin-bottom:25px}
@media(max-width:800px){.book-layout{grid-template-columns:1fr;gap:35px}.book-cover{max-width:320px}.detail-row{grid-template-columns:1fr;gap:3px}}


/* v0.5.3 archive presentation */
.book-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.archive-card-image{padding:0 0 26px}.archive-card-image .meta,.archive-card-image h3{margin-left:20px;margin-right:20px}.archive-card-image h3{margin-top:8px}.archive-card-image img{width:100%;aspect-ratio:3/4;object-fit:cover;margin-bottom:18px}
.testimonial-grid{display:grid;grid-template-columns:repeat(2,1fr);column-gap:70px}
.testimonial-card{padding:35px 0;border-top:1px solid var(--line)}
.testimonial-card blockquote,.testimonial-quote{margin:0;font:italic 26px/1.45 Cormorant Garamond,serif;color:#3f3b35}
.testimonial-by{margin-top:28px;display:flex;flex-direction:column;gap:3px;font-size:13px}
.testimonial-by strong{font-weight:500}.testimonial-by span{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.13em}
.single-testimonial{max-width:920px;padding-bottom:100px}.single-testimonial .testimonial-quote{font-size:clamp(30px,4vw,54px);line-height:1.3;border-top:1px solid var(--line);padding-top:45px}
.timeline{border-top:1px solid var(--line)}
.timeline-item{display:grid;grid-template-columns:120px 1fr 240px;gap:38px;padding:34px 0;border-bottom:1px solid var(--line);align-items:center}
.timeline-year{font:400 40px/1 Cormorant Garamond,serif;color:var(--accent)}
.timeline-copy h2{margin:6px 0 8px;font:400 30px/1.15 Cormorant Garamond,serif}.timeline-location{color:var(--muted);font-size:14px}.timeline-description{color:var(--muted);max-width:680px}.timeline-image img{width:100%;aspect-ratio:4/3;object-fit:cover}
.timeline-link{text-decoration:none}.timeline-home .timeline-item{grid-template-columns:110px 1fr 180px}
.timeline-single{padding-bottom:100px}.timeline-single-meta{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.timeline-single-meta>div{padding:20px;border-right:1px solid var(--line)}.timeline-single-meta>div:last-child{border-right:0}.timeline-single-meta strong{display:block;margin-top:6px;font:22px Cormorant Garamond,serif}.timeline-single-image{margin-top:50px;max-width:900px}
/* PHOTO ARCHIVE — CATEGORY FILTERS */
.photo-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  margin-top:18px;
  margin-bottom:52px;
}
.photo-filter{
  position:relative;
  margin:0;
  padding:0 0 8px;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--muted);
  font:500 10px/1.3 Inter,sans-serif;
  letter-spacing:.16em;
  text-transform:uppercase;
  cursor:pointer;
}
.photo-filter::after{
  content:"";
  position:absolute;
  right:0;
  bottom:0;
  left:0;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .25s ease;
}
.photo-filter:hover,
.photo-filter.is-active{
  color:var(--ink);
}
.photo-filter.is-active::after{
  transform:scaleX(1);
}
.photo-filter:focus-visible{
  outline:1px solid var(--ink);
  outline-offset:5px;
}

.photo-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:54px 26px;
  padding-bottom:0;
}
.photo-card{
  position:relative;
  z-index:0;
  display:block;
  width:100%;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  text-align:left;
  font:inherit;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
}

.photo-card.is-filtered-out{
  display:none !important;
}

.photo-card:focus-visible{
  outline:2px solid var(--ink);
  outline-offset:5px;
}
.photo-meta-top{
  min-height:18px;
  margin:0 0 10px;
  color:var(--muted);
  font:500 10px/1.3 Inter,sans-serif;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.photo-meta-top:empty{display:none}
.photo-image{
  position:relative;
  background:#e8e2d7;
  overflow:hidden;
  isolation:isolate;
}
.photo-image::after{
  content:"";
  position:absolute;
  z-index:1;
  right:0;
  bottom:0;
  left:0;
  height:30%;
  background:linear-gradient(
    to bottom,
    rgba(244,241,235,0) 0%,
    rgba(244,241,235,.10) 18%,
    rgba(244,241,235,.45) 48%,
    rgba(244,241,235,.82) 76%,
    rgba(244,241,235,1) 100%
  );
  pointer-events:none;
}
.photo-image img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  transition:transform .5s ease;
}
.photo-card:hover .photo-image img{transform:scale(1.02)}
.photo-card:hover .photo-overlay-title{text-decoration:underline;text-underline-offset:3px}
.photo-overlay{
  position:absolute;
  z-index:2;
  right:0;
  bottom:0;
  left:0;
  padding:58px 12px 15px;
  color:var(--ink);
}
.photo-overlay-title{
  margin:0;
  font:400 25px/1.08 "Cormorant Garamond",serif;
}
.photo-overlay-meta{
  display:flex;
  flex-wrap:wrap;
  gap:4px 8px;
  margin-top:6px;
  font:400 9px/1.35 Inter,sans-serif;
  letter-spacing:.11em;
  text-transform:uppercase;
  opacity:.88;
}
.photo-placeholder{
  aspect-ratio:4/3;
  display:grid;
  place-items:center;
  color:var(--muted);
  font:24px "Cormorant Garamond",serif;
  padding:25px;
  text-align:center;
}
.photo-single{padding-bottom:80px}
.photo-single-image{margin:0 auto;max-width:1100px}
.photo-single-image img{width:100%;height:auto}
.photo-single-image figcaption{margin-top:12px;color:var(--muted);font-size:12px}
@media(max-width:900px){.book-grid{grid-template-columns:repeat(2,1fr)}.testimonial-grid{grid-template-columns:1fr}.timeline-item,.timeline-home .timeline-item{grid-template-columns:80px 1fr;gap:20px}.timeline-image{grid-column:2}.photo-grid{grid-template-columns:repeat(2,1fr)}.timeline-single-meta{grid-template-columns:1fr}}
@media(max-width:600px){.book-grid,.photo-grid{grid-template-columns:1fr}.photo-grid{gap:42px 0;padding-bottom:110px}.photo-filters{gap:10px 16px;margin-bottom:38px}.photo-overlay{padding:52px 12px 14px}.timeline-item,.timeline-home .timeline-item{grid-template-columns:1fr}.timeline-image{grid-column:auto}.timeline-year{font-size:34px}.testimonial-card blockquote{font-size:22px}}

/* v0.6.10 Elementor bridge */
.ti-dynamic-grid{display:grid;gap:1px;border-top:1px solid var(--line)}
.ti-dynamic-grid--work,.ti-dynamic-grid--book,.ti-dynamic-grid--video,.ti-dynamic-grid--photo{grid-template-columns:repeat(2,minmax(0,1fr))}
.ti-dynamic-card{display:block;padding:0 0 28px;border-bottom:1px solid var(--line);text-decoration:none}
.ti-dynamic-card img{width:100%;aspect-ratio:4/3;object-fit:cover;margin-bottom:18px}
.ti-dynamic-card h3{margin:7px 0 0;font:400 clamp(28px,3vw,40px)/1.05 Cormorant Garamond,serif}
.ti-voice{padding:30px;border-bottom:1px solid var(--line)}
.ti-voice blockquote{margin:0 0 24px;font:italic 400 clamp(24px,3vw,38px)/1.2 Cormorant Garamond,serif}
.ti-voice__person{font-size:12px;font-weight:600}.ti-voice__role,.ti-voice__organization{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:var(--muted)}
.ti-timeline-item{display:grid;grid-template-columns:150px 1fr;gap:40px;padding:34px 0;border-bottom:1px solid var(--line)}
.ti-timeline-item__year{font:400 clamp(38px,5vw,66px)/.9 Cormorant Garamond,serif;color:var(--accent)}
.ti-timeline-item h3{margin:7px 0 8px;font:400 30px/1.1 Cormorant Garamond,serif}.ti-timeline-item__content{max-width:680px;color:var(--muted);margin-top:12px}
@media(max-width:700px){.ti-dynamic-grid--work,.ti-dynamic-grid--book,.ti-dynamic-grid--video,.ti-dynamic-grid--photo{grid-template-columns:1fr}.ti-timeline-item{grid-template-columns:1fr;gap:10px}}

/* =========================================
   LINTAS AKSARA — SEARCH OVERLAY
   ========================================= */

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #F4F0E8;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.search-overlay__inner {
    width: 100%;
    height: 100%;
    padding: 32px 48px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.search-overlay__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-overlay__brand {
    color: #1A1A1A;
    text-decoration: none;
}

.search-overlay__brand .site-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    line-height: 1;
}

.search-close {
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.search-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 1px;
    background: #1A1A1A;
}

.search-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.search-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.search-overlay__form {
    width: min(900px, 100%);
    margin: auto;
}

.search-overlay__form form {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(26, 26, 26, 0.35);
}

.search-overlay__form input {
    width: 100%;
    padding: 14px 60px 18px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1A1A1A;
    font-family: "Cormorant Garamond", serif;
    font-size: 42px;
    line-height: 1.2;
}

.search-overlay__form input::placeholder {
    color: rgba(26, 26, 26, 0.45);
}

.search-overlay__form button[type="submit"] {
    position: absolute;
    right: 0;
    bottom: 14px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.search-overlay__form button svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #1A1A1A;
    stroke-width: 1.5;
}

@media (max-width: 767px) {
    .search-overlay__inner {
        padding: 24px;
    }

    .search-overlay__form input {
        font-size: 32px;
    }

    .search-overlay__form {
        margin-top: auto;
        margin-bottom: auto;
    }
}

.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.search-toggle:hover,
.search-toggle:focus,
.search-toggle:focus-visible,
.search-toggle:active {
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
}

.search-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #1A1A1A;
    stroke-width: 1.5;
}
/* =========================================
   STICKY HEADER + SCROLL EFFECT
   ========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #F4F0E8;
    transition:
        background-color 0.35s ease,
        backdrop-filter 0.35s ease,
        -webkit-backdrop-filter 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

/* Header setelah mulai scroll */
.site-header.is-scrolled {
    background: rgba(244, 240, 232, 0.78);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom-color: rgba(26, 26, 26, 0.12);
    box-shadow: 0 4px 20px rgba(26, 26, 26, 0.035);
}
/* =========================================
   SINGLE BOOK — EDITORIAL LAYOUT
   ========================================= */

.book-single {
    padding: 90px 0 120px;
}

/* Top area: cover on the left, book information + quote on the right. */
.book-single-layout {
    display: grid;
    grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
    gap: clamp(55px, 8vw, 120px);
    align-items: start;
}

.book-single-cover {
    background: #e9e3d8;
}

.book-single-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.book-cover-placeholder {
    aspect-ratio: 3 / 4;
    display: grid;
    place-items: center;
    padding: 40px;
    text-align: center;
    font: 400 36px/1.05 'Cormorant Garamond', serif;
}

.book-single-content {
    padding-top: 4px;
}

.book-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 22px;
    font-size: 11px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--muted);
}

.book-single-meta span:first-child {
    color: var(--accent);
}

.book-single-title {
    margin: 0 0 42px;
    max-width: 760px;
    font: 400 clamp(46px, 5.5vw, 78px)/.98 'Cormorant Garamond', serif;
    letter-spacing: -.025em;
}

.book-single-quote {
    max-width: 720px;
    margin: 0 0 40px;
    padding: 28px 0 0 24px;
    border-left: 1px solid var(--accent);
}

.book-single-quote p {
    margin: 0 0 18px;
    font: italic 400 clamp(25px, 3vw, 38px)/1.25 'Cormorant Garamond', serif;
    color: #3f3b35;
}

.book-single-quote cite {
    display: block;
    font-size: 11px;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted);
}

.book-single-source {
    margin-top: 30px;
}

.book-single-source a {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    text-decoration: underline;
    text-underline-offset: 5px;
    color: var(--muted);
}

.book-single-source a:hover {
    color: var(--accent);
}

/* PDF / flipbook area sits underneath the cover + quote row. */
.book-single-reader {
    margin-top: clamp(70px, 9vw, 120px);
    padding-top: clamp(45px, 6vw, 70px);
    border-top: 1px solid var(--line);
}

.book-single-reader > :first-child {
    margin-top: 0;
}

.book-single-reader iframe,
.book-single-reader embed,
.book-single-reader object {
    max-width: 100%;
}

@media (max-width: 800px) {
    .book-single {
        padding: 60px 0 90px;
    }

    .book-single-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .book-single-cover {
        max-width: 520px;
    }

    .book-single-title {
        margin-bottom: 30px;
        font-size: clamp(42px, 12vw, 64px);
    }

    .book-single-reader {
        margin-top: 60px;
        padding-top: 40px;
    }
}
/* =========================================
   SUPPORT POSTER LIGHTBOX
   ========================================= */

.support-poster-card {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
    text-align: left;
}

.support-poster-card .photo-image {
    overflow: hidden;
}

.support-poster-card img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .45s ease;
}

.support-poster-card:hover img {
    transform: scale(1.025);
}


/* LIGHTBOX */

.support-poster-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(20, 18, 15, .94);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.support-poster-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.support-poster-lightbox__content {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
}

.support-poster-lightbox__image {
    display: block;

    max-width: 92vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    box-shadow: 0 20px 70px rgba(0, 0, 0, .35);

    transform: scale(.97);
    transition: transform .3s ease;
}

.support-poster-lightbox.is-open
.support-poster-lightbox__image {
    transform: scale(1);
}


/* CLOSE */

.support-poster-lightbox__close {
    position: absolute;
    top: 24px;
    right: 28px;

    z-index: 2;

    width: 42px;
    height: 42px;

    padding: 0;
    border: 0;

    background: transparent;

    cursor: pointer;
}

.support-poster-lightbox__close span {
    position: absolute;

    top: 20px;
    left: 8px;

    width: 26px;
    height: 1px;

    background: #fff;
}

.support-poster-lightbox__close span:first-child {
    transform: rotate(45deg);
}

.support-poster-lightbox__close span:last-child {
    transform: rotate(-45deg);
}


/* MOBILE */

@media (max-width: 600px) {

    .support-poster-lightbox {
        padding: 20px;
    }

    .support-poster-lightbox__image {
        max-width: 94vw;
        max-height: 86vh;
    }

    .support-poster-lightbox__close {
        top: 16px;
        right: 16px;
    }

}
body.lightbox-open {
    overflow: hidden;
}
/* =========================================
   PHOTO LIGHTBOX
   ========================================= */

.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;

    background: rgba(20,18,15,.94);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.photo-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.photo-lightbox__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);

    gap: 50px;

    width: min(1200px, 94vw);
    max-height: 90vh;

    align-items: center;
}

.photo-lightbox__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

    max-height: 88vh;
}

.photo-lightbox__image {
    display: block;

    max-width: 100%;
    max-height: 86vh;

    width: auto;
    height: auto;

    object-fit: contain;

    box-shadow: 0 20px 70px rgba(0,0,0,.35);

    transform: scale(.97);
    transition: transform .3s ease;
}

.photo-lightbox.is-open
.photo-lightbox__image {
    transform: scale(1);
}


/* DETAILS */

.photo-lightbox__details {
    color: #fff;
}

.photo-lightbox__title {
    margin: 0 0 14px;

    font: 400 clamp(32px,4vw,52px)/1
        "Cormorant Garamond",serif;
}

.photo-lightbox__meta {
    margin-bottom: 30px;

    font-size: 11px;
    line-height: 1.5;

    text-transform: uppercase;
    letter-spacing: .14em;

    opacity: .7;
}

.photo-lightbox__description {
    margin-bottom: 28px;

    font-size: 16px;
    line-height: 1.7;

    opacity: .85;
}

.photo-lightbox__credit {
    font-size: 10px;
    line-height: 1.5;

    text-transform: uppercase;
    letter-spacing: .12em;

    opacity: .55;
}
.photo-lightbox__prev,
.photo-lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    z-index: 3;

    width: 50px;
    height: 50px;

    padding: 0;
    border: 0;

    background: transparent;

    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 300;

    cursor: pointer;

    opacity: .7;

    transition:
        opacity .2s ease,
        transform .2s ease;
}

.photo-lightbox__prev:hover,
.photo-lightbox__next:hover {
    opacity: 1;
}

.photo-lightbox__prev {
    left: 25px;
}

.photo-lightbox__next {
    right: 25px;
}

.photo-lightbox__prev:hover {
    transform: translate(-4px, -50%);
}

.photo-lightbox__next:hover {
    transform: translate(4px, -50%);
}

/* CLOSE */

.photo-lightbox__close {
    position: absolute;

    top: 24px;
    right: 28px;

    z-index: 2;

    width: 42px;
    height: 42px;

    padding: 0;
    border: 0;

    background: transparent;

    cursor: pointer;
}

.photo-lightbox__close span {
    position: absolute;

    top: 20px;
    left: 8px;

    width: 26px;
    height: 1px;

    background: #fff;
}

.photo-lightbox__close span:first-child {
    transform: rotate(45deg);
}

.photo-lightbox__close span:last-child {
    transform: rotate(-45deg);
}


/* MOBILE */

@media (max-width: 800px) {

    .photo-lightbox {
        padding: 70px 20px 30px;
        overflow-y: auto;
        align-items: flex-start;
    }

    .photo-lightbox__content {
        grid-template-columns: 1fr;
        gap: 30px;

        width: 100%;
        max-height: none;
    }

    .photo-lightbox__image-wrap {
        max-height: 65vh;
    }

    .photo-lightbox__image {
        max-height: 65vh;
    }

    .photo-lightbox__title {
        font-size: 40px;
    }

}
@media (max-width: 800px) {

    .photo-lightbox__prev,
    .photo-lightbox__next {
        top: 40%;

        width: 40px;
        height: 40px;

        font-size: 24px;
    }

    .photo-lightbox__prev {
        left: 5px;
    }

    .photo-lightbox__next {
        right: 5px;
    }

}
/* =========================================================
   BOOKS ARCHIVE — FEATURED BOOK
   ========================================================= */

.books-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 110px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.14);
}

.books-featured__image {
    position: relative;
    overflow: hidden;
}

.books-featured__image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 720px;
    object-fit: contain;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.books-featured__image.is-changing img {
    opacity: 0;
    transform: translateY(8px);
}

.books-featured__content {
    padding-right: 40px;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.books-featured__content.is-changing {
    opacity: 0;
    transform: translateY(8px);
}

.books-featured__meta {
    margin-bottom: 22px;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8a5b49;
}

.books-featured__title {
    margin: 0 0 35px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(42px, 4.2vw, 68px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.025em;
}

.books-featured__description {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.75;
    color: #444;
}

.books-featured__action {
    margin-top: 42px;
}

.books-featured__action a {
    display: inline-block;
    padding-bottom: 7px;
    border-bottom: 1px solid currentColor;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
}


/* =========================================================
   ALL BOOKS
   ========================================================= */

.books-archive {
    padding-top: 70px;
    padding-bottom: 120px;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin-top: 32px;
}

.book-card {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.book-card__image {
    position: relative;
    overflow: hidden;
    background: #eee;
}

.book-card__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: opacity 0.25s ease, transform 0.35s ease;
}

.book-card:hover .book-card__image img {
    transform: scale(1.015);
}

.book-card.is-active .book-card__image {
    outline: 1px solid rgba(26, 26, 26, 0.45);
    outline-offset: -1px;
}

.book-card__info {
    padding-top: 15px;
}

.book-card h2 {
    min-height: 4.5em;
}

.book-card__info h3 {
    margin: 0 0 7px;
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.1;
	min-height: 4.5em;

}

.book-card__meta {
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #777;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .books-featured {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-bottom: 80px;
    }

    .books-featured__content {
        padding-right: 0;
    }

    .books-featured__image img {
        max-height: 650px;
        margin: 0 auto;
    }

    .books-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 20px;
    }

}

@media (max-width: 600px) {

    .books-featured {
        padding-top: 25px;
        padding-bottom: 65px;
    }

    .books-featured__title {
        font-size: 42px;
    }

    .books-featured__description {
        font-size: 16px;
    }

    .books-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 14px;
    }

    .book-card__info h3 {
        font-size: 19px;
    }

    .book-card__meta {
        font-size: 9px;
    }

}
/* =========================================================
   VIDEO ARCHIVE
========================================================= */

.videos-featured {
    margin-top: 70px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(0,0,0,.12);
}


/* FEATURED MEDIA */

.videos-featured__media {
    width: 100%;
}

.videos-featured__image-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
}

.videos-featured__image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}


/* FEATURED PLAY BUTTON */

.videos-featured__play,
.video-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.videos-featured__play span,
.video-card__play span {
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #fff;
}


/* FEATURED INFO */

.videos-featured__info {
    display: grid;
    grid-template-columns: minmax(180px, .7fr) minmax(0, 2fr);
    column-gap: 70px;
    padding-top: 32px;
    transition: opacity .18s ease, transform .18s ease;
}

.videos-featured__info.is-changing,
.videos-featured__media.is-changing {
    opacity: .35;
    transform: translateY(3px);
}

.videos-featured__meta {
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #777;
}

.videos-featured__title {
    margin: 0 0 18px;
    font-family: 'Cormorant Garamond';
    font-size: 34px;
    line-height: 1.1;
    font-weight: 400;
}

.videos-featured__description {
    max-width: 650px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.videos-featured__action {
    margin-top: 25px;
}

.videos-featured__action a {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 5px;
}


/* =========================================================
   ALL VIDEOS
========================================================= */

.videos-archive {
    padding-top: 55px;
    padding-bottom: 120px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 55px 28px;
    margin-top: 28px;
}


/* VIDEO CARD */

.video-card {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: inherit;
}

.video-card__image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
}

.video-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .35s ease;
}

.video-card:hover .video-card__image img {
    transform: scale(1.025);
}

.video-card__play {
    width: 38px;
    height: 38px;
    border-color: rgba(255,255,255,.65);
}

.video-card__play span {
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 7px;
}


/* CARD INFO */

.video-card__info {
    padding-top: 14px;
}

.video-card__meta {
    margin-bottom: 7px;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #777;
}

.video-card__info h3 {
    margin: 0;
    font-family: 'Cormorant Garamond',serif;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 600;
}


/* ACTIVE CARD */

.video-card.is-active .video-card__image {
    outline: 1px solid rgba(0,0,0,.18);
    outline-offset: 3px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .videos-featured {
        margin-top: 45px;
        padding-bottom: 55px;
    }

    .videos-featured__info {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-top: 22px;
    }

    .videos-featured__title {
        font-size: 29px;
    }

    .videos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 18px;
    }

}


@media (max-width: 560px) {

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .videos-featured__title {
        font-size: 27px;
    }

}
/* =========================================================
   FEATURED VIDEO PLAYER
========================================================= */

.videos-featured__image-wrap {
    position: relative;
    overflow: hidden;
}

.videos-featured__image-wrap > img {
    display: block;
    width: 100%;
    height: auto;
}

.videos-featured__image-wrap.is-playing {
    background: #000;
    aspect-ratio: 16 / 9;
}

.videos-featured__image-wrap.is-playing iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    border: 0;
}


/*
 * Play button
 */

.videos-featured__play {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(
        -50%,
        -50%
    );

    width: 72px;
    height: 72px;

    padding: 0;

    border: 1px solid
        rgba(255,255,255,.8);

    border-radius: 50%;

    background: rgba(
        0,
        0,
        0,
        .18
    );

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease;
}

.videos-featured__play:hover {
    background: rgba(
        0,
        0,
        0,
        .38
    );

    transform:
        translate(-50%, -50%)
        scale(1.05);
}


/*
 * Triangle
 */

.videos-featured__play span {
    display: block;

    width: 0;
    height: 0;

    margin-left: 5px;

    border-top:
        8px solid transparent;

    border-bottom:
        8px solid transparent;

    border-left:
        12px solid #fff;
}


/*
 * Make sure iframe fills the media area
 */

.videos-featured__image-wrap.is-playing {
    width: 100%;
}

.videos-featured__image-wrap.is-playing iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}


/*
 * Mobile
 */

@media (max-width: 767px) {

    .videos-featured__play {
        width: 58px;
        height: 58px;
    }

    .videos-featured__play span {
        border-top-width: 7px;
        border-bottom-width: 7px;
        border-left-width: 10px;
    }

}
/* ================================
   FEATURED VIDEO PLAYER
   ================================ */

.videos-featured iframe,
.video-featured iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
    min-height: 0;
    display: block;
    border: 0;
}

/* Container player */
.videos-featured__video,
.video-featured__video {
    width: 100%;
    overflow: hidden;
}

/* Kalau iframe dibungkus container embed */
.videos-featured__embed,
.video-featured__embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.videos-featured__embed iframe,
.video-featured__embed iframe {
    width: 100%;
    height: 100% !important;
    display: block;
}
.site-footer {
    background: rgba(255, 0, 0, 0.05);
}
/* =========================================
   GLOBAL FOOTER LAYOUT
   Keep footer at the bottom on short pages
   ========================================= */

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
}

/* v0.6.16 News archive */
.news-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:42px 28px;
  padding-bottom:90px;
}
.news-card{
  display:block;
  text-decoration:none;
  min-width:0;
  color:inherit;
}
.news-card__image{
  aspect-ratio:4/3;
  overflow:hidden;
  background:var(--paper-deep);
  margin-bottom:18px;
  border-radius:18px;
}
.news-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
.news-card:hover .news-card__image img{
  transform:scale(1.025);
}
.news-card h2,
.news-card h3{
  margin:0;
  font:400 30px/1.08 Cormorant Garamond,serif;
  letter-spacing:-.025em;
}
.news-card:hover h2,
.news-card:hover h3{
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:5px;
}
.news-pagination{
  display:flex;
  justify-content:center;
  gap:10px;
  padding:0 0 110px;
}
.news-pagination a,
.news-pagination span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:34px;
  padding:0 9px;
  border:1px solid var(--line);
  text-decoration:none;
  font-size:10px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.news-pagination .current{
  border-color:var(--ink);
  background:var(--ink);
  color:var(--paper);
}
.news-single{
  padding-bottom:120px;
}
.news-single__image{
  margin-bottom:42px;
}
.news-single__image img{
  width:100%;
  max-height:720px;
  object-fit:cover;
  border-radius:18px;
}
.news-single__meta{
  max-width:var(--reading);
  margin:0 auto 56px;
  padding-top:18px;
  border-top:1px solid var(--line);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px 10px;
  color:var(--muted);
  font-size:11px;
  line-height:1.5;
  letter-spacing:.02em;
}
.news-single__meta-item strong{
  color:var(--ink);
  font-weight:500;
}
.news-single__meta-source{
  margin-left:auto;
  color:var(--ink);
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:10px;
  border-bottom:1px solid var(--muted);
  padding-bottom:4px;
}
.news-single__meta-source:hover{
  color:var(--accent);
  border-color:var(--accent);
}
.news-single__content{
  max-width:var(--reading);
  margin-inline:auto;
}
.news-single__content .content-wrap{
  padding:0;
}
.news-single__links{
  display:flex;
  flex-wrap:wrap;
  gap:18px 32px;
  margin-top:52px;
  padding-top:24px;
  border-top:1px solid var(--line);
}
.news-single__links a{
  font-size:10px;
  line-height:1.3;
  text-transform:uppercase;
  letter-spacing:.14em;
  text-decoration:none;
  border-bottom:1px solid var(--muted);
  padding-bottom:5px;
}
.news-single__links a:hover{
  color:var(--accent);
  border-color:var(--accent);
}
.news-related{
  max-width:var(--max);
  margin:110px auto 0;
  padding-top:42px;
  border-top:1px solid var(--line);
}
.news-related__heading{
  display:flex;
  align-items:center;
  gap:18px;
  margin:0 0 36px;
  font:400 34px/1.1 Cormorant Garamond,serif;
  letter-spacing:-.025em;
}
.news-related__heading::before{
  content:"";
  display:block;
  width:18px;
  height:30px;
  flex:0 0 18px;
  background:var(--accent);
  border-radius:3px;
}
.news-related .news-grid{
  padding-bottom:0;
}
@media(max-width:900px){
  .news-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .news-single__meta-source{margin-left:0;}
}
@media(max-width:600px){
  .news-grid{grid-template-columns:1fr;gap:34px;}
  .news-card__image{aspect-ratio:16/10;}
  .news-single__meta{margin-bottom:40px;}
  .news-single__meta-source{margin-top:4px;}
  .news-related{margin-top:80px;padding-top:32px;}
  .news-related__heading{font-size:30px;margin-bottom:28px;}
}


/* v1.0 — first-visit signature preloader */
.ti-preloader{
  position:fixed;
  inset:0;
  z-index:999999;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#000;
  opacity:1;
  visibility:visible;
  transition:opacity .65s ease,visibility .65s ease;
}
.ti-preloader__inner{
  display:flex;
  align-items:center;
  justify-content:center;
  width:min(72vw,420px);
}
.ti-preloader__signature{
  display:block;
  width:auto;
  max-width:100%;
  max-height:180px;
  object-fit:contain;
  opacity:0;
  transform:translateY(8px);
  animation:ti-preloader-signature-in 1.15s ease .12s forwards;
}
.ti-preloader.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.ti-preloader-seen .ti-preloader{
  display:none !important;
}
@keyframes ti-preloader-signature-in{
  to{opacity:1;transform:translateY(0);}
}
@media (prefers-reduced-motion:reduce){
  .ti-preloader,
  .ti-preloader__signature{animation:none;transition:none;}
  .ti-preloader__signature{opacity:1;transform:none;}
}


/* =========================================
   KARYA PILIHAN — SELECTED WORKS
   ========================================= */

.ti-dynamic-grid--selected {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Setiap karya */
.ti-dynamic-grid--selected .ti-selected-work {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    column-gap: 0;
    position: relative;
}

/* Area tahun */
.ti-dynamic-grid--selected .ti-selected-work__meta {
    padding-right: 20px;
}

/* Type */
.ti-dynamic-grid--selected .ti-selected-work__type {
    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Tahun */
.ti-dynamic-grid--selected .ti-selected-work__year {
    margin-top: 8px;
    font-family: "Cormorant Garamond", serif;
    font-size: 27px;
    line-height: 1;
}

/* Konten */
.ti-dynamic-grid--selected .ti-selected-work__content {
    border-left: 1px solid rgba(26, 26, 26, 0.14);
    padding-left: 28px;
    padding-right: 20px;
}

/* Judul */
.ti-dynamic-grid--selected .ti-selected-work__content h3 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.12;
    color: #1A1A1A;
}

/* Excerpt */
.ti-dynamic-grid--selected .ti-selected-work__excerpt {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.65;
}

/* Hilangkan border bawaan yang terlalu panjang */
.ti-dynamic-grid--selected .ti-selected-work {
    border: none;
}

/* Spacing antar karya */
.ti-dynamic-grid--selected .ti-selected-work {
    padding-top: 28px;
    padding-bottom: 28px;
}

/* Jangan membuat garis horizontal penuh */
.ti-dynamic-grid--selected .ti-selected-work + .ti-selected-work {
    border-top: none;
}


/* =========================================
   CUSTOM POST TYPE ARCHIVES
   ========================================= */

/*
 * Give every custom post type archive a consistent
 * 120px breathing room before the site footer.
 */
body.post-type-archive main {
  padding-bottom:120px;
}

/*
 * Photo and Support Poster pagination.
 */
.archive-pagination{
  margin-top:56px;
}
.archive-pagination .page-numbers{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}
.archive-pagination .page-numbers li{
  margin:0;
}
.archive-pagination .page-numbers a,
.archive-pagination .page-numbers span{
  display:grid;
  place-items:center;
  min-width:38px;
  height:38px;
  padding:0 10px;
  border:1px solid transparent;
  color:var(--muted);
  font:500 11px/1 Inter,sans-serif;
  letter-spacing:.08em;
  text-decoration:none;
}
.archive-pagination .page-numbers a:hover{
  border-color:var(--line);
  color:var(--ink);
}
.archive-pagination .page-numbers .current{
  border-color:var(--ink);
  color:var(--ink);
}
.archive-pagination .page-numbers .prev,
.archive-pagination .page-numbers .next{
  font-size:18px;
  letter-spacing:0;
}

@media(max-width:600px){
  body.post-type-archive main{
    padding-bottom:120px;
  }
  .archive-pagination{
    margin-top:42px;
  }
}
