/* The same editorial pages and reading scale accompany both Galaxy themes. */
[hidden]{display:none!important}
/* Never paint a sample photo under a real news cover while its img loads. */
.photo.has-cover{background-image:none!important;background-color:var(--surface-2,#efedf3)}
.footer-top{grid-template-columns:1.25fr 1.15fr 1.1fr .65fr;gap:32px}
.footer-identity{min-width:0}.footer-address{font-style:normal;font-size:13px;line-height:1.8;color:var(--muted);max-width:265px;margin-top:22px}
.footer-information{grid-template-columns:1fr}.footer-links a{color:var(--muted);font-weight:400}.footer-links a:hover{color:var(--purple)}
.footer-bottom>span:nth-child(2){max-width:570px;text-align:center;line-height:1.6}
.footer-social{gap:9px;flex-wrap:wrap}.footer-social a{height:36px;width:36px;transition:background .2s,transform .2s}.footer-social a:hover{background:var(--surface-2);transform:translateY(-2px)}
.site-footer .footer-top>div{min-width:0}
.site-footer .footer-brand{max-width:100%;min-width:0;flex-shrink:1}
.site-footer .medaily-logo-lockup{max-width:100%;min-width:0}
.site-footer .medaily-logo-frame{max-width:100%;flex-shrink:1}
#category-view .news-card h3,#saved-view .news-card h3,.author-page .news-card h3{font-size:18px;font-weight:400;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#category-view .primary-highlight h2{font-size:21px;font-weight:500;line-height:1.4}
#category-view .category-highlight:not(.primary-highlight) h2{font-size:18px;font-weight:500;line-height:1.4}
.reader-related .news-card h3,#interview-feature h3{font-size:18px;font-weight:500;line-height:1.5}
.reader-author-link{display:inline-flex;align-items:center;gap:10px;color:inherit;min-width:0}.reader-author-link:hover{color:var(--purple)}
.reader-author-link .editor-avatar{overflow:hidden;flex-shrink:0}.reader-author-link .editor-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.reader-author-name{font-size:14px;display:block;font-weight:400}.reader-author-name:hover{text-decoration:underline;text-underline-offset:3px}
.reader-byline>.reader-author-details{min-width:0}.reader-author-link .editor-avatar.author-initial{display:flex;align-items:center;justify-content:center;background:var(--surface-2);border:1px solid var(--line);font-size:16px;font-weight:500}
.comment-form-bottom{align-items:flex-start}.comment-form-bottom>p{max-width:560px;font-size:12px;line-height:1.65;margin:0;flex:1}.comment-form-bottom>button{flex-shrink:0}
.reel-stage.is-loading .reel-status-text{display:none}.reel-preload-pool{position:absolute;width:1px;height:1px;overflow:hidden;pointer-events:none;left:-10px;top:0}.reel-preload-pool video{width:1px;height:1px}
.site-info-page,.author-page{padding:10px 0 60px}
.info-navigation{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;padding:0 0 19px}
.info-navigation a{font-size:13px;white-space:nowrap;border:1px solid var(--line);padding:9px 13px;border-radius:25px;color:var(--muted);transition:background .2s,color .2s}
.info-navigation a.active,.info-navigation a:hover{background:var(--ink);color:var(--surface);border-color:var(--ink)}
.info-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:30px;padding:54px 60px;min-height:330px;border:1px solid #ba91ff2b;border-radius:22px;color:#faf7ff;overflow:hidden;background:radial-gradient(ellipse at 90% 65%,#53247377,transparent 58%),linear-gradient(125deg,#151023,#21142e)}
.info-hero:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.22;background-image:linear-gradient(#ddbcfa18 1px,transparent 1px),linear-gradient(90deg,#ddbcfa18 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(90deg,transparent,#000)}
.info-hero-copy{max-width:640px}.info-eyebrow{display:flex;align-items:center;gap:9px;color:#d5b7f8;font-size:10px;font-weight:500;letter-spacing:1.1px}
.info-eyebrow i,.info-dot{width:6px;height:6px;background:#fa9453;border-radius:50%;box-shadow:0 0 16px #fa94538c;flex-shrink:0}
.info-page-label{margin:27px 0 10px;font-size:14px;color:#c7b6d7}
.info-hero h1{font-size:clamp(30px,3.1vw,44px);font-weight:600;line-height:1.25;margin:0 0 20px;letter-spacing:-.7px;color:#fff}
.info-lead{font-size:16px;line-height:1.8;max-width:550px;color:#d1c1dc;margin:0}
.info-orbit{position:relative;width:245px;aspect-ratio:1;margin:auto;display:grid;place-items:center}
.info-orbit>i{position:absolute;border:1px solid #c69ff647;border-radius:50%;inset:0;transform:rotateX(57deg) rotate(-22deg);box-shadow:0 0 28px #bd84ff14,inset 0 0 28px #bd84ff11}
.info-orbit>i:nth-child(2){transform:rotateY(53deg) rotate(18deg);inset:15px;border-color:#ffa46e42}
.info-orbit>i:nth-child(3){transform:rotate(-25deg);inset:32px;border-color:#e7d4ff20}
.info-orbit>span{font-family:Montserrat,Arial,sans-serif;font-size:91px;line-height:1;font-weight:800;letter-spacing:-10px;color:#fff;text-shadow:0 0 45px #c688ff55;transform:translate(-4px,-5px)}
.info-orbit .orbit-dot{font-size:65px;color:#ff9b56;letter-spacing:0}
.info-orbit>b{position:absolute;width:5px;height:5px;background:#f4dcff;border-radius:50%;box-shadow:0 0 17px #d8a5ff;left:13%;top:33%;animation:editorial-shine 4s ease-in-out infinite}
.info-orbit>b:nth-last-child(2){left:76%;top:15%;animation-delay:1.2s}.info-orbit>b:last-child{left:81%;top:77%;background:#ff9e68;animation-delay:2.4s}
.info-body{display:grid;grid-template-columns:240px minmax(0,1fr);gap:50px;margin:42px 0 0}
.info-contents{position:sticky;top:90px;align-self:start;border-left:1px solid var(--line);padding-left:20px}
.info-contents>span{display:block;font-size:10px;letter-spacing:1px;color:var(--muted);margin-bottom:16px}
.info-contents a{display:block;font-size:13px;line-height:1.6;padding:7px 0;color:var(--muted)}.info-contents a:hover{color:var(--purple)}
.info-document{min-width:0}.info-copy-section{display:grid;grid-template-columns:30px minmax(0,1fr);gap:17px;padding:25px 0;border-bottom:1px solid var(--line);scroll-margin-top:85px}
.info-copy-section:first-child{padding-top:0}.info-section-number{font-size:11px;color:var(--purple);padding-top:5px;font-variant-numeric:tabular-nums}
.info-copy-section h2{font-size:20px;font-weight:500;line-height:1.5;margin:0 0 14px}
.info-copy-section p{font-size:16px;line-height:1.85;color:var(--muted);margin:0}
.info-next{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px;margin-top:32px;background:var(--surface-2);border:1px solid var(--line);border-radius:14px}
.info-next h2,.info-contact-card h2{font-size:20px;font-weight:500;margin:0 0 10px}.info-next p{font-size:14px;color:var(--muted);margin:0;line-height:1.7}
.info-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--purple);color:#fff;padding:12px 19px;border:1px solid transparent;border-radius:9px;font-size:13px;font-weight:500;white-space:nowrap}.info-cta:hover{color:#fff;filter:brightness(1.1)}
.info-cta.secondary{background:transparent;border-color:#b295c96b;color:#e7d8f5}
.info-contact-card{position:relative;border:1px solid #9474ad44;background:linear-gradient(135deg,#241431,#181126);color:#fff;border-radius:18px;padding:32px;margin-top:32px}
.info-contact-card .info-dot{display:block;margin-bottom:20px}.info-contact-card>p,.info-contact-card address{font-size:15px;line-height:1.85;font-style:normal;color:#cdbbdb;white-space:pre-line}.info-cta-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.author-hero{position:relative;isolation:isolate;display:flex;align-items:center;gap:30px;overflow:hidden;padding:40px;border-radius:20px;background:radial-gradient(ellipse at 95% 10%,#62378277,transparent 55%),#1d132b;border:1px solid #b994d840;color:#fff}
.author-portrait{width:144px;height:144px;flex-shrink:0;border-radius:50%;overflow:hidden;background:#3c2651;border:1px solid #c098dc55;box-shadow:0 0 0 10px #ffffff04;display:grid;place-items:center}
.author-portrait img{width:100%;height:100%;object-fit:cover}.author-portrait>span{font-size:52px;color:#dbc2f0;font-weight:400}
.author-introduction{max-width:700px;min-width:0}.author-introduction h1{font-size:clamp(27px,3vw,38px);font-weight:500;line-height:1.3;margin:13px 0;color:#fff}
.author-bio{font-size:15px;line-height:1.8;color:#d1c1db;white-space:pre-line;margin:0 0 20px;overflow-wrap:anywhere}
.author-total{display:inline-flex;font-size:12px;color:#cab3de;border:1px solid #b28ccc42;border-radius:20px;padding:6px 12px}
.author-hero-orbit{position:absolute;z-index:-1;width:300px;height:300px;border:1px solid #e3c6ff18;border-radius:50%;right:-120px;top:-120px;box-shadow:0 0 0 25px #ffffff02,0 0 0 55px #ffffff02}
.author-news-heading{margin:35px 0 23px}.author-empty{grid-column:1/-1;padding:30px;border:1px solid var(--line);border-radius:12px;color:var(--muted)}
.author-load-more{margin:30px auto 0}.author-load-more:disabled{opacity:.6}#author-load-status{text-align:center;color:var(--muted);font-size:13px;margin-top:10px}
a:focus-visible{outline:2px solid var(--purple);outline-offset:4px}
.main-nav .all-menu:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
@media(max-width:740px){
  .main-nav{gap:12px;min-width:0}
  .main-nav .all-menu{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:0 12px 0 0;color:var(--ink)}
  .main-nav .all-menu svg{width:18px;height:18px;flex-shrink:0}
  .main-nav .nav-links{min-width:0;overflow-x:auto}
}
@keyframes editorial-shine{0%,100%{opacity:.4;transform:scale(.75)}50%{opacity:1;transform:scale(1.25)}}
@media(max-width:1000px){.footer-top{grid-template-columns:1fr 1fr}.info-hero{padding:38px}.info-body{grid-template-columns:200px minmax(0,1fr);gap:30px}.info-orbit{width:190px}.info-orbit>span{font-size:76px}.info-orbit .orbit-dot{font-size:52px}}
@media(max-width:740px){.footer-top{gap:28px 22px}.footer-address{font-size:12px;max-width:100%;margin-top:16px}.footer-bottom>span:nth-child(2){text-align:left}.footer-top h3,.footer-links a{font-size:13px}.info-hero{grid-template-columns:1fr;padding:30px 25px;min-height:0;gap:0;border-radius:16px}.info-orbit{position:absolute;width:160px;right:-65px;top:-65px;opacity:.25;z-index:-1}.info-orbit>span{font-size:65px}.info-hero h1{font-size:30px}.info-lead{font-size:15px}.info-eyebrow{font-size:9px;letter-spacing:.5px}.info-body{display:block;margin-top:25px}.info-contents{position:static;display:flex;gap:12px;overflow:auto;padding:0 0 18px;margin-bottom:25px;border-left:0;border-bottom:1px solid var(--line)}.info-contents>span{display:none}.info-contents a{white-space:nowrap;font-size:12px;border:1px solid var(--line);padding:7px 12px;border-radius:20px}.info-copy-section{gap:12px;grid-template-columns:23px minmax(0,1fr);padding:23px 0}.info-copy-section h2{font-size:18px}.info-copy-section p{font-size:15px;line-height:1.85}.info-next{align-items:flex-start;flex-direction:column;padding:22px}.info-contact-card{padding:25px}.author-hero{padding:27px 23px;gap:23px;align-items:flex-start;flex-direction:column}.author-portrait{width:100px;height:100px}.author-introduction h1{font-size:28px}.author-bio{font-size:14px}.author-page .news-card h3,#category-view .news-card h3,#saved-view .news-card h3{font-size:16px}#category-view .primary-highlight h2{font-size:20px}.comment-form-bottom{flex-wrap:wrap}.comment-form-bottom>p{flex-basis:100%}.footer-social{max-width:180px}}
@media(max-width:420px){.footer-top{grid-template-columns:1fr 1fr;column-gap:20px}.footer-identity{grid-column:1/-1}.footer-address{max-width:330px}.footer-top>div:last-child{grid-column:1/-1}.footer-social{max-width:none}}
/* Mobile footer sections use full rows: an inner link grid must never squeeze
   the fixed-width wordmark into half of a phone viewport. Shared by both themes. */
@media(max-width:740px){
  .site-footer .footer-top{grid-template-columns:minmax(0,1fr);gap:0;padding-block:30px 24px}
  .site-footer .footer-top>div{grid-column:1/-1;padding-block:22px;border-bottom:1px solid var(--line)}
  .site-footer .footer-top>.footer-identity{padding-top:0;padding-bottom:24px}
  .site-footer .footer-top>div:last-child{padding-bottom:0;border-bottom:0}
  .site-footer .footer-brand{width:fit-content;margin:0;align-self:start}
  .site-footer .footer-brand .medaily-logo-frame{width:200px;max-width:100%}
  .site-footer .footer-brand .medaily-tagline{font-size:10px;line-height:1.5}
  .site-footer .footer-brand .brand-name{font-size:24px;letter-spacing:-.6px}
  .site-footer .footer-address{max-width:360px;margin-top:16px;font-size:12px;line-height:1.8;overflow-wrap:break-word}
  .site-footer .footer-top h3{font-size:13px;font-weight:600;line-height:1.5;margin:0 0 12px}
  .site-footer .footer-links,.site-footer .footer-information{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px}
  .site-footer .footer-links a{display:flex;align-items:center;min-height:36px;min-width:0;padding-block:5px;font-size:12px;line-height:1.6;overflow-wrap:break-word}
  .site-footer .footer-social{max-width:none;gap:12px;flex-wrap:wrap}
  .site-footer .footer-social a{width:40px;height:40px;flex-shrink:0}
  .site-footer .footer-social svg{width:17px;height:17px}
  .site-footer .footer-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px 12px;padding-block:20px calc(160px + env(safe-area-inset-bottom,0px));font-size:11px;line-height:1.7}
  .site-footer .footer-bottom>span:first-child{grid-column:1;grid-row:1;min-width:0;overflow-wrap:break-word}
  .site-footer .footer-bottom>span:nth-child(2){grid-column:1/-1;grid-row:2;width:auto;max-width:none;text-align:left;font-size:11px;line-height:1.8;overflow-wrap:break-word}
  .site-footer .back-top{grid-column:2;grid-row:1;min-height:40px;padding:8px 11px;border:1px solid var(--line);border-radius:20px;font-size:11px;color:var(--ink);background:var(--surface)}
  .site-footer .back-top svg{width:14px;height:14px}
}
@media(prefers-reduced-motion:reduce){.info-orbit>b{animation:none}.footer-social a{transition:none}}

/* A lighter news-title scale on phones, shared by both Galaxy themes.
   Keep the latest/popular feeds and every desktop title at their current scale. */
@media(max-width:740px){
  .feature-card h2,#category-view .primary-highlight h2{font-size:19px;font-weight:500;line-height:1.4}
  .lead-section .side-card h3,.lead-section .side-card:hover h3,
  #category-view .category-highlight:not(.primary-highlight) h2{font-size:17px;font-weight:400;line-height:1.4}
  .news-card h3,.culture-grid h3,#news-section .news-card h3,
  #category-view .news-card h3,#saved-view .news-card h3,.author-page .news-card h3,
  .reader-related .news-card h3,.reader-related-grid h3,
  #interview-feature h3,.interview-copy h3,.category-large h3,
  #category-columns .category-large h3,.video-section .video-card h3{font-size:16px;font-weight:400;line-height:1.5}
  .video-section .video-card:first-child h3,.editorial-banner h2{font-size:18px;font-weight:500;line-height:1.4}
  .category-mini h3,#category-columns .category-mini h3{font-size:13px;font-weight:400;line-height:1.5}
  .search-result h3,.playlist-item h3{font-size:15px;font-weight:400;line-height:1.5}
  .reader-article-head h1,.article-body h1,.category-page-head h1{font-size:24px;font-weight:500;line-height:1.4}
  .magazine-hero h1,.interview-page .magazine-hero h1{font-weight:500}
}

/* Canonical article pictures: shared by both reader themes and the editor. */
.reader-copy .interview-wrap-segment{display:flow-root;margin:1.5em 0}
.reader-copy figure.story-image{display:block;max-width:100%;min-width:min(140px,100%);margin:1.5em 0;padding:0;break-inside:avoid;background:none;box-sizing:border-box}
.reader-copy figure.story-image.image-left{float:none;clear:both;margin-left:0;margin-right:auto}
.reader-copy figure.story-image.image-center{float:none;clear:both;margin-left:auto;margin-right:auto}
.reader-copy figure.story-image.image-right{float:none;clear:both;margin-left:auto;margin-right:0}
.reader-copy figure.story-image.image-wrap-left{float:left;clear:none;margin:.4em 1.4em 1em 0}
.reader-copy figure.story-image.image-wrap-right{float:right;clear:none;margin:.4em 0 1em 1.4em}
.reader-copy figure.story-image img{display:block;width:100%!important;max-width:100%!important;height:auto!important;margin:0;object-fit:contain;border-radius:10px}
.reader-copy figure.story-image figcaption{display:block;font-size:12px;font-weight:400;line-height:1.7;color:#81788a;text-align:center;margin:9px 0 0;padding:0}
.reader-copy::after{content:"";display:block;clear:both}
@media(max-width:640px){.reader-copy figure.story-image.image-wrap-left,.reader-copy figure.story-image.image-wrap-right{float:none;clear:both;width:100%!important;margin:1.25em auto}}
