/* Location atlas: editorial sections around GeoDirectory's live category, map and listing blocks. */
.uh-directory-location .uh-directory-hero{background:radial-gradient(circle at 84% 35%,#ad364044,transparent 35%),linear-gradient(100deg,#080a0de8,#261216d6),url('home-hero-night-road.jpg') center 55%/cover}
.uh-directory-location .uh-directory-hero:after{content:"";position:absolute;right:max(3vw,calc((100vw - 1390px)/2));top:50%;width:min(27vw,345px);aspect-ratio:1;border:1px solid #ee929438;border-radius:50%;box-shadow:0 0 0 38px #ee929414,0 0 0 76px #ee92940d;transform:translateY(-43%);pointer-events:none}
.uh-directory-location .uh-directory-hero>*{position:relative;z-index:1}.uh-directory-location .uh-directory-hero h1{max-width:820px}.uh-directory-location .uh-directory-hero>p:not(.uh-directory-kicker){max-width:660px}
.uh-directory-location__content{padding-top:clamp(26px,4vw,55px)}.uh-directory-location__blocks{display:grid;gap:clamp(22px,3vw,34px)}
.uh-location-section{min-width:0;padding:clamp(22px,3.2vw,42px);border:1px solid #754a50;border-radius:23px;background:radial-gradient(circle at 100% 0,#67303a31,transparent 36%),linear-gradient(145deg,#24181d,#111416 74%);box-shadow:0 18px 46px #0008;color:#f3e8df}
.uh-location-section__head{margin:0 0 26px}.uh-location-section__head>span{display:block;margin-bottom:10px;color:#f1878d;font:800 .74rem/1.3 Arial,sans-serif;letter-spacing:.17em;text-transform:uppercase}.uh-location-section__head h2{margin:0 0 9px;color:#fff1e9;font:normal clamp(2.25rem,4vw,3.6rem)/.98 'Upstate Horror After Dark',Impact,sans-serif}.uh-location-section__head p{max-width:70ch;margin:0;color:#d5c5c0;font:400 1rem/1.55 Arial,sans-serif}
.uh-location-section--categories .geodir-categories-container,.uh-location-section--map .geodir-wgt-map,.uh-location-section--listings .geodir-listings{color:#f3e8df}
.uh-location-section--categories .gd-cptcat-row>.row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0!important;padding:0!important}
.uh-location-section--categories .gd-cptcat-parent{width:100%!important;max-width:none!important;min-width:0;padding:0!important;margin:0!important}
.uh-location-section--categories .gd-cptcat-parent>.card{overflow:visible;border:1px solid #6d4a50!important;border-radius:16px!important;background:radial-gradient(circle at 85% 0,#702e3a50,transparent 48%),repeating-linear-gradient(120deg,transparent 0 23px,#ffffff06 24px 25px),#171719!important;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease}
.uh-location-section--categories .gd-cptcat-parent>.card:hover,.uh-location-section--categories .gd-cptcat-parent>.card:focus-within{transform:translateY(-4px);border-color:#e9868e!important;box-shadow:0 16px 31px #0008!important}
.uh-location-section--categories .gd-cptcat-parent>.card .card-body{min-height:174px;padding:20px!important;text-align:center}.uh-location-section--categories .gd-cptcat-icon img{width:43px;height:43px;filter:drop-shadow(0 0 8px #e43b4c55)}
.uh-location-section--categories .gd-cptcat-cat-right{gap:8px;max-width:100%;white-space:normal!important;overflow:visible!important}.uh-location-section--categories .gd-cptcat-cat-right>a{color:#fff4ed!important;font:800 clamp(.89rem,1.12vw,1.02rem)/1.3 Arial,sans-serif!important;letter-spacing:.01em;white-space:normal!important;text-transform:none!important;overflow-wrap:anywhere}
.uh-location-section--categories .gd-cptcat-count{border:1px solid #a06169;border-radius:99px;background:#5c2832!important;color:#fff0e9!important}
.uh-location-section--categories .gd-cptcat-sub{z-index:6;max-height:300px;overflow-y:auto;border:1px solid #9a5e65!important;border-radius:11px!important;background:#20191c!important;box-shadow:0 18px 30px #000a!important}.uh-location-section--categories .gd-cptcat-sub a{color:#fff0e8!important;white-space:normal}
.uh-location-section--map{padding-bottom:clamp(22px,3.2vw,42px)}.uh-location-section--map .geodir-map-wrap,.uh-location-section--map .geodir_map_container{overflow:hidden!important;border:1px solid #84565b;border-radius:17px;background:#101517;box-shadow:0 15px 32px #0008}
.uh-location-section--map :is(.geodir_map_container,.main_map_wrapper,.geodir-map-canvas,.loading_div){height:clamp(370px,43vw,530px)!important;min-height:370px!important}
.uh-location-section--map .geodir-map-cat-filter-wrap{max-width:min(330px,85%)!important;max-height:calc(100% - 22px)!important;margin:11px!important;padding:13px!important;border:1px solid #a66970;border-radius:13px;background:#171318e8!important;box-shadow:0 16px 35px #000b;color:#f7ede6!important;backdrop-filter:blur(8px)}
.uh-location-section--map .map-category-listing,.uh-location-section--map .gd_map_canvas_directory_map_category{max-height:clamp(255px,32vw,420px)!important;color:#f7ede6!important}.uh-location-section--map .geodir-map-cat-filter-wrap :is(label,.py-2){color:#f7ede6!important;font:600 .85rem/1.3 Arial,sans-serif!important}.uh-location-section--map .geodir-map-cat-filter-wrap input[type=checkbox]{accent-color:#e85361}.uh-location-section--map .geodir-map-cat-filter-wrap input[type=text]{min-height:42px;border:1px solid #8d6067;border-radius:8px;background:#282126;color:#fff}.uh-location-section--map .geodir-map-cat-filter-wrap input[type=text]::placeholder{color:#d0c2c3}
.uh-location-section--map .gd_map_canvas_directory_TopLeft{margin:12px!important;padding:8px!important;border:1px solid #82575d;border-radius:8px!important;background:#20191c!important;color:#fff!important}.uh-location-section--map .leaflet-control-zoom a{background:#1f1a1d;color:#fff}.uh-location-section--map .leaflet-control-attribution{background:#151317dd!important;color:#e6d6d1!important}.uh-location-section--map .leaflet-control-attribution a{color:#ffb1b3!important}
.uh-location-section--search .geodir-search-form-wrapper{margin:0!important}.uh-location-section--search .geodir-search-container{margin:0!important}
.uh-location-section--listings .geodir-widget-posts.geodir-gridview{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0!important;padding:0!important}.uh-location-section--listings .geodir-widget-posts>.geodir-post{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.uh-location-section--listings .geodir-post .geodir-entry-title{font-size:clamp(1.75rem,2.3vw,2.3rem)!important}.uh-location-section--listings .geodir-post .card-body{padding:24px!important}
/* If the directory plugin replaces the template again, retain a readable full-width fallback. */
body.geodir-page-location:not(:has(.uh-directory-location)) .content.content-page{width:min(1360px,calc(100% - 36px))!important;max-width:none!important;margin:35px auto 80px!important}.geodir-page-location:not(:has(.uh-directory-location)) .sidebar{display:none!important}
@media(max-width:900px){.uh-location-section--categories .gd-cptcat-row>.row{grid-template-columns:repeat(2,minmax(0,1fr))}.uh-directory-location .uh-directory-hero:after{opacity:.55}}
@media(max-width:760px){.uh-location-section{padding:20px;border-radius:17px}.uh-location-section--categories .gd-cptcat-row>.row{gap:10px}.uh-location-section--categories .gd-cptcat-parent>.card .card-body{min-height:155px;padding:13px!important}.uh-location-section--listings .geodir-widget-posts.geodir-gridview{grid-template-columns:1fr}.uh-location-section--map :is(.geodir_map_container,.main_map_wrapper,.geodir-map-canvas,.loading_div){height:400px!important;min-height:400px!important}}
@media(max-width:520px){.uh-location-section--categories .gd-cptcat-row>.row{grid-template-columns:1fr}.uh-location-section--categories .gd-cptcat-parent>.card .card-body{min-height:125px}.uh-location-section--map .geodir-map-cat-filter-wrap{max-width:calc(100% - 22px)!important}.uh-directory-location .uh-directory-hero:after{display:none}}
@media(prefers-reduced-motion:reduce){.uh-location-section--categories .gd-cptcat-parent>.card{transition:none}}
