/*
Theme Name: Urban Rise Health
Theme URI: https://example.com/
Author: Urban Rise Health
Version: 1.0.0
Requires PHP: 8.0
Text Domain: urban-rise-health
*/
:root{
  --cream:#fbf5e8;
  --paper:#fffdf7;
  --green:#0d472f;
  --green2:#1f5b3c;
  --sage:#89a976;
  --gold:#d69b46;
  --coral:#e46f58;
  --ink:#173629;
  --muted:#657167;
  --line:#e1d4bb;
  --external:#2a7f9c;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,Helvetica,sans-serif;overflow-x:hidden}
img{max-width:100%;height:auto}
a{color:inherit}
.wrap{width:min(1420px,calc(100% - 48px));margin:auto}

/* Header */
.urh-header{position:sticky;top:0;z-index:9999;background:rgba(255,253,247,.98);backdrop-filter:blur(12px);border-bottom:1px solid #e5d9c1}
.admin-bar .urh-header{top:32px}
.urh-topbar{background:#15472f;color:#f4f0e6}
.urh-topbar-inner{min-height:28px;display:flex;justify-content:space-between;align-items:center;font-size:8px}
.urh-topbar-inner div{display:flex;gap:16px}
.urh-topbar a{text-decoration:none;color:#f4f0e6}
.urh-header-inner{min-height:82px;display:grid;grid-template-columns:290px 1fr auto;gap:22px;align-items:center}
.urh-brand img{width:235px;display:block}
.urh-nav ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:30px}
.urh-nav a{text-decoration:none;font-size:10px;font-weight:800;color:#1e3529}
.urh-nav a:hover,.urh-nav .current-menu-item>a{color:#e06d56}
.urh-actions{display:flex;gap:10px;align-items:center}
.urh-search-toggle{width:40px;height:40px;border:1px solid #d8c4a0;border-radius:50%;background:#fffaf0;font-size:18px;cursor:pointer}
.urh-subscribe{display:inline-flex;align-items:center;min-height:40px;padding:0 18px;border-radius:999px;background:#15472f;color:#fff;text-decoration:none;font-size:10px;font-weight:900}
.urh-search-panel{display:none;padding:11px 0;background:#f0e4cc;border-top:1px solid #e3d3b7}
.urh-search-panel.open{display:block}
.urh-search-panel form{display:grid;grid-template-columns:1fr 110px;gap:8px}
.urh-search-panel input{height:42px;border:1px solid #ccb993;border-radius:22px;padding:0 15px;background:#fffdf8}
.urh-search-panel button{border:0;border-radius:22px;background:#15472f;color:#fff;font-weight:900}

/* Hero */
.urh-hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#fbf4e6,#f8efdf)}
.urh-hero-grid{min-height:700px;display:grid;grid-template-columns:1.02fr .98fr;gap:24px;align-items:center}
.urh-hero-copy{padding:72px 0 56px}
.urh-hero-copy>span{font-size:9px;font-weight:900;letter-spacing:1.3px;color:#29583a}
.urh-hero-copy h1{margin:12px 0 16px;font:700 clamp(58px,6.5vw,98px)/.88 Georgia,serif;color:#173e2c;letter-spacing:-3px}
.urh-hero-copy h1 em{color:#0d603c;font-weight:700}
.urh-hero-copy p{max-width:620px;font-size:15px;line-height:1.6;color:#5c685f}
.urh-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.urh-hero-actions a{display:inline-flex;align-items:center;min-height:46px;padding:0 20px;border-radius:999px;background:#164a31;color:#fff;text-decoration:none;font-size:10px;font-weight:900}
.urh-hero-actions a.secondary{background:#fff8ec;color:#1f4d35;border:1px solid #cfae78}
.urh-stats{display:flex;gap:34px;margin-top:34px}
.urh-stats div{display:grid;grid-template-columns:auto 1fr;gap:8px 10px;align-items:center}
.urh-stats strong{font:700 24px Georgia,serif}
.urh-stats span{font-size:9px;color:#5d6b61;max-width:80px}
.urh-hero-visual{position:relative;min-height:620px;display:flex;align-items:end;justify-content:center}
.urh-hero-visual:before{content:"";position:absolute;width:500px;height:500px;border-radius:50%;background:#e9ead7;right:4%;top:8%}
.urh-hero-visual img{position:relative;z-index:2;width:86%;height:560px;object-fit:cover;object-position:center;border-radius:48% 48% 16px 16px}
.urh-script{position:absolute;z-index:3;right:8%;bottom:13%;font:italic 27px/1.03 Georgia,serif;color:#e7d198;text-align:right;transform:rotate(-6deg)}
.urh-leaf{position:absolute;z-index:4;width:68px;height:130px;border-radius:100% 0 100% 0;border:3px solid #477653}
.leaf1{left:8%;top:11%;transform:rotate(24deg)}
.leaf2{right:0;top:26%;transform:rotate(-19deg)}

/* Section common */
.urh-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}
.urh-section-head>div>span{display:block;margin-bottom:5px;color:#3d7149;font-size:8px;font-weight:900;letter-spacing:1.2px}
.urh-section-head h2{margin:0;font:700 32px/1.08 Georgia,serif}
.urh-section-head>a{font-size:9px;text-decoration:none;color:#315e40;font-weight:900}

/* Categories */
.urh-categories{padding:42px 0 50px;background:#fffdf7}
.urh-category-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px}
.urh-category-card{overflow:hidden;border:1px solid #e1d4ba;border-radius:13px;background:#fffaf2;text-decoration:none;box-shadow:0 7px 18px rgba(49,67,54,.05)}
.urh-category-card .image{display:block;height:108px;overflow:hidden;background:#e5ede1}
.urh-category-card .image img{display:block;width:100%;height:100%;object-fit:cover;margin:0}
.urh-category-card .copy{display:flex;flex-direction:column;gap:4px;padding:10px 11px 12px;min-height:58px}
.urh-category-card strong{font:700 12px/1.1 Georgia,serif;overflow-wrap:anywhere}
.urh-category-card small{color:#5e7a62;font-size:7px;font-weight:800}

/* Featured */
.urh-featured{padding:46px 0;background:#f7efdf}
.urh-feature-layout{display:grid;grid-template-columns:1.38fr .74fr .8fr;gap:16px}
.urh-feature-main{position:relative;min-height:470px;overflow:hidden;border-radius:15px}
.urh-feature-main .image{position:absolute;inset:0}
.urh-feature-main .image img{width:100%;height:100%;object-fit:cover}
.urh-feature-main .shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(12,50,32,.86))}
.urh-feature-main .copy{position:absolute;z-index:2;left:22px;right:22px;bottom:22px;color:#fff;max-width:78%}
.urh-feature-main .copy>span{display:inline-block;padding:5px 8px;border-radius:999px;background:#f5edd6;color:#31533c;font-size:7px;font-weight:900}
.urh-feature-main h3{margin:8px 0;font:700 clamp(28px,3vw,39px)/1 Georgia,serif;max-height:3em;overflow:hidden}
.urh-feature-main h3 a,.urh-feature-main .read{text-decoration:none}
.urh-feature-main p{margin:0 0 9px;font-size:10px;line-height:1.45;color:#eef2ee}
.urh-feature-main .read{color:#f3d891;font-size:9px;font-weight:900}
.urh-feature-list{display:grid;grid-template-rows:repeat(3,1fr);gap:9px}
.urh-feature-list article{display:grid;grid-template-columns:105px 1fr;gap:10px;align-items:center;padding:8px;border:1px solid #e1d4bb;border-radius:10px;background:#fffaf2}
.urh-feature-list .image{height:84px;overflow:hidden;border-radius:8px}
.urh-feature-list .image img{width:100%;height:100%;object-fit:cover}
.urh-feature-list span{font-size:7px;color:#d45f49;font-weight:900}
.urh-feature-list h3{margin:4px 0;font:700 14px/1.15 Georgia,serif;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.urh-feature-list h3 a{text-decoration:none}
.urh-simple-card{position:relative;overflow:hidden;min-height:470px;padding:22px;border:1px solid #e1d4bb;border-radius:15px;background:linear-gradient(145deg,#f7e8df,#f1f5e5)}
.urh-simple-card>span{color:#3e744a;font-size:8px;font-weight:900;letter-spacing:1px}
.urh-simple-card h3{margin:7px 0 14px;font:700 28px Georgia,serif}
.urh-simple-card ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.urh-simple-card li{font-size:10px;line-height:1.4}
.urh-simple-card img{position:absolute;right:-40px;bottom:-5px;width:68%;height:220px;object-fit:cover;border-radius:50% 0 0 0}

/* Guides */
.urh-guides{padding:48px 0;background:#fffdf7}
.urh-guide-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.urh-guide-grid article{overflow:hidden;border:1px solid #e0d3b8;border-radius:11px;background:#fffaf2}
.urh-guide-grid .image{display:block;height:155px;overflow:hidden}
.urh-guide-grid .image img{width:100%;height:100%;object-fit:cover}
.urh-guide-grid .copy{padding:11px}
.urh-guide-grid span{font-size:7px;color:#d55f49;font-weight:900}
.urh-guide-grid h3{margin:6px 0;font:700 15px/1.15 Georgia,serif}
.urh-guide-grid h3 a{text-decoration:none}
.urh-guide-grid p{margin:5px 0 0;color:#6b746d;font-size:9px;line-height:1.4}

/* Extra size sections */
.urh-life{padding:48px 0;background:#eef4e8}
.urh-life-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.urh-life-grid article{position:relative;min-height:330px;overflow:hidden;border-radius:13px;background:#173e2c}
.urh-life-grid .image{position:absolute;inset:0}
.urh-life-grid .image img{width:100%;height:100%;object-fit:cover}
.urh-life-grid .shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(12,58,38,.84))}
.urh-life-grid .copy{position:absolute;z-index:2;left:16px;right:16px;bottom:16px;color:#fff}
.urh-life-grid .copy span{font-size:8px;color:#f2d699;font-weight:900}
.urh-life-grid .copy h3{margin:6px 0 9px;font:700 20px/1.08 Georgia,serif;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.urh-life-grid .copy a{color:#fff;text-decoration:none;font-size:9px;font-weight:900}
.urh-more{padding:48px 0;background:#fffdf7}
.urh-more-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.urh-more-grid article{overflow:hidden;border:1px solid #e0d3b9;border-radius:11px;background:#fffaf2}
.urh-more-grid .image{display:block;height:190px}
.urh-more-grid .image img{width:100%;height:100%;object-fit:cover}
.urh-more-grid .copy{padding:13px}
.urh-more-grid span{font-size:7px;color:#d75f49;font-weight:900}
.urh-more-grid h3{margin:6px 0;font:700 17px/1.15 Georgia,serif}
.urh-more-grid h3 a{text-decoration:none}
.urh-more-grid p{margin:5px 0 0;font-size:9px;line-height:1.45;color:#6c756e}

/* Single */
.urh-single-head{padding:48px 0;background:#15472f;color:#fff}
.urh-single-head span{color:#f0d393;font-size:8px;font-weight:900;letter-spacing:1px}
.urh-single-head h1{max-width:1020px;margin:8px 0;font:700 50px/1 Georgia,serif}
.urh-single-head>div>div{font-size:9px;color:#cdd8d0}
.urh-single{padding:44px 0;background:#f7efdf}
.urh-single-wrap{width:min(980px,calc(100% - 36px));margin:auto}
.urh-featured-image{margin:0 0 24px;border-radius:13px;overflow:hidden;border:1px solid #decbae}
.urh-featured-image img{display:block;width:100%;height:auto}
.urh-entry{padding:38px 42px;background:#fffdf7;border:1px solid #decdb0;border-radius:13px;font:16px/1.76 Georgia,serif}
.urh-entry h2,.urh-entry h3{color:#164a31}
.urh-entry img{display:block;max-width:100%;height:auto;margin:24px auto;border-radius:9px}
.urh-entry table{display:block;max-width:100%;overflow:auto}
.urh-entry iframe,.urh-entry video{max-width:100%}
.urh-context{display:grid;grid-template-columns:115px minmax(0,1fr) 22px;gap:10px;align-items:center;margin:24px 0;padding:12px 13px;border:1px solid #cfdcc9;border-left:4px solid #1b5e3d;border-radius:8px;background:#eff5eb}
.urh-context span{font:800 8px Arial;color:#3c7049;letter-spacing:.8px}
.urh-context a{font:700 13px/1.3 Georgia,serif;color:#244530;text-decoration:none}
.urh-context b{color:#3c7049}
.urh-entry a.urh-external{color:var(--external)!important;text-decoration:underline!important;text-underline-offset:2px}
.urh-entry a.urh-external::after{content:" ↗";font-size:.82em;color:var(--external)}
.urh-related{margin-top:30px}
.urh-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.urh-related article{overflow:hidden;border:1px solid #dfd0b5;border-radius:10px;background:#fffdf7}
.urh-related .image{display:block;height:180px}
.urh-related .image img{width:100%;height:100%;object-fit:cover}
.urh-related h3{padding:12px;margin:0;font:700 15px/1.2 Georgia,serif}
.urh-related h3 a{text-decoration:none}

/* Category page: always show image cards */
.urh-cat-hero{padding:48px 0;background:#15472f;color:#fff}
.urh-cat-hero span{color:#efcf8c;font-size:8px;font-weight:900;letter-spacing:1px}
.urh-cat-hero h1{margin:8px 0;font:700 52px/1 Georgia,serif}
.urh-cat-hero p{max-width:700px;margin:10px 0 0;color:#d1dcd4;font-size:12px;line-height:1.55}
.urh-cat-content{padding:46px 0 64px;background:#f7efdf}
.urh-cat-heading{margin-bottom:20px}
.urh-cat-heading span{display:block;margin-bottom:5px;color:#48764e;font-size:8px;font-weight:900;letter-spacing:1.2px}
.urh-cat-heading h2{margin:0;font:700 31px Georgia,serif}
.urh-cat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.urh-cat-grid article{overflow:hidden;border:1px solid #decdb0;border-radius:12px;background:#fffdf7;box-shadow:0 8px 20px rgba(52,70,57,.05)}
.urh-cat-grid .image{display:block;height:230px;overflow:hidden}
.urh-cat-grid .image img{width:100%;height:100%;object-fit:cover}
.urh-cat-grid .copy{padding:15px}
.urh-cat-grid .copy>span{font-size:7px;color:#d4604a;font-weight:900}
.urh-cat-grid h3{margin:6px 0;font:700 19px/1.15 Georgia,serif}
.urh-cat-grid h3 a{text-decoration:none}
.urh-cat-grid p{margin:5px 0 10px;font-size:10px;line-height:1.5;color:#69736b}
.urh-cat-grid .meta{font-size:8px;color:#8b948d}
.urh-cat-note{margin-top:22px;padding:13px 15px;border-left:4px solid #d69b46;border-radius:6px;background:#fffdf7;color:#657068;font-size:10px;line-height:1.5}

/* Footer: modern, no large CTA/newsletter block */
.urh-footer{position:relative;overflow:hidden;background:#0e3b29;color:#f5f1e7;border-top:3px solid #d39a48}
.urh-footer-leaf{position:absolute;border:1px solid rgba(137,169,118,.20);border-radius:100% 0 100% 0;pointer-events:none}
.urh-footer-leaf-a{width:280px;height:520px;left:-120px;bottom:-260px;transform:rotate(23deg)}
.urh-footer-leaf-b{width:220px;height:420px;right:-100px;top:80px;transform:rotate(-22deg)}
.urh-footer-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.35fr .75fr .9fr .9fr;gap:34px;padding:50px 0 34px}
.urh-footer-brand img{width:230px;filter:brightness(3) saturate(.3)}
.urh-footer-brand p{max-width:390px;color:#cbd6cf;font-size:10px;line-height:1.6}
.urh-footer-social{display:flex;gap:8px;margin-top:15px}
.urh-footer-social a{width:32px;height:32px;display:grid!important;place-items:center;border:1px solid rgba(255,255,255,.14);border-radius:50%;margin:0!important;color:#f5efe3!important;text-decoration:none;font-size:9px!important;font-weight:900}
.urh-footer-kicker{display:block;margin-bottom:6px;color:#d6aa62;font-size:8px;font-weight:900;letter-spacing:1.1px}
.urh-footer h3{margin:0 0 10px;font:700 14px Georgia,serif}
.urh-footer section>a{display:block;margin-bottom:7px;color:#e0e7e2;text-decoration:none;font-size:8px}
.urh-footer-bottom{position:relative;z-index:2;min-height:56px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(255,255,255,.08);color:#92a096;font-size:8px}

/* Guardrails against overlap */
.urh-feature-layout>*,
.urh-guide-grid>*,
.urh-life-grid>*,
.urh-more-grid>*,
.urh-cat-grid>*,
.urh-footer-grid>*{min-width:0}
.urh-feature-list h3,
.urh-guide-grid h3,
.urh-more-grid h3,
.urh-cat-grid h3{overflow-wrap:anywhere}

@media(max-width:1180px){
  .urh-header-inner{grid-template-columns:240px 1fr auto}
  .urh-nav ul{gap:18px}
  .urh-category-grid{grid-template-columns:repeat(5,1fr)}
  .urh-feature-layout{grid-template-columns:1.2fr .8fr}
  .urh-simple-card{grid-column:1/3;min-height:260px}
  .urh-guide-grid{grid-template-columns:repeat(3,1fr)}
  .urh-life-grid,.urh-more-grid{grid-template-columns:repeat(2,1fr)}
  .urh-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:850px){
  .admin-bar .urh-header{top:46px}
  .urh-topbar{display:none}
  .urh-header-inner{grid-template-columns:1fr auto}
  .urh-brand img{width:200px}
  .urh-nav{grid-column:1/3;overflow-x:auto;border-top:1px solid #e5d7c1}
  .urh-nav ul{justify-content:flex-start;min-width:max-content;padding:10px 0}
  .urh-subscribe{display:none}
  .urh-hero-grid{grid-template-columns:1fr;min-height:auto}
  .urh-hero-visual{min-height:480px}
  .urh-category-grid{grid-template-columns:repeat(3,1fr)}
  .urh-feature-layout{grid-template-columns:1fr}
  .urh-simple-card{grid-column:auto}
  .urh-guide-grid{grid-template-columns:repeat(2,1fr)}
  .urh-cat-grid,.urh-related-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .wrap{width:min(100% - 24px,1420px)}
  .urh-hero-copy h1{font-size:52px;letter-spacing:-2px}
  .urh-stats{gap:16px;flex-wrap:wrap}
  .urh-category-grid{grid-template-columns:repeat(2,1fr)}
  .urh-guide-grid,.urh-life-grid,.urh-more-grid{grid-template-columns:1fr}
  .urh-entry{padding:25px 18px}
  .urh-context{grid-template-columns:1fr 20px}
  .urh-context span{grid-column:1/3}
  .urh-footer-grid{grid-template-columns:1fr}
  .urh-footer-bottom{flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:10px 0}
}
