@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&display=swap');

:root {
  --emp-ink: #1a3346;
  --emp-muted: #53616b;
  --emp-paper: #fbfbf8;
  --emp-cream: #f3f3ee;
  --emp-pink: #ffdc37;
  --emp-pink-dark: #665300;
  --emp-plum: #152f42;
  --emp-mint: #f7f4e5;
  --emp-line: #e2e4e2;
  --emp-white: #fff;
  --emp-shadow: 0 20px 55px rgba(55, 40, 48, 0.1);
}

/* Portal pages provide their own complete navigation and footer experience. */
html:has(.emp-app), body:has(.emp-app) { overflow-x: clip; }
body:has(.emp-app) { background: var(--emp-paper); }
body:has(.emp-app) > .wp-site-blocks > header.wp-block-template-part,
body:has(.emp-app) > .wp-site-blocks > footer.wp-block-template-part { display: none; }
body:has(.emp-app) > .wp-site-blocks > main,
body:has(.emp-app) > .wp-site-blocks > main > .emp-app { margin-block-start: 0 !important; padding-block-start: 0; }
body:has(.emp-app) main > .wp-block-group:has(.emp-app),
body:has(.emp-app) .entry-content:has(> .emp-app) { margin: 0 !important; max-width: none !important; padding: 0 !important; width: 100% !important; }
/* The block theme assigns its 645px reading width to shortcode output. */
body:has(.emp-app) .entry-content > .emp-app { max-width: 2200px !important; width: 100% !important; }
body:has(.emp-app) .entry-content > .emp-app--narrow { max-width: 1100px !important; }

