/*
Theme Name: Muhammad’s Mosque Greenville
Description: Photo-free Greenville mosque website with editable Elementor section widgets and the supplied star and crescent emblem.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Author: Muhammad’s Mosque of Greenville
Text Domain: mmgvl
License: GPL-2.0-or-later
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root{--paper:#f7f5ef;--ink:#242821;--red:#8e1c2a;--line:#d9d9d0;--muted:#65675f}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:15px;line-height:1.65}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}img{display:block;width:100%;object-fit:cover}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:400;line-height:1.05}h1,h2,h3,.footer-top>p{font-family:'Libre Caslon Display',Georgia,serif}h1{font-size:clamp(58px,6.8vw,102px);letter-spacing:-3.5px}h2{font-size:clamp(42px,4.4vw,64px);letter-spacing:-1.6px}h3{font-size:36px;letter-spacing:-.7px}em{font-weight:400}p{color:var(--muted)}.skip{position:absolute;top:-100px;background:white;padding:10px;z-index:100}.skip:focus{top:0}.topline{background:var(--ink);color:#f6f3ea;display:flex;justify-content:space-between;padding:9px 5%;font-size:11px;letter-spacing:.4px}.topline a{color:#e4caa8}header{height:100px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--paper);position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:13px}.brand img{width:57px;height:43px;object-fit:contain}.brand>span{font:25px/1.2 Georgia,serif}.brand small{display:block;font:9px/2 'DM Sans',Arial,sans-serif;letter-spacing:2px}nav{display:flex;gap:27px;align-items:center;font-size:12px;font-weight:600}nav a:hover,.text-link:hover{color:var(--red)}.nav-donate{padding:11px 20px;background:var(--red);color:white!important;display:flex;gap:24px}.menu{display:none}.hero{display:grid;grid-template-columns:1.1fr 1fr;min-height:650px}.hero-copy{padding:65px 8% 35px 9%}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--red);margin-bottom:24px;display:flex;align-items:center;gap:8px}.eyebrow>span{width:6px;height:6px;background:var(--red);border-radius:100%}.hero h1 em{color:var(--red)}.intro{font-size:15px;max-width:445px;margin:28px 0;line-height:1.8}.actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap}.button{display:inline-flex;justify-content:space-between;align-items:center;gap:35px;padding:15px 23px;font-size:12px;font-weight:600;min-height:50px;transition:background .2s,transform .2s}.button:hover{transform:translateY(-2px);filter:brightness(1.15)}.red{background:var(--red);color:white}.dark{background:var(--ink);color:white}.text-link{font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:18px;border-bottom:1px solid #b8b9af;padding-bottom:5px}.hero-foot{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:20px;margin-top:45px;font-size:10px;line-height:1.6}.hero-foot strong{font-weight:500;color:var(--ink)}.seal{font-size:28px;color:var(--red)}.hero-image{position:relative;overflow:hidden;min-height:580px}.hero-image>img{height:100%;object-position:48% center;filter:saturate(.68)}.hero-image:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(15,23,17,.85),transparent 65%)}.image-caption{position:absolute;bottom:46px;left:42px;z-index:1;color:white}.image-caption>span{font-size:9px;letter-spacing:2px;display:block;margin-bottom:14px}.image-caption strong{font:37px/1.12 'Libre Caslon Display',Georgia,serif}.visit-strip{background:var(--ink);color:var(--paper);padding:35px 5%;display:grid;grid-template-columns:1.05fr 1fr 1.4fr 48px;gap:25px;position:relative}.visit-strip h2{font-size:29px;letter-spacing:-.3px}.eyebrow.light{color:#ddbc92;margin-bottom:10px}.label{font-size:9px;letter-spacing:1.5px;color:#c0b79f}.visit-strip p{font-size:11px;color:#d3d5cc;margin-top:6px}.visit-strip strong{font-weight:500;color:white}.circle-link{width:45px;height:45px;border:1px solid #6a7064;border-radius:50%;display:grid;place-items:center;font-size:20px}.calendar-link{position:absolute;bottom:9px;left:calc(5% + 27%);font-size:9px;color:#ddbc92}.section{padding:90px 7%}.about{display:grid;grid-template-columns:1fr 1fr;gap:12%;border-bottom:1px solid var(--line)}.about .eyebrow{margin-bottom:25px}.about-copy>p+p{margin-top:20px}.large{font-size:21px;line-height:1.5;color:var(--ink)}.about-copy .text-link{margin-top:28px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:38px}.section-heading .eyebrow{margin-bottom:15px}.section-heading>p{font-size:12px}.resource-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:17px}.resource{border:1px solid var(--line);padding:26px;min-height:380px;display:flex;flex-direction:column;justify-content:space-between;transition:transform .2s,box-shadow .2s}.resource:hover{transform:translateY(-5px);box-shadow:0 8px 25px #2428210b}.resource-top{display:flex;justify-content:space-between;font-size:9px;font-weight:600;letter-spacing:1px}.resource-top b{font-size:19px;font-weight:400}.resource h3{margin:20px 0 14px}.resource p{font-size:12px;line-height:1.8}.resource-bottom{border-top:1px solid var(--line);padding-top:15px;font-size:10px;display:flex;justify-content:space-between;margin-top:28px}.featured{background:var(--red);color:white;border-color:var(--red)}.featured p{color:#edced2}.featured .resource-bottom{border-color:#ffffff40}.tiny{font-size:9px;font-weight:600;letter-spacing:1px}.featured .tiny{color:#e4c29a}.community{padding-top:25px;display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:center}.community-photo{position:relative}.community-photo img{height:490px;filter:saturate(.7);object-position:center}.community-photo>span{position:absolute;bottom:20px;left:23px;color:white;font-size:9px;letter-spacing:2px;text-shadow:0 1px 8px black}.community-copy>p:not(.eyebrow){margin:25px 0;max-width:410px}.community-copy>.text-link{display:table;margin-top:22px}.media{background:#eeeee7}.media-links{border-top:1px solid #cbcec2}.media-links>a{display:flex;gap:25px;align-items:center;padding:24px 4px;border-bottom:1px solid #cbcec2}.media-links>a:hover{background:#e4e6dc}.media-icon{width:55px;height:55px;border:1px solid #b9beaf;display:grid;place-items:center;border-radius:50%;font-size:28px}.media-links h3{font-size:29px;margin:5px 0}.media-links p{font-size:12px}.media-links b{margin-left:auto;font-size:24px;font-weight:400}.media-links .tiny{color:var(--red)}.donate{background:var(--red);color:white;display:grid;grid-template-columns:1fr 1fr;gap:12%;align-items:center}.donate p{color:#edced2;margin-top:23px;font-size:13px}.outline-link{display:inline-block;font-size:10px;border-bottom:1px solid #cf9097;padding-bottom:6px;margin-top:28px}.give-option{border-bottom:1px solid #ffffff45;padding:25px 0;display:flex;align-items:center;justify-content:space-between}.give-option small{display:block;font-size:9px;letter-spacing:1.6px;color:#e4c29a;margin-bottom:7px}.give-option strong{font-size:27px;font-weight:500}.give-option b{font-size:28px;font-weight:400}.give-option em{display:block;font-size:11px;font-style:normal;color:#edced2;margin-top:5px}.give-option button{background:transparent;color:white;border:1px solid #d8919c;padding:6px 13px;font-size:11px}.giving .giving-note{font-size:10px;margin-top:15px}.contact{display:grid;grid-template-columns:1fr 1fr;gap:12%}.contact .large{margin-bottom:20px}.contact .actions{margin:27px 0 30px}details{border-bottom:1px solid var(--line);font-size:12px;padding:17px 0}summary{cursor:pointer;font-weight:500}details p{padding:12px 0 0}details p a{text-decoration:underline}footer{padding:45px 5% 20px;background:#e9e9e0}.footer-top{display:flex;align-items:center;justify-content:space-between;padding-bottom:40px}.footer-top>p{font-size:32px;color:var(--ink);line-height:1.05}.footer-top>p em{color:var(--red)}.footer-bottom{border-top:1px solid #cacdbf;padding-top:20px;display:flex;justify-content:space-between;color:#64685c;font-size:9px}.footer-bottom>div{display:flex;gap:25px}:focus-visible{outline:3px solid #bf8748;outline-offset:5px}
@media(min-width:1500px){body{max-width:1800px;margin:auto}}@media(max-width:1050px){nav{gap:17px}.brand>span{font-size:21px}.hero-copy{padding:45px 8%}.hero h1{font-size:70px}.hero{min-height:600px}.hero-image{min-height:600px}.hero-copy .actions{gap:18px}.visit-strip{grid-template-columns:1fr 1fr;gap:25px}.visit-strip .circle-link{position:absolute;right:5%;bottom:35px}.calendar-link{position:static;align-self:end}.section{padding:70px 6%}.resource{padding:20px}h3{font-size:31px}.resource-grid{gap:12px}.community-photo img{height:440px}.hero-foot{margin-top:30px}}
@media(max-width:760px){html{scroll-padding-top:78px}.topline{font-size:9px;justify-content:center}.topline>a{display:none}header{height:78px;padding:0 5%}.brand>span{font-size:19px}.brand small{font-size:7px;letter-spacing:1.5px}.brand img{width:43px;height:34px}.menu{display:flex;align-items:center;gap:10px;border:0;background:transparent;font-size:11px;padding:10px}nav{display:none;position:absolute;top:78px;left:0;right:0;background:var(--paper);padding:20px 6%;box-shadow:0 10px 15px #0001;align-items:stretch;gap:0}nav.open{display:flex;flex-direction:column}nav a{padding:13px 5px;border-bottom:1px solid var(--line)}nav .nav-donate{padding:13px;margin-top:10px}.hero{grid-template-columns:1fr}.hero-copy{padding:45px 6% 30px}.hero h1{font-size:76px;letter-spacing:-2.7px}.hero .eyebrow{font-size:9px}.intro{font-size:14px;max-width:100%;margin:22px 0}.hero-foot{margin-top:27px}.hero-image{height:340px;min-height:0}.hero-image>img{object-position:center 43%}.image-caption{bottom:24px;left:6%}.image-caption strong{font-size:29px}.image-caption>span{font-size:8px;margin-bottom:9px}.visit-strip{padding:30px 6%;grid-template-columns:1fr;gap:23px}.visit-strip>div:nth-child(3){padding-right:48px}.visit-strip h2{font-size:34px}.visit-strip p{font-size:12px}.visit-strip .circle-link{right:6%;bottom:75px}.calendar-link{font-size:11px}.section{padding:55px 6%}.about,.community,.donate,.contact{grid-template-columns:1fr;gap:30px}h2{font-size:48px}.about-copy .large,.large{font-size:20px}.about-copy>p+p{font-size:14px}.section-heading{display:block}.section-heading>p,.section-heading>.text-link{margin-top:20px}.resource-grid{grid-template-columns:1fr}.resource{min-height:290px;padding:25px}.resource h3{font-size:38px;max-width:330px}.resource p{font-size:13px;max-width:370px}.featured{min-height:340px}.resource-bottom{font-size:11px}.community{padding-top:0}.community-photo img{height:360px}.community-copy>p:not(.eyebrow){font-size:14px}.media-links h3{font-size:25px}.media-links>a{gap:15px}.media-icon{flex-shrink:0;width:43px;height:43px;font-size:24px}.media-links p{font-size:11px}.media-links b{font-size:19px}.giving{margin-top:0}.donate p{font-size:14px}.contact{gap:25px}.contact .actions{gap:20px}.footer-top{align-items:flex-start;gap:30px;flex-wrap:wrap}.footer-top>p{font-size:30px}.footer-top>.text-link{font-size:11px}.footer-bottom{flex-direction:column;gap:20px;font-size:10px}.footer-bottom>div{gap:22px}.eyebrow{font-size:9px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.arrow{width:15px;height:15px;display:inline-block;vertical-align:middle;flex-shrink:0}.circle-link .arrow{width:22px;height:22px}.resource-top .arrow,.give-option .arrow,.media-links b .arrow{width:23px;height:23px}.seal{display:flex;align-items:center}

/* Photo-free landing page and horizontally mirrored emblems. */

.hero{display:block;min-height:0}
.hero-copy{max-width:1100px;margin:0 auto;padding:70px 7% 45px}
.hero .intro{max-width:660px}
.hero-foot{max-width:660px}
.community{display:block;padding-top:40px}
.community-copy{max-width:900px}
.community-copy>p:not(.eyebrow){max-width:660px}
@media(max-width:760px){.hero-copy{padding:45px 6% 30px}.community{padding-top:20px}}

.brand img{width:72px;height:72px;object-fit:contain;transform:none;margin:-8px}
.seal img{width:48px;height:48px;object-fit:contain;margin:-8px}
@media(max-width:760px){.brand img{width:56px;height:56px;margin:-6px}}

body.admin-bar header{top:32px}.elementor-widget-mmgvl-section{margin:0!important}.elementor-widget-mmgvl-section>.elementor-widget-container{margin:0;padding:0}.elementor-section .elementor-container{max-width:none} .elementor-widget-mmgvl-section .section{width:100%}
@media(max-width:782px){body.admin-bar header{top:46px}}
