/*
Theme Name: Sirajul Huda
Theme URI: https://sirajulhuda.sch.id/
Author: Ahmad Jumaili / PT. Qolama Inspira Creative
Author URI: https://sirajulhuda.sch.id/
Description: Theme WordPress premium resmi Sirajul Huda untuk pesantren dan lembaga pendidikan. Memiliki pengaturan lengkap, desain responsif, single post profesional, SEO dan Schema bawaan, aset lokal, serta optimasi performa tanpa aktivasi lisensi atau page builder berbayar.
Version: 0.3.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: sirajul-huda
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: education, news, custom-logo, custom-menu, featured-images, responsive-layout, translation-ready
*/

/* WordPress compatibility additions. The original public CSS is enqueued from assets/css. */
.admin-bar .site-header.scrolled { top: 32px; }
.admin-bar .offcanvas { top: 32px; }
.alignwide { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption, .gallery-caption { max-width: 100%; }
.wp-caption-text { color: var(--muted); font-size: .875rem; }
.bypostauthor { display: block; }
.screen-reader-text { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.screen-reader-text:focus { clip:auto!important; width:auto; height:auto; padding:12px 16px; margin:8px; background:#fff; color:#111; z-index:100000; }
.current-menu-item > .nav-link,
.current-menu-ancestor > .nav-link { color: var(--gold) !important; }
.sh-demo-notice { border-left-color:#176b4d; }
@media (max-width: 782px) {
  .admin-bar .site-header.scrolled { top: 46px; }
  .admin-bar .offcanvas { top: 46px; }
}

/* v0.2.0 — dashboard, program archive, agenda, announcements, and gallery. */
.program-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.program-archive-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--theme-border,#dfe8e2);border-radius:16px;background:var(--theme-surface,#fff);box-shadow:0 10px 32px rgba(18,61,46,.06);transition:transform .2s,box-shadow .2s}.program-archive-card:hover{transform:translateY(-4px);box-shadow:0 18px 44px rgba(18,61,46,.12)}.program-archive-image{position:relative;display:block;min-height:230px;overflow:hidden}.program-archive-image>img{width:100%;height:230px;object-fit:cover;transition:transform .35s}.program-archive-card:hover .program-archive-image>img{transform:scale(1.035)}.program-archive-icon{position:absolute;left:20px;bottom:0;transform:translateY(50%);display:grid;place-items:center;width:54px;height:54px;border-radius:14px;background:var(--theme-primary,#176b4d);color:#fff;font-size:24px;box-shadow:0 10px 24px rgba(18,61,46,.22)}.program-archive-copy{display:flex;flex-direction:column;flex:1;padding:38px 22px 22px}.program-archive-copy h2{margin:6px 0 10px;font-family:var(--font-heading);font-size:22px;font-weight:800;line-height:1.25}.program-archive-copy h2 a{color:var(--theme-heading,#123d2e)}.program-archive-copy p{color:var(--theme-muted,#657069)}.program-archive-copy small{display:block;margin-top:auto;padding-top:8px;color:var(--theme-muted,#657069)}.program-archive-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:18px;padding-top:16px;border-top:1px solid var(--theme-border,#dfe8e2)}.program-archive-actions>a:last-child{font-size:13px;font-weight:800}.notice-archive-list{display:grid;gap:18px;max-width:1050px;margin-inline:auto}.notice-archive-card{display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:start;padding:24px;border:1px solid var(--theme-border,#dfe8e2);border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(18,61,46,.05)}.notice-archive-card h2{margin:4px 0 9px;font-family:var(--font-heading);font-size:23px;font-weight:800}.notice-archive-card h2 a{color:var(--theme-heading,#123d2e)}.notice-archive-card p{margin-bottom:12px;color:var(--theme-muted,#657069)}.notice-archive-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:15px;background:var(--theme-primary-subtle,#e7f1eb);color:var(--theme-primary,#176b4d);font-size:25px}.notice-archive-copy time{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--theme-primary,#176b4d)}.agenda-archive-card .agenda-date{min-width:74px}.pagination-wrap .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;margin:3px;padding:7px 11px;border:1px solid var(--theme-border,#dfe8e2);border-radius:9px}.pagination-wrap .current{background:var(--theme-primary,#176b4d);border-color:var(--theme-primary,#176b4d);color:#fff}@media(max-width:991.98px){.program-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.program-archive-grid{grid-template-columns:1fr}.notice-archive-card{grid-template-columns:1fr}.agenda-archive-card{grid-template-columns:74px 1fr}.program-archive-image,.program-archive-image>img{min-height:210px;height:210px}}
.sh-video-embed{position:relative;overflow:hidden;border-radius:18px;background:#0b1711;aspect-ratio:16/9}.sh-video-embed iframe{width:100%;height:100%;border:0}.sh-gallery-featured img{display:block;width:100%;max-height:760px;object-fit:contain;border-radius:18px;background:#f2f5f3}
