/*
Theme Name: Omar Moschee – Inhalte bearbeitbar
Theme URI: https://omar-moschee.de/
Author: Islamische Gemeinde e. V.
Description: Separate Variante des stabilen Themes mit bearbeitbarer Startseite.
Version: 1.9.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: omar-moschee
 */

.site-header nav li,
footer li { list-style: none; }
.site-header nav ul,
footer ul { display: contents; margin: 0; padding: 0; }
.page-content img { max-width: 100%; height: auto; }
.brand-logo { width: 50px; height: 50px; object-fit: contain; flex: 0 0 50px; }
.footer-brand .brand-logo { background: #fff; border-radius: 50%; padding: 3px; }
.service-icon .editable-card-icon,
.pillar-symbol .editable-card-icon {
  display: block;
  width: 1em;
  height: 1em;
  object-fit: contain;
}
.subject-card .editable-card-icon {
  display: block;
  width: 1em;
  height: 1em;
  object-fit: contain;
}
.omar-extra-area { padding: 75px clamp(24px, 8vw, 126px); }
.omar-extra-area:empty { display: none; }
.omar-extra-widget { margin: 0 auto 55px; max-width: 1180px; }
.omar-extra-widget:last-child { margin-bottom: 0; }
.omar-extra-widget img { max-width: 100%; height: auto; }
.omar-extra-widget .wp-block-columns { gap: clamp(24px, 5vw, 70px); }
.omar-extra-widget .wp-block-heading,
.omar-extra-widget .widget-title { color: var(--green); }
.omar-extra-widget .wp-block-button__link {
  background: var(--green);
  border-radius: 0;
  color: #fff;
  font-weight: 700;
  padding: 14px 22px;
}
@media (max-width: 800px) {
  .omar-extra-area { padding: 55px 24px; }
}
.wp-page-content { margin: 35px 0; }
.wp-contact-form input:not([type="submit"]),
.wp-contact-form textarea { width: 100%; max-width: none; border: 1px solid #d9ded9; padding: 14px; font: inherit; }
.wp-contact-form input[type="submit"] { border: 0; background: #d3a33f; color: #17352f; padding: 14px 22px; font-weight: 700; cursor: pointer; }
.wp-contact-form label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 14px; }
.contact-info p { color: #d1dfda; }
.contact-info p strong { color: #fff; }
.mawaqit-card { background: #fff; border: 1px solid #e2e1da; padding: clamp(28px, 5vw, 55px); display: flex; flex-direction: column; justify-content: center; }
.mawaqit-label { color: #9a7121; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mawaqit-card h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; margin: 12px 0 16px; }
.mawaqit-card > p { color: #68756f; max-width: 620px; }
.mawaqit-card .button { align-self: flex-start; margin-top: 24px; }
.friday-inline { border-left: 3px solid #d3a33f; background: #f6f1e6; padding: 15px 18px; margin-top: 15px; }
.friday-inline span, .friday-inline strong, .friday-inline small { display: block; }
.friday-inline span { color: #68756f; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.friday-inline strong { font-size: 20px; margin: 3px 0; }
.friday-inline small { color: #68756f; }
.map-embed { min-height: 510px; background: #dce5df; }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 510px; border: 0; }
@media (max-width: 980px) { .map-embed, .map-embed iframe { min-height: 380px; } }
.event-announcement { display: grid; grid-template-columns: auto minmax(240px, 1fr) auto; align-items: center; gap: 28px; padding: 16px clamp(24px, 5vw, 76px); color: #fff; background: #174d42; border-bottom: 3px solid #d3a33f; }
.event-announcement-date { padding-right: 28px; border-right: 1px solid rgba(255,255,255,.25); }
.event-announcement-date small, .event-announcement-date strong { display: block; }
.event-announcement-date small { color: #e2c576; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.event-announcement-copy strong, .event-announcement-copy span { display: block; }
.event-announcement-copy strong { font-size: 18px; }
.event-announcement-copy span { color: #c8d7d2; font-size: 13px; }
.event-announcement > a { padding: 10px 17px; color: #17352f; background: #d3a33f; font-size: 12px; font-weight: 700; white-space: nowrap; }
@media (max-width: 760px) { .event-announcement { grid-template-columns: 1fr; gap: 10px; padding: 18px 24px; } .event-announcement-date { padding: 0; border: 0; } .event-announcement > a { justify-self: start; } }
.live-prayer-calendar { width: 100%; max-width: 1100px; margin: 0 auto; overflow: hidden; }
.live-prayer-calendar iframe { display: block; width: 100% !important; min-height: 720px; border: 0; }
body .service-grid { grid-template-columns: repeat(3, 1fr); }
.service-card ul { margin: 0 0 24px; padding-left: 18px; color: #68756f; font-size: 14px; }
.service-card li { margin-bottom: 8px; }
@media (max-width: 980px) { body .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { body .service-grid { grid-template-columns: 1fr; } }
.pillars-section { background: #f6f1e6; }
.pillars-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: #d9ded9; border: 1px solid #d9ded9; }
.pillar-card { background: #fff; padding: 30px 25px; min-height: 430px; }
.pillar-card:nth-child(odd) { background: #fbfcfa; }
.pillar-number { color: #9a7121; font-size: 11px; letter-spacing: .12em; }
.pillar-symbol { color: #174d42; font-size: 31px; margin: 30px 0 20px; }
.pillar-card h3 { font-size: 20px; line-height: 1.2; margin: 0 0 16px; }
.pillar-card p { color: #68756f; font-size: 14px; margin: 0; }
@media (max-width: 1100px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pillars-grid { grid-template-columns: 1fr; } .pillar-card { min-height: 0; } }
