/* joesphesquibel.my.id — theme overrides and editorial utilities.
   Loaded after the mirror stylesheets (css/assets-styles-style.css etc.).
   Only fills the gaps the mirror homepage never needed: text logo, single
   article layout, breadcrumbs, legal pages, forms, search results, gallery. */

/* ---------------------------------------------------------- text logo */
.c-logo__text {
  display: inline-block;
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, "Times New Roman", serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: .01em;
  color: inherit;
  white-space: nowrap;
}
.c-nav-header__logo .c-logo__text,
.c-search-box__logo .c-logo__text { font-size: 1.2rem; }
.c-footer .c-logo__text,
.c-site-logo .c-logo__text { font-size: 1.6rem; }
@media (max-width: 480px) { .c-logo__text { font-size: 1.2rem; } }

/* ---------------------------------------------------------- breadcrumbs */
.c-breadcrumbs {
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--wp--preset--color--neutral-gray, #6b6b6b);
  margin: 0 0 .9rem;
  overflow-wrap: anywhere;
}
.c-breadcrumbs a { color: var(--wp--preset--color--primary, #b50322); text-decoration: none; }
.c-breadcrumbs a:hover { text-decoration: underline; }
.c-breadcrumbs .sep { margin: 0 .35rem; opacity: .6; }
.c-breadcrumbs .crumb-last { color: var(--wp--preset--color--neutral-black, #111); }

/* ---------------------------------------------------------- single article */
.c-single-article { max-width: 48rem; }
.c-single-article__title {
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  margin: .35rem 0 .9rem;
  color: var(--wp--preset--color--neutral-black, #111);
  overflow-wrap: anywhere;
}
.c-single-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  align-items: center;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--wp--preset--color--neutral-gray, #6b6b6b);
  margin-bottom: 1.1rem;
}
.c-single-article__meta a { color: inherit; text-decoration: none; }
.c-single-article__meta a:hover { text-decoration: underline; }
.c-single-article__excerpt {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--wp--preset--color--neutral-black, #222);
  margin: 0 0 1.6rem;
}
.c-single-article__hero { margin: 0 0 1.8rem; }
.c-single-article__hero img { width: 100%; height: auto; display: block; border-radius: 6px; }

.c-single-article__body { font-size: 1.0625rem; line-height: 1.78; }
.c-single-article__body p { margin: 0 0 1.15rem; }
.c-single-article__body h2 {
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.18;
  margin: 2.3rem 0 .9rem;
}
.c-single-article__body h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.c-single-article__body a { color: var(--wp--preset--color--primary, #b50322); }
.c-single-article__body ul, .c-single-article__body ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.c-single-article__body li { margin-bottom: .4rem; }
.c-single-article__body figure { margin: 1.9rem 0; }
.c-single-article__body img,
.c-single-article__gallery img,
.c-article-card__thumbnail img { width: 100%; height: auto; display: block; border-radius: 6px; }
.c-single-article__body figcaption,
.c-single-article__gallery figcaption {
  font-size: .82rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--wp--preset--color--neutral-gray, #6b6b6b);
  margin-top: .5rem;
}

/* pull quote + key facts inside the article body */
.c-single-article__body .pull-quote {
  border-left: 4px solid var(--wp--preset--color--primary, #b50322);
  margin: 2rem 0;
  padding: .35rem 0 .35rem 1.3rem;
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--wp--preset--color--neutral-black, #111);
}
.c-single-article__body .key-facts {
  background: var(--wp--preset--color--yellow-04, #fffef3);
  border: 1px solid rgba(17, 17, 17, .14);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  margin: 2rem 0;
}
.c-single-article__body .key-facts h3 {
  margin: 0 0 .6rem;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.c-single-article__body .key-facts ul { margin: 0; padding-left: 1.25rem; }

/* extra photo gallery for the remaining article images */
.c-single-article__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 2rem 0;
}
.c-single-article__gallery figure { margin: 0; }

.c-single-article__tags {
  border-top: 1px solid rgba(17, 17, 17, .14);
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  font-size: .9rem;
}
.c-single-article__tags-label { text-transform: uppercase; letter-spacing: .05em; color: var(--wp--preset--color--neutral-gray, #6b6b6b); }
.c-single-article__tags a { color: var(--wp--preset--color--primary, #b50322); }

/* ---------------------------------------------------------- legal pages */
.c-page-title {
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
  line-height: 1.12;
  margin: .35rem 0 1.1rem;
  color: var(--wp--preset--color--neutral-black, #111);
}
.c-section--default-page .wp-block-post-content { max-width: 52rem; font-size: 1.0625rem; line-height: 1.78; }
.c-section--default-page .wp-block-post-content h2 {
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: 1.5rem;
  margin: 2rem 0 .7rem;
}
.c-section--default-page .wp-block-post-content a { color: var(--wp--preset--color--primary, #b50322); }
.c-section--default-page .wp-block-post-content .lede { font-size: 1.2rem; line-height: 1.6; }
.c-section--default-page .wp-block-post-content ul { padding-left: 1.3rem; line-height: 1.9; }
.c-page-tagline {
  margin-top: 2.2rem;
  font-size: .85rem;
  font-style: italic;
  color: var(--wp--preset--color--neutral-gray, #6b6b6b);
}

/* ---------------------------------------------------------- forms */
.c-form-signup { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; margin: 0; }
.c-form-signup .hs-form-field { flex: 1 1 220px; min-width: 0; }
.c-form-signup .hs-label {
  display: block;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}
.c-form-signup .hs-input {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, .25);
  border-radius: 4px;
  padding: .65rem .8rem;
  font: inherit;
  color: #111;
  background: #fff;
}
.c-form-signup .hs-button {
  border: 0;
  border-radius: 4px;
  padding: .7rem 1.3rem;
  font: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  background: var(--wp--preset--color--primary, #b50322);
  color: #fff;
}
.c-form-signup .hs-button:hover { background: var(--wp--preset--color--primary-dark, #8f0219); }
.c-form-signup .form-ok { flex: 1 1 100%; margin: .2rem 0 0; }
.form-ok { color: #166534; font-weight: 600; }

.contact-form { margin: 1.4rem 0 2rem; }
.contact-form label { display: block; font-weight: 600; margin: .9rem 0; }
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: .35rem;
  border: 1px solid rgba(17, 17, 17, .25);
  border-radius: 4px;
  padding: .6rem .8rem;
  font: inherit;
}
.contact-form button {
  margin-top: .8rem;
  border: 0;
  border-radius: 4px;
  padding: .7rem 1.5rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: var(--wp--preset--color--primary, #b50322);
  color: #fff;
}

/* ---------------------------------------------------------- search results */
.c-search-quicklinks { width: 100%; max-width: 42rem; margin: 1rem auto 0; }
.c-search-quicklinks a {
  display: block;
  padding: .55rem .7rem;
  border-radius: 4px;
  color: var(--wp--preset--color--neutral-black, #111);
  text-decoration: none;
}
.c-search-quicklinks a:hover,
.c-search-quicklinks a:focus { background: rgba(17, 17, 17, .06); color: var(--wp--preset--color--primary, #b50322); }
.c-search-quicklinks .no-hit { color: var(--wp--preset--color--neutral-gray, #6b6b6b); padding: .5rem .7rem; }

/* ---------------------------------------------------------- sticky header reveal */
.site-header { transition: transform .35s ease, background-color .25s ease-in-out; will-change: transform; }
html.refact-section-header-hidden .site-header { transform: translateY(-100%); }

/* ---------------------------------------------------------- accessibility helpers */
.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  word-wrap: normal !important;
}
.skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  clip: auto;
  background: #fff;
  color: #111;
  padding: 10px 16px;
  z-index: 100000;
}

/* ---------------------------------------------------------- footer contact */
.c-footer-contact {
  max-width: 505px;
  margin-top: .25rem;
}
.c-footer-contact .wp-block-heading {
  color: var(--wp--preset--color--neutral-white, #fff);
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 .5rem;
}
.c-footer-contact p {
  color: var(--wp--preset--color--neutral-silver-01, #d8d8d8);
  font-family: var(--wp--preset--font-family--pt-serif, Georgia, serif);
  font-size: .9375rem;
  line-height: 1.5;
  margin: 0 0 .4rem;
}
.c-footer-contact a {
  color: var(--wp--preset--color--primary-01, #e83655);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.c-footer-contact a:hover { text-decoration: underline; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 781px) {
  .c-single-article__gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .c-single-article__gallery { grid-template-columns: 1fr; }
  .c-form-signup .hs-button { width: 100%; }
}


/* ---------------------------------------------------------- header fit for long section names */
@media (min-width: 992px) {
  .c-header__cta .s-nav { gap: .9rem; }
  .c-header__cta .s-nav .wp-block-navigation-item__content { font-size: .72rem !important; letter-spacing: .01em; }
  .c-header__logo .c-logo__text { font-size: 1.3rem; }
}
@media (min-width: 992px) and (max-width: 1280px) {
  .c-header__cta .s-nav { gap: .55rem; }
  .c-header__cta .s-nav .wp-block-navigation-item__content { font-size: .6rem !important; }
  .c-header__logo .c-logo__text { font-size: 1.12rem; }
}
@media (max-width: 480px) {
  .c-header__logo .c-logo__text { font-size: 1.05rem; }
}

/* ---------------------------------------------------------- pull quotes and key facts in article body */
.c-single-article__body .pull-quote {
  margin: 2rem 0;
  padding: 1.25rem 0 1.25rem 1.5rem;
  border-left: 3px solid var(--wp--preset--color--primary, #b50322);
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: 1.35rem;
  line-height: 1.35;
  font-style: italic;
}
.c-single-article__body .key-facts {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: #f4f1ec;
  border: 1px solid #e2ddd4;
}
.c-single-article__body .key-facts h3 { margin: 0 0 .75rem; font-size: 1.1rem; }
.c-single-article__body .key-facts ul { margin: 0; padding-left: 1.1rem; }
.c-single-article__body .key-facts li { margin: .35rem 0; font-size: .95rem; }
.c-single-article__body figure { margin: 2rem 0; }
.c-single-article__body figure img { width: 100%; height: auto; }
.c-single-article__body figcaption { margin-top: .5rem; font-size: .8rem; color: #6b6b6b; }
.c-single-article__body code { font-size: .9em; background: #f2f2f2; padding: .1em .3em; }

/* ---------------------------------------------------------- footer logo link */
.c-site-logo a,
.c-site-logo a:hover { text-decoration: none; }
.c-footer-contact a { color: #f3b4ad; }
.c-footer-contact a:hover { color: #ffffff; }

/* ---------------------------------------------------------- text logo links */
.c-header__logo a,
.c-header__logo a:hover,
.c-nav-header__logo-link,
.c-nav-header__logo-link:hover,
.c-search-box__logo a,
.c-search-box__logo a:hover { text-decoration: none; }

/* ==========================================================================
   HOMEPAGE CLEANUP
   One hero, one topic directory, one article grid. Newsletter promo boxes,
   the duplicate "Most Popular" sidebar and the repeated topic sections are
   gone, so these rules replace the old mirrored-homepage layout.
   ========================================================================== */

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: stretch;
}

.home-hero__media {
  display: block;
  margin: 0 0 1.35rem;
  overflow: hidden;
  border-radius: 8px;
  background: #f2f0eb;
}
.home-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .5s ease;
}
.home-hero__media:hover img { transform: scale(1.03); }

.home-hero__kicker a {
  font-family: var(--wp--preset--font-family--inter, sans-serif);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--wp--preset--color--primary, #b50322);
  text-decoration: none;
}
.home-hero__kicker a:hover { text-decoration: underline; }

.home-hero__title {
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  font-weight: 600;
  line-height: 1.07;
  margin: .5rem 0 .85rem;
  color: var(--wp--preset--color--neutral-black, #111);
  overflow-wrap: anywhere;
}
.home-hero__title a { color: inherit; text-decoration: none; }
.home-hero__title a:hover { color: var(--wp--preset--color--primary, #b50322); }

.home-hero__excerpt {
  font-family: var(--wp--preset--font-family--pt-serif, Georgia, serif);
  font-size: 1.08rem;
  line-height: 1.6;
  color: #333;
  max-width: 46rem;
  margin: 0 0 1rem;
}

.home-hero__meta,
.home-card__meta {
  font-family: var(--wp--preset--font-family--inter, sans-serif);
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #6b6b6b;
}
.home-hero__meta a,
.home-card__meta a { color: inherit; text-decoration: none; }
.home-hero__meta a:hover,
.home-card__meta a:hover { color: var(--wp--preset--color--primary, #b50322); }

.home-hero__side {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--wp--preset--color--neutral-black, #111);
  padding-top: 1rem;
}

.home-hero__note {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(17, 17, 17, .14);
  font-family: var(--wp--preset--font-family--pt-serif, Georgia, serif);
  font-size: .92rem;
  line-height: 1.55;
  color: #444;
}
.home-hero__note p { margin: 0; }
.home-hero__note a { color: var(--wp--preset--color--primary, #b50322); text-decoration: none; }
.home-hero__note a:hover { text-decoration: underline; }

.home-side-label {
  font-family: var(--wp--preset--font-family--inter, sans-serif);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin: 0 0 .35rem;
}

.home-brief {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-brief li + li { border-top: 1px solid rgba(17, 17, 17, .14); }
.home-brief a {
  display: block;
  padding: 1rem 0;
  color: inherit;
  text-decoration: none;
}
.home-brief__cat {
  display: block;
  font-family: var(--wp--preset--font-family--inter, sans-serif);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wp--preset--color--primary, #b50322);
  margin-bottom: .35rem;
}
.home-brief__title {
  display: block;
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
}
.home-brief a:hover .home-brief__title { color: var(--wp--preset--color--primary, #b50322); }

/* topic directory band */
.home-topics-section {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
  background: var(--wp--preset--color--yellow-04, #fffef3);
  border-top: 1px solid rgba(17, 17, 17, .1);
  border-bottom: 1px solid rgba(17, 17, 17, .1);
}
.home-topics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .9rem;
}
.home-topic {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, .16);
  color: var(--wp--preset--color--neutral-black, #111);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.home-topic:hover {
  border-color: var(--wp--preset--color--primary, #b50322);
  box-shadow: 0 6px 18px rgba(17, 17, 17, .08);
  transform: translateY(-2px);
}
.home-topic__name {
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}
.home-topic__count {
  font-family: var(--wp--preset--font-family--inter, sans-serif);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b6b6b;
}

/* latest grid */
.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--wp--preset--color--neutral-black, #111);
  padding-bottom: .8rem;
  margin-bottom: 2rem;
}
.home-section-head h2 {
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
  margin: 0;
}
.home-section-head span {
  font-family: var(--wp--preset--font-family--inter, sans-serif);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b6b6b;
  white-space: nowrap;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.6rem 2rem;
}
.home-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-width: 0;
}
.home-card__media {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #f2f0eb;
  margin-bottom: .15rem;
}
.home-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .5s ease;
}
.home-card__media:hover img { transform: scale(1.03); }
.home-card__cat a {
  font-family: var(--wp--preset--font-family--inter, sans-serif);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wp--preset--color--primary, #b50322);
  text-decoration: none;
}
.home-card__cat a:hover { text-decoration: underline; }
.home-card__title {
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.28;
  margin: 0;
  overflow-wrap: anywhere;
}
.home-card__title a { color: var(--wp--preset--color--neutral-black, #111); text-decoration: none; }
.home-card__title a:hover { color: var(--wp--preset--color--primary, #b50322); text-decoration: underline; }
.home-card__excerpt {
  font-family: var(--wp--preset--font-family--pt-serif, Georgia, serif);
  font-size: .95rem;
  line-height: 1.5;
  color: #333;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-card__meta {
  margin-top: auto;
  padding-top: .25rem;
}

/* footer without the newsletter column */
.site-footer .c-footer__content { justify-content: flex-start; }
.site-footer .c-footer__info { max-width: 680px; }

@media (max-width: 1200px) {
  .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero__side { margin-top: .5rem; }
}
@media (max-width: 640px) {
  .home-grid { grid-template-columns: 1fr; gap: 2rem; }
  .home-topics { grid-template-columns: 1fr 1fr; }
  .home-topic { padding: .85rem .9rem; }
  .home-topic__name { font-size: .92rem; }
  .home-topics .home-topic:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .home-hero__excerpt { font-size: 1rem; }
}

/* Contact page links */
.contact-link{color:var(--wp--preset--color--primary,#E2042A);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;overflow-wrap:anywhere;transition:color .18s ease,text-decoration-thickness .18s ease}
.contact-link:hover{color:var(--wp--preset--color--primary-dark,#B50322);text-decoration-thickness:2px}

/* ==========================================================================
   ARCHIVE / LISTING CARDS
   The mirrored theme gives every .c-article-card a 300px image column at
   desktop widths. Inside the two-column archive grid that left only ~80px
   for the headline, so titles broke one word per line. Listing cards stack
   image over text again.
   ========================================================================== */
.c-homeposts-block__list .c-article-card,
.c-homeposts-block__list.has-two-col .c-article-card,
.c-homeposts-block__list.has-three-col .c-article-card {
  grid-template-columns: 1fr;
  align-self: start;
}
.c-homeposts-block__list .c-article-card__thumbnail img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
