/* EmmaShree Garment: logo-inspired red, navy, and white. */
:root {
    --brand-red: #c92027;
    --brand-red-dark: #a71821;
    --brand-navy: #14285c;
    --brand-navy-dark: #0c193b;
    --ink: #15213c;
    --muted: #626f89;
    --green: var(--brand-navy);
    --green-dark: var(--brand-navy-dark);
    --dark: var(--brand-navy-dark);
    --sage: #edf1fa;
    --cream: #f7f8fc;
    --line: #dfe5f0;
    --red: var(--brand-red);
    --blue: #254b96;
    --shadow: 0 22px 65px rgba(20,40,92,.1);
}
body { color:var(--ink); }
h1,h2,h3 { color:var(--brand-navy); }
.site-header { background:rgba(255,255,255,.97); border-top:3px solid var(--brand-red); border-bottom:1px solid var(--line); }
.brand { flex-shrink:0; }
.brand-logo { display:block; width:184px; height:58px; object-fit:contain; }
.nav-shell { height:80px; gap:14px; }
.mobile-nav { top:83px; }
.desktop-nav { gap:17px; }
.desktop-nav a { color:#475371; }
.desktop-nav a:hover,.desktop-nav a[aria-current=page] { color:var(--brand-red); text-decoration-color:var(--brand-red); }
.button,.primary { background:var(--brand-red); border-color:var(--brand-red); box-shadow:0 7px 20px #c9202714; }
.button:hover,.primary:hover { background:var(--brand-red-dark); border-color:var(--brand-red-dark); box-shadow:0 10px 24px #c9202724; }
.button-outline { background:#fff; color:var(--brand-navy); border-color:#c9d3e7; box-shadow:none; }
.button-outline:hover { background:var(--sage); color:var(--brand-navy); border-color:var(--brand-navy); }
.button-light { background:#fff; border-color:#fff; color:var(--brand-navy); box-shadow:none; }
.button-light:hover { background:#edf1fa; border-color:#edf1fa; color:var(--brand-navy); }
.header-cart b,.mobile-dock b { background:var(--brand-red); }
.hero { background:linear-gradient(125deg,#fff 15%,#f2f5fc 70%,#fceff0); }
.hero h1 em { color:var(--brand-red); }
.hero-glow-one { background:#e4eaf9; }
.hero-glow-two { border-color:#f4dadd; }
.eyebrow { background:#fff; border-color:#dae2f3; color:var(--brand-navy); }
.eyebrow>span { background:var(--brand-red); box-shadow:0 0 0 4px #c9202710; }
.hero-image-wrap { background:#fff; border-color:#e1e6f2; transform:none; }
.hero-image-wrap::before { background:#e3e9f6; }
.kicker,.section-heading .eyebrow { color:var(--brand-red); }
.feature-icon { color:var(--brand-navy); background:#edf1fa; }
.feature-number { color:#dce3f2; }
.product-visual-sage,.store-product-image { background:linear-gradient(145deg,#f6f8fd,#e4eaf7); }
.product-visual-sand { background:linear-gradient(145deg,#fff6f6,#f4e3e6); }
.product-visual-slate { background:linear-gradient(145deg,#f4f6fc,#dce4f5); }
.collection-links a { background:#f4f6fb; }
.collection-links a.collection-sale { background:#fff0f1; border-color:#f0cdd0; }
.sale-section { background:#fff7f7; }
.sale-poster { background:#f8e6e8; border:1px solid #f0d4d7; }
.sale-poster h2 { color:var(--brand-navy); }
.sale-poster h2 em,.sale-highlight { color:var(--brand-red); }
.sale-poster p { color:#775860; }
.sale-poster-art { background:radial-gradient(circle,#fff 0%,#f8e6e8 70%); }
.sale-orbit { background:var(--brand-red); }
.sale-clock>span { border-color:#efcdd1; }
.sale-countdown { color:#a31c24; background:#fff1f2; border-color:#f0c4c9; }
.sale-countdown-expired { background:#f2f4f8; border-color:var(--line); color:var(--muted); }
.offer-deadline { color:#a31c24!important; background:#fff1f2; }
.store-product-image>span { color:var(--brand-red); }
.sports-intro,.school-bulk-inner,.custom-order-banner,.cta-strip { background:linear-gradient(120deg,#14285c,#203d7d); color:#fff; }
.sports-intro h2,.school-bulk-inner h2,.custom-order-banner h2,.cta-strip h2 { color:#fff; }
.sports-intro h2 em,.school-bulk-inner em { color:#f6b8bd; }
.sports-intro .kicker,.school-bulk-inner .kicker { color:#ffb9bf; }
.sports-intro p,.school-bulk-inner p,.custom-order-banner p,.cta-strip p { color:#dce4f6; }
.sports-number { color:#a6b9e6; }
.audience-card { background:#eaf0fb; }
.audience-women { background:#fbecee; }
.audience-kids { background:#eef0fc; }
.uniform-section,.uniform-landing-hero { background:#f3f6fc; }
.uniform-form,.checkout-card { border:1px solid #dfe5f0; }
.uniform-types span { border-color:#c7d3ea; }
.school-project-section,.school-bulk-banner { background:#f7f8fc; }
.uniform-partner-card { background:#fff; border-color:#e0e6f1; }
.uniform-partner-card:hover { box-shadow:0 12px 30px #14285c0c; }
.preview-panel { background:radial-gradient(circle at 50% 42%,#fff 0 15%,#f0f3fa 55%,#e5ebf6); }
.preview-panel::before { color:#14285c06; }
.preview-orbit { border-color:#14285c1c; }
.layer-controls,.custom-fabric-color { background:#f6f8fc; }
.design-download { border-color:#e8b9bf; background:#fff6f7; }
.design-side-tabs { background:#edf1fa; }
.view-switch button[aria-pressed=true],.design-side-tabs button[aria-pressed=true] { background:var(--brand-navy); color:#fff; }
.price-box { background:#f2f5fc; border-color:#dbe3f2; }
.place-order { background:var(--brand-red); }
.category-pills a[aria-current],.category-pills a:hover { background:var(--brand-navy); }
.store-buy button,.add-cart-row button,.quick-order button { background:var(--brand-red); border-color:var(--brand-red); color:#fff; }
.text-link { color:var(--brand-navy); }
.site-footer { background:#fff; border-top:1px solid var(--line); }
.site-footer .brand-logo { width:205px; height:65px; }
.mobile-dock { border-color:#dfe5f0; }
.mobile-dock a.active { color:var(--brand-red); }
.dock-design i { background:var(--brand-red); box-shadow:0 7px 18px #c9202733; }
:where(a,button,input,select,textarea):focus-visible { outline-color:#3155a4; }
/* Admin workspace and authentication. */
.sidebar { background:linear-gradient(180deg,#14285c,#0b1738); color:#fff; }
.admin-brand { justify-content:center; padding:7px 10px; border-radius:12px; background:#fff; }
.admin-brand .brand-logo { width:190px; height:62px; }
.sidebar nav a { color:#c4cfea; }
.sidebar nav a:hover,.sidebar nav a.active { color:#fff; background:#ffffff12; }
.sidebar nav a.active { box-shadow:inset 3px 0 #f36d76; }
.sidebar-bottom a,.sidebar-bottom button { color:#c4cfea; }
.topbar { border-color:#dfe5f0; }
.avatar { background:var(--brand-red); }
.page-head p,.login-copy p { color:var(--brand-red); }
.panel,.stats-grid article { border-color:#e0e6f1; box-shadow:0 6px 22px #14285c05; }
.stat-icon.green { color:var(--brand-navy); background:#edf1fa; }
.uniform-admin-tabs a[aria-current=page] { color:#fff; background:var(--brand-navy); border-color:var(--brand-navy); }
.uniform-admin-tabs span { background:#e8edf9; color:var(--brand-navy); }
.login-page { background:radial-gradient(ellipse at 15% 15%,#f9dfe2,transparent 55%),linear-gradient(145deg,#f6f8fd,#e1e8f7); }
.login-card { border-top:4px solid var(--brand-red); box-shadow:0 25px 70px #14285c1c; }
.admin-gallery-image { background:#f3f5fb; }
@media(max-width:1100px) and (min-width:981px) { .desktop-nav { gap:11px; } .brand-logo { width:166px; } }
@media(max-width:640px) { .nav-shell { height:72px; } .mobile-nav { top:75px; } .brand-logo { width:168px; height:54px; } .hero-image-wrap { border-radius:20px; } .hero-image-wrap::before { inset:15px -8px -8px 15px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }

/* Bright, readable garment services. */
.capabilities-section { padding:80px 0; color:var(--ink); background:linear-gradient(180deg,#f5f7fc,#fff); border-top:1px solid #e7ebf4; border-bottom:1px solid #e7ebf4; }
.capabilities-section .capabilities-intro { grid-template-columns:1.2fr .8fr; align-items:center; gap:48px; margin-bottom:32px; }
.capabilities-section .kicker { display:inline-block; color:var(--brand-red); background:#fff0f1; border:1px solid #f1d3d6; border-radius:24px; padding:7px 12px; font-size:11px; letter-spacing:1.2px; }
.capabilities-section h2 { color:var(--brand-navy); margin-top:18px; font-size:clamp(30px,3.6vw,46px); line-height:1.15; }
.capabilities-summary p { margin:0 0 18px; color:#4b5975; font-size:16px; line-height:1.75; max-width:390px; }
.capabilities-section .capability-grid { gap:18px; border:0; border-radius:0; grid-template-columns:repeat(4,minmax(0,1fr)); }
.capabilities-section .capability-grid article { padding:26px 22px; min-height:250px; border:1px solid #dfe5f0; border-top:3px solid var(--brand-red); border-radius:14px; background:#fff; box-shadow:0 8px 26px #14285c08; }
.capabilities-section .capability-grid article:nth-child(even) { border-top-color:var(--brand-navy); }
.capability-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:26px; }
.capability-top svg { width:48px; height:48px; padding:9px; border-radius:12px; color:var(--brand-red); background:#fff0f1; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.capability-grid article:nth-child(even) .capability-top svg { color:var(--brand-navy); background:#edf1fa; }
.capability-top span { color:#63718c; font-size:12px; font-weight:700; letter-spacing:1px; }
.capabilities-section .capability-grid h3 { color:var(--brand-navy); font-size:19px; line-height:1.3; margin:0 0 12px; }
.capabilities-section .capability-grid p { color:#4b5975; font-size:14px; line-height:1.75; }
@media(max-width:980px) { .capabilities-section .capability-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .capabilities-section .capabilities-intro { gap:28px; } }
@media(max-width:640px) { .capabilities-section { padding:48px 0; } .capabilities-section .capabilities-intro { grid-template-columns:1fr; gap:18px; } .capabilities-section .capability-grid { grid-template-columns:1fr; gap:14px; } .capabilities-section .capability-grid article { min-height:0; padding:22px; } .capability-top { margin-bottom:18px; } }

/* Responsive image frames: override the source images' fixed HTML heights. */
.hero-media { min-width:0; width:100%; max-width:560px; justify-self:end; }
.hero-image-wrap { padding:12px; overflow:hidden; }
.hero-image-wrap::before { display:none; }
.hero-image-wrap img { display:block; width:100%; height:auto; aspect-ratio:5 / 4; max-height:430px; object-fit:contain; object-position:center; border-radius:17px; background:#f4f6fb; }
.blog-grid { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; }
.blog-card { min-width:0; }
.blog-card summary>img { display:block; width:100%; height:auto; aspect-ratio:16 / 10; max-height:250px; object-fit:contain; object-position:center; padding:12px; border-radius:12px; background:linear-gradient(135deg,#f4f6fb,#edf1f9); }
@media(max-width:980px) { .hero-media { width:100%; max-width:560px; justify-self:center; margin:0 auto; } .hero-image-wrap img { aspect-ratio:4 / 3; max-height:380px; } .blog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .hero-image-wrap { padding:8px; } .hero-image-wrap img { aspect-ratio:4 / 3; max-height:290px; border-radius:14px; } .blog-grid { grid-template-columns:1fr; gap:20px; } .blog-card summary>img { aspect-ratio:16 / 9; max-height:230px; padding:10px; } }

/* Preserve the full source image; control size through the frame width. */
.hero-image-wrap { overflow:visible; }
.hero-image-wrap img { display:block; width:100%; height:auto; aspect-ratio:auto; max-height:none; object-fit:contain; padding:0; background:transparent; }
.hero-media { width:100%; max-width:440px; }
.blog-card summary>img { display:block; width:100%; height:auto; aspect-ratio:auto; max-height:none; object-fit:contain; padding:0; background:transparent; }
@media(max-width:980px) { .hero-media { width:100%; max-width:420px; } }
@media(max-width:600px) { .hero-media { max-width:340px; } }

/* Journal cards and articles keep the entire uploaded image visible. */
.journal-card { border:1px solid var(--line); border-radius:17px; background:#fff; overflow:hidden; box-shadow:0 8px 28px #14285c07; min-width:0; }
.journal-card-link { display:block; color:inherit; }
.journal-card-link>img { display:block; width:100%; height:auto; max-height:none; aspect-ratio:auto; object-fit:contain; }
.journal-card-copy { padding:23px; }
.journal-card-copy .kicker { font-size:10px; line-height:1.6; }
.journal-card-copy h3 { font-size:22px; line-height:1.3; margin:12px 0; }
.journal-card-copy p { color:var(--muted); font-size:14px; line-height:1.7; }
.journal-read { color:var(--brand-red); font-size:13px; font-weight:700; }
.journal-card-link:hover h3 { color:var(--brand-red); }
.journal-heading { padding-top:60px; padding-bottom:35px; }
.journal-heading h1 { font-size:clamp(34px,5vw,56px); letter-spacing:-1.8px; margin:16px 0; }
.journal-heading p { color:var(--muted); font-size:16px; }
.journal-list { padding-bottom:70px; }
.journal-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:20px; margin-top:35px; color:var(--muted); }
.journal-article { width:min(820px,calc(100% - 40px)); margin:50px auto 70px; }
.journal-meta { display:flex; flex-wrap:wrap; gap:15px; margin:30px 0 18px; color:var(--brand-red); font-size:12px; }
.journal-article h1 { font-size:clamp(30px,4.5vw,49px); line-height:1.16; letter-spacing:-1.4px; }
.journal-excerpt { color:var(--muted); font-size:18px; line-height:1.75; }
.journal-cover { display:block; width:100%; height:auto; max-height:none; object-fit:contain; border-radius:17px; margin:30px auto; }
.journal-body { max-width:720px; margin:35px auto; }
.journal-body p { font-size:17px; line-height:1.9; white-space:pre-line; overflow-wrap:anywhere; margin:0 0 24px; }
.journal-article-footer { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; border-top:1px solid var(--line); padding-top:25px; }
.blog-editor .blog-body-input { line-height:1.8; min-height:400px; resize:vertical; }
.admin-blog-cover { width:100%; height:auto; object-fit:contain; border-radius:12px; margin-bottom:20px; }
.blog-editor .full-button+.full-button { margin-top:10px; }
@media(max-width:1100px) and (min-width:981px) { .desktop-nav { gap:9px; } .desktop-nav a { font-size:11px; } }
@media(max-width:600px) { .journal-article { margin-top:30px; } .journal-card-copy { padding:20px; } .journal-article h1 { letter-spacing:-.7px; } }
