/* Standard pages and block editor content */
.ahcf-page-head { background: var(--green-deep, #0A2C25); color: #fff; padding-block: 40px; }
.ahcf-page-head h1 { color: #fff; font-family: "Marcellus", Georgia, serif; font-weight: 400; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.ahcf-content { padding-block: 48px 72px; }
.ahcf-content > * { max-width: 780px; }
.ahcf-content > .alignwide { max-width: 1100px; }
.ahcf-content > .alignfull { max-width: none; }
.ahcf-content h2, .ahcf-content h3 { font-family: "Marcellus", Georgia, serif; font-weight: 400; color: #0F3D33; margin: 1.6em 0 .5em; }
.ahcf-content p, .ahcf-content ul, .ahcf-content ol { margin: 0 0 1em; }
.ahcf-content a { color: #85600C; }
.ahcf-list-item { padding-block: 20px; border-bottom: 1px solid #E3D6B8; }
.ahcf-list-item h2 { margin-top: 0; }
.nav .menu-item, .nav a { list-style: none; }
.datebox .m { text-transform: uppercase; }
.arch-list li:last-child { border-bottom: 0; }
.arch-list li.is-next { margin-inline: -10px; padding-inline: 10px; background: #F3E3B5; border-radius: 6px; border-bottom-color: transparent; font-weight: 600; color: #0F3D33; }

/* Website design switch */
body.ahcf-design-mockup { --serif: "Lora", Georgia, serif; --sans: "Inter", "Jost", system-ui, sans-serif; }
body.ahcf-design-mockup .site-header { border-bottom: 2px solid #E3B23C; }
body.ahcf-design-mockup .site-header .btn-gold { background: #2F7D5B; color: #fff; }
body.ahcf-design-mockup .ahcf-page-head h1, body.ahcf-design-mockup .ahcf-content h2, body.ahcf-design-mockup .ahcf-content h3 { font-family: "Lora", Georgia, serif; font-weight: 600; }
.split.ahcf-one-col, .ahcfm-bottom.ahcf-one-col { grid-template-columns: minmax(0, 1fr); }
.split.ahcf-one-col .hadith { margin-top: 0; }

/* Prayer card size and transparency on desktop. The hero grows with the card, so it never covers the announcement. */
@media (min-width: 1020px) {
  .hero { height: auto; min-height: 650px; }
  .hero-inner { height: auto; padding-top: var(--arch-top, 30px); padding-bottom: 44px; justify-content: var(--arch-justify, flex-end); }
  .hero-inner .arch-card { zoom: var(--arch-zoom, 1); }
  .hero-inner .arch-card .arch-body { margin-top: 0; background: rgb(252 248 238 / var(--arch-alpha, 1)); }
  .hero-inner .arch-card svg path { fill-opacity: var(--arch-alpha, 1); }
}

/* Elementor's old header and footer stay hidden, so every page uses the theme's */
[data-elementor-type="header"], [data-elementor-type="footer"] { display: none !important; }
.brand-name strong { font-weight: 400; }
body.ahcf-design-mockup .brand-name strong { font-weight: 600; }

/* Menu with dropdowns */
.nav-list, .nav-list .sub-menu { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list li { position: relative; }
.nav-list .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 2px 3px 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.nav-list .sub-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 50; min-width: 220px; padding: 8px; background: #FFFDF7; border: 1px solid #E3D6B8; border-radius: 8px; box-shadow: 0 10px 30px rgba(36,32,27,.18); }
.nav-list li:hover > .sub-menu, .nav-list li:focus-within > .sub-menu { display: block; }
.site-header .nav-list .sub-menu a { display: block; padding: 10px 12px; color: #0F3D33; white-space: nowrap; }
.site-header .nav-list .sub-menu a:hover { color: #85600C; background: #F5EFE0; }
.nav-list .current-menu-item > a { color: #E3B23C; }

@media (max-width: 1019px) {
  .nav-list { display: block; }
  .site-header .nav a, .site-header .nav a:hover { color: #0F3D33; background: transparent; }
  .nav-list .sub-menu { display: block; position: static; min-width: 0; padding: 0 0 0 16px; background: none; border: 0; box-shadow: none; }
  .nav-list .menu-item-has-children > a::after { display: none; }
  .nav-list .current-menu-item > a { color: #85600C; }
  .nav-list > li > a { display: block; }
}

@media (max-width: 640px) {
  .arch-next { letter-spacing: 1px; font-size: 13px; }
}

/* Plugin colours and fonts follow the theme. Set on body so they win over the plugin's :root values. */
body {
  --ahcf-green: #0F3D33; --ahcf-green-dark: #0A2C25; --ahcf-gold: #E3B23C; --ahcf-gold-dark: #C9971C;
  --ahcf-text: #24201B; --ahcf-heading: #0F3D33; --ahcf-muted: #5F574E; --ahcf-border: #E3D6B8;
  --ahcf-soft: #F7EFD9; --ahcf-today: #F3E3B5; --ahcf-radius: 12px; --ahcf-calendar-grid-border-color: #E3D6B8;
}
.ahcf-events, .ahcf-events a, .xllentech_salat_timings { font-family: inherit; }
.ahcf-events h3, .ahcf-event-card h3 { font-family: var(--serif, "Marcellus", Georgia, serif); font-weight: 400; }
body.ahcf-design-mockup .ahcf-events h3 { font-weight: 600; }

/* Plugin pages */
.ahcf-plugin-page { background: var(--paper, #FCF8EE); }
.ahcf-plugin-content { padding-block: 40px 72px; min-width: 0; }
.ahcf-plugin-content .xllentech_salat_timings > h2 { font-size: 1.9rem; }
.ahcf-plugin-content .xst_print_button button { background: #0F3D33; color: #fff; border: 0; border-radius: 6px; padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; }

/* Plugin text uses the theme's fonts everywhere */
body [class*="ahcf-event"], body [class*="ahcf-cal"], body [class*="ahcf-mobile"], body [class*="ahcf-calendar"], body .ahcf-events, body .ahcf-events *, body .xllentech_salat_timings, body .xllentech_salat_timings * { font-family: var(--sans); }
body .ahcf-events h2, body .ahcf-events h3, body h3.ahcf-calendar-title, body .ahcf-event-card h1, body .ahcf-event-card h2, body .ahcf-event-card h3 { font-family: var(--serif); font-weight: 400; color: #0F3D33; }
body.ahcf-design-mockup .ahcf-events h2, body.ahcf-design-mockup .ahcf-events h3, body.ahcf-design-mockup h3.ahcf-calendar-title, body.ahcf-design-mockup .ahcf-event-card h3 { font-weight: 600; }
body .ahcf-event-action, body .ahcf-cal-nav-btn { border-radius: 8px; font-weight: 600; }
body td.ahcf-cal-cell.has-events { background: #fff; }
body .ahcf-cal-day { font-weight: 600; color: #0F3D33; }

/* Salaat timetable */
.ahcf-plugin-content .xllentech_salat_timings > h2 { display: none; }
.ahcf-plugin-content .xst_print_button { text-align: right; margin-bottom: 12px; }
.ahcf-plugin-content .xst_print_button button { opacity: 1; font-size: 15px; }
.ahcf-plugin-content .xst_print_button button:hover { background: #0A2C25; color: #fff; }

/* Upcoming Events uses the homepage's event rows */
.ahcf-upcoming { max-width: 980px; margin: 0 auto; }
.ahcf-upcoming .event a > span:nth-child(2) { flex: 1; min-width: 0; }
.ahcf-upcoming .event-thumb { flex: none; width: 112px; height: 72px; max-width: none; object-fit: cover; border-radius: 8px; }
@media (max-width: 640px) { .ahcf-upcoming .event-thumb { display: none; } }

/* Page headers: plain cream band with a gold line, on both designs. */
body .ahcf-page-head { padding-block: 40px; background: #F7EFD9; color: #0F3D33; text-align: center; border-bottom: 2px solid #E3B23C; }
body .ahcf-page-head h1 { color: #0F3D33; }
body.ahcf-design-mockup .ahcf-plugin-page { background: #FBF8F1; }
body.ahcf-design-mockup .datebox .m { background: #F8F1E1; }
.ahcf-upcoming .event a:has(.event-thumb) { grid-template-columns: auto minmax(0, 1fr) auto auto; }
@media (max-width: 640px) { .ahcf-upcoming .event a:has(.event-thumb) { grid-template-columns: auto minmax(0, 1fr) auto; } }

/* Timetable table on larger screens. On phones the plugin shows its own accordion. */
@media (min-width: 769px) {
  .ahcf-plugin-content .xllentech_salat_timings { overflow-x: auto; }
  .ahcf-plugin-content table.xst_monthly_table_Default { width: 100%; border-collapse: collapse; background: #fff; font-variant-numeric: tabular-nums; }
  .ahcf-plugin-content table.xst_monthly_table_Default th { background: #0F3D33; color: #fff; }
  .ahcf-plugin-content table.xst_monthly_table_Default td, .ahcf-plugin-content table.xst_monthly_table_Default th { border: 1px solid #E3D6B8; padding: 10px 8px; text-align: center; }
  .ahcf-plugin-content .xst_present_day td { background: #F3E3B5 !important; color: #0F3D33; font-weight: 600; }
  .ahcf-plugin-content table.xst_monthly_table_Default { font-size: 16px; }
  .ahcf-plugin-content table.xst_monthly_table_Default tr:nth-child(even) { background: #FCF8EE; }
  .ahcf-plugin-content table.xst_monthly_table_Default tr:nth-child(even) th { background: #0F3D33; }
  .ahcf-plugin-content table.xst_monthly_table_Default th { font-weight: 500; }
  .ahcf-plugin-content table.xst_monthly_table_Default input[type="submit"] { width: auto; min-width: 56px; padding: 8px 14px; background: #E3B23C; color: #0F3D33; border: 0; border-radius: 6px; font-weight: 600; cursor: pointer; }
  .ahcf-plugin-content table.xst_monthly_table_Default input[type="submit"]:hover { background: #C9971C; }
}

.ahcf-st-monthly {
  --ahcf-mn-header-bg: #0F3D33; --ahcf-mn-row-odd: #FFFFFF; --ahcf-mn-row-even: #FCF8EE; --ahcf-mn-row-hover: #F7EFD9;
  --ahcf-mn-text: #24201B; --ahcf-mn-today-bg: #F3E3B5; --ahcf-mn-today-fg: #0F3D33; --ahcf-mn-nav-bg: #E3B23C; --ahcf-mn-nav-fg: #0F3D33; --ahcf-mn-nav-hover: #C9971C;
}

/* Timetable accordion on phones, in theme colours, with month controls kept visible */
.ahcf-st-monthly { --ahcf-mn-mobile-header-bg: #0F3D33; --ahcf-mn-mobile-header-fg: #FFFFFF; --ahcf-mn-today-header-bg: #E3B23C; --ahcf-mn-current-bg: #F3E3B5; --ahcf-mn-current-fg: #0F3D33; }
@media (max-width: 768px) {
  .ahcf-plugin-content table.xst_monthly_table_Default { border: 0; }
  .ahcf-plugin-content .ahcf-st-monthly .xst_monthly_table_Default thead { display: block; margin-bottom: 14px; }
  .ahcf-plugin-content .ahcf-st-monthly thead tr.xllentech-salat-header:last-of-type { display: none; }
  .ahcf-plugin-content .ahcf-st-monthly thead tr { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #0F3D33; color: #fff; padding: 8px 10px; }
  .ahcf-plugin-content .ahcf-st-monthly thead th { display: block; width: auto; background: none; color: #fff; border: 0; }
}

/* Event pages and calendar details */
body .ahcf-event-card h1, body .ahcf-event-card h2, body .ahcf-single-event h1, body .ahcf-single-event h2, body h1[class*="ahcf"], body h2[class*="ahcf"], body .ahcf-event-card-body h1, body .ahcf-event-card-body h2, body .ahcf-event-card-body h3 { font-family: var(--serif); font-weight: 400; color: #0F3D33; }
body.ahcf-design-mockup .ahcf-event-card-body h1, body.ahcf-design-mockup .ahcf-event-card-body h2, body.ahcf-design-mockup .ahcf-event-card-body h3 { font-weight: 600; }
body .ahcf-mobile-day-head { background: #F7EFD9; }
body .ahcf-event-cat, body .ahcf-event-countdown { background: #F7EFD9; color: #0F3D33; }

/* Print button stays off phones */
@media (max-width: 768px) { .ahcf-plugin-content .xst_print_button { display: none; } }

/* Rebuilt pages */
.ahcf-content { --s: var(--serif, "Marcellus", Georgia, serif); }
.ahcf-content > .ahcf-sec { max-width: none; }
.ahcf-sec { margin-block: 0 64px; }
.ahcf-sec:last-child { margin-bottom: 0; }
.ahcf-content .ahcf-sec h2 { margin: 0 0 16px; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); line-height: 1.2; }
.ahcf-content .ahcf-sec h3 { margin: 0 0 8px; font-size: 1.3rem; line-height: 1.25; }
.ahcf-sec figure { margin: 0; }
.ahcf-sec img { max-width: 100%; height: auto; }
.ahcf-lead { font-size: 1.15rem; line-height: 1.65; }
.ahcf-intro { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 40px; align-items: start; padding-bottom: 32px; border-bottom: 1px solid #E3D6B8; margin-bottom: 40px; }
.ahcf-content .ahcf-intro h2 { margin: 0; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.75rem); }
.ahcf-intro > p { margin: 0; }
.ahcf-role { color: #85600C; font-weight: 600; margin: 0 0 10px; }

.ahcf-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ahcf-split > figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.ahcf-split.is-rev > figure { order: 2; }
.ahcf-copy > :last-child { margin-bottom: 0; }

.ahcf-band { background: #F7EFD9; box-shadow: 0 0 0 100vmax #F7EFD9; clip-path: inset(0 -100vmax); padding-block: 56px; }
body.ahcf-design-mockup .ahcf-band { background: #F8F1E1; box-shadow: 0 0 0 100vmax #F8F1E1; }

.ahcf-numbered { list-style: none; counter-reset: n; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 8px 0 0; padding: 0; }
.ahcf-numbered li { counter-increment: n; padding-top: 16px; border-top: 2px solid #C9971C; }
.ahcf-numbered li::before { content: counter(n); display: block; margin-bottom: 8px; font: 400 1.9rem/1 var(--s); color: #85600C; }

.ahcf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ahcf-card { background: #FFFDF7; border: 1px solid #E3D6B8; border-radius: 10px; overflow: hidden; padding: 0 22px 22px; }
.ahcf-card > figure { margin: 0 -22px 18px; }
.ahcf-card > figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ahcf-card > :last-child { margin-bottom: 0; }
.ahcf-contact-card { padding-top: 22px; }
.ahcf-content .ahcf-more { margin-top: 12px; }
.ahcf-more a { font-weight: 600; }

.ahcf-person { padding: 22px; }
.ahcf-person > figure, .ahcf-mono { width: 64px; height: 64px; margin: 0 0 14px; border-radius: 50%; overflow: hidden; }
.ahcf-person > figure img { width: 64px; height: 64px; aspect-ratio: 1; object-position: 50% 20%; }
.ahcf-mono { display: grid; place-items: center; background: #0F3D33; color: #E3B23C; font: 400 1.25rem/1 var(--s); }
.ahcf-person .ahcf-role { margin-bottom: 8px; }
.ahcf-person p:last-child { font-size: .96rem; color: #5F574E; }

.ahcf-content .wp-block-button__link { display: inline-block; padding: 12px 24px; border-radius: 6px; background: #E3B23C; color: #0A2C25; font-weight: 600; text-decoration: none; }
.ahcf-content .wp-block-button__link:hover { background: #EDC25A; color: #0A2C25; }
body.ahcf-design-mockup .ahcf-content .wp-block-button__link { background: #2F7D5B; color: #fff; }
body.ahcf-design-mockup .ahcf-content .wp-block-button__link:hover { background: #0F3D33; color: #fff; }
.ahcf-copy .wp-block-buttons { margin-top: 20px; }

.ahcf-faq { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.ahcf-faq .wp-block-details { background: #FFFDF7; border: 1px solid #E3D6B8; border-radius: 10px; margin-bottom: 12px; padding: 0; }
.ahcf-faq .wp-block-details summary { position: relative; padding: 16px 48px 16px 20px; font: 400 1.1rem/1.35 var(--s); color: #0F3D33; cursor: pointer; list-style: none; }
body.ahcf-design-mockup .ahcf-faq .wp-block-details summary { font-weight: 600; }
.ahcf-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.ahcf-faq .wp-block-details summary::after { content: ""; position: absolute; top: 22px; right: 22px; width: 9px; height: 9px; border-right: 2px solid #85600C; border-bottom: 2px solid #85600C; transform: rotate(45deg); transition: transform .15s; }
.ahcf-faq .wp-block-details[open] summary::after { transform: rotate(225deg); }
.ahcf-faq .wp-block-details p { margin: 0; padding: 0 20px 16px; }
.ahcf-contact-card h3 { margin-top: 0; }
.ahcf-phone { font-size: 1.2rem; font-weight: 600; }
.ahcf-phone a { text-decoration: none; }
.ahcf-faq-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.ahcf-faq-logos img { width: 100%; border-radius: 8px; }

@media (max-width: 860px) {
  .ahcf-split, .ahcf-faq, .ahcf-numbered { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ahcf-intro { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ahcf-split.is-rev > figure { order: 0; }
  .ahcf-cards { grid-template-columns: minmax(0, 1fr); }
  .ahcf-sec { margin-bottom: 44px; }
}
@media (min-width: 861px) and (max-width: 1019px) { .ahcf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


.ahcf-content p.ahcf-mono { margin: 0 0 14px; }
.ahcf-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ahcf-cta { text-align: center; }
.ahcf-cta .wp-block-buttons { justify-content: center; display: flex; margin-top: 16px; }
.ahcf-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ahcf-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
@media (max-width: 860px) { .ahcf-cards-2 { grid-template-columns: minmax(0, 1fr); } .ahcf-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Donate, Contact, Get Involved */
.ahcf-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ahcf-content > .ahcf-quote { max-width: 760px; margin-inline: auto; text-align: center; }
.ahcf-quote p:not(.ahcf-role) { font: 400 1.25rem/1.55 var(--s); color: #0F3D33; margin-bottom: 8px; }
.ahcf-campaign { display: flex; flex-direction: column; }
.ahcf-campaign .wp-block-buttons { margin-top: auto; }
.ahcf-campaign p { margin-bottom: 16px; color: #5F574E; }
.ahcf-band > .ahcf-cards { margin-top: 20px; }
.ahcf-content .etransfer { background: #FFFDF7; border: 1px solid #E3D6B8; border-radius: 10px; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.ahcf-content .etransfer-text { flex: 1; min-width: 240px; }
.ahcf-content .etransfer-text p { margin: 0; }
.ahcf-split-form { align-items: start; }
.ahcf-split-form .ahcf-copy figure { margin-top: 20px; }
.ahcf-split-form .ahcf-copy img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.ahcf-form { background: #FFFDF7; border: 1px solid #E3D6B8; border-radius: 10px; padding: 26px; }
.ahcf-form p { margin: 0; }
.ahcf-form label { display: block; margin-bottom: 16px; font-weight: 600; color: #0F3D33; }
.ahcf-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.ahcf-form input:not([type="submit"]), .ahcf-form select, .ahcf-form textarea { width: 100%; padding: 11px 12px; font: 400 1rem/1.4 var(--sans); color: #24201B; background: #fff; border: 1px solid #CDBE9B; border-radius: 6px; }
.ahcf-form textarea { height: 130px; resize: vertical; }
.ahcf-form input:focus, .ahcf-form select:focus, .ahcf-form textarea:focus { outline: 2px solid #C9971C; outline-offset: 1px; }
.ahcf-form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.ahcf-form input[type="submit"] { padding: 12px 26px; font: 600 1rem/1.2 var(--sans); background: #E3B23C; color: #0A2C25; border: 0; border-radius: 6px; cursor: pointer; }
.ahcf-form input[type="submit"]:hover { background: #EDC25A; }
body.ahcf-design-mockup .ahcf-form input[type="submit"] { background: #2F7D5B; color: #fff; }
body.ahcf-design-mockup .ahcf-form input[type="submit"]:hover { background: #0F3D33; }
.ahcf-form .wpcf7-not-valid-tip { font-size: .9rem; font-weight: 400; color: #B8470C; }
.ahcf-form .wpcf7-response-output { margin: 16px 0 0 !important; border-radius: 6px; }
.ahcf-map iframe { display: block; width: 100%; height: 400px; border: 0; border-radius: 10px; }
@media (max-width: 1019px) { .ahcf-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ahcf-cards-4, .ahcf-form-row { grid-template-columns: minmax(0, 1fr); } .ahcf-form { padding: 20px; } }

/* Form rows: Contact Form 7 wraps fields in a paragraph */
.ahcf-form br { display: none; }
.ahcf-form-row > p { display: contents; }
.ahcf-form input:not([type="submit"]), .ahcf-form select { max-width: 100%; box-sizing: border-box; }
.ahcf-campaign img[src*="member-card"] { object-fit: contain; padding: 14px; background: #F7EFD9; }

/* New Mosque */
.ahcf-progress { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: center; max-width: none; }
.ahcf-progress.is-text-only { grid-template-columns: minmax(0, 1fr); }
.ahcf-arch { width: 100%; max-width: 220px; height: auto; }
.ahcf-progress-figure { font-size: 1.15rem; }
.ahcf-progress-figure strong { font: 400 1.9rem/1.2 var(--s); color: #0F3D33; }
.ahcf-content > .ahcf-cta { text-align: center; }
@media (max-width: 640px) { .ahcf-progress { grid-template-columns: minmax(0, 1fr); gap: 20px; justify-items: center; } }

.brand-logo { display: block; height: 52px; width: auto; max-width: 220px; object-fit: contain; }

/* Mockup inner pages: floating white cards over a pale green title band, as on its homepage */
body.ahcf-design-mockup { --mg: #0F3D33; --mline: #EBE4D5; --mpale: #E6F0EA; --mshadow: 0 8px 24px rgba(34,42,34,.06); }
body.ahcf-design-mockup .ahcf-page-head { background: var(--mpale); border-bottom: 0; }
body.ahcf-design-mockup .ahcf-page:has(.ahcf-sec) .ahcf-page-head { padding-bottom: 104px; }
body.ahcf-design-mockup .ahcf-content:has(> .ahcf-sec) { position: relative; z-index: 1; margin-top: -68px; padding-top: 0; padding-bottom: 48px; }
body.ahcf-design-mockup .ahcf-page { background: #FBF8F1; }
body.ahcf-design-mockup .ahcf-content > .ahcf-sec { margin-bottom: 18px; }
body.ahcf-design-mockup .ahcf-content > .ahcf-split,
body.ahcf-design-mockup .ahcf-content > .ahcf-intro,
body.ahcf-design-mockup .ahcf-content > .ahcf-quote,
body.ahcf-design-mockup .ahcf-content > .ahcf-progress,
body.ahcf-design-mockup .ahcf-content > .ahcf-map,
body.ahcf-design-mockup .ahcf-content > .ahcf-sec:has(> .ahcf-gallery) { max-width: none; margin-inline: 0; background: #fff; border: 1px solid var(--mline); border-radius: 14px; padding: 32px; box-shadow: var(--mshadow); }
body.ahcf-design-mockup .ahcf-content > .ahcf-map { padding: 8px; }
body.ahcf-design-mockup .ahcf-band { background: var(--mpale); box-shadow: none; clip-path: none; border: 1px solid #CFE2D7; border-radius: 14px; padding: 32px; }
body.ahcf-design-mockup .ahcf-content > .ahcf-cta { background: #FEF3EB; border: 1px solid #F1D9C8; border-radius: 14px; padding: 32px; box-shadow: none; clip-path: none; }
body.ahcf-design-mockup .ahcf-cta h2 { color: #B8470C; }
body.ahcf-design-mockup .ahcf-content .ahcf-cta .wp-block-button__link { background: #B8470C; color: #fff; }
body.ahcf-design-mockup .ahcf-content .ahcf-cta .wp-block-button__link:hover { background: #9A3A09; }
body.ahcf-design-mockup .ahcf-split > figure img { border-radius: 10px; }
body.ahcf-design-mockup .ahcf-cards { gap: 18px; }
body.ahcf-design-mockup .ahcf-card { background: #fff; border-color: var(--mline); border-radius: 14px; box-shadow: var(--mshadow); }
body.ahcf-design-mockup .ahcf-numbered { gap: 14px; }
body.ahcf-design-mockup .ahcf-numbered li { padding: 20px; background: #fff; border: 0; border-radius: 12px; }
body.ahcf-design-mockup .ahcf-numbered li::before, body.ahcf-design-mockup .ahcf-mono { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mg); color: #fff; font: 600 1rem/1 var(--sans); }
body.ahcf-design-mockup .ahcf-numbered li::before { margin-bottom: 12px; }
body.ahcf-design-mockup .ahcf-person > figure { width: 44px; height: 44px; }
body.ahcf-design-mockup .ahcf-person > figure img { width: 44px; height: 44px; }
body.ahcf-design-mockup .ahcf-role { color: #B8470C; }
body.ahcf-design-mockup .ahcf-content a { color: var(--mg); }
body.ahcf-design-mockup .ahcf-more a { font-size: .85rem; font-weight: 700; text-transform: uppercase; text-decoration: none; }
body.ahcf-design-mockup .ahcf-content .wp-block-button__link, body.ahcf-design-mockup .ahcf-form input[type="submit"] { background: var(--mg); color: #fff; border-radius: 8px; }
body.ahcf-design-mockup .ahcf-content .wp-block-button__link:hover, body.ahcf-design-mockup .ahcf-form input[type="submit"]:hover { background: #0A2C25; color: #fff; }
body.ahcf-design-mockup .ahcf-content .ahcf-cta .wp-block-button__link { background: #B8470C; }
body.ahcf-design-mockup .ahcf-content .ahcf-cta .wp-block-button__link:hover { background: #9A3A09; }
body.ahcf-design-mockup .ahcf-faq .wp-block-details { background: #fff; border-color: var(--mline); border-radius: 12px; box-shadow: var(--mshadow); overflow: hidden; }
body.ahcf-design-mockup .ahcf-faq .wp-block-details[open] summary { margin-bottom: 14px; background: var(--mpale); }
body.ahcf-design-mockup .ahcf-faq .wp-block-details summary::after { border-color: var(--mg); }
body.ahcf-design-mockup .ahcf-contact-card { background: var(--mpale); border-color: #CFE2D7; box-shadow: none; }
body.ahcf-design-mockup .ahcf-form { background: #FBF8F1; border-color: var(--mline); border-radius: 12px; }
body.ahcf-design-mockup .ahcf-form input:not([type="submit"]), body.ahcf-design-mockup .ahcf-form select, body.ahcf-design-mockup .ahcf-form textarea { border-color: #DDD5C4; border-radius: 8px; }
body.ahcf-design-mockup .ahcf-content .etransfer { background: #fff; border-color: #CFE2D7; border-radius: 12px; }
body.ahcf-design-mockup .ahcf-content .copy { background: var(--mg); color: #fff; border-radius: 8px; }
@media (max-width: 640px) {
  body.ahcf-design-mockup .ahcf-content > .ahcf-split, body.ahcf-design-mockup .ahcf-content > .ahcf-intro, body.ahcf-design-mockup .ahcf-content > .ahcf-quote, body.ahcf-design-mockup .ahcf-content > .ahcf-progress, body.ahcf-design-mockup .ahcf-content > .ahcf-sec:has(> .ahcf-gallery), body.ahcf-design-mockup .ahcf-band, body.ahcf-design-mockup .ahcf-content > .ahcf-cta { padding: 20px; }
}
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

body .ahcf-page-head h1 { font-size: calc(clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem) * var(--page-title, 1)); }
.ahcf-form .cf-turnstile, .ahcf-form [class*="turnstile"] { margin-bottom: 16px; }

/* Name beside the logo */
.brand-name strong { font-size: calc(1.15rem * var(--brand-size, 1)); }
.brand-name > span { font-size: calc(.64rem * var(--brand-size, 1)); }
@media (max-width: 640px) { .brand-name strong { font-size: calc(1.02rem * var(--brand-size, 1)); } .brand-name > span { font-size: calc(.56rem * var(--brand-size, 1)); } }

/* New Mosque page */
.ahcf-page:has(.ahcf-hero) { overflow-x: clip; }
.ahcf-page:has(.ahcf-hero) .ahcf-page-head { display: none; }
body .ahcf-content:has(> .ahcf-hero), body.ahcf-design-mockup .ahcf-content:has(> .ahcf-hero) { margin-top: 0; padding-top: 0; }
.ahcf-content > .ahcf-hero { position: relative; width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-bottom: 56px; color: #fff; background: linear-gradient(100deg, rgba(10,44,37,.96) 35%, rgba(10,44,37,.72)), var(--hero-img, none) center / cover no-repeat, #0A2C25; }
.ahcf-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: center; width: min(1180px, 100% - 40px); margin-inline: auto; padding-block: 72px; }
.ahcf-hero-inner:not(:has(.ahcf-hero-arch)) { grid-template-columns: minmax(0, 760px); }
.ahcf-content .ahcf-hero-label { margin: 0 0 12px; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #E3B23C; }
.ahcf-content .ahcf-hero h1 { margin: 0 0 16px; font: 400 clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem)/1.12 var(--s); color: #fff; }
body.ahcf-design-mockup .ahcf-content .ahcf-hero h1 { font-weight: 600; }
.ahcf-content .ahcf-hero-text { max-width: 620px; margin: 0 0 24px; font-size: 1.15rem; line-height: 1.6; color: #F7EFD9; }
body .ahcf-content .ahcf-hero .wp-block-button__link { padding: 14px 30px; background: #E3B23C; color: #0A2C25; }
body .ahcf-content .ahcf-hero .wp-block-button__link:hover { background: #EDC25A; color: #0A2C25; }
.ahcf-content .ahcf-hero-link { margin: 14px 0 0; }
body .ahcf-content .ahcf-hero-link a { color: #F7EFD9; font-weight: 600; }
.ahcf-hero-arch svg { display: block; width: 100%; max-width: 240px; height: auto; margin-inline: auto; }
.ahcf-arch-pct { font: 600 34px var(--s); fill: #0F3D33; }
.ahcf-content .ahcf-arch-figure { margin: 12px 0 0; text-align: center; color: #F7EFD9; }
.ahcf-arch-figure strong { display: block; font: 400 1.7rem/1.2 var(--s); color: #fff; }
.ahcf-update { padding: 22px 26px; background: #FFFDF7; border-left: 4px solid #C9971C; border-radius: 6px; }
.ahcf-update p:last-child { margin: 0; }
.ahcf-ways { margin-top: 8px; }
.ahcf-ways .ahcf-card { display: flex; flex-direction: column; }
.ahcf-ways .ahcf-card > :last-child { margin-top: auto; }
.ahcf-ways .copy { align-self: flex-start; }
.ahcf-numbered strong { color: #0F3D33; }
@media (max-width: 860px) {
  .ahcf-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 48px; }
  .ahcf-hero-arch svg { max-width: 190px; }
}

/* Donate cards: clearer titles and descriptions */
.ahcf-content .ahcf-campaign h3 { font-size: 1.4rem; color: #0F3D33; margin-top: 2px; }
body.ahcf-design-arch .ahcf-content .ahcf-campaign h3 { font-weight: 400; letter-spacing: .01em; }
.ahcf-content .ahcf-campaign p { font-size: 1rem; color: #4A433B; }
/* Hussainia Progress slideshow: [ahcf_hussainia_progress] from Islamic Events 6.6.33+.
   The plugin's progress.css draws it; these set its colours and fonts for each design.
   "body" outranks the plugin's own .ahcf-hp defaults, which load after this file. */
/* Same width as the page's other sections (.ahcf-sec), whether the shortcode sits on its own or inside a paragraph or group. */
body .ahcf-content .ahcf-hp, .ahcf-content > :has(> .ahcf-hp) { max-width: none; margin-inline: 0; }
body .ahcf-content .ahcf-hp { margin-block: 0 64px; }
body .ahcf-content .ahcf-hp:last-child { margin-bottom: 0; }
body .ahcf-hp { --ahcf-hp-heading-font: var(--serif, "Marcellus", Georgia, serif); --ahcf-hp-heading-weight: 400; --ahcf-hp-green: #0F3D33; --ahcf-hp-deep: #0A2C25; --ahcf-hp-gold: #C9971C; --ahcf-hp-gold-bright: #E3B23C; --ahcf-hp-gold-text: #85600C; --ahcf-hp-cream: #F7EFD9; --ahcf-hp-text: #2B2620; font-family: var(--sans, "Jost", system-ui, sans-serif); }
.ahcf-content .ahcf-hp h2.ahcf-hp-heading, .ahcf-content .ahcf-hp h3.ahcf-hp-title { margin-top: 0; }
.ahcf-content .ahcf-hp ol.ahcf-hp-timeline { margin: 0; }
body.ahcf-design-arch .ahcf-hp { --ahcf-hp-bg: #FFFDF7; --ahcf-hp-line: #E3D6B8; --ahcf-hp-radius: 6px; border-top: 4px solid #C9971C; }
body.ahcf-design-arch .ahcf-hp-heading { letter-spacing: .01em; }
body.ahcf-design-arch .ahcf-hp-badge { letter-spacing: .1em; }
body.ahcf-design-mockup .ahcf-hp { --ahcf-hp-heading-font: "Lora", Georgia, serif; --ahcf-hp-heading-weight: 600; --ahcf-hp-bg: #fff; --ahcf-hp-line: var(--mline, #EBE4D5); --ahcf-hp-radius: 14px; --ahcf-hp-gold-text: #B8470C; box-shadow: var(--mshadow); }
body.ahcf-design-mockup .ahcf-hp-badge { text-transform: none; letter-spacing: 0; font-size: .85rem; }
body.ahcf-design-mockup .ahcf-hp-badge.is-in-progress { border-color: #B8470C; color: #B8470C; }
body.ahcf-design-mockup .ahcf-hp-stage.is-in-progress .ahcf-hp-marker { border-color: #B8470C; }
body.ahcf-design-mockup .ahcf-hp-stage.is-in-progress .ahcf-hp-marker::after { background: #B8470C; }
body.ahcf-design-mockup .ahcf-hp-prev, body.ahcf-design-mockup .ahcf-hp-next { border-radius: 8px; }
body.ahcf-design-mockup .ahcf-hp-pause { border-radius: 8px; }
body.ahcf-design-mockup .ahcf-hp-media, body.ahcf-design-mockup .ahcf-hp-nophoto { border-radius: 10px; }
body.ahcf-design-mockup .ahcf-content .ahcf-hp { margin-bottom: 18px; }
@media (max-width: 640px) { body.ahcf-design-mockup .ahcf-hp { padding: 20px; } body .ahcf-content .ahcf-hp { margin-bottom: 44px; } body.ahcf-design-mockup .ahcf-content .ahcf-hp { margin-bottom: 18px; } }