/*
Theme Name: AsianStar Entertainment
Theme URI: https://asianstar.info/
Author: AsianStar
Description: Entertainment news theme for AsianStar.info.
Version: 11.4.0
Requires at least: 5.8
Requires PHP: 7.2
Text Domain: asianstar
License: GPL-2.0-or-later
*/
:root{--as-primary:#087e8b;--as-primary-dark:#075b2e;--as-menu:#151515;--as-ink:#20282c;--as-muted:#7a8589;--as-bg:#f6f7f7;--as-white:#fff;--as-border:#e3e7e8;--as-shadow:0 8px 28px rgba(18,42,46,.07);--as-radius:3px;--as-container:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--as-bg);color:var(--as-ink);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.55}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}.container{width:min(var(--as-container),calc(100% - 32px));margin:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;left:-9999px;top:10px;z-index:9999;background:#fff;padding:8px 12px}.skip-link:focus{left:10px}
.site-header{background:#fff}.header-top{height:118px;display:flex;align-items:center;justify-content:space-between}.brand{display:inline-flex;align-items:center;gap:13px;color:var(--as-primary-dark);font-weight:900}.brand-mark{width:58px;height:58px;display:block}.brand-name{font-size:29px;letter-spacing:3px;line-height:1}.header-search{position:relative;width:270px}.header-search input{width:100%;height:42px;border:1px solid var(--as-border);border-radius:22px;padding:0 45px 0 15px;outline:0}.header-search button{position:absolute;right:3px;top:3px;width:36px;height:36px;border:0;background:transparent;font-size:25px;cursor:pointer;color:#222}
.main-nav{background:var(--as-menu);border-top:3px solid var(--as-primary)}.nav-inner{min-height:47px;display:flex;align-items:stretch}.menu-toggle{display:none}.primary-menu,.primary-menu ul{list-style:none;margin:0;padding:0}.primary-menu{display:flex;align-items:stretch}.primary-menu>li{position:relative}.primary-menu>li>a{height:47px;display:flex;align-items:center;padding:0 21px;color:#f4f4f4;font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.2px;white-space:nowrap}.primary-menu>li>a:hover,.primary-menu>li.current-menu-item>a,.primary-menu>li.current-menu-ancestor>a{background:#187da2}.primary-menu>li.asianstar-home-item>a{font-size:0;background:#187da2;width:72px;justify-content:center;padding:0}.primary-menu>li.asianstar-home-item>a:before{content:'⌂';font-size:23px}.primary-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:210px;background:#202020;z-index:99}.primary-menu li:hover>.sub-menu,.primary-menu li:focus-within>.sub-menu{display:block}.primary-menu .sub-menu a{display:block;padding:10px 14px;color:#fff}.primary-menu .sub-menu a:hover{background:var(--as-primary)}
.page-main{padding:18px 0 0}.home-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px;align-items:start}.hero{padding:0 0 10px}.hero-news{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.98fr);gap:6px;width:100%;height:430px;align-items:stretch}.hero-count-1{grid-template-columns:1fr}.hero-count-1 .hero-main{height:100%}.hero-count-2{grid-template-columns:1fr 1fr}.hero-count-2 .hero-main{height:430px}.hero-count-2 .hero-stack{grid-template-rows:1fr;height:430px}.hero-main,.hero-card{position:relative;overflow:hidden;background:#263b40;min-width:0}.hero-main{height:430px}.hero-stack{display:grid;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:6px;min-height:0;height:100%}.hero-card{height:100%;min-height:0}.hero-main>a,.hero-card>a{display:block;width:100%;height:100%;color:#fff}.hero-main img,.hero-card img{display:block;width:100%;height:100%;object-fit:cover}.hero-shade{position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.86));pointer-events:none}.hero-content{position:absolute;left:24px;right:22px;bottom:20px;z-index:2}.hero-card .hero-content{left:17px;right:16px;bottom:14px}.eyebrow{display:inline-block;background:#197fab;color:#fff;padding:4px 8px;font-size:10px;font-weight:800;text-transform:uppercase}.hero-main h1{font-size:29px;line-height:1.22;margin:10px 0 13px;color:#fff}.hero-card h2{font-size:18px;line-height:1.34;margin:8px 0;color:#fff}.post-meta{display:flex;gap:17px;color:#e3e7e8;font-size:12px}.hero-card .post-meta{font-size:11px;gap:10px}
.main-content{min-width:0;width:100%}.section-block{margin:14px 0 30px}.section-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe4e5;margin-bottom:10px}.section-heading h2{margin:0;padding:0 0 8px 13px;border-left:3px solid #1a91b5;font-size:18px;line-height:1.2;text-transform:uppercase}.section-heading a{display:inline-flex;align-items:center;gap:5px;padding:7px 11px;margin-bottom:7px;border:1px solid #cfd9db;border-radius:3px;background:#fff;color:#2a3a3e;font-size:10px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;transition:.2s}.section-heading a:hover{background:var(--as-primary);border-color:var(--as-primary);color:#fff;transform:translateX(2px)}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.post-card{min-width:0}.post-thumb{display:block;aspect-ratio:16/9;overflow:hidden;background:#dbe5e6}.post-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}.post-card:hover .post-thumb img{transform:scale(1.03)}.thumb-placeholder{display:block;width:100%;height:100%;min-height:100px;background:linear-gradient(135deg,#31535b,#6d858a)}.hero-main .thumb-placeholder,.hero-card .thumb-placeholder{min-height:100%;background:linear-gradient(135deg,#223a40,#607b80)}.post-body{padding:7px 0}.post-card h3{margin:0;font-size:15px;line-height:1.38}.post-card h3 a:hover{color:var(--as-primary)}.post-excerpt{display:none}
.sidebar{min-width:0;position:sticky;top:18px;align-self:start}.widget{background:#fff;border:1px solid var(--as-border);padding:14px;margin-bottom:10px}.widget-title{margin:0 0 11px;padding:0 0 8px;border-bottom:1px solid var(--as-border);font-size:17px;text-transform:uppercase}.side-list{display:grid;gap:9px}.side-post{display:grid;grid-template-columns:98px minmax(0,1fr);gap:10px;padding-bottom:9px;border-bottom:1px solid #eef0f0}.side-post:last-child{padding-bottom:0;border-bottom:0}.side-thumb{height:64px;background:#dce5e6;overflow:hidden}.side-thumb img{width:100%;height:100%;object-fit:cover;display:block}.side-body{min-width:0}.side-body h3{margin:0;font-size:13px;line-height:1.35;font-weight:700}.side-body h3 a:hover{color:var(--as-primary)}.side-meta{font-size:10px;color:var(--as-muted);margin-top:5px}
.archive-layout,.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}.archive-header{padding:20px 0 14px}.archive-header h1{margin:0;font-size:30px}.archive-list{display:grid;gap:15px}.list-card{display:grid;grid-template-columns:240px 1fr;gap:18px;background:#fff;border:1px solid var(--as-border);padding:12px}.list-card h2{margin:0;font-size:20px;line-height:1.35}.article-shell{padding:25px 0 40px}.article-card{background:#fff;border:1px solid var(--as-border);padding:30px}.article-title{margin:0 0 12px;font-size:36px;line-height:1.2}.article-meta{padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid var(--as-border);color:var(--as-muted);font-size:13px}.article-featured{margin:0 0 24px}.article-featured img{display:block;width:100%}.article-content{font-size:17px;line-height:1.82}.article-content h2{font-size:27px;line-height:1.3;margin-top:30px}.article-content h3{font-size:21px}.article-content img{max-width:100%;height:auto}.related-posts{margin-top:30px}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.search-title{margin:0 0 20px}.search-form-large{display:flex;gap:8px}.search-form-large input{flex:1;padding:10px;border:1px solid var(--as-border)}.search-form-large button{padding:10px 18px;border:0;background:var(--as-primary);color:#fff}.section-more-wrap,.load-more-wrap{display:flex;justify-content:center;align-items:center;width:100%;margin:22px 0 4px}.section-more-button,.load-more-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:142px;padding:11px 22px;border:1px solid rgba(26,145,181,.55);border-radius:999px;background:#fff;color:#176f8a;font-size:13px;font-weight:800;letter-spacing:.2px;line-height:1;text-decoration:none;box-shadow:0 4px 14px rgba(20,70,85,.08);transition:background .2s,border-color .2s,color .2s,transform .2s,box-shadow .2s}.section-more-arrow{font-size:17px;line-height:1;transition:transform .2s}.section-more-button:hover,.load-more-button:hover{background:var(--as-primary);border-color:var(--as-primary);color:#fff;transform:translateY(-2px);box-shadow:0 8px 20px rgba(26,145,181,.22)}.section-more-button:hover .section-more-arrow{transform:translateX(3px)}
.site-footer{margin-top:18px;background:#16191b;color:#c7ced0}.footer-inner{display:grid;grid-template-columns:minmax(190px,270px) minmax(0,1fr);gap:28px;padding:30px 0;align-items:center}.footer-brand h2,.footer-categories h2{margin:0 0 8px;color:#fff;font-size:19px;letter-spacing:2px}.footer-brand p{margin:0;font-size:12px;color:#aeb8bb;max-width:320px}.footer-categories h2{display:none}.footer-menu{display:flex;align-items:center;justify-content:space-between;gap:0;list-style:none;margin:0;padding:4px 0;white-space:nowrap}.footer-menu li{flex:1 1 0;min-width:0;border-left:1px solid #596064;text-align:center;padding:0 8px}.footer-menu li:first-child{border-left:0}.footer-menu a{display:inline-block;font-size:11px;font-weight:700;text-transform:uppercase;white-space:nowrap}.footer-menu a:hover{color:#35a7bd}.copyright{border-top:1px solid rgba(255,255,255,.08);padding:10px 0;font-size:11px;color:#7e898c}
@media(max-width:1050px){.home-layout{grid-template-columns:minmax(0,1fr) 300px}.hero-news{grid-template-columns:minmax(0,1.25fr) minmax(220px,.9fr)}.post-grid{gap:13px}.primary-menu>li>a{padding:0 13px}.footer-inner{grid-template-columns:210px minmax(0,1fr);gap:20px}.footer-menu{display:flex;gap:0}.footer-menu li:nth-child(4){border-left:1px solid #596064}}
@media(max-width:800px){.home-layout{grid-template-columns:1fr}.sidebar{position:static}.header-top{height:82px}.brand-name{font-size:21px;letter-spacing:2px}.brand-mark{width:46px;height:46px}.header-search{display:none}.nav-inner{position:relative}.menu-toggle{display:flex;width:52px;border:0;background:#187da2;color:#fff;font-size:22px;align-items:center;justify-content:center}.primary-menu{display:none;position:absolute;top:47px;left:0;right:0;background:#161616;z-index:99;flex-direction:column}.primary-menu.is-open{display:flex}.primary-menu>li>a,.primary-menu>li.asianstar-home-item>a{width:100%;height:44px;padding:0 16px;font-size:14px;justify-content:flex-start}.primary-menu>li.asianstar-home-item>a:before{display:none}.hero-news{grid-template-columns:1fr;height:auto}.hero-main{height:360px}.hero-stack{grid-template-columns:1fr 1fr;grid-template-rows:none}.hero-card{height:220px}.main-content{width:100%}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:12px}.widget{margin-bottom:0}.post-grid{grid-template-columns:repeat(2,1fr)}.footer-inner{grid-template-columns:1fr}.footer-menu{flex-wrap:wrap}.footer-menu li{flex:1 0 33.333%}.footer-menu li:nth-child(4){border-left:0}.footer-menu li:nth-child(1){border-left:0}}
@media(max-width:560px){.container{width:calc(100% - 24px)}.hero-main{height:330px}.hero-stack{grid-template-columns:1fr}.hero-card{height:200px}.hero-main h1{font-size:23px}.post-grid,.sidebar{grid-template-columns:1fr}.article-title{font-size:28px}.article-card{padding:20px}.list-card{grid-template-columns:1fr}.footer-menu{display:flex;flex-wrap:wrap}.footer-menu li{flex:1 0 50%;border-left:0!important;text-align:left;padding:6px 0}.footer-menu li:nth-child(even){border-left:1px solid #596064!important;padding-left:14px}.footer-inner{gap:22px}}

/* Category/archive load-more: centered below the article list */
.archive-list .archive-load-more{
    grid-column:1/-1;
    display:flex;
    justify-content:center;
    width:100%;
    padding:8px 0 12px;
    margin-top:4px;
}
.archive-list .archive-load-more .load-more-wrap,
.archive-list .archive-load-more > div{
    display:flex;
    justify-content:center;
    width:100%;
    margin:0;
}
.archive-list .archive-load-more .load-more-button,
.archive-list .archive-load-more button,
.archive-list .archive-load-more a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-width:160px;
    min-height:44px;
    padding:0 24px;
    border:1px solid rgba(8,126,139,.55);
    border-radius:999px;
    background:#fff;
    color:var(--as-primary-dark);
    font-size:13px;
    font-weight:800;
    letter-spacing:.3px;
    line-height:1;
    box-shadow:0 5px 18px rgba(8,126,139,.10);
    transition:all .22s ease;
}
.archive-list .archive-load-more .load-more-button::after,
.archive-list .archive-load-more button::after,
.archive-list .archive-load-more a::after{
    content:'↓';
    font-size:17px;
    line-height:1;
    transition:transform .22s ease;
}
.archive-list .archive-load-more .load-more-button:hover,
.archive-list .archive-load-more button:hover,
.archive-list .archive-load-more a:hover{
    background:var(--as-primary);
    border-color:var(--as-primary);
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 9px 24px rgba(8,126,139,.20);
}
.archive-list .archive-load-more .load-more-button:hover::after,
.archive-list .archive-load-more button:hover::after,
.archive-list .archive-load-more a:hover::after{
    transform:translateY(3px);
}

/* Vietnamese-safe typography for section navigation */
.section-heading a,
.section-more-button,
.load-more-button,
.archive-load-more button,
.archive-load-more a{
  font-family:"Segoe UI",Roboto,"Noto Sans",Arial,sans-serif;
  font-variant-ligatures:none;
  text-rendering:optimizeLegibility;
}
.section-heading a{letter-spacing:.18px;font-size:11px;}

/* Archive/category: AJAX control must always occupy the final row. */
#asianstar-archive-list > .archive-load-more,
#asianstar-archive-list > .load-more-wrap,
#asianstar-archive-list > .load-more-button {
  grid-column: 1 / -1;
  width: 100%;
  justify-self: stretch;
  order: 999999;
}
#asianstar-archive-list > .archive-load-more,
#asianstar-archive-list > .load-more-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px 0 0;
}


/* Article content images: always centered */
.article-content img,
.article-content figure img,
.article-content .wp-block-image img,
.article-content .wp-caption img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.article-content figure,
.article-content .wp-block-image,
.article-content .wp-caption {
    display: table;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.article-content .wp-caption-text,
.article-content figcaption {
    display: table-caption;
    caption-side: bottom;
    text-align: center;
}


/* Production fix: center every WordPress content image and neutralize alignment/float classes */
.article-content img,
.article-content p > img,
.article-content a > img,
.article-content figure img,
.article-content .wp-block-image img,
.article-content .wp-caption img,
.article-content img.alignnone,
.article-content img.alignleft,
.article-content img.alignright,
.article-content img.aligncenter {
    display: block !important;
    float: none !important;
    clear: both !important;
    max-width: 100% !important;
    width: auto;
    height: auto !important;
    margin: 20px auto !important;
}

.article-content figure,
.article-content .wp-block-image,
.article-content .wp-caption,
.article-content .alignnone,
.article-content .alignleft,
.article-content .alignright,
.article-content .aligncenter {
    float: none !important;
    clear: both !important;
    max-width: 100% !important;
    margin: 20px auto !important;
    text-align: center !important;
}

.article-content .wp-caption,
.article-content figure,
.article-content .wp-block-image {
    display: table !important;
}

.article-content .wp-caption-text,
.article-content figcaption {
    display: table-caption;
    caption-side: bottom;
    text-align: center !important;
}


/* Article content typography: justify text while keeping media centered */
.article-content,
.article-content p,
.article-content li {
    text-align: justify;
    text-justify: inter-word;
}

.article-content ul,
.article-content ol {
    text-align: justify;
}

.article-content img,
.article-content a > img,
.article-content figure,
.article-content .wp-block-image,
.article-content .wp-caption {
    text-align: center !important;
}

/* Prevent image-only links/containers from inheriting justified text spacing */
.article-content figure,
.article-content .wp-block-image,
.article-content .wp-caption {
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Mobile fix: archive/article must stack main content above sidebar */
@media (max-width: 800px) {
    .archive-layout,
    .article-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "main"
            "sidebar";
        width: 100%;
        max-width: 100%;
        gap: 20px;
    }

    .archive-layout > main,
    .archive-layout > .main-content,
    .article-layout > main,
    .article-layout > .main-content {
        grid-area: main;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .archive-layout > aside,
    .archive-layout > .sidebar,
    .article-layout > aside,
    .article-layout > .sidebar {
        grid-area: sidebar;
        position: static !important;
        top: auto !important;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .archive-layout,
    .article-layout {
        gap: 16px;
    }

    .archive-layout .sidebar,
    .article-layout .sidebar {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100%;
    }

    .archive-layout .widget,
    .article-layout .widget {
        min-width: 0;
        width: 100%;
    }

    .archive-list,
    .article-card {
        min-width: 0;
        max-width: 100%;
    }
}


/* Production mobile layout fix: match the actual archive/article markup */
@media (max-width: 800px) {
    .archive-layout,
    .article-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "content"
            "sidebar" !important;
        align-items: start !important;
    }

    .archive-layout > .archive-list,
    .article-layout > .article-card {
        grid-area: content !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .archive-layout > .sidebar,
    .article-layout > .sidebar {
        grid-area: sidebar !important;
        grid-column: 1 !important;
        grid-row: 2 !important;
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
}

@media (max-width: 560px) {
    .archive-layout > .sidebar,
    .article-layout > .sidebar {
        display: block !important;
    }

    .archive-layout > .sidebar .widget,
    .article-layout > .sidebar .widget {
        width: 100% !important;
        min-width: 0 !important;
        margin-bottom: 12px !important;
    }
}


/* AsianStar 10.4 – branding, category summaries and balanced sidebar */
body{font-family:"Be Vietnam Pro",Arial,Helvetica,sans-serif}
.header-top{min-height:118px;height:auto;padding:18px 0}
.brand{gap:14px;min-width:0}
.brand-mark{width:52px;height:52px;flex:0 0 52px}
.brand-name{font-family:"Be Vietnam Pro",Arial,sans-serif;font-size:25px;letter-spacing:0;line-height:1.3;font-weight:800;color:#075b2e;white-space:normal}
.brand-tagline{font-size:18px;font-weight:600;color:#2f555b}
.brand-separator{color:#087e8b;font-weight:700}
.nav-home{width:58px;height:47px;display:flex;align-items:center;justify-content:center;flex:0 0 58px;background:#187da2;color:#fff;font-size:0}
.nav-home span{font-size:25px;line-height:1}
.nav-home:hover{background:#0f6e8f}
.primary-menu>li.asianstar-home-item{display:none}
.post-excerpt{display:block;margin:8px 0 0;color:#647176;font-size:14px;line-height:1.6}
.list-card .post-excerpt{max-width:100%}
.archive-layout,.article-layout{grid-template-columns:minmax(0,1fr) 360px;gap:28px}
.sidebar{width:100%;min-width:0}
.side-list{gap:0}
.side-post{grid-template-columns:120px minmax(0,1fr);gap:13px;padding:12px 0;align-items:start}
.side-post:first-child{padding-top:0}
.side-thumb{width:120px;height:80px;aspect-ratio:3/2}
.side-body h3{font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.side-meta{font-size:11px;margin-top:6px}

@media(max-width:1050px){
  .archive-layout,.article-layout{grid-template-columns:minmax(0,1fr) 320px;gap:22px}
  .side-post{grid-template-columns:108px minmax(0,1fr);gap:11px}
  .side-thumb{width:108px;height:72px}
  .side-body h3{font-size:13px}
}
@media(max-width:800px){
  .header-top{min-height:86px;padding:12px 0}
  .brand-mark{width:42px;height:42px;flex-basis:42px}
  .brand-name{font-size:18px;line-height:1.35}
  .brand-tagline{font-size:14px}
  .nav-home{width:52px;flex-basis:52px}
  .primary-menu>li.asianstar-home-item{display:none!important}
  .archive-layout,.article-layout{grid-template-columns:minmax(0,1fr)!important}
  .archive-layout>.archive-list,.article-layout>.article-card{grid-area:content!important;grid-column:1!important;grid-row:1!important}
  .archive-layout>.sidebar,.article-layout>.sidebar{grid-area:sidebar!important;grid-column:1!important;grid-row:2!important;position:static!important;width:100%!important}
}
@media(max-width:560px){
  .brand-name{font-size:16px}
  .brand-tagline{font-size:13px}
  .brand-separator{padding:0 1px}
  .list-card .post-excerpt{font-size:13px;line-height:1.55}
  .side-post{grid-template-columns:118px minmax(0,1fr);gap:12px}
  .side-thumb{width:118px;height:79px}
  .side-body h3{font-size:14px;line-height:1.42}
}


/* =========================================================
   ASIANSTAR 11.0 – ENTERTAINMENT MAGAZINE VISUAL SYSTEM
   Theme-only visual overhaul. Core functionality unchanged.
   ========================================================= */
:root{
  --as-primary:#d81b60;
  --as-primary-dark:#8e1747;
  --as-accent:#ff8a00;
  --as-menu:#17131a;
  --as-ink:#211c24;
  --as-muted:#746d77;
  --as-bg:#f7f5f7;
  --as-white:#fff;
  --as-border:#ece6eb;
  --as-shadow:0 12px 38px rgba(44,17,35,.09);
  --as-radius:14px;
  --as-container:1240px;
}
body{background:linear-gradient(180deg,#fff 0,#f8f5f8 520px);color:var(--as-ink);font-family:"Be Vietnam Pro",Arial,sans-serif}
.container{width:min(var(--as-container),calc(100% - 40px))}
.site-header{background:rgba(255,255,255,.96);box-shadow:0 1px 0 rgba(41,21,35,.05)}
.header-top{height:104px;min-height:104px;padding:0}
.brand{gap:12px}
.brand-mark{width:54px;height:54px;filter:drop-shadow(0 6px 10px rgba(216,27,96,.16))}
.brand-name{font-size:26px;letter-spacing:-.6px;color:#251b24}
.brand-tagline{font-size:15px;font-weight:600;color:#837781}
.brand-separator{color:var(--as-primary)}
.header-search{width:285px}
.header-search input{height:44px;border:1px solid #e8e0e6;border-radius:999px;background:#faf9fa;padding-left:18px;transition:.2s}
.header-search input:focus{background:#fff;border-color:rgba(216,27,96,.5);box-shadow:0 0 0 4px rgba(216,27,96,.08)}
.main-nav{border-top:0;background:linear-gradient(90deg,#20151d,#151216);box-shadow:0 7px 20px rgba(37,16,29,.11)}
.nav-inner{min-height:52px}
.nav-home{width:58px;height:52px;flex-basis:58px;background:linear-gradient(135deg,var(--as-primary),#f03d76);border-right:1px solid rgba(255,255,255,.08);transition:.2s}
.nav-home:hover{background:linear-gradient(135deg,#c41452,#df1c5e)}
.nav-home span{font-size:27px}
.primary-menu>li>a{height:52px;padding:0 20px;font-size:13px;letter-spacing:.35px;color:#f8f4f6}
.primary-menu>li>a:hover,.primary-menu>li.current-menu-item>a,.primary-menu>li.current-menu-ancestor>a{background:rgba(216,27,96,.92)}
.primary-menu .sub-menu{background:#211820;border:1px solid rgba(255,255,255,.08);border-radius:0 0 10px 10px;overflow:hidden;box-shadow:var(--as-shadow)}
.primary-menu .sub-menu a{padding:12px 16px}.primary-menu .sub-menu a:hover{background:var(--as-primary)}
.page-main{padding-top:26px}

/* Hero */
.home-layout{grid-template-columns:minmax(0,1fr) 350px;gap:30px}
.hero{padding-bottom:16px}
.hero-news{gap:10px;height:460px;border-radius:18px;overflow:hidden;box-shadow:0 14px 36px rgba(45,21,38,.13)}
.hero-main{height:460px}.hero-stack{gap:10px}.hero-count-2 .hero-main,.hero-count-2 .hero-stack{height:460px}
.hero-main,.hero-card{border-radius:0}
.hero-main img,.hero-card img{transition:transform .55s ease}
.hero-main:hover img,.hero-card:hover img{transform:scale(1.045)}
.hero-shade{inset:30% 0 0;background:linear-gradient(180deg,transparent 0,rgba(16,9,14,.18) 35%,rgba(19,9,15,.92) 100%)}
.hero-content{left:30px;right:28px;bottom:27px}.hero-card .hero-content{left:20px;right:18px;bottom:18px}
.eyebrow{background:linear-gradient(90deg,var(--as-primary),#f04b7c);border-radius:999px;padding:5px 10px;font-size:10px;box-shadow:0 5px 14px rgba(216,27,96,.28)}
.hero-main h1{font-size:32px;letter-spacing:-.5px;line-height:1.2;margin:12px 0 12px}.hero-card h2{font-size:18px;line-height:1.35}
.post-meta{font-weight:500}

/* Homepage sections */
.section-block{margin:24px 0 42px}
.section-heading{border-bottom:2px solid #ece5ea;margin-bottom:18px}
.section-heading h2{position:relative;padding:0 0 11px 15px;border-left:0;font-size:21px;letter-spacing:-.3px}
.section-heading h2:before{content:"";position:absolute;left:0;top:3px;width:5px;height:23px;border-radius:99px;background:linear-gradient(180deg,var(--as-primary),#ff9a5c)}
.section-heading a{border-radius:999px;border-color:#eadce4;background:#fff;padding:8px 14px;color:var(--as-primary-dark);box-shadow:0 4px 12px rgba(50,18,39,.04)}
.section-heading a:hover{background:var(--as-primary);border-color:var(--as-primary)}
.post-grid{gap:20px}
.post-card{background:#fff;border:1px solid var(--as-border);border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(50,18,39,.035);transition:transform .2s,box-shadow .2s}
.post-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(50,18,39,.11)}
.post-thumb{aspect-ratio:16/10}.post-card:hover .post-thumb img{transform:scale(1.05)}
.post-body{padding:13px 14px 15px}.post-card h3{font-size:16px;line-height:1.42;letter-spacing:-.15px}
.post-card h3 a:hover{color:var(--as-primary)}
.post-excerpt{display:block!important;margin:8px 0 0;color:var(--as-muted);font-size:13px;line-height:1.55}

/* Sidebar */
.sidebar{top:20px}
.widget{border:0;border-radius:16px;padding:17px;background:rgba(255,255,255,.98);box-shadow:0 7px 24px rgba(50,18,39,.075);margin-bottom:18px}
.widget-title{position:relative;border:0;margin:0 0 14px;padding:0 0 11px 13px;font-size:18px;letter-spacing:-.2px}
.widget-title:before{content:"";position:absolute;left:0;top:2px;width:4px;height:21px;border-radius:99px;background:linear-gradient(180deg,var(--as-primary),var(--as-accent))}
.widget-title:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#eee7eb}
.side-post{grid-template-columns:116px minmax(0,1fr);gap:12px;padding:12px 0;transition:.15s}
.side-post:hover{transform:translateX(2px)}
.side-thumb{width:116px;height:78px;border-radius:9px;background:#eee;overflow:hidden}
.side-thumb img{transition:transform .25s}.side-post:hover .side-thumb img{transform:scale(1.05)}
.side-body h3{font-size:14px;line-height:1.43;letter-spacing:-.1px}.side-body h3 a:hover{color:var(--as-primary)}
.side-meta{color:#9a9098;font-size:10px}

/* Category magazine list */
.archive-layout,.article-layout{grid-template-columns:minmax(0,1fr) 350px;gap:30px}
.archive-header{padding:8px 0 18px}
.archive-header h1{font-size:34px;letter-spacing:-.8px;position:relative;padding-left:17px}
.archive-header h1:before{content:"";position:absolute;left:0;top:6px;width:6px;height:31px;border-radius:99px;background:linear-gradient(180deg,var(--as-primary),var(--as-accent))}
.archive-list{gap:18px}
.list-card{grid-template-columns:290px minmax(0,1fr);gap:22px;padding:0;border:1px solid var(--as-border);border-radius:16px;overflow:hidden;box-shadow:0 5px 20px rgba(50,18,39,.045);transition:.2s}
.list-card:hover{transform:translateY(-3px);box-shadow:0 15px 32px rgba(50,18,39,.1)}
.list-card .post-thumb{height:100%;min-height:190px;aspect-ratio:auto}
.list-card .post-body{padding:20px 20px 18px;display:flex;flex-direction:column;justify-content:center}
.list-card h2{font-size:22px;line-height:1.34;letter-spacing:-.3px}.list-card h2 a:hover{color:var(--as-primary)}
.list-card .post-excerpt{font-size:14px;line-height:1.65;color:var(--as-muted);margin-top:10px}
.archive-load-more{padding-top:4px}

/* Article */
.article-shell{padding:30px 0 50px}
.article-card{border:0;border-radius:18px;padding:38px 42px;box-shadow:0 8px 30px rgba(50,18,39,.065)}
.breadcrumbs{font-size:13px;color:var(--as-muted);margin-bottom:12px}.breadcrumbs a:hover{color:var(--as-primary)}
.article-title{font-size:40px;line-height:1.18;letter-spacing:-1px;margin-bottom:14px}
.article-meta{border-color:#eee7eb}
.article-featured{border-radius:14px;overflow:hidden;margin-bottom:28px}
.article-content{font-size:17px;line-height:1.9;color:#302a31}
.article-content>p:first-of-type{font-size:18px}
.article-content h2{font-size:28px;letter-spacing:-.45px;margin-top:34px}
.article-content h3{font-size:22px}
.article-content a{color:var(--as-primary);text-decoration:underline;text-decoration-color:rgba(216,27,96,.3);text-underline-offset:3px}
.article-content blockquote{margin:26px 0;padding:18px 22px;border-left:4px solid var(--as-primary);background:#fff5f8;border-radius:0 12px 12px 0;color:#5b3142}
.related-posts{padding-top:10px}.related-grid{gap:18px}

/* Buttons */
.section-more-button,.load-more-button{border-color:rgba(216,27,96,.35);color:var(--as-primary-dark);box-shadow:0 6px 16px rgba(216,27,96,.08)}
.section-more-button:hover,.load-more-button:hover{background:var(--as-primary);border-color:var(--as-primary);box-shadow:0 10px 24px rgba(216,27,96,.24)}

/* Footer */
.site-footer{margin-top:34px;background:#18131a!important;color:#eee8ed!important}
.footer-grid{padding-top:40px!important}.footer-brand h2{color:#fff!important}.footer-brand h2:after{background:var(--as-primary)!important}
.footer-nav a:hover{color:#ff80aa!important}

/* Responsive */
@media(max-width:1050px){
  .home-layout,.archive-layout,.article-layout{grid-template-columns:minmax(0,1fr) 310px;gap:22px}
  .header-search{width:240px}.list-card{grid-template-columns:240px minmax(0,1fr)}
}
@media(max-width:800px){
  .container{width:min(100% - 28px,var(--as-container))}
  .header-top{min-height:80px;height:auto;padding:11px 0}
  .brand-mark{width:42px;height:42px;flex-basis:42px}
  .brand-name{font-size:18px;line-height:1.28}.brand-tagline{font-size:12px}
  .header-search{display:none}
  .nav-inner{min-height:50px}.nav-home{height:50px;width:52px;flex-basis:52px}
  .menu-toggle{height:50px}
  .hero-news,.hero-main,.hero-count-2 .hero-main,.hero-count-2 .hero-stack{height:390px}
  .hero-main h1{font-size:26px}.hero-content{left:20px;right:18px;bottom:18px}
  .home-layout{display:block}.home-layout>.sidebar{margin-top:26px}
  .post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .section-block{margin-bottom:34px}
  .archive-layout>.archive-list,.article-layout>.article-card{grid-area:content!important;grid-column:1!important;grid-row:1!important}
  .archive-layout>.sidebar,.article-layout>.sidebar{grid-area:sidebar!important;grid-column:1!important;grid-row:2!important;position:static!important;width:100%!important}
  .article-card{padding:26px 22px;border-radius:14px}.article-title{font-size:31px}
  .list-card{grid-template-columns:190px minmax(0,1fr)}
}
@media(max-width:560px){
  body{font-size:14px}
  .container{width:calc(100% - 24px)}
  .brand-mark{width:38px;height:38px;flex-basis:38px}
  .brand-name{font-size:16px}.brand-tagline{font-size:11px}
  .nav-home{width:48px;flex-basis:48px}.nav-home span{font-size:24px}
  .hero-news{display:block;height:auto;border-radius:14px}.hero-main{height:360px}.hero-stack{display:grid;height:auto;grid-template-columns:1fr 1fr;grid-template-rows:none;margin-top:8px;gap:8px}.hero-card{height:190px}
  .hero-card h2{font-size:15px}.hero-card .hero-content{left:12px;right:10px;bottom:10px}
  .hero-main h1{font-size:23px}.eyebrow{font-size:9px}
  .post-grid{gap:11px}.post-card{border-radius:11px}.post-body{padding:10px 10px 12px}.post-card h3{font-size:14px}.post-excerpt{font-size:12px}
  .section-heading h2{font-size:18px}.section-heading a{font-size:9px;padding:7px 10px}
  .widget{border-radius:13px;padding:14px}
  .side-post{grid-template-columns:112px minmax(0,1fr);gap:11px}.side-thumb{width:112px;height:75px}
  .archive-header h1{font-size:27px}.archive-list{gap:13px}
  .list-card{grid-template-columns:130px minmax(0,1fr);gap:0;border-radius:13px}.list-card .post-thumb{min-height:100%;height:auto}.list-card .post-body{padding:13px 13px 12px}.list-card h2{font-size:16px;line-height:1.4}.list-card .post-excerpt{font-size:12px;line-height:1.5;margin-top:6px}
  .article-shell{padding-top:18px}.article-card{padding:20px 15px;border-radius:12px}.article-title{font-size:26px;letter-spacing:-.5px}.article-content{font-size:16px;line-height:1.82}.article-content>p:first-of-type{font-size:16px}.article-content h2{font-size:23px}.article-content h3{font-size:19px}
  .related-grid{grid-template-columns:1fr 1fr;gap:10px}
}


/* ASIANSTAR 11.1 – balanced category cards on small mobile */
@media (max-width: 640px){
  .archive-list{
    gap:14px;
  }

  .list-card{
    display:grid!important;
    grid-template-columns:minmax(82px,38%) minmax(0,1fr)!important;
    align-items:stretch;
    gap:0!important;
    min-width:0;
    overflow:hidden;
    border-radius:14px;
  }

  .list-card .post-thumb{
    width:100%!important;
    min-width:0;
    min-height:0!important;
    height:auto!important;
    aspect-ratio:3/4;
    align-self:stretch;
  }

  .list-card .post-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .list-card .post-body{
    min-width:0;
    padding:12px 13px!important;
    display:flex!important;
    flex-direction:column;
    justify-content:center;
    overflow:hidden;
  }

  .list-card h2{
    margin:0!important;
    font-size:15px!important;
    line-height:1.38!important;
    letter-spacing:0!important;
    overflow:hidden;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
  }

  .list-card .post-excerpt{
    margin:7px 0 0!important;
    font-size:11.5px!important;
    line-height:1.5!important;
    color:#756d75!important;
    overflow:hidden;
    display:-webkit-box!important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
  }

  .list-card .post-meta{
    margin-top:6px;
    font-size:10px;
  }
}

@media (max-width: 390px){
  .list-card{
    grid-template-columns:88px minmax(0,1fr)!important;
  }

  .list-card .post-body{
    padding:10px 11px!important;
  }

  .list-card h2{
    font-size:14px!important;
    -webkit-line-clamp:3;
  }

  .list-card .post-excerpt{
    font-size:11px!important;
    -webkit-line-clamp:2;
  }
}


/* ASIANSTAR 11.2 – mobile category: image + title only */
@media (max-width: 640px){
  .archive-list{gap:10px;}
  .archive-list .list-card{display:grid!important;grid-template-columns:122px minmax(0,1fr)!important;gap:0!important;min-height:86px;border-radius:10px;overflow:hidden;align-items:stretch;}
  .archive-list .list-card .post-thumb{width:122px!important;height:86px!important;min-height:86px!important;aspect-ratio:auto!important;margin:0!important;}
  .archive-list .list-card .post-thumb img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;}
  .archive-list .list-card .post-body{min-width:0!important;min-height:86px;padding:10px 14px!important;display:flex!important;justify-content:center!important;overflow:hidden;}
  .archive-list .list-card h2{margin:0!important;font-size:14px!important;line-height:1.42!important;font-weight:700!important;overflow:hidden;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;}
  .archive-list .list-card .post-excerpt,.archive-list .list-card .post-meta{display:none!important;}
}
@media (max-width:390px){
  .archive-list .list-card{grid-template-columns:108px minmax(0,1fr)!important;min-height:76px;}
  .archive-list .list-card .post-thumb{width:108px!important;height:76px!important;min-height:76px!important;}
  .archive-list .list-card .post-body{min-height:76px;padding:8px 11px!important;}
  .archive-list .list-card h2{font-size:13px!important;-webkit-line-clamp:3;}
}


/* ASIANSTAR 11.3 – add clear spacing between mobile thumbnail and title */
@media (max-width: 640px){
  .archive-list .list-card{
    grid-template-columns:122px minmax(0,1fr)!important;
    column-gap:12px!important;
    padding-right:10px!important;
    background:#fff;
  }
  .archive-list .list-card .post-body{
    padding:10px 4px 10px 0!important;
  }
}
@media (max-width:390px){
  .archive-list .list-card{
    grid-template-columns:108px minmax(0,1fr)!important;
    column-gap:10px!important;
    padding-right:8px!important;
  }
  .archive-list .list-card .post-body{
    padding:8px 2px 8px 0!important;
  }
}

/* ASIANSTAR 11.4 – show only 2 related posts on mobile */
@media (max-width: 640px){
  .article-card .related-grid > .post-card:nth-child(n+3){
    display:none!important;
  }
  .article-card .related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px;
  }
}
