.ig-prayer-panel{max-width:1200px;margin:18px auto;padding:17px 20px;border:1px solid #cce2d5;background:#f3faf5;color:#133e2a;border-radius:15px;font-family:inherit;box-sizing:border-box}.ig-prayer-head{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.ig-prayer-head strong{font-size:19px}.ig-prayer-head button{margin-inline-start:auto;background:#176b45;color:white;border:0;border-radius:8px;padding:8px 12px;cursor:pointer}.ig-prayer-rows{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:12px}.ig-prayer-cell{background:#fff;border:1px solid #d9e7dd;border-radius:9px;padding:9px;text-align:center}.ig-prayer-cell strong,.ig-prayer-cell span{display:block}.ig-prayer-cell.ig-next{background:#d4f4df;border-color:#44a071}.ig-prayer-toggle{display:block;margin-top:10px}.ig-prayer-toggle input{margin-left:6px}.ig-prayer-panel #ig-prayer-city-input:not([hidden]){display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin-top:12px}.ig-prayer-panel #ig-prayer-city-input input{display:block;width:150px;padding:7px;border-radius:6px;border:1px solid #aaa}.ig-prayer-panel #ig-prayer-city-input button{padding:9px;border:0;background:#176b45;color:white;border-radius:6px;cursor:pointer}#ig-prayer-prealert[hidden],#ig-prayer-fullscreen[hidden],#ig-prayer-city-input[hidden]{display:none!important}#ig-prayer-prealert{position:fixed;z-index:2147483000;top:15px;left:50%;transform:translateX(-50%);display:flex;justify-content:space-between;align-items:center;gap:15px;max-width:min(94vw,600px);padding:15px 20px;border-radius:15px;background:#176b45;color:#fff;box-shadow:0 8px 40px #0005;direction:rtl}#ig-prayer-prealert button{background:transparent;border:1px solid #fff6;color:#fff;border-radius:8px;font-size:20px;cursor:pointer}#ig-prayer-fullscreen{position:fixed;inset:0;z-index:2147483500;display:flex;align-items:center;justify-content:center;overflow:auto;background:linear-gradient(155deg,#073b25,#087047 65%,#0b5c36);color:#fff;text-align:center;padding:24px;box-sizing:border-box}#ig-prayer-fullscreen .ig-prayer-screen-inner{max-width:850px}#ig-prayer-fullscreen .ig-prayer-minaret{font-size:75px;line-height:1.4}#ig-prayer-fullscreen h2{font-size:clamp(40px,8vw,100px)!important;line-height:1.25;color:#fff!important;margin:20px 0}#ig-prayer-fullscreen p{font-size:clamp(18px,3vw,30px);color:#fff}#ig-prayer-fullscreen button{margin-top:25px;background:#fff;color:#075633;border:0;border-radius:12px;padding:13px 28px;font-size:18px;font-weight:700;cursor:pointer}@media(max-width:600px){.ig-prayer-rows{grid-template-columns:repeat(2,minmax(0,1fr))}.ig-prayer-panel{margin:12px;padding:12px}}

/* 7.11.44: live, individual countdowns underneath each prayer's local time. */
.ig-prayer-cell{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:14px 9px}
.ig-prayer-clock{font-size:14px;color:#34634c}
.ig-prayer-countdown-label{color:#527461;font-size:12px;line-height:1.4}
.ig-prayer-countdown{display:block;direction:ltr;font-variant-numeric:tabular-nums;font-size:clamp(16px,2.2vw,25px);letter-spacing:1px;line-height:1.3;color:#075c39;white-space:nowrap}
.ig-prayer-cell.ig-next .ig-prayer-countdown{color:#0b7040}
@media(max-width:600px){.ig-prayer-cell{padding:12px 5px}.ig-prayer-countdown{font-size:19px}}

/* 7.11.45: administrator-controlled prayer panel placement. */
body.ig-home-controlled .ig-prayer-white-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px;align-items:start;margin-bottom:24px;direction:rtl}
body.ig-home-controlled .ig-prayer-white-controls{min-width:0}
body.ig-home-controlled .ig-prayer-white-layout .ig-prayer-panel{width:100%;max-width:none;min-width:0;margin:0;box-sizing:border-box}
body.ig-home-controlled .ig-prayer-white-layout .ig-prayer-rows{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
body.ig-home-controlled .ig-prayer-white-layout .ig-prayer-cell{padding:8px 4px}
body.ig-home-controlled .ig-prayer-white-layout .ig-prayer-countdown{font-size:clamp(12px,1.5vw,20px)}
body.ig-home-controlled .ig-prayer-panel-hidden{display:none!important}
@media(max-width:950px){body.ig-home-controlled .ig-prayer-white-layout{grid-template-columns:1fr}body.ig-home-controlled .ig-prayer-white-layout .ig-prayer-rows{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:600px){body.ig-home-controlled .ig-prayer-white-layout .ig-prayer-rows{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 7.11.46: PHP-rendered prayer placement, visible even before JavaScript loads. */
.ig-prayer-white-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px;align-items:start;margin-bottom:24px;direction:rtl}
.ig-prayer-white-layout>.ig-prayer-panel{width:100%;max-width:none;margin:0;min-width:0}
@media(max-width:950px){.ig-prayer-white-layout{grid-template-columns:1fr}}

/* 7.11.47: prominent live countdown for the next prayer. */
.ig-prayer-main-countdown{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;text-align:center;padding:11px 5px 9px;margin-top:10px;border-radius:12px;background:#e3f2e9;color:#075c39}
.ig-prayer-main-countdown #ig-prayer-next-name{font-size:15px;font-weight:700}
.ig-prayer-main-countdown #ig-prayer-next-timer{font-size:clamp(30px,4vw,52px);letter-spacing:2px;font-variant-numeric:tabular-nums;line-height:1.18;color:#075c39}
.ig-prayer-main-countdown #ig-prayer-next{font-size:12px;line-height:1.6;white-space:normal}
.ig-prayer-head #ig-prayer-place{font-size:12px;line-height:1.6}
@media(max-width:600px){.ig-prayer-main-countdown #ig-prayer-next-timer{font-size:36px}}

/* 7.11.48: location detail readable in both full-width and compact layouts. */
.ig-prayer-address{font-size:13px;line-height:1.75;color:#28563d;padding:7px 11px;margin-top:9px;border-radius:9px;background:#e8f5ed;overflow-wrap:anywhere}

/* 7.11.49: native <details> city picker works even when external location services fail. */
.ig-prayer-chooser{margin-top:9px;border:1px solid #cce2d5;border-radius:9px;background:#fff;position:relative}
.ig-prayer-chooser summary{cursor:pointer;padding:9px 12px;font-weight:700;color:#075c39;list-style:revert}
.ig-prayer-chooser[open]{padding-bottom:11px}
.ig-prayer-chooser .ig-prayer-help{font-size:12px;margin:9px 12px 0;color:#355b48}
.ig-prayer-chooser #ig-prayer-city-input{display:flex;flex-wrap:wrap;align-items:end;gap:8px;padding:8px 12px;margin-top:0}
.ig-prayer-chooser #ig-prayer-city-input label{display:flex;flex-direction:column;gap:3px}
.ig-prayer-chooser #ig-prayer-city-input input{max-width:100%;width:165px}

/* 7.11.52 responsive prayer layout: five columns on desktop, stacked rows on phones. */
.ig-prayer-rows,
body.ig-home-controlled .ig-prayer-white-layout .ig-prayer-rows {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  direction:rtl;
}
.ig-prayer-cell{min-width:0;overflow:hidden;padding:12px 5px;gap:5px}
.ig-prayer-cell strong{font-size:15px;line-height:1.5}
.ig-prayer-cell .ig-prayer-clock{font-size:14px;font-weight:700;white-space:nowrap}
.ig-prayer-cell .ig-prayer-countdown{font-size:clamp(13px,1.35vw,20px);letter-spacing:0;max-width:100%}
@media (min-width:601px) and (max-width:780px){
 .ig-prayer-rows,
 body.ig-home-controlled .ig-prayer-white-layout .ig-prayer-rows{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:600px){
 .ig-prayer-rows,
 body.ig-home-controlled .ig-prayer-white-layout .ig-prayer-rows{grid-template-columns:1fr;gap:7px}
 .ig-prayer-cell{display:grid;grid-template-columns:minmax(70px,1fr) minmax(75px,1fr) minmax(90px,1.25fr);column-gap:8px;align-items:center;text-align:right;padding:11px 13px}
 .ig-prayer-cell strong{justify-self:start}
 .ig-prayer-cell .ig-prayer-clock{justify-self:center}
 .ig-prayer-cell .ig-prayer-countdown{justify-self:end;font-size:18px}
 .ig-prayer-cell .ig-prayer-countdown-label{display:none}
}

/* 7.11.53 visitor-controlled adhan audio */
.ig-prayer-audio-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px;font-size:12px}.ig-prayer-audio-controls button{background:#075c39;color:#fff;border:0;border-radius:8px;padding:8px 12px;cursor:pointer}.ig-prayer-audio-controls button:disabled{opacity:.55;cursor:not-allowed}#ig-adhan-stop{background:#dcfce7!important;color:#075c39!important;margin-inline-end:8px}#ig-prayer-fullscreen .ig-prayer-screen-inner button{max-width:100%}

/* 7.11.54: adjustable homepage prayer layout with responsive single-column fallback. */
body.ig-home-controlled .ig-prayer-white-layout.ig-prayer-layout-columns,
.ig-prayer-white-layout.ig-prayer-layout-columns{
 display:grid;grid-template-columns:repeat(var(--ig-pr-cols,3),minmax(0,1fr));
 gap:16px;align-items:start;direction:rtl;
}
.ig-prayer-white-layout.ig-prayer-layout-columns>.ig-prayer-panel{
 grid-column:var(--ig-pr-start,1)/span var(--ig-pr-span,1);grid-row:1;min-width:0;max-width:none;width:100%;margin:0;
}
.ig-prayer-white-layout.ig-prayer-layout-columns>.ig-prayer-white-controls{
 grid-column:var(--ig-controls-start,2)/span var(--ig-controls-span,2);grid-row:1;min-width:0;
}
.ig-prayer-white-layout.ig-prayer-layout-full,
.ig-prayer-white-layout.ig-prayer-layout-compact{
 display:flex;flex-direction:column;gap:12px;align-items:stretch;
}
.ig-prayer-white-layout.ig-prayer-layout-full>.ig-prayer-panel,
.ig-prayer-white-layout.ig-prayer-layout-compact>.ig-prayer-panel{width:100%;max-width:none;margin:0}
.ig-prayer-compact .ig-prayer-address,.ig-prayer-compact .ig-prayer-chooser,.ig-prayer-compact .ig-prayer-audio-controls{margin-top:5px}
.ig-prayer-compact .ig-prayer-main-countdown{padding:6px 10px}
.ig-prayer-compact .ig-prayer-head{gap:8px}
/* Prevent five prayer cards from overflowing any narrow administrator-selected column. */
.ig-prayer-panel{container-type:inline-size}
.ig-prayer-panel .ig-prayer-rows{grid-template-columns:repeat(5,minmax(0,1fr))}
@container (max-width: 690px){.ig-prayer-panel .ig-prayer-rows{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width: 360px){
 .ig-prayer-panel .ig-prayer-rows{grid-template-columns:1fr}
 .ig-prayer-panel .ig-prayer-cell{display:grid;grid-template-columns:minmax(65px,1fr) minmax(65px,1fr);gap:3px 8px;align-items:center;text-align:right}
 .ig-prayer-panel .ig-prayer-countdown{grid-column:1/-1;justify-self:center}
}
@media(max-width:900px){
 body.ig-home-controlled .ig-prayer-white-layout.ig-prayer-layout-columns,
 .ig-prayer-white-layout.ig-prayer-layout-columns{grid-template-columns:1fr!important}
 .ig-prayer-white-layout.ig-prayer-layout-columns>.ig-prayer-panel,
 .ig-prayer-white-layout.ig-prayer-layout-columns>.ig-prayer-white-controls{grid-column:1/-1!important;grid-row:auto!important}
 .ig-prayer-white-layout.ig-prayer-layout-columns>.ig-prayer-white-controls{order:0}
 .ig-prayer-white-layout.ig-prayer-layout-columns>.ig-prayer-panel{order:1}
}
@media(max-width:600px){.ig-prayer-white-layout{gap:10px}.ig-prayer-panel{padding:12px!important}.ig-prayer-head{flex-wrap:wrap}}

/* Optional prayer-screen mode restricted to the prayer panel. */
.ig-prayer-panel.ig-prayer-contained-overlay{position:relative;overflow:hidden;min-height:200px}
.ig-prayer-panel.ig-prayer-contained-overlay #ig-prayer-fullscreen{position:absolute;inset:0;z-index:5;max-width:100%;max-height:100%;padding:14px}
.ig-prayer-panel.ig-prayer-contained-overlay #ig-prayer-fullscreen h2{font-size:clamp(21px,3vw,42px)!important;margin:8px 0}
.ig-prayer-panel.ig-prayer-contained-overlay #ig-prayer-fullscreen .ig-prayer-minaret{font-size:38px}

/* 7.11.55: ensure a one-column layout never overlaps heading and prayer widget. */
.ig-prayer-white-layout.ig-prayer-layout-columns[style*="--ig-pr-cols:1"]>.ig-prayer-white-controls{grid-column:1/-1!important;grid-row:1!important}
.ig-prayer-white-layout.ig-prayer-layout-columns[style*="--ig-pr-cols:1"]>.ig-prayer-panel{grid-column:1/-1!important;grid-row:2!important}

/* 7.11.56 responsive home content editor */
.ig-home-column-editor{display:grid;grid-template-columns:repeat(var(--ig-editor-cols,4),minmax(0,1fr));gap:clamp(8px,1vw,18px);width:100%;max-width:100%;margin:16px 0 24px;direction:rtl}
.ig-home-editor-cell{min-width:0;max-width:100%;overflow-wrap:anywhere;container-type:inline-size;border:1px solid #d3e3d3;border-radius:13px;padding:clamp(8px,1.1vw,18px);background:#fff;box-sizing:border-box}
.ig-home-editor-cell h3{font-size:clamp(14px,1.2vw,21px);line-height:1.4;margin:0 0 10px}.ig-home-editor-cell h3 a{text-decoration:none;color:#075c39}
.ig-home-editor-cell .ig-prayer-panel{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;margin:0!important;padding:clamp(7px,1vw,15px)!important}
.ig-home-editor-cell .ig-prayer-main-countdown strong{font-size:clamp(22px,4cqw,54px)!important;letter-spacing:0;white-space:nowrap}
.ig-home-editor-cell .ig-prayer-rows{grid-template-columns:1fr!important;gap:6px!important}
.ig-home-editor-cell .ig-prayer-cell{font-size:clamp(11px,3.5cqw,15px)!important;padding:8px!important}
.ig-home-editor-cell input,.ig-home-editor-cell button,.ig-home-editor-cell select{max-width:100%;min-width:0;font-size:clamp(11px,3.2cqw,15px)}
.ig-home-editor-links{list-style:none;margin:0;padding:0}.ig-home-editor-links li{border-bottom:1px solid #e3ece4;padding:9px 0;font-size:clamp(12px,3.8cqw,17px)}.ig-home-editor-links a,.ig-home-editor-more{color:#075c39;text-decoration:none;overflow-wrap:anywhere}
.ig-home-editor-more{display:block;margin-top:15px;font-size:clamp(12px,3.6cqw,16px);font-weight:600}
.ig-prayer-mirror{background:#edf8f0;border-radius:10px;text-align:center;padding:clamp(8px,2cqw,16px);min-width:0}.ig-prayer-mirror h3{color:#075c39}.ig-mirror-location{font-size:clamp(11px,3.3cqw,15px)}.ig-mirror-prayer{margin-top:15px;font-weight:600}.ig-mirror-clock{font-size:clamp(24px,8cqw,60px);color:#075c39;white-space:nowrap;display:block}.ig-prayer-mirror p{font-size:clamp(11px,3cqw,14px)}
@media(max-width:1150px){.ig-home-column-editor{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.ig-home-column-editor{grid-template-columns:1fr}.ig-home-editor-cell{padding:12px}.ig-home-editor-cell .ig-prayer-rows{grid-template-columns:1fr!important}}

/* 7.11.57: container-based typography and short prayer summary in narrow columns */
.ig-home-editor-cell{align-self:start;overflow:hidden;min-height:170px;overflow-wrap:break-word;word-break:normal}
.ig-home-editor-cell h3,.ig-home-editor-cell h3 a{overflow-wrap:anywhere;line-height:1.35}
.ig-home-editor-placeholder{font-size:clamp(12px,3.5cqw,15px);line-height:1.65;color:#526b5b}
.ig-home-editor-prayer .ig-prayer-panel{overflow:hidden}
.ig-home-editor-prayer .ig-prayer-head{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center}
.ig-home-editor-prayer .ig-prayer-head strong{font-size:clamp(14px,4.8cqw,22px)}
.ig-home-editor-prayer .ig-prayer-head #ig-prayer-place{font-size:clamp(10px,3.1cqw,14px);line-height:1.5;overflow-wrap:anywhere}
.ig-home-editor-prayer .ig-prayer-main-countdown{padding:clamp(8px,2.6cqw,15px);overflow:hidden}
.ig-home-editor-prayer #ig-prayer-next-timer{font-size:clamp(23px,10cqw,48px)!important;max-width:100%;font-variant-numeric:tabular-nums}
.ig-home-editor-prayer #ig-prayer-next{font-size:clamp(10px,3.2cqw,14px);overflow-wrap:anywhere}
.ig-home-editor-prayer #ig-prayer-address,.ig-home-editor-prayer .ig-prayer-help{font-size:clamp(10px,3cqw,14px);line-height:1.55;overflow-wrap:anywhere}
.ig-home-editor-prayer .ig-prayer-rows{display:none!important}
.ig-home-editor-prayer.ig-prayer-expanded .ig-prayer-rows{display:grid!important;grid-template-columns:1fr!important}
.ig-home-editor-prayer .ig-prayer-cell{min-width:0;overflow:visible}
.ig-home-editor-prayer .ig-prayer-cell *{min-width:0;overflow-wrap:anywhere}
.ig-prayer-expand{display:block;width:100%;margin-top:9px;padding:9px;background:#075c39;color:white;border:0;border-radius:9px;cursor:pointer;font-size:clamp(12px,3.4cqw,15px)}
.ig-home-editor-prayer .ig-prayer-toggle{font-size:clamp(11px,3.3cqw,14px)}
.ig-home-editor-prayer .ig-prayer-audio-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.ig-home-editor-prayer .ig-prayer-audio-controls button{white-space:normal}
@media(max-width:640px){.ig-home-editor-prayer.ig-prayer-expanded .ig-prayer-rows{grid-template-columns:1fr!important}}

/* 7.11.58: independent visual styles for all six configurable columns. */
.ig-home-editor-cell{background:var(--ig-col-bg,#fff);color:var(--ig-col-text,#075c39);border-radius:var(--ig-col-radius,12px);padding:var(--ig-col-pad,12px);font-size:clamp(11px,calc(14px * var(--ig-col-font,100) / 100),22px)}
.ig-home-editor-cell.ig-col-bg-gradient{background:linear-gradient(145deg,var(--ig-col-bg,#fff),var(--ig-col-bg-end,#e3f2e9))}
.ig-home-editor-cell.ig-col-bg-image{background-image:linear-gradient(#ffffffbb,#ffffffbb),var(--ig-col-image,none);background-size:cover;background-position:center}
.ig-home-cell-custom-header{background:var(--ig-col-header-bg,#075c39);color:var(--ig-col-header-text,#fff);border-radius:max(0px,calc(var(--ig-col-radius,12px) - 5px));padding:clamp(7px,2.8cqw,14px);font-size:clamp(12px,4.5cqw,22px);font-weight:700;line-height:1.4;text-align:center;margin:0 0 12px;overflow-wrap:anywhere}
.ig-home-editor-cell:has(.ig-home-cell-custom-header)>h3{display:none}
.ig-home-editor-cell .ig-home-editor-links a,.ig-home-editor-cell .ig-home-editor-more{color:var(--ig-col-text,#075c39)}
.ig-home-editor-cell .ig-prayer-panel{max-width:100%}

/* 7.11.59 configurable home-column content cards. Container queries adapt card layout. */
.ig-home-editor-cell{border:var(--ig-col-border-width,1px) solid var(--ig-col-border,#d3e3d3);text-align:var(--ig-col-align,right)}
.ig-home-editor-cell.ig-col-shadow-soft{box-shadow:0 4px 14px rgba(0,50,30,.09)}
.ig-home-editor-cell.ig-col-shadow-strong{box-shadow:0 8px 26px rgba(0,50,30,.18)}
.ig-home-editor-cell .ig-home-editor-links{display:grid;gap:6px;grid-template-columns:1fr}
.ig-home-editor-cell .ig-home-editor-links li{min-width:0;list-style:none;box-sizing:border-box}
.ig-home-editor-cell.ig-col-layout-cards .ig-home-editor-links,.ig-home-editor-cell.ig-col-layout-image .ig-home-editor-links{grid-template-columns:repeat(var(--ig-card-cols,2),minmax(0,1fr))}
.ig-home-editor-cell.ig-col-layout-cards .ig-home-editor-links li,.ig-home-editor-cell.ig-col-layout-image .ig-home-editor-links li{background:var(--ig-card-bg,#fff);border:1px solid var(--ig-col-border,#d3e3d3);border-radius:calc(var(--ig-col-radius,12px) * .7);padding:clamp(6px,2cqw,12px);text-align:center;display:flex;align-items:center;justify-content:center}
.ig-home-editor-cell.ig-col-layout-image .ig-home-editor-links li:before{content:'◉';display:block;font-size:clamp(20px,8cqw,44px);line-height:1;color:var(--ig-col-text,#075c39);margin-bottom:8px}
.ig-home-editor-cell.ig-col-layout-image .ig-home-editor-links li{display:block}
.ig-home-editor-cell.ig-col-layout-horizontal .ig-home-editor-links{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;padding-bottom:8px}
.ig-home-editor-cell.ig-col-layout-horizontal .ig-home-editor-links li{flex:0 0 min(70%,180px);scroll-snap-align:start;background:var(--ig-card-bg,#fff);padding:10px;border-radius:8px;border:1px solid var(--ig-col-border,#d3e3d3)}
.ig-home-editor-cell.ig-col-layout-compact .ig-home-editor-links li{padding:3px 2px;font-size:clamp(11px,3cqw,15px)}
.ig-home-editor-cell.ig-col-height-equal .ig-home-editor-links{grid-auto-rows:1fr}
.ig-home-editor-cell.ig-col-height-compact .ig-home-editor-links li{min-height:32px}
.ig-home-editor-cell .ig-home-editor-links a{color:var(--ig-item-text,#075c39)}
.ig-home-header-image{height:28px;width:28px;object-fit:cover;vertical-align:middle;border-radius:5px;margin-inline-end:7px}
.ig-home-header-icon{display:inline-block;margin-inline-end:5px}
@container (max-width:260px){.ig-home-editor-cell.ig-col-layout-cards .ig-home-editor-links,.ig-home-editor-cell.ig-col-layout-image .ig-home-editor-links{grid-template-columns:1fr}}
@media(max-width:640px){.ig-home-editor-cell.ig-col-layout-cards .ig-home-editor-links,.ig-home-editor-cell.ig-col-layout-image .ig-home-editor-links{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ITS MYGOD 7.11.79 — actual homepage editor column: names + inline player, responsive rows.
   Keep section layout controls for other elements, but show names in 2 columns on phones
   and up to 3 on wide sections. Never squeeze tiny individual editor cells. */
.ig-home-editor-cell.ig-home-editor-names ul.ig-home-editor-links{
 display:grid;grid-template-columns:repeat(var(--ig-name-cols,3),minmax(0,1fr));
 gap:7px;margin:0;padding:0;direction:rtl;
}
.ig-home-editor-cell.ig-home-editor-names .ig-home-editor-entry{
 display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:5px;
 min-width:0;min-height:44px;padding:6px 7px;margin:0;
 border:1px solid #e0ece3;border-radius:9px;box-sizing:border-box;
 background:var(--ig-card-bg,#fff);text-align:right;
}
.ig-home-editor-cell.ig-home-editor-names .ig-home-editor-entry-name{
 min-width:0;flex:1 1 auto;line-height:1.55;font-size:clamp(11px,2.9cqw,15px);
 overflow-wrap:anywhere;text-decoration:none!important;text-align:right;
}
.ig-home-editor-cell.ig-home-editor-names .ig-home-entry-play{
 all:unset;box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;
 flex:0 0 31px;width:31px;height:31px;border-radius:8px;cursor:pointer;
 background:#e3f2e9!important;color:#075c39!important;font-size:15px;font-weight:700;line-height:1;
 text-align:center;touch-action:manipulation;
}
.ig-home-editor-cell.ig-home-editor-names button.ig-home-entry-play:hover,
.ig-home-editor-cell.ig-home-editor-names button.ig-home-entry-play[aria-pressed="true"]{
 background:#075c39!important;color:#fff!important;
}
.ig-home-editor-cell.ig-home-editor-names .ig-home-entry-play-unavailable{
 background:#f1f3f1!important;color:#a0a7a0!important;cursor:not-allowed;
}
.ig-home-editor-cell.ig-home-editor-names button.ig-home-entry-play:focus-visible{outline:3px solid #075c39;outline-offset:2px}
@container (max-width:600px){.ig-home-editor-cell.ig-home-editor-names ul.ig-home-editor-links{grid-template-columns:repeat(var(--ig-name-cols-mobile,2),minmax(0,1fr))}}
@container (max-width:230px){.ig-home-editor-cell.ig-home-editor-names ul.ig-home-editor-links{grid-template-columns:1fr}}
@media(max-width:640px){.ig-home-editor-cell.ig-home-editor-names ul.ig-home-editor-links{grid-template-columns:repeat(var(--ig-name-cols-mobile,2),minmax(0,1fr))}}

/* 7.11.80: prayer panel on detail pages stays after site navigation, not the footer. */
.ig-prayer-detail-top{width:100%;max-width:1230px;margin:16px auto 22px;padding:0 16px;box-sizing:border-box;clear:both}
.ig-prayer-detail-top>.ig-prayer-panel{margin:0 auto;width:100%}
.ig-prayer-background-data{display:none!important}
@media(max-width:600px){.ig-prayer-detail-top{margin:12px auto 18px;padding:0 12px}}

/* ITS MY GOD 7.11.100: detail-page prayers take minimal mobile space; More expands in place. */
.ig-detail-prayer-more{display:none}
@media(max-width:767px){
 .ig-prayer-detail-top{padding:0 10px!important;margin:5px auto 8px!important;max-width:100%!important}
 .ig-prayer-detail-top>.ig-prayer-panel{padding:9px 11px!important;margin:0!important;border-radius:12px!important;display:flex;flex-direction:column}
 .ig-prayer-detail-top .ig-prayer-head{order:1}
 .ig-prayer-detail-top .ig-prayer-main-countdown{order:2}
 .ig-prayer-detail-top .ig-detail-prayer-more{order:3}
 .ig-prayer-detail-top .ig-prayer-chooser{order:4}
 .ig-prayer-detail-top .ig-prayer-address{order:5}
 .ig-prayer-detail-top .ig-prayer-rows{order:6}
 .ig-prayer-detail-top .ig-prayer-toggle{order:7}
 .ig-prayer-detail-top .ig-prayer-audio-controls{order:8}
 .ig-prayer-detail-top .ig-prayer-head{display:flex;justify-content:space-between;align-items:center;gap:4px}
 .ig-prayer-detail-top .ig-prayer-head strong{font-size:14px;line-height:1.4}
 .ig-prayer-detail-top .ig-prayer-head #ig-prayer-place{font-size:10px;line-height:1.4}
 .ig-prayer-detail-top .ig-prayer-main-countdown{margin:7px 0 0;padding:6px 8px;gap:1px;display:flex;flex-flow:row wrap;justify-content:space-between;align-items:center}
 .ig-prayer-detail-top .ig-prayer-main-countdown #ig-prayer-next-name{font-size:13px}
 .ig-prayer-detail-top .ig-prayer-main-countdown #ig-prayer-next-timer{font-size:23px!important;letter-spacing:0}
 .ig-prayer-detail-top .ig-prayer-main-countdown #ig-prayer-next{flex:0 0 100%;font-size:10px;text-align:right}
 .ig-prayer-detail-top .ig-detail-prayer-more{display:block;width:100%;min-height:32px;background:#e3f2e9;color:#075c39;border:1px solid #b9d8c5;border-radius:8px;margin:7px 0 0;padding:5px 12px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
 .ig-prayer-detail-top .ig-prayer-panel:not(.ig-detail-prayer-expanded) :is(.ig-prayer-chooser,.ig-prayer-address,.ig-prayer-rows,.ig-prayer-toggle,.ig-prayer-audio-controls){display:none!important}
 .ig-prayer-detail-top .ig-prayer-panel.ig-detail-prayer-expanded :is(.ig-prayer-chooser,.ig-prayer-address,.ig-prayer-toggle,.ig-prayer-audio-controls){display:block}
 .ig-prayer-detail-top .ig-prayer-panel.ig-detail-prayer-expanded .ig-prayer-rows{display:grid}
}
