/*
Theme Name: Early American — Editable Preview
Description: Protected staging preview using native editable WordPress blocks. Production launch remains gated.
 Version: 0.2.1
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: early-american-samples
*/
:root{--eam-cream:#f7f4eb;--eam-green:#263e33;--eam-wine:#7c3e43;--eam-paper:#fffdf6}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:4px}a:focus-visible,button:focus-visible{outline:3px solid #a06b37;outline-offset:4px}.wp-site-blocks{padding:0}.wp-block-post-content{padding-inline:clamp(20px,5vw,64px)}.wp-block-post-content>.wp-block-group,.wp-block-post-content>.wp-block-columns{max-width:1216px;margin-inline:auto}.eam-header,.eam-footer{padding:28px clamp(20px,5vw,64px)}.eam-header{border-bottom:1px solid #d9dccf}.eam-header-row{max-width:1216px!important;margin:auto!important;align-items:center!important}.eam-brand{font-family:Georgia,serif;font-size:30px;line-height:1.1;margin:0}.eam-brand a{text-decoration:none}.eam-header .wp-block-buttons{justify-content:flex-end}.eam-header .wp-block-button__link{padding:10px 14px;font-size:15px}.eam-header-row>.wp-block-column:last-child>p{text-align:right}.eam-eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--eam-wine);line-height:1.5}.eam-hero{padding-block:54px 32px;align-items:center!important;gap:48px!important}.eam-lead{font-size:21px;line-height:1.6}.eam-facts{border-block:1px solid #d9dccf;padding-block:14px;font-weight:700}.eam-hero-image img{width:100%;height:auto;object-fit:contain;border-radius:5px 50px 5px 5px}.eam-section{margin-block:54px!important}.eam-section h3{margin-top:30px}.eam-contact{padding:30px;border-left:4px solid #87906c;background:#e9eee3;margin-block:36px!important}.eam-contact p a{display:inline-flex;align-items:center;min-height:44px;overflow-wrap:anywhere}.eam-soft{background:#e9e9dd;padding:30px;border-radius:5px}.eam-card img{width:100%;height:auto}.eam-photo-grid{gap:18px!important}.eam-photo-grid figure{overflow:hidden;border-radius:4px}.eam-photo-grid img{aspect-ratio:4/3;object-fit:cover}.wp-block-image figcaption{font-size:14px;color:#5b685d;line-height:1.5}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{background:rgba(25,42,33,.83);color:white;padding:10px;font-size:14px}.eam-footer{background:var(--eam-green);color:var(--eam-cream);margin-top:64px}.eam-footer>*,.eam-header>*{max-width:1216px;margin-inline:auto}.eam-footer a{display:inline-block;padding-block:8px}.eam-staging-note{font-size:13px;opacity:.85}.wp-block-button__link{min-height:44px}.wp-block-columns{gap:34px}.wp-block-post-content h1{font-size:clamp(40px,5vw,66px);letter-spacing:-.04em}.wp-block-post-content h2{font-size:clamp(30px,3vw,40px);letter-spacing:-.03em}.wp-block-post-content h3{font-size:25px}img{max-width:100%}
@media(max-width:781px){.eam-header-row>.wp-block-column:last-child>p{text-align:left}.eam-header .wp-block-buttons{justify-content:flex-start}.eam-hero{padding-top:28px;gap:24px!important}.eam-section{margin-block:36px!important}.eam-contact,.eam-soft{padding:22px}.eam-photo-grid.has-nested-images figure.wp-block-image:not(#individual-image){width:calc(50% - 9px)!important;flex-grow:0}.eam-header-row{gap:20px!important}}
@media(max-width:480px){.eam-photo-grid.has-nested-images figure.wp-block-image:not(#individual-image){width:100%!important}.eam-header .wp-block-button__link{font-size:14px}.eam-lead{font-size:19px}}
/* Native-block compatibility layer for the preserved approved page classes. */
.wp-block-post-content{padding:0}.wp-block-post-content .wp-block-group,.wp-block-post-content .wp-block-columns{max-width:none;margin-block-start:0}.wp-block-post-content .wp-block-group.wrap{max-width:1216px;margin-inline:auto}.wp-block-post-content .wp-block-group>p:empty{display:none}.wp-block-post-content .wp-block-image{margin:0}.wp-block-post-content figure.wp-block-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.wp-block-post-content figure.wp-block-gallery>figure.wp-block-image{width:100%!important;flex-basis:auto!important;min-width:0}.wp-block-post-content figure.wp-block-gallery>figure.wp-block-image img{height:auto}.wp-block-post-content figure.wp-block-gallery>figure.wp-block-image figcaption{position:static;background:none;color:inherit;text-shadow:none;padding:8px 0}.wp-block-post-content .wp-block-buttons{margin:0;gap:12px}.wp-block-post-content .wp-block-button__link{font-family:Arial,sans-serif}.wp-block-post-content .filters{display:flex;flex-wrap:wrap;gap:10px}.filters .wp-block-button__link{font-size:16px;padding:10px 18px}.wp-block-post-content [hidden]{display:none!important}.wp-block-post-content .eam-check-row{display:flex;gap:12px;align-items:flex-start}.eam-check-row input{width:22px;height:22px;flex-shrink:0;margin-top:4px}.wp-block-post-content .wp-block-details>summary{cursor:pointer}.wp-block-post-content .wp-block-table{overflow-x:auto}.wp-block-post-content .wp-block-table table{min-width:500px}.wp-block-post-content .wp-block-table td,.wp-block-post-content .wp-block-table th{padding:12px;text-align:left}.eam-wp-header{max-width:1400px;margin:auto!important;padding:18px 28px;gap:28px!important;align-items:center!important}.eam-wp-header>.wp-block-image{width:106px;flex:0 0 106px;margin:0}.eam-wp-header>.wp-block-image img{width:106px;height:106px;object-fit:contain}.eam-wp-header .wp-block-navigation{flex:1;font-size:16px;line-height:1.5}.eam-wp-header .wp-block-navigation-item__content{padding:10px 7px;min-height:44px}.eam-wp-header .wp-block-navigation-submenu__toggle{min-width:30px;min-height:44px}.eam-wp-header .wp-block-navigation__submenu-container{min-width:240px;max-height:70vh;overflow-y:auto;background:#fffdf6;color:#263e33;padding:12px}.eam-wp-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content{white-space:normal}.eam-wp-header .eam-book{background:#7c3e43;color:#fffdf6;border-radius:3px}.eam-footer .wp-block-group{margin:0}.eam-footer p a{overflow-wrap:anywhere}.wp-block-details.eam-group{display:block}
@media(max-width:781px){.wp-block-post-content figure.wp-block-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.eam-wp-header{padding:12px 20px}.eam-wp-header .wp-block-navigation__responsive-container.is-menu-open{padding:24px}.eam-wp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container{max-height:none;overflow:visible}.wp-block-post-content .wp-block-group.wrap{width:calc(100% - 40px)}}
@media(max-width:540px){.wp-block-post-content figure.wp-block-gallery{grid-template-columns:1fr}.wp-block-post-content .wp-block-gallery figure.wp-block-image{width:100%!important}.eam-wp-header>.wp-block-image{flex-basis:82px}.eam-wp-header>.wp-block-image img{width:82px;height:82px}}
.ramp-list>.eam-rich-list-item{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:start;padding:18px 0;border-bottom:1px solid #d9dccf}.eam-rich-list-item{margin-block:18px}.eam-rich-list-item>.wp-block-buttons{align-self:center}@media(max-width:600px){.ramp-list>.eam-rich-list-item{grid-template-columns:30px minmax(0,1fr)}.ramp-list>.eam-rich-list-item>.wp-block-buttons{grid-column:2}}
/* Switch the long approved navigation to the native overlay before it crowds tablets. */
@media(max-width:1100px){.eam-wp-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}.eam-wp-header .wp-block-navigation__responsive-container-open{display:flex!important;min-width:44px;min-height:44px;align-items:center;justify-content:center}.eam-wp-header .wp-block-navigation__responsive-container.is-menu-open{display:flex!important}.eam-wp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container{max-height:none;overflow:visible}}
/* Native definition-list conversion: retain editable label/value blocks in paired cells. */
.wp-block-post-content .room-facts>h3.wp-block-heading{font-family:Arial,Helvetica,sans-serif;font-size:12px;font-weight:700;line-height:1.5;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0;grid-row:1}
.wp-block-post-content .room-facts>p{font-size:16px;font-weight:700;line-height:1.65;margin:0;grid-row:2}
.wp-block-post-content .room-facts>h3:nth-of-type(1),.wp-block-post-content .room-facts>p:nth-of-type(1){grid-column:1}
.wp-block-post-content .room-facts>h3:nth-of-type(2),.wp-block-post-content .room-facts>p:nth-of-type(2){grid-column:2}
.wp-block-post-content .room-facts>h3:nth-of-type(3),.wp-block-post-content .room-facts>p:nth-of-type(3){grid-column:3}
@media(max-width:800px){.wp-block-post-content .room-facts{grid-template-columns:minmax(95px,.8fr) minmax(0,1.2fr);gap:10px 16px}.wp-block-post-content .room-facts>h3.wp-block-heading:nth-of-type(n){grid-column:1;align-self:start}.wp-block-post-content .room-facts>p:nth-of-type(n){grid-column:2}.wp-block-post-content .room-facts>h3:nth-of-type(1),.wp-block-post-content .room-facts>p:nth-of-type(1){grid-row:1}.wp-block-post-content .room-facts>h3:nth-of-type(2),.wp-block-post-content .room-facts>p:nth-of-type(2){grid-row:2}.wp-block-post-content .room-facts>h3:nth-of-type(3),.wp-block-post-content .room-facts>p:nth-of-type(3){grid-row:3}}
/* Contact directions must wrap inside the native button instead of overflowing a phone. */
.eam-page-contact-us .contact-grid .wp-block-buttons,.eam-page-contact-us .contact-grid .wp-block-button{max-width:100%;min-width:0}
.eam-page-contact-us .contact-grid .wp-block-button.button.secondary{padding:0;border:0;background:transparent;white-space:normal;min-height:0}
.eam-page-contact-us .contact-grid .wp-block-button.secondary .wp-block-button__link{max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:48px;font-size:15px}
/* Source button styling belongs to one visual surface, not both the native wrapper and link. */
.eam-page-hunting .wp-block-post-content .wp-block-button.button{padding:0;border:0;background:transparent;min-height:0;box-shadow:none}
.eam-page-hunting .wp-block-post-content .wp-block-button.button:hover{background:transparent}
