/* GEMA TLQ — Identity, inspiration, testimonials, journal v20 */
.gema-community,.gema-journey-page,.gema-inspiration-detail{min-width:0;padding-bottom:24px}
.gema-community-hero{background:radial-gradient(circle at 95% 5%,#50c68b50,transparent 35%),linear-gradient(120deg,#073d31,#0d7658);border-radius:24px;padding:28px 25px;color:white;position:relative;display:flex;align-items:center;gap:13px;margin-bottom:27px;overflow:hidden}
.gema-community-hero>div:first-child{position:relative;z-index:1;flex:1;min-width:0}
.gema-community-hero .eyebrow{color:#bcecb7;font-size:10px;letter-spacing:.14em}
.gema-community-hero h1{font-size:27px;max-width:455px;line-height:1.2;margin:10px 0;color:white}
.gema-community-hero p{font-size:12px;line-height:1.85;color:#d0e8db;max-width:440px}
.gema-community-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:19px}
.gema-community-hero-actions .btn{font-size:11px;gap:7px;min-height:42px}
.gema-community-hero-actions .outline{border-color:#c8e9d555;color:#fff;background:#ffffff13}
.gema-community-art{align-self:stretch;min-width:100px;display:grid;place-items:center;color:#a6e8ae;filter:drop-shadow(0 6px 16px #0f251c88);opacity:.5}
.gema-board{border:1px solid #e0e8da;background:linear-gradient(180deg,#fff,#fafbf7);padding:23px 22px 20px;border-radius:23px;box-shadow:0 8px 30px #254c3010;margin:22px 0 28px;min-width:0}
.gema-board-heading{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.gema-board-heading .eyebrow{color:#4caa85;letter-spacing:.15em;font-size:10px}
.gema-board-heading h2{font-size:23px;color:#193e36;margin:7px 0;letter-spacing:-.04em}
.gema-board-heading p{font-size:12px;color:#71857c;line-height:1.7}
.gema-board-heading>a{flex-shrink:0;font-size:11px;white-space:nowrap}
.gema-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end;margin:25px 0 18px}
.gema-podium-item{min-width:0;text-align:center;background:#fbfcfc;border:1px solid #e4e9ec;border-radius:19px;padding:17px 9px 15px;position:relative;box-shadow:0 6px 12px #273f3209;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:200px}
.gema-podium-item.gold{background:linear-gradient(160deg,#fff8df,#fffdfa);border-color:#ebd18f;min-height:223px;box-shadow:0 13px 25px #b1904b18}
.gema-podium-item.bronze{background:linear-gradient(150deg,#fdf7f0,#fff);border-color:#e9dccd}
.gema-podium-number{position:absolute;top:9px;left:10px;font-size:12px;font-weight:900;background:#eaf1f7;color:#56768b;padding:6px;border-radius:50%}
.gema-podium-item.gold .gema-podium-number{background:#ffdf8c;color:#815d19}
.gema-podium-item.bronze .gema-podium-number{background:#f0caaa;color:#845c43}
.gema-podium-avatar{display:grid;place-items:center;width:65px;height:65px;border-radius:50%;background:linear-gradient(145deg,#daece4,#77b2a1);border:5px solid white;box-shadow:0 0 0 2px #e1e9e4;margin:15px 0 9px}
.gema-podium-item.gold .gema-podium-avatar{background:linear-gradient(145deg,#ffecd2,#daae65);box-shadow:0 0 0 3px #f4da95}
.gema-podium-item.bronze .gema-podium-avatar{background:linear-gradient(145deg,#fbe3d8,#d8a5a0)}
.gema-podium-avatar span{font-size:18px;font-weight:900;color:#245a47}
.gema-podium-label{font-size:10px;color:#879488;line-height:1.35}
.gema-podium-item strong{font-size:12px;line-height:1.4;color:#253f39;margin:4px 0}
.gema-podium-item b{color:#208a66;font-size:13px}
.gema-podium-item small{font-size:9px;color:#98a39b;margin-top:5px}
.gema-my-progress{border-radius:14px;padding:12px 15px;background:#f1f7f2;display:flex;align-items:center;gap:11px;color:#1e5943}
.gema-my-progress>svg{flex-shrink:0}
.gema-my-progress>div{display:flex;flex-direction:column;flex:1;min-width:0}
.gema-my-progress strong{font-size:12px}
.gema-my-progress span{font-size:11px;color:#648372}
.gema-my-progress>small{font-size:9px;max-width:88px;text-align:right;color:#718775;line-height:1.5}
.gema-board-note{font-size:10px;color:#96a297;line-height:1.7;margin-top:11px}
.gema-board-explain{padding:21px;border-radius:20px;background:#fff;border:1px solid #e1e8dd;margin-top:20px}
.gema-board-explain h3{font-size:16px}
.gema-board-explain p{font-size:13px;line-height:1.8;color:#738478;margin-top:10px}
.gema-feed-head{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin:33px 0 18px}
.gema-feed-head h2{font-size:24px;margin:8px 0 6px;color:#174431}
.gema-feed-head .eyebrow{font-size:10px;color:#6c9a75}
.gema-feed-head p{font-size:12px;color:#819188;line-height:1.7}
.gema-testimony-cta{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px;font-weight:800;color:#0e7950;padding:8px 0}
.gema-filter-tabs{display:flex;gap:7px;overflow-x:auto;padding:0 0 8px;scrollbar-width:none}
.gema-filter-tabs button{white-space:nowrap;border-radius:999px;background:white;border:1px solid #d9e7db;padding:9px 17px;font-size:12px;font-weight:800;color:#5c806b;min-height:40px}
.gema-filter-tabs button.active{background:#0b7351;color:white;border-color:#0b7351}
.gema-global-demo{display:block;font-size:10px;color:#9aab9d;margin-bottom:13px}
.gema-feed{display:grid;gap:18px}
.gema-story{border:1px solid #e1e8df;border-radius:22px;background:#fff;padding:21px;min-width:0;overflow:hidden;box-shadow:0 8px 24px #1548320b}
.gema-story-top{display:flex;align-items:center;gap:10px;min-width:0}
.gema-story-avatar{width:45px;height:45px;flex-shrink:0;display:grid;place-items:center;border:3px solid white;box-shadow:0 0 0 1px #dce7dd;border-radius:50%;background:linear-gradient(140deg,#c0e9d4,#b2d6ce);color:#1f604c;font-weight:900;font-size:12px}
.gema-story-person{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.gema-story-person strong{font-size:13px;color:#183f33}
.gema-story-person small{font-size:10px;color:#8f9f95;line-height:1.4}
.gema-story-type{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;font-size:10px;font-weight:850;color:#56816a;background:#edf6ee;border-radius:30px;padding:7px 9px}
.gema-story-type.testimony{background:#faf0de;color:#946e32}
.gema-story-cover{background:radial-gradient(circle at 85% 15%,#83d7a8,transparent 40%),linear-gradient(130deg,#0e543d,#157c59);color:#fff;min-height:130px;border-radius:15px;position:relative;overflow:hidden;padding:22px;margin-top:19px}
.gema-story-cover>span{color:#c4efca;font-size:10px;letter-spacing:.14em;font-weight:900}
.gema-story-cover h3{position:relative;font-family:'Nunito Sans',system-ui,sans-serif;color:#fff;font-size:22px;max-width:410px;line-height:1.3;letter-spacing:-.03em;margin-top:12px;z-index:1}
.gema-story-leaves{position:absolute;right:-10px;bottom:-42px;color:#dbffb725;font-size:120px;line-height:1}
.gema-story-duo{margin:16px 0 8px;display:grid;gap:11px}
.gema-story-duo>div{background:#f7faf6;border:1px solid #e8eee6;border-radius:14px;padding:15px 17px}
.gema-story-duo>div.gema-after{background:#eff8f0;border-color:#d7e8d8}
.gema-story-duo span{font-size:10px;letter-spacing:.1em;font-weight:900;color:#578065}
.gema-story-duo p{font-family:'Nunito Sans',system-ui,sans-serif;font-size:14px;color:#2f4c3e;line-height:1.8;margin-top:8px;overflow-wrap:anywhere;white-space:pre-wrap}
.gema-story-context{display:flex;gap:6px;align-items:center;font-size:11px;color:#78917e;margin:11px 0}
.gema-verse-ref{display:inline-flex;align-items:center;gap:7px;color:#086a4b;background:#f1f7ee;padding:10px 13px;border-radius:12px;font-size:12px;font-weight:850;margin:8px 0 13px;max-width:100%}
.gema-verse-ref:hover{background:#e6f4e6}
.gema-story-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 32px;align-items:center;gap:3px;border-top:1px solid #e8eee8;padding-top:12px}
.gema-story-actions button,.gema-story-actions a{min-width:0;display:flex;align-items:center;justify-content:flex-start;gap:5px;font-size:11px;color:#6b8475;font-weight:800;line-height:1.3;padding:8px 2px}
.gema-story-actions button.active{color:#057b50}
.gema-story-actions button svg,.gema-story-actions a svg{flex-shrink:0}
.gema-story-actions button:last-child{justify-content:flex-end}
.gema-comment-section{margin:22px 0 40px;padding:23px;border:1px solid #dfeadd;background:#fff;border-radius:20px}
.gema-comment-section .row>span{font-size:12px;color:#748b7d}
.gema-comment-note{font-size:12px;color:#728478;margin:8px 0 20px}
.gema-comment{display:flex;gap:12px;border-top:1px solid #e9eee9;padding:15px 0}
.gema-comment-avatar{width:37px;height:37px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:#daeee2;color:#31755a;font-weight:900;font-size:11px}
.gema-comment>div{min-width:0}
.gema-comment strong{font-size:13px}
.gema-comment strong small{font-size:10px;color:#819389;font-weight:500}
.gema-comment p{font-size:13px;line-height:1.7;color:#4a6453;margin-top:4px;white-space:pre-wrap;overflow-wrap:anywhere}
.gema-comment-empty{font-size:12px;color:#84958b;background:#f5faf6;padding:16px;border-radius:12px}
#gema-comment-form{display:grid;gap:10px;margin-top:21px}
#gema-comment-form label{font-size:13px;font-weight:800}
#gema-comment-form textarea{min-height:92px;line-height:1.7;font-size:15px}
#gema-comment-form button{justify-self:start;font-size:12px}
.gema-feed-footer{font-size:11px;color:#8ca094;margin-top:20px;line-height:1.7}
.gema-empty-feed,.gema-testimony-no-journal{display:grid;justify-items:center;text-align:center;gap:11px;background:#fff;border:1px dashed #d6e6d7;border-radius:19px;padding:27px;color:#1d7554}
.gema-empty-feed h3,.gema-testimony-no-journal h3{font-size:17px}
.gema-empty-feed p,.gema-testimony-no-journal p{font-size:12px;color:#79897e}
.gema-testimony-form-head{background:linear-gradient(140deg,#eaf7e9,#f8fbef);border:1px solid #d9e9d9;padding:25px;border-radius:21px;margin:15px 0 22px}
.gema-testimony-form-head .eyebrow{font-size:10px;color:#427b55}
.gema-testimony-form-head h1{font-size:27px;margin:10px 0}
.gema-testimony-form-head p{font-size:13px;color:#65806c;line-height:1.7}
.gema-testimony-decor{height:57px;width:57px;display:grid;place-items:center;border-radius:18px;background:#fff;color:#21865a;margin-bottom:13px;box-shadow:0 7px 13px #306b4215}
.gema-testimony-form{background:white;border:1px solid #e0e8df;border-radius:20px;padding:23px;display:grid;gap:10px}
.gema-testimony-form>label:not(.gema-confirm-experience):not(.gema-anon-toggle){font-size:13px;font-weight:850;color:#254e3b;margin-top:9px}
.gema-testimony-form textarea{min-height:102px;line-height:1.75;font-size:15px}
.gema-confirm-experience,.gema-anon-toggle{display:flex;gap:10px;align-items:flex-start;line-height:1.7;font-size:12px;padding:11px;border-radius:11px;background:#f1f7ef;margin:6px 0}
.gema-confirm-experience input,.gema-anon-toggle input{width:19px;height:19px;flex-shrink:0;accent-color:#147e59}
.gema-testimony-note{font-size:11px;color:#6e8d71;background:#e9f5e5;border-radius:12px;padding:12px;display:flex;align-items:flex-start;gap:8px;margin:6px 0}
.gema-journey-heading{margin-bottom:22px}
.gema-journey-heading .eyebrow{color:#769686}
.gema-journey-heading h1{margin:8px 0 12px;color:#164b38}
.gema-journey-heading p{font-size:13px;line-height:1.85;color:#849087;max-width:600px}
.gema-journey-hero{background:linear-gradient(125deg,#073e30,#118361);border-radius:23px;padding:25px;color:#fff;display:flex;min-height:207px;align-items:center;gap:10px;overflow:hidden}
.gema-journey-hero>div:first-child{flex:1;min-width:0;position:relative;z-index:1}
.gema-journey-hero .eyebrow{color:#b9e9bc}
.gema-journey-hero h2{font-size:24px;color:#fff;margin:12px 0 8px}
.gema-journey-hero p{font-size:12px;color:#e3f6ea;line-height:1.75;max-width:385px;margin-bottom:15px}
.gema-journey-hero .btn{font-size:12px}
.gema-journey-art{display:grid;place-items:center;width:105px;flex-shrink:0;color:#b7dfa1;opacity:.54;transform:rotate(-12deg)}
.gema-journey-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:17px 0 18px}
.gema-journey-stats>div{display:flex;align-items:center;flex-direction:column;text-align:center;border:1px solid #dfe9df;border-radius:16px;background:white;padding:15px 8px;min-width:0}
.gema-journey-stats>div>span{color:#1a8561}
.gema-journey-stats strong{font-size:19px;color:#1c563f;margin:6px 0 2px}
.gema-journey-stats small{font-size:10px;color:#7d8e82}
.gema-action-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 31px}
.gema-action-shortcuts>a{border:1px solid #e2eadf;border-radius:17px;background:#fff;padding:17px 8px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:7px;min-width:0}
.gema-action-icon{height:54px;width:54px;display:grid;place-items:center;border-radius:17px;box-shadow:inset 0 3px 3px #fff8,0 6px 11px #164d2515;color:#0d6848}
.gema-action-icon.jar{background:linear-gradient(145deg,#fff3c7,#e6d29b)}
.gema-action-icon.quran{background:linear-gradient(145deg,#daf7dc,#a5e3be)}
.gema-action-icon.habit{background:linear-gradient(145deg,#e8ecff,#b8d0ed)}
.gema-action-shortcuts strong{font-size:12px;color:#26543d}
.gema-action-shortcuts small{font-size:10px;color:#8a978e}
.gema-journey-list>.row{align-items:end;gap:9px;margin:4px 0 18px}
.gema-journey-list .eyebrow{font-size:10px;color:#749b7d}
.gema-journey-list h2{font-size:20px;margin-top:7px}
.gema-journey-list .text-link{font-size:11px}
.gema-journey-notes{display:grid;gap:10px}
.gema-journal-row{border:1px solid #dfe8dd;border-radius:16px;background:#fff;display:flex;gap:12px;padding:16px;min-width:0;align-items:center}
.gema-journal-icon{flex-shrink:0;width:42px;height:42px;border-radius:14px;background:#e8f5e9;color:#168258;display:grid;place-items:center}
.gema-journal-row>div{flex:1;min-width:0}
.gema-journal-row strong{font-size:13px;color:#1b513d}
.gema-journal-row p{color:#6e8274;font-size:12px;line-height:1.6;margin:4px 0;overflow-wrap:anywhere}
.gema-journal-row small{font-size:10px;color:#91a093}
.gema-journal-arrow{flex-shrink:0;color:#6ca585}
.gema-no-notes{border:1px dashed #d5e5da;background:white;border-radius:18px;padding:29px;text-align:center}
.gema-no-notes svg{color:#438e66;margin:0 auto 10px}
.gema-no-notes h3{font-size:17px}
.gema-no-notes p{font-size:12px;color:#829288;margin:11px auto 17px}
.gema-journey-footnote{font-size:11px;color:#93a094;margin:21px 0}
.gema-origin{background:linear-gradient(122deg,#f0f8ef,#fffdf7);border:1px solid #d9e8dc;border-radius:21px;padding:24px;display:flex;gap:19px;margin:16px 0 21px;align-items:flex-start}
.gema-origin-emblem{width:69px;height:69px;flex-shrink:0;display:grid;place-items:center;color:#0f7854;border-radius:22px;background:linear-gradient(145deg,#e2f7dd,#bbdec6);box-shadow:inset 0 2px 2px #ffffffb9,0 9px 17px #426c4b17}
.gema-origin-content{min-width:0}
.gema-origin-content>.eyebrow{font-size:10px;letter-spacing:.14em;color:#6b9973}
.gema-origin h2{font-size:22px;color:#184735;line-height:1.35;margin:8px 0 10px}
.gema-origin blockquote{font-family:'DM Serif Display',Georgia,serif;color:#0a6546;font-size:19px;margin:13px 0 9px;font-weight:400}
.gema-origin p{font-size:12px;color:#6d816f;line-height:1.85;max-width:560px}
.gema-origin-cta{display:inline-flex;gap:8px;align-items:center;color:#086d4d;font-weight:900;font-size:12px;margin-top:12px}
.gema-verse-overlay{position:fixed;inset:0;z-index:2500;background:#071e1394;display:grid;align-items:end;justify-items:center;padding:12px}
.gema-dialog-open{overflow:hidden}
.gema-verse-dialog{width:min(100%,640px);max-height:83dvh;overflow:auto;background:#fff;border-radius:23px 23px 12px 12px;padding:23px 20px;box-shadow:0 12px 70px #0003}
.gema-verse-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.gema-verse-dialog-head h2{font-size:22px;color:#164932}
.gema-verse-dialog-head .eyebrow{font-size:10px;color:#6b9676}
.gema-verse-dialog-head>button{width:40px;height:40px;display:grid;place-items:center;color:#416b4e;border-radius:50%;background:#f2f8f3}
.gema-verse-body{margin-top:14px;display:grid;gap:14px}
.gema-verse-arabic{font:26px/2.15 'Amiri','Noto Naskh Arabic',serif;direction:rtl;text-align:right;color:#174830;background:#f2f9f1;border:1px solid #dae9da;border-radius:14px;padding:18px 13px;white-space:pre-wrap}
.gema-verse-translation{font-size:14px;line-height:1.9;color:#355543}
.gema-verse-tools{display:flex;flex-wrap:wrap;gap:8px}
.gema-verse-tools button{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:#147751;border:1px solid #cce6d3;padding:11px 13px;border-radius:12px;background:#f5faf5}
#gema-tafsir-content{border:1px solid #dcebdc;background:#f7faf6;border-radius:14px;padding:17px;max-height:370px;overflow-y:auto}
#gema-tafsir-content h3{font-size:14px;margin-bottom:8px}
#gema-tafsir-content p{font-size:12px;line-height:1.85;white-space:pre-wrap;margin-bottom:19px;color:#405f49}
.gema-verse-tafsir-arabic{font-family:'Amiri',serif;font-size:21px!important;line-height:2.1!important}
.gema-source-label{font-size:10px;color:#9aaa9c}
@media(max-width:760px){
 .gema-community-hero{padding:22px 19px;border-radius:21px}
 .gema-community-hero h1{font-size:23px}
 .gema-community-art{position:absolute;right:-23px;top:3px;opacity:.16}
 .gema-community-hero-actions .btn{font-size:10px}
 .gema-board{padding:18px 13px}
 .gema-board-heading h2{font-size:20px}
 .gema-board-heading>a{font-size:10px}
 .gema-podium{gap:6px}
 .gema-podium-item{min-height:185px;border-radius:15px;padding:14px 5px 12px}
 .gema-podium-item.gold{min-height:203px}
 .gema-podium-avatar{width:49px;height:49px;margin-top:19px;border-width:3px}
 .gema-podium-avatar span{font-size:14px}
 .gema-podium-number{font-size:9px;top:6px;left:6px;padding:4px}
 .gema-podium-item strong{font-size:10px}
 .gema-podium-label{font-size:9px}
 .gema-podium-item b{font-size:10px}
 .gema-podium-item small{font-size:9px}
 .gema-my-progress{padding:10px}
 .gema-my-progress>small{font-size:9px}
 .gema-feed-head{align-items:start;flex-wrap:wrap}
 .gema-feed-head h2{font-size:21px}
 .gema-story{padding:15px;border-radius:19px}
 .gema-story-top{gap:8px}
 .gema-story-avatar{width:39px;height:39px;font-size:11px}
 .gema-story-type{font-size:9px;padding:6px 7px}
 .gema-story-type svg{display:none}
 .gema-story-cover{padding:18px;margin-top:16px}
 .gema-story-cover h3{font-size:20px}
 .gema-story-duo>div{padding:13px}
 .gema-story-duo p{font-size:13px}
 .gema-story-actions button,.gema-story-actions a{font-size:10px}
 .gema-story-actions svg{width:17px;height:17px}
 .gema-testimony-form,.gema-comment-section{padding:17px}
 .gema-journey-hero{padding:20px;min-height:186px}
 .gema-journey-hero h2{font-size:22px}
 .gema-journey-art{width:62px;opacity:.3}
 .gema-journey-stats{gap:8px}
 .gema-journey-stats>div{padding:13px 6px}
 .gema-journey-stats strong{font-size:17px}
 .gema-action-shortcuts{gap:8px}
 .gema-action-shortcuts>a{padding:13px 4px}
 .gema-origin{padding:20px 17px;display:block}
 .gema-origin-emblem{width:54px;height:54px;border-radius:16px;margin-bottom:14px}
 .gema-origin-emblem svg{width:33px;height:33px}
 .gema-origin h2{font-size:20px}
 .gema-origin blockquote{font-size:18px}
 .gema-verse-dialog{padding:18px 16px;max-height:86dvh}
 .gema-verse-arabic{font-size:24px}
}
/* Three tafsir choices and a calm visual anchor */
.gema-tafsir-visual{display:flex;align-items:center;gap:14px;background:linear-gradient(120deg,#0a4c3b,#13825d);color:#fff;border-radius:15px;padding:17px;margin:0 0 18px;overflow:hidden;position:relative}
.gema-tafsir-visual:after{content:'✦';position:absolute;right:-10px;bottom:-34px;font-size:110px;color:#b8f0bc14;pointer-events:none;line-height:1}
.gema-tafsir-orbit{display:grid;place-items:center;background:#def4ca29;border:1px solid #c8efc47a;border-radius:16px;min-width:57px;min-height:57px;color:#d8f4c3}
.gema-tafsir-visual>div:last-child{position:relative;z-index:1;display:grid;gap:3px;min-width:0}
.gema-tafsir-visual span{font-size:9px;letter-spacing:.14em;color:#d8f4d7;font-weight:900}
.gema-tafsir-visual strong{font-size:14px;line-height:1.35;color:#fff}
.gema-tafsir-visual small{font-size:10px;color:#d1e9dd}
.living-tafsir-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px}
.living-tafsir-tabs button{font-size:10px;white-space:normal;line-height:1.3;min-width:0;padding:8px 3px}
.gema-al-azhar{margin-top:17px;background:#f8faf5;border:1px solid #dce7d9;border-radius:17px;padding:19px}
.gema-al-azhar .eyebrow{color:#7a9869}
.gema-al-azhar-symbol{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;color:#2c7950;background:linear-gradient(140deg,#e1f2d5,#f4e7c6);margin-bottom:12px}
.gema-al-azhar h4{font-size:18px;color:#1e4a36;margin:7px 0 8px}
.gema-al-azhar>p{font-size:13px;color:#536e56;line-height:1.85}
.gema-al-azhar-status{border-radius:13px;padding:13px 14px;border:1px solid #e8dac0;background:#fff9e9;margin:16px 0}
.gema-al-azhar-status strong{font-size:13px;color:#7f6234}
.gema-al-azhar-status p{font-size:12px;color:#8e7955;line-height:1.7;margin-top:6px}
.gema-al-azhar>small{font-size:11px;color:#8e9f8a;line-height:1.5}
.gema-al-azhar[hidden]{display:none!important}
/* Tablet widths: prevent legacy right-rail grid content from expanding beyond main canvas */
@media(min-width:761px) and (max-width:1050px){
 .home-grid{grid-template-columns:minmax(0,1fr)!important;max-width:100%;min-width:0}
 .home-primary,.right-rail{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
 .right-rail{grid-template-columns:minmax(0,1fr)!important}
 .right-rail>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
 .quicklinks{grid-template-columns:repeat(4,minmax(0,1fr))}
}