/*
Theme Name: EJ Hotels
Theme URI: https://ejhotels.is/
Author: EJ Hotels
Description: Custom editorial hotel collection theme with an integrated booking experience.
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: ej-hotels
*/
@font-face{font-family:Playfair;src:url('assets/fonts/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKdFvXDZbtPY_Q.woff2') format('woff2');font-display:swap}
@font-face{font-family:DM Sans;src:url('assets/fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2') format('woff2');font-display:swap}
:root{--ink:#201b17;--muted:#6b6967;--gold:#c7a379;--gold-deep:#7b542f;--paper:#fbf9f6;--sand:#e2c092;--forest:#1b302d;--line:#ded8cf;--display:Playfair,Georgia,serif;--sans:'DM Sans',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.58}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #158580;outline-offset:3px}.wrap{width:min(1580px,calc(100% - 13.2vw));margin-inline:auto}.skip-link{position:absolute;top:-100px;left:16px;background:white;color:black;padding:10px;z-index:100}.skip-link:focus{top:12px}.eyebrow{font-size:12px;letter-spacing:.25em;font-weight:700;text-transform:uppercase;color:var(--gold);margin:0 0 22px}.dark-eyebrow{color:var(--gold-deep)}h1,h2,h3,p,figure{margin-top:0}h1,h2,h3{font-family:var(--display);font-weight:400;line-height:1.07}h2 em{font-weight:400}h2{font-size:clamp(45px,5vw,75px);letter-spacing:-.025em}.text-link{display:inline-flex;gap:18px;align-items:center;border-bottom:1px solid currentColor;padding-bottom:8px;font-family:var(--display);font-size:18px}.text-link:hover span,.hotel-link:hover span,.gold-button:hover span{transform:translateX(6px)}.text-link span,.hotel-link span,.gold-button span{transition:transform .25s}
.site-header{position:absolute;z-index:40;top:0;left:0;width:100%;color:white;border-bottom:1px solid #ffffff32}.site-header:not(.over-hero){position:relative;background:#22201e}.header-inner{height:100px;width:min(1720px,calc(100% - 8vw));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:34px}.brand{display:flex;align-items:center;gap:18px;font-family:var(--display);font-size:27px;line-height:1.02;white-space:nowrap}.brand img{object-fit:contain;filter:brightness(0) invert(1)}.desktop-nav{display:flex;gap:clamp(28px,4vw,72px);align-items:center;font-family:var(--display);font-size:17px;letter-spacing:.035em}.desktop-nav a:hover,.mobile-nav a:hover{color:var(--sand)}.header-actions{display:flex;align-items:center;gap:32px}.language-mark{font-size:12px;letter-spacing:.15em;white-space:nowrap}.language-mark span{margin-left:8px}.header-book,.gold-button{background:#dfbd8e;color:#25201b;font-family:var(--display);letter-spacing:.015em;display:inline-flex;align-items:center;justify-content:space-between;gap:32px;min-height:56px;padding:0 30px}.header-book span{font-family:var(--sans);font-size:22px;color:#775a3a}.header-book:hover,.gold-button:hover{background:#edcda0}.menu-toggle{border:0;background:transparent;width:40px;height:42px;padding:7px;display:grid;align-content:center;gap:6px}.menu-toggle span{height:2px;background:currentColor;width:100%}.mobile-nav{position:absolute;top:100px;right:0;background:#22201e;color:#fff;display:flex;flex-direction:column;gap:0;min-width:280px;padding:16px 30px 30px;box-shadow:0 20px 40px #0004}.mobile-nav[hidden]{display:none}.mobile-nav a{font-family:var(--display);font-size:22px;border-bottom:1px solid #ffffff24;padding:13px 0}
.home-hero{height:clamp(680px,100svh,1050px);min-height:680px;position:relative;color:white;overflow:hidden;background:#28221c}.home-hero-image{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,8,8,.7) 0%,rgba(7,7,7,.28) 41%,rgba(7,7,7,.05) 77%),linear-gradient(180deg,rgba(0,0,0,.35),transparent 30%,transparent 70%,rgba(0,0,0,.34))}.hero-copy{position:relative;padding-top:clamp(200px,25vh,285px);max-width:none}.gold-line{display:flex;align-items:center;gap:14px}.gold-line:before{content:'';width:31px;height:1px;background:var(--sand)}.hero-copy h1{font-size:clamp(58px,5vw,88px);line-height:.98;letter-spacing:-.025em;max-width:660px;margin-bottom:25px;text-wrap:balance}.hero-description{max-width:365px;color:#e2dfdc;font-family:var(--display);font-size:17px;line-height:1.55;margin-bottom:34px}.gold-button{min-width:250px}.hero-foot{position:absolute;left:0;right:0;bottom:37px;display:flex;justify-content:space-between;align-items:end;font-size:10px;letter-spacing:.3em}.hero-index{display:flex;gap:25px;align-items:center}.hero-index>span{display:block;width:68px;height:2px;background:#fff}.hero-index small{font-size:10px;color:#cfc8bf}.hero-scroll{display:flex;align-items:center;flex-direction:column;gap:13px;transform:translateX(60px)}.hero-scroll span{height:43px;width:1px;background:#d1a978}.hero-places{white-space:nowrap}.search-band{background:var(--forest);color:#fff;padding:36px 0 40px}.search-band .eyebrow{margin-bottom:13px}.home-intro{display:grid;grid-template-columns:1fr 1fr;gap:11vw;padding-top:120px;padding-bottom:120px}.home-intro h2{max-width:650px}.home-intro>div:nth-child(2){max-width:480px;padding-top:35px}.home-intro p:not(.eyebrow){color:#5c605c;font-size:19px;line-height:1.65;margin-bottom:32px}
.hotels-section{background:#f8f6f3;position:relative;padding:84px 0 92px;overflow:hidden}.hotels-section:before{content:'';position:absolute;width:600px;height:600px;right:-150px;top:-170px;border-radius:50%;background:repeating-radial-gradient(ellipse,#b29a7c19 0 1px,transparent 2px 18px);pointer-events:none}.section-heading{text-align:center;position:relative;max-width:780px;margin:0 auto 45px}.section-heading .eyebrow{color:#be9570}.rule-eyebrow{display:flex;align-items:center;justify-content:center;gap:25px}.rule-eyebrow:before,.rule-eyebrow:after{content:'';height:1px;width:78px;background:#d8b58a}.section-heading h2{font-size:clamp(50px,4.4vw,68px);margin-bottom:15px}.section-heading>p:last-child{color:#777;font-size:17px;line-height:1.6;max-width:670px;margin-inline:auto}.hotel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;position:relative}.hotel-card{background:#fff;box-shadow:0 12px 32px #261b1310;display:flex;flex-direction:column}.hotel-image{height:280px;display:block;position:relative;overflow:hidden}.hotel-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.hotel-image:hover img{transform:scale(1.045)}.circle-arrow{position:absolute;right:28px;top:22px;background:#ffffffee;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;font-size:24px;font-weight:300}.hotel-body{text-align:center;display:flex;flex-direction:column;align-items:center;padding:25px 28px 26px;flex:1}.hotel-place{color:#ba8d67;font-size:13px;letter-spacing:.19em;font-weight:700;margin-bottom:2px}.hotel-body h3{font-size:clamp(25px,2vw,32px);margin-bottom:10px}.hotel-description{color:#777;line-height:1.55;min-height:81px;max-width:360px;margin-bottom:24px}.hotel-features{list-style:none;margin:0 0 26px;padding:0;display:flex;justify-content:center;width:100%;flex-wrap:wrap}.hotel-features li{font-size:13px;color:#777;display:flex;align-items:center;gap:8px;padding:0 12px;border-right:1px solid #e5e0d9;white-space:nowrap}.hotel-features li:last-child{border:0}.feature-icon{color:#7f522b;font-size:24px;line-height:1}.hotel-link{margin-top:auto;border:1px solid #ae8660;width:100%;height:50px;display:flex;align-items:center;justify-content:center;gap:22px;color:#714b2d;font-family:var(--display);font-size:17px}.hotel-link:hover{background:#f7eee4}.hostel-feature{margin-top:44px;border-top:1px solid var(--line);display:flex;align-items:center;gap:25px;padding-top:28px}.hostel-feature img{width:190px;height:120px;object-fit:cover}.hostel-feature h3{font-size:29px;margin:0 0 4px}.hostel-feature p:not(.eyebrow){color:#777;margin:0}.hostel-feature .eyebrow{margin:0 0 5px}.hostel-feature .text-link{margin-left:auto;white-space:nowrap}
.coast-section{background:#233d38;color:white;padding:110px 0}.coast-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:10vw}.coast-grid>div:first-child>p:not(.eyebrow){max-width:490px;color:#d3dcd8;font-size:18px}.coast-grid h2{margin-bottom:30px}.coast-grid .text-link{margin-top:18px}.coast-route{border-left:1px solid #94a9a35e;padding:30px 0 30px 45px;position:relative}.coast-route>div{position:relative;display:flex;flex-direction:column;margin-bottom:80px}.coast-route>div:before{content:'';height:14px;width:14px;position:absolute;left:-52px;top:4px;border-radius:50%;background:var(--sand)}.coast-route span,.coast-route small{font-size:11px;letter-spacing:.18em;color:#d1dbd4}.coast-route strong{font-family:var(--display);font-size:30px;font-weight:400;margin:7px 0}.coast-route>span:last-child{font-size:10px}.moments-section{padding-top:120px;padding-bottom:120px}.moments-title{position:relative}.moments-title .text-link{position:absolute;right:0;bottom:16px}.moments-grid{display:grid;grid-template-columns:2.05fr 1fr 1fr;gap:15px}.moments-grid figure{height:440px;position:relative;overflow:hidden}.moments-grid img{width:100%;height:100%;object-fit:cover}.moments-grid figcaption{position:absolute;bottom:18px;left:20px;color:white;font-size:11px;letter-spacing:.15em;text-shadow:0 1px 8px #000}.family-section{display:grid;grid-template-columns:1fr 1fr;background:#2b3f39;color:#fff}.family-image{min-height:610px}.family-image img{width:100%;height:100%;object-fit:cover}.family-copy{padding:clamp(75px,8vw,150px) clamp(50px,9vw,170px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.family-copy p:not(.eyebrow){color:#e1e6de;font-size:18px;max-width:500px}.family-copy h2{margin-bottom:20px}.family-copy .text-link{margin-top:28px}.dining-preview{display:grid;grid-template-columns:1fr 1.2fr;gap:8vw;align-items:center;padding-top:120px;padding-bottom:120px}.dining-preview p:not(.eyebrow){color:#777;max-width:390px}.dining-preview .text-link{margin-top:20px}.dining-preview img{height:480px;width:100%;object-fit:cover}.visit-section{background:#eae6df;padding:105px 0}.visit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.visit-grid a{padding:30px;border:1px solid #bfb9ae;min-height:220px;position:relative;transition:background .2s}.visit-grid a:hover{background:#fff}.visit-grid span{font-size:11px;letter-spacing:.16em;color:#996e4b}.visit-grid h3{font-size:30px;margin:20px 0 10px}.visit-grid p{color:#706d68;max-width:280px}.visit-grid b{position:absolute;right:26px;top:26px;font-size:23px;font-weight:400}
.site-footer{background:#1b2d2a;color:#fff;padding:90px 0 24px}.footer-grid{display:grid;grid-template-columns:2.5fr 1fr 1.25fr;gap:50px}.footer-grid h2{font-size:55px;margin-bottom:24px}.footer-grid h3{font-family:var(--sans);font-size:13px;letter-spacing:.17em;text-transform:uppercase;margin-bottom:17px}.footer-grid a:not(.footer-book){display:block;margin-bottom:12px;color:#d3ded9}.footer-grid p:not(.eyebrow){color:#d3ded9}.footer-book{display:inline-block;border-bottom:1px solid #fff;padding-bottom:5px;font-family:var(--display);font-size:18px}.footer-bottom{border-top:1px solid #ffffff2e;padding-top:19px;margin-top:80px;display:flex;justify-content:space-between;color:#b5c6be;font-size:12px;letter-spacing:.08em}
.page-hero{position:relative;min-height:530px;background:#283b38;color:white;display:flex;align-items:end}.page-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.page-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0c1010bd,#0c101039 70%),linear-gradient(0deg,#0006,transparent 50%);z-index:1}.page-hero-content{position:relative;z-index:2;padding:180px 0 80px}.page-hero h1{font-size:clamp(55px,6vw,90px);max-width:800px;margin-bottom:13px}.page-hero p:not(.eyebrow){max-width:600px;font-family:var(--display);font-size:19px}.content-main{padding-top:90px;padding-bottom:115px}.content-main .entry-content{font-size:19px;max-width:770px;line-height:1.75}.content-main .entry-content p{margin-bottom:25px}.content-main h2{font-size:50px}.stay-intro{display:grid;grid-template-columns:1.1fr .9fr;gap:11vw;padding:110px 0}.stay-intro p{font-size:18px;color:#6c716e}.stay-intro .eyebrow{font-size:11px}.stay-highlights{background:#eeeae3;padding:70px 0}.stay-highlights .wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.stay-highlights div div{font-family:var(--display);font-size:27px;border-left:1px solid #b79069;padding:18px 30px}.stay-gallery{padding:100px 0}.stay-gallery h2{margin-bottom:28px}.stay-gallery-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;grid-auto-rows:260px;gap:14px}.stay-gallery-grid img{width:100%;height:100%;object-fit:cover;cursor:zoom-in}.stay-gallery-grid img:first-child{grid-row:span 2}.stay-book{background:#2a403b;color:#fff;padding:85px 0}.stay-book .wrap{display:flex;align-items:center;justify-content:space-between;gap:30px}.stay-book h2{margin:0}.lightbox{border:0;background:#111;color:#fff;max-width:95vw;max-height:95vh;padding:40px;box-shadow:0 20px 60px #0009}.lightbox::backdrop{background:#000d}.lightbox img{max-width:100%;max-height:75vh;object-fit:contain}.lightbox button{position:absolute;right:10px;top:10px;background:none;border:0;color:#fff;font-size:29px}.dining-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:70px}.dining-grid article img{width:100%;height:350px;object-fit:cover}.dining-grid h2{font-size:42px;margin-top:20px}.gallery-page-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:50px}.gallery-page-grid img{width:100%;height:300px;object-fit:cover;cursor:zoom-in}.contact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:25px;margin-top:60px}.contact-grid article{border:1px solid var(--line);padding:35px}.contact-grid h2{font-size:34px}.contact-grid p{color:#676967}.content-booking{padding:70px 0 110px}.content-booking h1{font-size:58px}.reveal{transition:opacity .5s,transform .5s}.js .reveal:not(.is-visible){opacity:0;transform:translateY(16px)}
@media(max-width:1250px){.wrap{width:calc(100% - 80px)}.desktop-nav{gap:25px}.header-actions{gap:18px}.header-book{padding:0 16px;gap:10px}.hotel-features li{padding:0 7px;font-size:12px}.hotel-body{padding-inline:18px}}
@media(max-width:900px){.desktop-nav,.language-mark{display:none}.header-inner{width:calc(100% - 45px);height:80px}.mobile-nav{top:80px}.home-hero{min-height:720px}.hero-copy{padding-top:205px}.hero-copy h1{font-size:65px}.hotel-grid{grid-template-columns:repeat(2,1fr)}.hotel-card:last-child{grid-column:1 / -1;max-width:calc(50% - 13px);margin:auto}.coast-grid{gap:55px}.moments-grid figure{height:320px}.family-image{min-height:520px}.family-copy{padding:55px}.stay-gallery-grid{grid-auto-rows:210px}}
@media(max-width:650px){.wrap{width:calc(100% - 38px)}.site-header{border-bottom-color:#ffffff45}.header-inner{height:72px}.brand{font-size:21px;gap:8px}.brand img{width:33px;height:44px}.header-book{min-height:40px;font-size:13px;padding:0 11px;gap:7px}.header-book span{font-size:18px}.menu-toggle{width:34px;padding:4px}.mobile-nav{top:72px;left:0;right:0}.home-hero{height:780px;min-height:0}.home-hero-image{object-position:55% center}.hero-shade{background:linear-gradient(90deg,#090a0abb,#090a0a61 70%,#090a0a22),linear-gradient(0deg,#0008,transparent 50%)}.hero-copy{padding-top:195px}.hero-copy h1{font-size:clamp(52px,12vw,69px)}.hero-description{font-size:16px;max-width:290px}.gold-button{min-width:220px;min-height:53px;padding:0 19px}.hero-foot{bottom:20px}.hero-places,.hero-scroll{display:none}.search-band{padding:35px 0}.home-intro{grid-template-columns:1fr;gap:0;padding-top:75px;padding-bottom:80px}.home-intro>div:nth-child(2){padding-top:0}.home-intro p:not(.eyebrow){font-size:17px}.hotels-section{padding:65px 0}.rule-eyebrow:before,.rule-eyebrow:after{width:28px}.section-heading{margin-bottom:30px}.section-heading .eyebrow{font-size:10px}.section-heading h2{font-size:52px}.section-heading>p:last-child{font-size:15px}.hotel-grid{grid-template-columns:1fr;gap:22px}.hotel-card:last-child{grid-column:auto;max-width:none}.hotel-image{height:255px}.hotel-description{min-height:0}.hostel-feature{display:grid;grid-template-columns:100px 1fr;gap:15px}.hostel-feature img{width:100px;height:100px}.hostel-feature h3{font-size:23px}.hostel-feature p:not(.eyebrow){font-size:13px}.hostel-feature .text-link{grid-column:1/-1;margin:0}.coast-section{padding:75px 0}.coast-grid{grid-template-columns:1fr;gap:55px}.coast-route{margin-left:15px}.moments-section{padding-top:80px;padding-bottom:80px}.moments-title .text-link{position:static;margin-bottom:25px}.moments-grid{grid-template-columns:1fr 1fr}.moments-grid figure{height:220px}.moments-grid figure:first-child{grid-column:1/-1;height:280px}.family-section{grid-template-columns:1fr}.family-image{min-height:330px;height:330px}.family-copy{padding:75px 25px}.dining-preview{grid-template-columns:1fr;padding-top:80px;padding-bottom:80px;gap:35px}.dining-preview img{height:300px}.visit-section{padding:80px 0}.visit-grid{grid-template-columns:1fr}.visit-grid a{min-height:170px}.footer-grid{grid-template-columns:1fr 1fr;gap:40px}.footer-grid>div:first-child{grid-column:1/-1}.footer-grid h2{font-size:46px}.footer-bottom{margin-top:60px}.page-hero{min-height:460px}.page-hero-content{padding:150px 0 60px}.page-hero h1{font-size:56px}.content-main{padding-top:65px;padding-bottom:80px}.content-main .entry-content{font-size:17px}.stay-intro{grid-template-columns:1fr;gap:0;padding:75px 0}.stay-highlights{padding:40px 0}.stay-highlights .wrap{grid-template-columns:1fr}.stay-highlights div div{font-size:23px;padding:10px 20px}.stay-gallery{padding:70px 0}.stay-gallery-grid{grid-template-columns:1fr 1fr;grid-auto-rows:160px}.stay-gallery-grid img:first-child{grid-column:1/-1;grid-row:auto;height:230px}.stay-book .wrap{display:block}.stay-book h2{margin-bottom:25px}.dining-grid,.contact-grid{grid-template-columns:1fr}.gallery-page-grid{grid-template-columns:1fr 1fr}.gallery-page-grid img{height:190px}.content-booking h1{font-size:47px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}.js .reveal:not(.is-visible){opacity:1;transform:none}}
.desktop-nav li,.mobile-nav li,.footer-grid li{list-style:none}
.brand img{object-fit:cover;object-position:left center}