.emp-app,
.emp-app * { box-sizing: border-box; }
.emp-app { color: var(--emp-ink); font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif; font-size: 16px; line-height: 1.6; margin: 0 auto; max-width: 2200px; padding: 0 32px 72px; position: relative; }
.emp-app a { color: inherit; text-decoration: none; }
.emp-app svg { display: inline-block; flex: 0 0 auto; height: 20px; width: 20px; }
.emp-app h1, .emp-app h2, .emp-app h3, .emp-app p { margin-top: 0; }
.emp-app h1, .emp-app h2, .emp-app h3 { color: var(--emp-plum); font-family: Fraunces, Georgia, serif; font-weight: 500; line-height: 1.1; }
.emp-app--narrow { max-width: 1100px; }
.emp-site-footer { background: transparent; box-sizing: border-box; color: #f4f6f5; font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif; font-size: .84rem; isolation: isolate; left: 50%; line-height: 1.5; margin: 0 !important; max-width: none !important; padding: 38px 32px 42px; position: relative; transform: translateX(-50%); width: 100vw !important; }
.emp-site-footer::before { background: var(--emp-plum); border-top: 4px solid var(--emp-pink); bottom: 0; content: ""; left: 50%; position: absolute; top: 0; transform: translateX(-50%); width: calc(100vw + 32px); z-index: -1; }
.emp-site-footer__inner { align-items: end; display: flex; gap: 32px; justify-content: space-between; margin: 0 auto; max-width: 2136px; }
.emp-site-footer__brand span { color: var(--emp-white); display: block; font-family: Fraunces, Georgia, serif; font-size: 1.85rem; line-height: 1.1; }
.emp-site-footer__brand small { color: var(--emp-pink); display: block; font-size: .7rem; font-weight: 750; letter-spacing: .13em; margin-top: 5px; text-transform: uppercase; }
.emp-site-footer__meta { text-align: right; }
.emp-site-footer p { margin: 0; }
.emp-site-footer a { color: var(--emp-pink); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.emp-site-footer a:hover, .emp-site-footer a:focus-visible { color: var(--emp-white); }
.emp-eyebrow { color: var(--emp-pink-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; margin-bottom: 10px; text-transform: uppercase; }

.emp-header { align-items: center; background: var(--emp-paper); display: grid; gap: 28px; grid-template-columns: minmax(250px,1fr) auto minmax(280px,1fr); margin: 0 auto; max-width: 2136px; min-height: 112px; position: relative; width: 100%; z-index: 12; }
.emp-brand { align-items: center; display: inline-flex; gap: 13px; justify-self: start; }
.emp-brand img { border: 1px solid rgba(11,45,69,.15); border-radius: 50%; height: 80px; object-fit: contain; width: 80px; }
.emp-brand__copy { max-width: 190px; }
.emp-brand strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.38rem; font-weight: 500; line-height: 1.08; }
.emp-brand small { color: var(--emp-pink-dark); display: block; font-size: .78rem; font-weight: 700; letter-spacing: 0; line-height: 1.2; margin-top: 4px; }
.emp-primary-nav { align-items: center; display: flex; gap: 21px; }
.emp-primary-nav > a { align-items: center; display: inline-flex; font-size: .9rem; font-weight: 700; gap: 6px; }
.emp-primary-nav > a:hover, .emp-primary-nav > a:focus-visible, .emp-link:hover, .emp-link:focus-visible { color: var(--emp-pink-dark); }
.emp-header__actions { align-items: center; display: flex; gap: 18px; justify-self: end; }
.emp-link { align-items: center; display: inline-flex; font-size: .9rem; font-weight: 650; gap: 7px; }
.emp-mobile-menu { display: none; }
.emp-desktop-categories { position: relative; }
.emp-desktop-categories > summary { align-items: center; cursor: pointer; display: flex; font-size: .9rem; font-weight: 700; gap: 3px; list-style: none; }
.emp-desktop-categories > summary::marker { content: ""; display: none; }
.emp-desktop-categories > summary::-webkit-details-marker { display: none; }
.emp-desktop-categories > summary .dashicons { font-size: 16px; height: 16px; transition: transform .2s ease; width: 16px; }
.emp-desktop-categories[open] > summary { color: var(--emp-pink-dark); }
.emp-desktop-categories[open] > summary .dashicons { transform: rotate(180deg); }
.emp-desktop-categories__panel { background: var(--emp-paper); border: 1px solid var(--emp-line); border-radius: 18px; box-shadow: 0 22px 60px rgba(11,45,69,.2); left: 50%; padding: 20px; position: absolute; top: calc(100% + 20px); transform: translateX(-50%); width: 520px; z-index: 20; }
.emp-desktop-categories__panel > p { color: var(--emp-pink-dark); font-size: .68rem; font-weight: 850; letter-spacing: .1em; margin: 0 0 11px; text-transform: uppercase; }
.emp-desktop-categories__panel nav { display: grid; gap: 8px; grid-template-columns: repeat(3,1fr); }
.emp-desktop-categories__panel nav a { align-items: center; background: var(--emp-white); border: 1px solid var(--emp-line); border-radius: 10px; display: flex; font-size: .72rem; font-weight: 700; gap: 7px; min-height: 42px; padding: 7px 9px; }
.emp-desktop-categories__panel nav a:hover, .emp-desktop-categories__panel nav a:focus-visible { border-color: var(--emp-pink); color: var(--emp-pink-dark); }
.emp-desktop-categories__panel .dashicons { color: var(--emp-plum); flex: 0 0 19px; font-size: 19px; height: 19px; width: 19px; }

.emp-button { align-items: center; background: var(--emp-pink); border: 0; border-radius: 999px; color: var(--emp-plum) !important; cursor: pointer; display: inline-flex; font: inherit; font-size: .94rem; font-weight: 750; gap: 8px; justify-content: center; min-height: 48px; padding: 12px 25px; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.emp-button:hover, .emp-button:focus-visible { background: #edc723; box-shadow: 0 8px 20px rgba(138, 111, 0, .2); transform: translateY(-1px); }
.emp-button--small { min-height: 42px; padding: 9px 18px; }
.emp-button--small svg { height: 17px; width: 17px; }
.emp-button--dark { background: var(--emp-plum); color: var(--emp-white) !important; }
.emp-button--light { background: var(--emp-white); color: var(--emp-plum) !important; }
.emp-button--outline { background: transparent; border: 1px solid var(--emp-plum); color: var(--emp-plum) !important; }

.emp-intro { background-color: var(--emp-plum); background-position: center; background-size: cover; border-radius: 0; min-height: 570px; overflow: hidden; padding: 64px 60px 138px; position: relative; }
.emp-intro::before { background: linear-gradient(90deg, rgba(6,31,48,.7) 0%, rgba(6,31,48,.54) 32%, rgba(6,31,48,.18) 56%, rgba(6,31,48,.02) 76%, rgba(6,31,48,0) 100%); content: ""; inset: 0; position: absolute; }
.emp-intro__content, .emp-search, .emp-intro__trust { position: relative; z-index: 1; }
.emp-intro__content { max-width: 720px; }
.emp-intro h1, .emp-form-heading h1, .emp-dashboard-heading h1, .emp-gate h1, .emp-account h1, .emp-auth h1 { font-size: clamp(2.6rem, 5.2vw, 5rem); letter-spacing: -.045em; margin: 0 0 20px; }
.emp-intro h1 { color: var(--emp-white); text-shadow: 0 2px 18px rgba(0,0,0,.34); }
.emp-intro h1 em { color: #ffe34b; font-weight: 400; }
.emp-intro .emp-eyebrow { color: #c5aa52; }
.emp-intro__content > p:last-child { color: rgba(255,255,255,.88); font-size: 1.12rem; margin-bottom: 0; max-width: 650px; }
.emp-intro__trust { bottom: 28px; color: rgba(255,255,255,.9); display: flex; font-size: .78rem; font-weight: 700; gap: 25px; left: 60px; position: absolute; }
.emp-intro__trust span + span { border-left: 1px solid rgba(255,255,255,.45); padding-left: 25px; }

.emp-search { background: #fff; border: 1px solid rgba(255,255,255,.95); border-radius: 22px; bottom: 58px; box-shadow: 0 24px 60px rgba(10,31,46,.2); display: grid; gap: 10px; grid-template-columns: 1.3fr .9fr auto; left: 60px; max-width: 1000px; padding: 17px; position: absolute; right: 60px; z-index: 2; }
.emp-search__heading { align-items: baseline; display: flex; gap: 12px; grid-column: 1 / -1; padding: 0 4px 3px; }
.emp-search__heading strong { color: var(--emp-plum); font-size: .99rem; font-weight: 800; }
.emp-search__heading span { color: var(--emp-muted); font-size: .78rem; }
.emp-search label { align-items: center; background: #f5f5f0; border: 1px solid #e4e7e3; border-radius: 13px; display: flex; min-width: 0; position: relative; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.emp-search label:focus-within { background: #fff; border-color: #d9b000; box-shadow: 0 0 0 3px rgba(255,220,55,.26); }
.emp-search label svg { color: var(--emp-plum); left: 17px; position: absolute; }
.emp-search input, .emp-search select { appearance: none; background: transparent; border: 0; color: var(--emp-ink); font: inherit; min-height: 54px; outline: none; padding: 8px 16px; width: 100%; }
.emp-search input { padding-left: 49px; }
.emp-search input::placeholder { color: #687178; opacity: 1; }
.emp-search select { cursor: pointer; font-weight: 650; }
.emp-search .emp-button { border-radius: 13px; min-height: 54px; padding-left: 28px; padding-right: 28px; }

.emp-category-rail { align-items: start; border-bottom: 1px solid var(--emp-line); display: flex; gap: 8px; justify-content: space-between; overflow-x: auto; padding: 28px 8px 26px; scrollbar-width: none; -ms-overflow-style: none; }
.emp-category-rail::-webkit-scrollbar { display: none; }
.emp-category-rail a { align-items: center; color: var(--emp-muted); display: flex; flex: 0 0 82px; flex-direction: column; font-size: .7rem; gap: 8px; line-height: 1.25; text-align: center; }
.emp-category-rail a > .dashicons { align-items: center; background: #f3f3ee; border: 1px solid #e6e7e2; border-radius: 50%; color: var(--emp-ink); display: flex; font-size: 24px; height: 58px; justify-content: center; transition: background .2s ease, color .2s ease, transform .2s ease; width: 58px; }
.emp-category-rail a:hover > .dashicons, .emp-category-rail a:focus-visible > .dashicons, .emp-category-rail a.is-active > .dashicons { background: var(--emp-pink); color: var(--emp-plum); transform: translateY(-2px); }
.emp-category-rail a.is-active { color: var(--emp-ink); }
.emp-category-rail strong { font-weight: 700; }

.emp-section-heading { align-items: end; display: flex; justify-content: space-between; padding: 56px 0 22px; }
.emp-section-heading h2, .emp-community-cta h2, .emp-dashboard-heading h1 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 0; }
.emp-listing-section--category .emp-section-heading h2 { font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif; font-weight: 800; letter-spacing: -.035em; }
.emp-section-heading > span { color: var(--emp-muted); font-size: .9rem; }
.emp-section-description { color: var(--emp-muted); font-size: .98rem; line-height: 1.45; margin: 8px 0 0; max-width: 42rem; }
.emp-grid { display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.emp-card { background: #fff; border: 1px solid var(--emp-line); border-radius: 18px; box-shadow: 0 8px 28px rgba(21,47,66,.06); display: flex; flex-direction: column; min-width: 0; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.emp-card:hover { box-shadow: var(--emp-shadow); transform: translateY(-3px); }
.emp-card__media { position: relative; }
.emp-card__image { background-color: #f3f3ee; display: block; }
.emp-card__image img { display: block; height: auto; width: 100%; }
.emp-card__image--empty { background-color: #f3f3ee; background-image: url('../images/exeter-hub-logo.png'); background-position: center; background-repeat: no-repeat; background-size: 112px; height: 225px; }
.emp-card__favourite { align-items: center; background: rgba(255,255,255,.96); border: 1px solid rgba(11,45,69,.1); border-radius: 50%; box-shadow: 0 5px 16px rgba(11,45,69,.16); color: var(--emp-ink); cursor: pointer; display: flex; height: 40px; justify-content: center; padding: 0; position: absolute; right: 12px; top: 12px; transition: color .2s ease, transform .2s ease; width: 40px; z-index: 2; }
.emp-card__favourite:hover, .emp-card__favourite:focus-visible { color: var(--emp-pink-dark); transform: scale(1.06); }
.emp-card__favourite.is-active { background: var(--emp-pink); color: var(--emp-plum); }
.emp-card__favourite.is-active svg { fill: currentColor; }
.emp-card__top { align-items: center; display: flex; gap: 14px; justify-content: space-between; min-height: 116px; position: relative; }
.emp-card__logo { align-items: center; background: var(--emp-white); border: 5px solid var(--emp-white); border-radius: 50%; box-shadow: 0 0 0 2px #dcc85e, 0 11px 25px rgba(21,47,66,.13); display: flex; flex: 0 0 94px; height: 94px; justify-content: center; position: relative; transition: transform .25s ease; width: 94px; z-index: 1; }
.emp-card:hover .emp-card__logo { transform: translateY(-3px); }
.emp-card__logo img { border-radius: 50%; display: block; height: 100%; object-fit: contain; width: 100%; }
.emp-card__body { display: flex; flex: 1; flex-direction: column; padding: 17px 19px 19px; }
.emp-card__category { color: var(--emp-pink-dark) !important; font-size: .74rem; font-weight: 800; letter-spacing: .08em; position: relative; text-transform: uppercase; z-index: 1; }
.emp-card h3 { font-size: 1.28rem; margin: 7px 0 9px; min-height: 2.6em; }
.emp-card h3 a:hover { color: var(--emp-pink-dark); }
.emp-card__body > p { color: var(--emp-muted); display: -webkit-box; flex: 1; font-size: .84rem; margin-bottom: 14px; min-height: 54px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.emp-card__meta { align-items: center; border-top: 1px solid var(--emp-line); color: var(--emp-muted); display: flex; font-size: .78rem; gap: 12px; justify-content: space-between; padding-top: 15px; }
.emp-card__meta span { align-items: center; display: inline-flex; gap: 4px; }
.emp-card__meta svg { height: 15px; width: 15px; }
.emp-card__action { align-items: center; align-self: flex-start; background: var(--emp-plum); border-radius: 999px; color: var(--emp-white) !important; display: inline-flex; font-size: .76rem; font-weight: 750; gap: 9px; margin-top: 14px; padding: 8px 14px; }
.emp-card__action:hover { background: #31536a; }

.emp-empty { align-items: center; background: var(--emp-cream); border: 1px dashed #cbd1ce; border-radius: 16px; display: flex; flex-direction: column; grid-column: 1 / -1; min-height: 330px; padding: 64px 24px; text-align: center; }
.emp-empty > span { align-items: center; background: var(--emp-white); border-radius: 50%; color: var(--emp-plum); display: flex; height: 58px; justify-content: center; margin-bottom: 18px; width: 58px; }
.emp-empty h3 { font-size: 1.7rem; margin-bottom: 8px; }
.emp-empty p { color: var(--emp-muted); max-width: 480px; }
.emp-pagination { display: flex; justify-content: center; padding: 35px 0; }
.emp-pagination .page-numbers { align-items: center; border: 1px solid var(--emp-line); border-radius: 50%; display: inline-flex; height: 42px; justify-content: center; margin: 0 4px; min-width: 42px; }
.emp-pagination .current { background: var(--emp-plum); color: #fff; }

.emp-community-cta { align-items: center; background: var(--emp-plum); border: 1px solid #31536a; border-radius: 26px; color: var(--emp-white); display: flex; justify-content: space-between; margin-top: 75px; overflow: hidden; padding: 52px 58px; position: relative; }
.emp-community-cta::after { border: 1px solid rgba(255,220,55,.24); border-radius: 50%; content: ""; height: 270px; position: absolute; right: -110px; top: -125px; width: 270px; }
.emp-community-cta h2 { color: var(--emp-white); margin: 0 0 12px; max-width: 610px; }
.emp-community-cta p:last-child { color: #e1e7e9; margin-bottom: 0; max-width: 640px; }
.emp-community-cta .emp-eyebrow { color: var(--emp-pink); }
.emp-community-cta .emp-button { background: var(--emp-pink); color: var(--emp-plum) !important; flex: 0 0 auto; margin-left: 35px; position: relative; z-index: 1; }
.emp-community-cta .emp-button:hover, .emp-community-cta .emp-button:focus-visible { background: #edc723; }

.emp-notice { border-radius: 12px; margin-top: 22px; padding: 14px 18px; }
.emp-notice--success { background: #e1f2e8; color: #245c3a; }
.emp-notice--error { background: #fbe4e8; color: #8d1e39; }
.emp-form-heading { max-width: 750px; padding: 68px 0 30px; }
.emp-form-heading h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); }
.emp-form-heading > p:last-child, .emp-dashboard-heading p, .emp-gate p, .emp-account p, .emp-auth > section > p { color: var(--emp-muted); }
.emp-form { background: var(--emp-white); border: 1px solid var(--emp-line); border-radius: 22px; box-shadow: var(--emp-shadow); overflow: hidden; }
.emp-form__section { border-bottom: 1px solid var(--emp-line); display: grid; gap: 36px; grid-template-columns: 180px 1fr; padding: 38px; }
.emp-form__section > div:first-child span { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.25rem; font-weight: 600; }
.emp-form__section > div:first-child small { color: var(--emp-muted); }
.emp-fields { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.emp-field { display: flex; flex-direction: column; gap: 7px; }
.emp-field--full { grid-column: 1 / -1; }
.emp-field > span { font-size: .86rem; font-weight: 750; }
.emp-field input, .emp-field select, .emp-field textarea { background: var(--emp-paper); border: 1px solid var(--emp-line); border-radius: 10px; color: var(--emp-ink); font: inherit; min-height: 50px; padding: 12px 14px; width: 100%; }
.emp-field textarea { line-height: 1.6; resize: vertical; }
.emp-field input:focus, .emp-field select:focus, .emp-field textarea:focus { border-color: #d9b000; box-shadow: 0 0 0 3px rgba(255,220,55,.26); outline: none; }
.emp-field small { color: var(--emp-muted); font-size: .78rem; }
.emp-form__actions { align-items: center; display: flex; justify-content: flex-end; gap: 24px; padding: 25px 38px; }
.emp-form__actions > a { color: var(--emp-muted); font-size: .9rem; text-decoration: underline; }

.emp-gate { align-items: center; background: var(--emp-cream); border-radius: 24px; display: flex; flex-direction: column; margin: 70px auto 0; max-width: 720px; padding: 70px 35px; text-align: center; }
.emp-gate > span { align-items: center; background: var(--emp-white); border-radius: 50%; color: var(--emp-plum); display: flex; height: 64px; justify-content: center; margin-bottom: 20px; width: 64px; }
.emp-gate h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 14px; }
.emp-gate p { max-width: 510px; }

.emp-dashboard-heading { align-items: end; display: flex; gap: 32px; justify-content: space-between; padding: 65px 0 28px; }
.emp-dashboard-heading p:last-child { margin-bottom: 0; }
.emp-dashboard-list { display: grid; gap: 13px; }
.emp-dashboard-list article { align-items: center; background: var(--emp-white); border: 1px solid var(--emp-line); border-radius: 16px; display: grid; gap: 20px; grid-template-columns: 90px 1fr auto; padding: 14px; }
.emp-dashboard-list__thumb { background-color: #e6ecee; background-position: center; background-size: cover; border-radius: 10px; height: 78px; width: 90px; }
.emp-dashboard-list h2 { font-size: 1.3rem; margin: 4px 0; }
.emp-dashboard-list article p { color: var(--emp-muted); font-size: .8rem; margin: 0; }
.emp-status { border-radius: 999px; display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .06em; padding: 3px 8px; text-transform: uppercase; }
.emp-status--publish { background: #dff1e5; color: #276440; }
.emp-status--pending { background: #fff0cc; color: #7d5700; }
.emp-status--draft { background: #ececf0; color: #555866; }
.emp-dashboard-list__actions { align-items: center; display: flex; gap: 7px; }
.emp-dashboard-list__actions a, .emp-dashboard-list__actions button { align-items: center; background: transparent; border: 0; border-radius: 8px; color: var(--emp-muted); cursor: pointer; display: inline-flex; font: inherit; font-size: .84rem; gap: 5px; padding: 9px; }
.emp-dashboard-list__actions button:hover { color: #a11637; }
.emp-dashboard-list__actions a:hover { color: var(--emp-pink-dark); }
.emp-dashboard-list__actions svg { height: 16px; width: 16px; }

.emp-auth { display: grid; gap: 0; grid-template-columns: 1fr 1fr; margin-top: 65px; }
.emp-auth > section { padding: 50px; }
.emp-auth > section:first-child { background: var(--emp-paper); border: 1px solid var(--emp-line); border-radius: 22px 0 0 22px; }
.emp-auth > section:last-child { background: var(--emp-mint); border-radius: 0 22px 22px 0; }
.emp-auth h1, .emp-auth h2 { font-size: 2.7rem; margin-bottom: 12px; }
.emp-form--compact { background: transparent; border: 0; box-shadow: none; display: flex; flex-direction: column; gap: 18px; overflow: visible; }
.emp-form--compact .emp-button { align-self: flex-start; }
.emp-auth__reset { color: var(--emp-pink-dark) !important; font-size: .86rem; text-decoration: underline !important; }
.emp-check { align-items: flex-start; cursor: pointer; display: flex; font-size: .83rem; gap: 10px; }
.emp-check input { accent-color: var(--emp-pink); margin-top: 4px; }

.emp-account { padding: 65px 0; }
.emp-account__intro { align-items: center; border-bottom: 1px solid var(--emp-line); display: flex; gap: 22px; margin-bottom: 35px; padding-bottom: 32px; }
.emp-account__intro > span { align-items: center; background: var(--emp-pink); border-radius: 50%; color: var(--emp-plum); display: flex; font-family: Fraunces, Georgia, serif; font-size: 2rem; height: 72px; justify-content: center; width: 72px; }
.emp-account h1 { font-size: 3rem; margin-bottom: 6px; }
.emp-account__intro p { margin-bottom: 0; }
.emp-account .emp-form--compact { max-width: 720px; }
.emp-account .emp-form__actions { padding-left: 0; padding-right: 0; }

.emp-single { font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif; font-size: 16px; line-height: 1.7; }
body.emp-single-page { background: var(--emp-paper); margin: 0; }
.emp-app--single { max-width: none; min-height: 100vh; padding-bottom: 72px; }
.emp-app--single .emp-site-footer { margin-top: 68px; }
.emp-app--single > .emp-header { border-bottom: 1px solid var(--emp-line); }
.emp-single-page__main { margin: 0 auto; max-width: 920px; padding: 48px 0 0; }
.emp-single-page__breadcrumb { align-items: center; color: var(--emp-muted); display: flex; font-size: .84rem; gap: 10px; margin-bottom: 35px; }
.emp-single-page__breadcrumb a { color: var(--emp-plum); font-weight: 750; }
.emp-single-page__breadcrumb a:hover, .emp-single-page__breadcrumb a:focus-visible { color: var(--emp-pink-dark); text-decoration: underline; }
.emp-single-page__heading { margin-bottom: 28px; }
.emp-single-page__heading h1 { font-size: clamp(2.45rem, 5vw, 4.5rem); letter-spacing: -.045em; margin: 0; }
.emp-single-page__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.emp-single-page__actions form { margin: 0; }
.emp-single-page__actions .dashicons { font-size: 18px; height: 18px; width: 18px; }
.emp-single-page__delete { background: transparent; border: 1px solid #b73c4d; color: #9f2b3b !important; }
.emp-single-page__delete:hover { background: #fff0f2; }
.emp-single-page__media { background: var(--emp-white); border: 1px solid var(--emp-line); border-radius: 18px; margin: 0 0 32px; text-align: center; }
.emp-single-page__media > img { aspect-ratio: auto !important; border-radius: inherit; display: block; height: auto !important; max-height: none !important; max-width: 100% !important; object-fit: contain !important; width: auto !important; margin: 0 auto; }
.emp-single__content img { aspect-ratio: auto !important; height: auto !important; max-height: none !important; max-width: 100%; object-fit: contain !important; }
.emp-single-page__main > .emp-single { max-width: 760px; }
body.single-emp_listing .wp-block-post-featured-image img { aspect-ratio: auto !important; height: auto !important; object-fit: contain !important; width: 100% !important; }
.emp-single__meta { align-items: center; color: var(--emp-muted); display: flex; flex-wrap: wrap; font-size: .84rem; gap: 10px 20px; margin-bottom: 28px; }
.emp-single__meta span { align-items: center; display: inline-flex; gap: 5px; }
.emp-single__meta span:first-child { background: var(--emp-mint); border-radius: 999px; color: var(--emp-pink-dark); font-weight: 750; padding: 5px 11px; }
.emp-single__meta svg { height: 16px; width: 16px; }
.emp-single__content { color: var(--emp-ink); }
.emp-single aside { background: var(--emp-cream); border-radius: 18px; margin: 38px 0; padding: 30px; }
.emp-single aside h2 { color: var(--emp-plum); font-family: Fraunces, Georgia, serif; margin-bottom: 18px; }
.emp-single__contact { margin: 0 0 24px; }
.emp-single__contact > div { border-bottom: 1px solid var(--emp-line); padding: 12px 0; }
.emp-single__contact dt { color: var(--emp-muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.emp-single__contact dd { margin: 3px 0 0; overflow-wrap: anywhere; }
.emp-single__contact a { color: var(--emp-plum); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.emp-single__actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 760px) {
  .emp-site-footer::before { width: 100vw; }
  .emp-site-footer { font-size: .77rem; padding: 30px 22px 34px; }
  .emp-site-footer__inner { align-items: flex-start; flex-direction: column; gap: 23px; }
  .emp-site-footer__brand span { font-size: 1.6rem; }
  .emp-site-footer__meta { text-align: left; }
  .emp-app--single .emp-site-footer { margin-top: 44px; }
  .emp-app--single { padding-bottom: 48px; }
  .emp-single-page__main { padding-top: 30px; }
  .emp-single-page__breadcrumb { margin-bottom: 24px; }
  .emp-single-page__heading { margin-bottom: 22px; }
  .emp-single-page__media { border-radius: 12px; margin-bottom: 25px; }
}

@media (max-width: 1000px) {
  .emp-header { grid-template-columns: 1fr auto; }
	.emp-primary-nav { display: none; }
	.emp-grid { grid-template-columns: repeat(2, 1fr); }
	.emp-category-rail { justify-content: flex-start; }
}

@media (min-width: 761px) {
  body:has(.emp-app) { overflow-x: clip; }
  .emp-intro { left: 50%; margin-left: -50vw; margin-right: -50vw; width: 100vw; }
  .emp-search { max-width: 900px; }
}

@media (min-width: 1900px) {
  .emp-intro { min-height: clamp(660px, 32vw, 940px); padding: clamp(80px, 5vw, 150px) max(60px, calc((100vw - 2200px)/2 + 40px)) 180px; }
  .emp-intro__content { max-width: 900px; }
  .emp-intro h1 { font-size: clamp(5rem, 4.2vw, 8rem); }
  .emp-intro__content > p:last-child { font-size: clamp(1.15rem, 1vw, 1.55rem); max-width: 780px; }
  .emp-search { bottom: 75px; left: max(60px, calc((100vw - 2200px)/2 + 40px)); max-width: 1120px; right: auto; width: min(1120px, calc(100vw - 120px)); }
  .emp-intro__trust { bottom: 33px; left: max(60px, calc((100vw - 2200px)/2 + 40px)); }
  .emp-category-rail { gap: 20px; padding: 34px 16px 32px; }
  .emp-category-rail a { flex-basis: 110px; font-size: .82rem; }
  .emp-category-rail a > .dashicons { height: 70px; width: 70px; }
  .emp-section-heading { padding-top: 72px; }
  .emp-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 3200px) {
  .emp-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .emp-card__image--empty { height: 260px; }
  .emp-card__body { padding: 22px 24px 24px; }
}

@media (max-width: 760px) {
  body:has(.emp-app) > .wp-site-blocks,
  body:has(.emp-app) > .wp-site-blocks > main,
  body:has(.emp-app) main > .wp-block-group:has(.emp-app),
  body:has(.emp-app) .entry-content:has(> .emp-app) { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; padding: 0 !important; width: 100% !important; }
  .emp-app { padding-left: 16px; padding-right: 16px; }
  .emp-header { background: rgba(255,255,252,.97); border: 1px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 16px 38px rgba(21,47,66,.16); gap: 10px; grid-template-columns: minmax(0,1fr) auto; left: 12px; min-height: 72px; padding: 8px 9px 8px 10px; position: absolute; right: auto; top: 12px; width: calc(100% - 24px); z-index: 10; }
  .emp-app:not(:has(.emp-intro)) .emp-header { left: auto; margin: 16px auto 0; position: relative; right: auto; top: auto; width: 100%; }
  .emp-brand { gap: 8px; min-width: 0; }
  .emp-brand img { height: 52px; width: 52px; }
  .emp-brand__copy { max-width: 138px; }
  .emp-brand strong { font-size: .88rem; }
  .emp-brand small { font-size: .63rem; letter-spacing: 0; white-space: nowrap; }
  .emp-header__actions { display: none; }
	.emp-desktop-categories { display: none; }
  .emp-mobile-menu { display: block; justify-self: end; position: static; }
  .emp-mobile-menu > summary { align-items: center; background: var(--emp-plum); border-radius: 999px; color: var(--emp-white); cursor: pointer; display: flex; font-size: .72rem; font-weight: 800; gap: 5px; justify-content: center; list-style: none; min-height: 46px; padding: 0 13px; text-transform: uppercase; }
  .emp-mobile-menu > summary::marker { content: ""; display: none; }
  .emp-mobile-menu > summary::-webkit-details-marker { display: none; }
  .emp-mobile-menu > summary .dashicons { font-size: 20px; height: 20px; width: 20px; }
  .emp-mobile-menu[open] > summary { background: #31536a; }
  .emp-mobile-menu__panel { background: var(--emp-paper); border: 1px solid var(--emp-line); border-radius: 18px; box-shadow: 0 24px 55px rgba(11,45,69,.3); left: 0; max-height: calc(100vh - 108px); overflow-y: auto; padding: 17px; position: absolute; right: 0; top: calc(100% + 8px); }
  .emp-mobile-menu__actions { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
  .emp-mobile-menu__actions a { align-items: center; background: var(--emp-plum); border-radius: 12px; color: var(--emp-white); display: flex; font-size: .78rem; font-weight: 750; gap: 6px; justify-content: center; min-height: 46px; padding: 8px; text-align: center; }
  .emp-mobile-menu__actions a:first-child { background: var(--emp-pink); color: var(--emp-plum); }
  .emp-mobile-menu__actions svg { height: 17px; width: 17px; }
  .emp-mobile-menu__links { border-bottom: 1px solid var(--emp-line); display: flex; gap: 20px; padding: 14px 2px; }
  .emp-mobile-menu__links a { font-size: .82rem; font-weight: 750; }
  .emp-mobile-menu__panel > p { color: var(--emp-pink-dark); font-size: .68rem; font-weight: 850; letter-spacing: .1em; margin: 15px 2px 10px; text-transform: uppercase; }
  .emp-mobile-menu__panel nav { display: grid; gap: 7px; grid-template-columns: 1fr 1fr; }
  .emp-mobile-menu__panel nav a { align-items: center; background: var(--emp-white); border: 1px solid var(--emp-line); border-radius: 11px; display: flex; font-size: .76rem; font-weight: 700; gap: 8px; min-height: 43px; padding: 7px 9px; }
  .emp-mobile-menu__panel nav .dashicons { color: var(--emp-plum); flex: 0 0 20px; font-size: 20px; height: 20px; width: 20px; }
	.emp-intro { background-image: url('../images/exeter-cathedral-hero-mobile.webp') !important; background-position: center top; margin-left: -16px; margin-right: -16px; min-height: 830px; padding: 126px 24px 274px; width: calc(100% + 32px); }
	.emp-intro::before { background: linear-gradient(90deg, rgba(6,31,48,.62) 0%, rgba(6,31,48,.36) 58%, rgba(6,31,48,0) 100%), linear-gradient(180deg, rgba(8,35,53,.03) 0%, rgba(8,35,53,.08) 58%, rgba(8,35,53,.35) 100%); }
	.emp-intro__content { max-width: 345px; }
	.emp-intro h1 { font-size: clamp(3.15rem, 14vw, 4rem); letter-spacing: -.05em; margin-bottom: 18px; }
	.emp-intro__content > p:last-child { font-size: 1rem; line-height: 1.55; max-width: 320px; }
	.emp-search { bottom: 55px; gap: 9px; grid-template-columns: 1fr; left: 20px; padding: 18px; right: 20px; }
	.emp-search__heading { align-items: flex-start; flex-direction: column; gap: 0; padding: 0 2px 5px; }
	.emp-search__heading strong { font-size: 1.02rem; }
	.emp-search__heading span { font-size: .73rem; }
	.emp-search .emp-button { width: 100%; }
	.emp-intro__trust { bottom: 20px; font-size: .68rem; gap: 12px; left: 22px; right: 22px; }
	.emp-intro__trust span + span { padding-left: 12px; }
	.emp-intro__trust span:last-child { display: none; }
	.emp-category-rail { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
	.emp-category-rail a { flex-basis: 82px; }
  .emp-grid { grid-template-columns: 1fr; }
  .emp-section-heading { align-items: flex-start; gap: 8px; padding-top: 52px; }
	.emp-section-description { font-size: .86rem; max-width: 260px; }
  .emp-card__image--empty { height: 270px; }
  .emp-card__top { min-height: 128px; }
  .emp-card__logo { flex-basis: 106px; height: 106px; width: 106px; }
  .emp-card__body { padding-top: 18px; }
  .emp-community-cta { align-items: flex-start; flex-direction: column; padding: 38px 28px; }
  .emp-community-cta .emp-button { margin: 24px 0 0; }
  .emp-form__section { grid-template-columns: 1fr; padding: 26px 20px; }
  .emp-fields { grid-template-columns: 1fr; }
  .emp-field--full { grid-column: auto; }
  .emp-form__actions { padding: 22px 20px; }
  .emp-dashboard-heading { align-items: flex-start; flex-direction: column; padding-top: 45px; }
  .emp-dashboard-list article { align-items: start; grid-template-columns: 72px 1fr; }
  .emp-dashboard-list__thumb { height: 66px; width: 72px; }
  .emp-dashboard-list__actions { grid-column: 1 / -1; justify-content: flex-end; }
  .emp-auth { grid-template-columns: 1fr; margin-top: 35px; }
  .emp-auth > section { padding: 35px 24px; }
  .emp-auth > section:first-child { border-radius: 20px 20px 0 0; }
  .emp-auth > section:last-child { border-radius: 0 0 20px 20px; }
  .emp-account__intro { align-items: flex-start; }
  .emp-account h1 { font-size: 2.35rem; }
}

@media (max-width: 360px) {
  .emp-header { gap: 6px; left: 8px; padding: 7px 8px; width: calc(100% - 16px); }
  .emp-brand { gap: 6px; }
  .emp-brand img { height: 44px; width: 44px; }
  .emp-brand__copy { max-width: 120px; }
  .emp-brand strong { font-size: .78rem; }
  .emp-brand small { font-size: .52rem; letter-spacing: 0; }
  .emp-mobile-menu > summary { font-size: .65rem; min-height: 42px; padding: 0 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .emp-button, .emp-card { transition: none; }
}

@media (min-width: 761px) {
  .emp-intro__content > p:last-child { max-width: 430px; }
}

/* Homepage curation: selected listings stay compact, while category rails are finger-scrollable on mobile. */
.emp-listing-section { margin-top: 14px; }
.emp-listing-section--featured .emp-section-heading { padding-top: 56px; }
.emp-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.emp-section-link { align-items: center; color: var(--emp-plum) !important; display: inline-flex; font-size: .86rem; font-weight: 800; gap: 4px; white-space: nowrap; }
.emp-section-link:hover, .emp-section-link:focus-visible { color: var(--emp-pink-dark) !important; text-decoration: underline; text-underline-offset: 4px; }
.emp-section-link .dashicons { font-size: 18px; height: 18px; width: 18px; }
.emp-card-rail { display: grid; gap: 22px; grid-auto-columns: minmax(258px, 24%); grid-auto-flow: column; grid-template-rows: 1fr; overflow-x: auto; overscroll-behavior-inline: contain; padding: 2px 2px 20px; scrollbar-color: var(--emp-pink) transparent; scrollbar-width: thin; scroll-padding-inline: 2px; scroll-snap-type: inline mandatory; }
.emp-card-rail > .emp-card { scroll-snap-align: start; }

@media (max-width: 1000px) {
  .emp-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .emp-listing-section--featured .emp-section-heading, .emp-listing-section--category .emp-section-heading { padding: 42px 0 16px; }
  .emp-listing-section--featured .emp-section-heading > span { display: none; }
  .emp-grid--featured { grid-template-columns: 1fr; }
  .emp-card-rail { gap: 14px; grid-auto-columns: minmax(0, calc((100% - 28px) * .72)); margin-left: -16px; margin-right: -16px; padding: 2px 16px 22px; scroll-padding-inline: 16px; }
  .emp-card-rail .emp-card__image img { aspect-ratio: 1.28 / 1; object-fit: cover; }
  .emp-card-rail .emp-card__image--empty { height: auto; min-height: 190px; }
  .emp-card-rail .emp-card__top { min-height: 76px; }
  .emp-card-rail .emp-card__logo { flex-basis: 62px; height: 62px; width: 62px; }
  .emp-card-rail .emp-card__body { padding: 13px 14px 15px; }
  .emp-card-rail .emp-card h3 { font-size: 1.05rem; line-height: normal; margin: 4px 0 8px; min-height: 0; }
  .emp-card-rail .emp-card__body > p { display: none; }
  .emp-card-rail .emp-card__meta { font-size: .7rem; gap: 8px; padding-top: 10px; }
  .emp-card-rail .emp-card__meta span:last-child { display: none; }
  .emp-card-rail .emp-card__action { font-size: .7rem; margin-top: 10px; padding: 7px 11px; }
}
