/* Aladdin homepage: existing content, a clearer editorial sequence. */
.home .hp-section{--hp-space:clamp(3rem,6vw,5.5rem);padding:var(--hp-space) var(--ala-gutter)!important;gap:0!important}
.home .hp-section>.e-con-inner{max-width:none;padding:0!important;gap:0!important}
.home .hp-shell{width:100%;max-width:75rem!important;margin-inline:auto;padding:0!important;gap:2rem!important;--container-widget-width:100%}
.home .hp-section .e-con{min-width:0}
.home .hp-section .elementor-widget{max-width:100%;margin:0;--container-widget-width:100%}
.home .hp-section .elementor-heading-title{font-family:'Noto Sans Thai',sans-serif;font-weight:400;letter-spacing:-.04em;line-height:1.3;color:var(--ala-ink);margin:0}
.home .hp-section h2.elementor-heading-title{font-size:clamp(1.9rem,3.5vw,2.9rem)}
.home .hp-section .elementor-widget-text-editor{color:var(--ala-muted);font-size:1rem;line-height:1.85}
.home .hp-section p{margin:0}
.home .hp-section .hp-eyebrow{font-size:.85rem;line-height:1.5;color:var(--ala-muted)}
.home .hp-section .elementor-button{background:var(--ala-ink);color:var(--ala-paper);border:1px solid var(--ala-ink);padding:.95rem 1.5rem!important;gap:.5rem;min-height:3.1rem}
.home .hp-section .elementor-button:hover{background:transparent;color:var(--ala-ink)}
.home .hp-section-heading{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:1.25rem;padding:0!important}
.home .hp-heading-copy{gap:.7rem;padding:0!important}
.home .hp-text-action{width:auto!important;flex-shrink:0}
.home .hp-text-action .elementor-button{padding:.4rem 0!important;min-height:2.75rem;border:0;border-bottom:1px solid currentColor;background:none!important;color:var(--ala-ink)}
.home .hp-text-action .elementor-button::after{content:'↗';margin-left:1.2rem;font-size:1.25rem;line-height:1}
/* Original 1920 × 900 banners remain complete, including their existing copy. */
.home .hp-banner-hero{padding:0!important;background:var(--ala-ink);overflow:hidden}
.home .hp-banner-hero .hp-shell{max-width:none!important;gap:0!important}
.home .hp-banner-title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.home .hp-banner-hero .elementor-widget-image-carousel{width:100%}
.home .hp-banner-hero .elementor-image-carousel-wrapper{padding:0;background:var(--ala-ink);aspect-ratio:1920/900}
.home .hp-banner-hero .swiper-slide-image{display:block;width:100%;height:auto;aspect-ratio:1920/900;object-fit:contain}
.home .hp-banner-hero .swiper-slide figure{margin:0}
.home .hp-banner-hero .elementor-swiper-button{color:white;background:rgba(0,0,0,.3);width:2.75rem;height:2.75rem;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:1.1rem}
.home .hp-banner-hero .elementor-swiper-button-prev{left:.4rem}
.home .hp-banner-hero .elementor-swiper-button-next{right:.4rem}
.home .hp-banner-hero .swiper-pagination{bottom:.5rem!important}
.home .hp-banner-hero .swiper-pagination-bullet{background:white;opacity:.45;width:.5rem;height:.5rem}
.home .hp-banner-hero .swiper-pagination-bullet-active{opacity:1}
.home .hp-intro-grid{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:2rem;padding:0!important}
.home .hp-intro-copy{gap:1.5rem;padding:0!important;align-items:flex-start}
.home .hp-intro-copy h2{font-size:clamp(1.9rem,3.4vw,3rem)!important;line-height:1.4!important}
.home .hp-intro-copy .elementor-widget-text-editor{max-width:35rem}
.home .hp-intro-photo{padding:0!important;width:100%;background:var(--ala-soft)}
.home .hp-intro-photo img{display:block;width:100%;height:auto;max-height:30rem;object-fit:contain}
.home .hp-products{background:#e9e2d7}
.home .hp-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.75rem 1rem}
.home .hp-product{min-width:0;display:flex;flex-direction:column}
.home .hp-product-image{display:flex;align-items:center;justify-content:center;aspect-ratio:1;overflow:hidden;padding:.6rem;background:#f5f0e8;min-height:0}
.home .hp-product-image img{display:block;width:auto;max-width:100%;height:auto;max-height:100%;object-fit:contain;transition:opacity .2s}
.home .hp-product-image:hover img{opacity:.85}
.home .hp-product-info{padding:1rem 0 0;border-bottom:1px solid var(--ala-line);flex:1;display:flex;flex-direction:column}
.home .hp-product h3{font-size:1.1rem;font-weight:400;letter-spacing:-.025em;line-height:1.5;margin:0 0 .5rem}
.home .hp-product h3 a{text-decoration:none}
.home .hp-product p{font-size:.85rem;color:var(--ala-muted);margin-bottom:.5rem}
.home .hp-product-link{display:flex;align-items:center;justify-content:space-between;gap:.3rem;margin-top:auto;min-height:2.75rem;padding-bottom:.6rem;text-decoration:none;font-size:.75rem;color:var(--ala-muted)}
.home .hp-product-link span{font-size:1.2rem;color:var(--ala-ink)}
.home .hp-services{padding-block:2.5rem!important;border-bottom:1px solid var(--ala-line)}
.home .hp-services .hp-shell{gap:1.75rem!important}
.home .hp-services h2.elementor-heading-title{font-size:.8rem;letter-spacing:.07em;color:var(--ala-muted)}
.home .hp-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;padding:0!important}
.home .hp-service-grid .elementor-icon-box-wrapper{display:flex;align-items:flex-start;gap:.8rem;text-align:left}
.home .hp-service-grid .elementor-icon-box-icon{margin:0!important;flex:none}
.home .hp-service-grid .elementor-icon{font-size:1.6rem;color:var(--ala-ink)}
.home .hp-service-grid svg{width:1.6rem;height:1.6rem;fill:var(--ala-ink)}
.home .hp-service-grid .elementor-icon-box-title{font-family:'Noto Sans Thai',sans-serif;font-size:.95rem;line-height:1.5;font-weight:400;margin:0;letter-spacing:-.02em;color:var(--ala-ink)}
.home .hp-service-grid .elementor-icon-box-description:empty{display:none}
.home .hp-projects .aladdin-projects{grid-template-columns:minmax(0,1fr);gap:2.5rem}
.home .hp-projects .aladdin-project{display:flex;flex-direction:column;gap:1rem;padding:0;border-top:0}
.home .hp-projects .aladdin-project-photo{order:-1;background:var(--ala-soft);aspect-ratio:1.05;display:flex;align-items:center;justify-content:center;padding:.65rem}
.home .hp-projects .aladdin-project-photo img{width:100%;height:100%;aspect-ratio:auto;object-fit:contain;transform:none!important}
.home .hp-projects .aladdin-project-date{font-size:.75rem;letter-spacing:.1em;margin-bottom:.45rem}
.home .hp-projects .aladdin-project h3{font-size:1.5rem}
.home .hp-projects .aladdin-project-description{font-size:.9rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.home .hp-projects .aladdin-project-description>p{-webkit-line-clamp:3;line-height:1.8;margin-bottom:0}
.home .hp-projects .aladdin-link-button{justify-content:space-between;align-self:flex-start;background:none;padding:.5rem 0!important;min-height:2.75rem;color:var(--ala-ink);border-bottom:1px solid var(--ala-line);font-size:.8rem!important;margin-top:auto}
.home .hp-projects .aladdin-link-button::after{content:'↗';margin-left:1rem;font-size:1.1rem}
.home .hp-about{background:var(--ala-soft)}
.home .hp-about-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:2rem;padding:0!important;align-items:center}
.home .hp-about-photo{padding:0!important;max-width:33rem;margin-inline:auto}
.home .hp-about-photo img{display:block;width:100%;height:auto;object-fit:contain;filter:none}
.home .hp-about-copy{gap:1.4rem;padding:0!important;align-items:flex-start}
.home .hp-about-copy .elementor-widget-text-editor{max-width:32rem}
.home .hp-about-copy h2{font-size:clamp(1.9rem,3.1vw,2.7rem)!important}
.home .hp-news .aladdin-stories{display:grid;grid-template-columns:minmax(0,1fr);gap:2.5rem;margin-top:0}
.home .hp-news .aladdin-story{min-width:0;display:flex;flex-direction:column}
.home .hp-news .aladdin-story:first-child{grid-column:auto}
.home .hp-news .aladdin-story-image{aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;padding:.65rem;background:var(--ala-soft)}
.home .hp-news .aladdin-story-image img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;transform:none!important}
.home .hp-news .aladdin-story-date{font-size:.75rem;margin-top:1.2rem}
.home .hp-news .aladdin-story h3,.home .hp-news .aladdin-story:first-child h3{font-size:1.2rem;line-height:1.6;letter-spacing:-.02em;margin:.6rem 0}
.home .hp-news .aladdin-story p{font-size:.85rem;line-height:1.9}
.home .hp-contact{background:var(--ala-ink);margin:0!important}
.home .hp-contact-row{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:2rem;padding:0!important}
.home .hp-contact .elementor-widget-heading{max-width:46rem}
.home .hp-contact h2.elementor-heading-title{color:var(--ala-paper);font-size:clamp(1.9rem,3.4vw,3rem)}
.home .hp-contact .elementor-button{background:var(--ala-paper);color:var(--ala-ink);border-color:var(--ala-paper)}
.home .hp-contact .elementor-button:hover{background:transparent;color:var(--ala-paper)}
.home .aladdin-footer{padding-top:3rem!important}
@media(min-width:48rem){
 .home .hp-shell{gap:2.5rem!important}
 .home .hp-intro-grid{grid-template-columns:1.15fr 1fr;gap:4rem}
 .home .hp-banner-hero .elementor-swiper-button-prev{left:1.5rem}
 .home .hp-banner-hero .elementor-swiper-button-next{right:1.5rem}
 .home .hp-section-heading{flex-direction:row;align-items:flex-end;gap:2rem}
 .home .hp-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:2.25rem 1.75rem}
 .home .hp-product-image{aspect-ratio:1;padding:1rem}
 .home .hp-product h3{font-size:1.35rem}
 .home .hp-product-link{font-size:.8rem}
 .home .hp-service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1.75rem}
 .home .hp-projects .aladdin-projects{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.75rem}
 .home .hp-projects .aladdin-project-photo{aspect-ratio:1}
 .home .hp-projects .aladdin-project h3{font-size:1.35rem}
 .home .hp-about-grid{grid-template-columns:1fr 1fr;gap:4rem}
 .home .hp-news .aladdin-stories{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.75rem}
 .home .hp-news .aladdin-story-image{aspect-ratio:4/5}
 .home .hp-contact-row{flex-direction:row;align-items:center;gap:3rem}
 .home .hp-contact-row>.elementor-widget-button{width:auto;flex:none}
}
@media(min-width:64rem){
 .home .hp-product-grid{gap:2.5rem 2rem}
 .home .hp-service-grid .elementor-icon-box-title{font-size:1rem}
 .home .hp-projects .aladdin-projects,.home .hp-news .aladdin-stories{gap:2rem}
}
