/* v1.2.0: remove ONLY the two legacy Header Sidebar image advertisements
   from the custom homepage. Their widgets are preserved everywhere else.
   CSS fallback covers separate HTML widgets / theme-side HTML output. */
body.sgh-home-active a:has(> img[src*="/image/tel.png"]),
body.sgh-home-active a:has(> img[src*="/image/tel3.gif"]),
body.sgh-home-active .widget:has(> .textwidget > a > img[src*="/image/tel.png"]):has(> .textwidget > a > img[src*="/image/tel3.gif"]),
body.sgh-home-active .widget:has(> .textwidget > p > a > img[src*="/image/tel.png"]):has(> .textwidget > p > a > img[src*="/image/tel3.gif"]) {
  display:none!important;
}
/* v1.1.2 – match the actual Taoyuan site's understated white / warm ivory grid. */
body.sgh-home-active {background:#fff!important;}
body.sgh-home-active #main {background:#fff!important;padding:14px 0 48px!important;}
body.sgh-home-active #main > .inner-wrap {max-width:1200px;}
body.sgh-home-active #sgh-content {box-sizing:border-box;float:none;display:block;clear:both;width:100%;max-width:1120px;margin:0 auto;color:#302c2a;font-family:'Noto Sans TC','PingFang TC','Microsoft JhengHei',Arial,sans-serif;line-height:1.6;}
.sgh-shell,.sgh-shell *,.sgh-shell *::before,.sgh-shell *::after {box-sizing:border-box;}
.sgh-shell a{text-decoration:none!important;}
.sgh-shell a:hover{text-decoration:none!important;}
.sgh-inner {padding:0 18px;}
/* The top gray band mirrors the Taoyuan banner; existing theme header/sidebar stays untouched. */
.sgh-masthead {display:flex;justify-content:center;align-items:center;min-height:140px;margin:16px 0 18px;border-radius:7px 7px 0 0;padding:28px 18px;background:linear-gradient(180deg,#686868,#4b4b4b);color:#fff;text-align:center;}
.sgh-masthead-inner{max-width:820px;}
body .sgh-shell .sgh-masthead h1{font-family:inherit;color:#fff;font-size:clamp(21px,2.8vw,31px);font-weight:500;line-height:1.45;border:0;padding:0;margin:0 0 7px;letter-spacing:.02em;text-shadow:none;}
.sgh-masthead p{color:#e2e2e2;font-size:12px;margin:0;line-height:1.6;}
/* Signature warm-ivory introduction. */
.sgh-intro {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:27px 30px;border-radius:18px;background:linear-gradient(105deg,#f7f2eb,#fffefe);border:1px solid #ebdfd3;box-shadow:0 4px 17px rgba(54,37,23,.04);}
.sgh-intro-copy{min-width:0;}
.sgh-kicker{display:block;margin:0 0 5px;color:#b38363;font-size:10px;font-weight:800;letter-spacing:.16em;line-height:1.4;}
body .sgh-shell .sgh-intro h2{font-size:clamp(22px,2.7vw,30px);line-height:1.35;color:#251b16;font-weight:850;padding:0;margin:0 0 8px;border:0;letter-spacing:.01em;}
.sgh-intro p{font-size:12px;color:#74665e;margin:0;line-height:1.8;}
.sgh-age{display:flex;align-items:center;gap:11px;flex:0 0 195px;min-height:61px;border:1px solid #eee5df;border-radius:12px;background:#fff;padding:9px 12px;}
.sgh-age strong{display:grid;place-items:center;width:35px;height:35px;min-width:35px;background:#33302f;border-radius:50%;color:#fff;font-size:12px;}
.sgh-age span{color:#766e69;font-size:10px;line-height:1.6;}
/* Identical topic-card idea: six white bordered small cards, three across. */
.sgh-section{margin-top:29px;}
body .sgh-shell .sgh-section h2{font-size:clamp(20px,2.3vw,24px);line-height:1.4;font-weight:800;color:#231a14;margin:0 0 5px;padding:0;border:0;}
.sgh-section-desc{color:#9b948f;font-size:12px;margin:0 0 17px;}
.sgh-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;}
.sgh-topic{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px solid #e8ded6;border-radius:10px;min-height:74px;padding:12px 15px;color:#292421!important;transition:border-color .18s ease,box-shadow .18s ease;}
.sgh-topic:hover{border-color:#c7a994;box-shadow:0 4px 13px rgba(77,54,35,.07);}
.sgh-topic-info{display:flex;flex-direction:column;gap:3px;min-width:0;}
.sgh-topic-info strong{font-size:13px;line-height:1.4;font-weight:850;}
.sgh-topic-info small{font-size:10px;color:#a99b91;}
.sgh-topic-arrow{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:50%;background:#f5f2ef;color:#5b514c;font-size:16px;font-weight:700;}
/* Four photo cards, like Taoyuan's screenshot, not the old three text-heavy columns. */
.sgh-post-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;align-items:stretch;}
.sgh-article{display:flex;flex-direction:column;overflow:hidden;min-width:0;background:#fff;border:1px solid #e8dfd8;border-radius:12px;transition:box-shadow .18s ease,transform .18s ease;}
.sgh-article:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(51,31,17,.10);}
.sgh-cover{position:relative;display:block;overflow:hidden;width:100%;aspect-ratio:1.42;background:#f3e6e0;}
.sgh-cover .sgh-cover-image{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;}
.sgh-cover-fallback{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;background:linear-gradient(130deg,#f1e6e2,#e7ddda);color:#9b746b;font-size:34px;}
.sgh-cover-fallback small{font-size:9px;color:#947f7a;letter-spacing:.05em;}
.sgh-flag{position:absolute;top:9px;left:9px;display:inline-block;border-radius:99px;padding:5px 9px;background:#34302e;color:#fff;font-size:10px;line-height:1.2;font-weight:850;transform:rotate(-6deg);}
.sgh-article-body{display:flex;flex:1;flex-direction:column;min-height:165px;padding:12px 13px 14px;}
.sgh-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#af9f95;font-size:10px;line-height:1.6;margin-bottom:7px;}
.sgh-meta span:first-child{color:#b4937e;}
.sgh-meta span:nth-child(2){display:none;}
.sgh-meta time{white-space:nowrap;}
body .sgh-shell .sgh-article h3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:0;font-size:14px;line-height:1.55;font-weight:800;margin:0 0 8px;padding:0;border:0;}
.sgh-article h3 a{color:#2d211a!important;}
.sgh-article h3 a:hover{color:#9b6c51!important;}
.sgh-article-body p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#8e8178;font-size:11px;line-height:1.65;margin:0 0 12px;}
.sgh-read{display:inline-block;color:#9f785d!important;font-size:11px;font-weight:700;margin-top:auto;}
.sgh-empty{grid-column:1/-1;background:#faf8f6;border:1px solid #eee5df;border-radius:12px;padding:25px;color:#74665e;}
.sgh-pages{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:24px;}
.sgh-pages .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;border-radius:7px;border:1px solid #e9ded7;background:#fff;color:#594c45;padding:5px 10px;font-size:12px;}
.sgh-pages .page-numbers.current,.sgh-pages a.page-numbers:hover{background:#4f433d;color:#fff;border-color:#4f433d;}
.sgh-contact{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:33px;padding:25px 28px;border:1px solid #ebe0d8;border-radius:13px;background:#f9f5f0;}
body .sgh-shell .sgh-contact h2{font-size:19px;font-weight:850;line-height:1.5;color:#28201b;border:0;padding:0;margin:0 0 6px;}
.sgh-contact p{font-size:12px;color:#8c7c71;margin:0;}
.sgh-contact-buttons{display:flex;flex-wrap:wrap;gap:8px;}
.sgh-contact-buttons a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border-radius:7px;background:#473a33;color:#fff!important;font-size:12px;font-weight:800;}
.sgh-contact-buttons a + a{border:1px solid #c8b8ad;background:#fff;color:#51433b!important;}
.sgh-footnote{text-align:center;font-size:11px;color:#aa9b91;margin:20px 0 0;}
@media (max-width:800px){body.sgh-home-active #sgh-content{width:100%;padding:0 11px;}.sgh-inner{padding:0 5px;}.sgh-intro{padding:23px 20px;}.sgh-post-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.sgh-topics{grid-template-columns:repeat(2,minmax(0,1fr));}.sgh-contact{flex-direction:column;align-items:flex-start;}}
@media (max-width:480px){body.sgh-home-active #main{padding-top:6px!important;}body.sgh-home-active #sgh-content{padding:0 8px;}.sgh-inner{padding:0 2px;}.sgh-masthead{min-height:105px;margin:7px 0 13px;padding:20px 13px;}.sgh-masthead p{font-size:10px;}.sgh-intro{padding:20px 16px;align-items:flex-start;flex-direction:column;gap:13px;}.sgh-age{flex:initial;width:100%;min-height:46px;padding:7px;}.sgh-section{margin-top:27px;}.sgh-topics{gap:8px;}.sgh-topic{min-height:66px;padding:9px;}.sgh-topic-info strong{font-size:12px;}.sgh-topic-arrow{width:24px;height:24px;flex-basis:24px;}.sgh-post-grid{gap:9px;}.sgh-cover{aspect-ratio:1.16;}.sgh-article-body{min-height:155px;padding:9px 9px 11px;}.sgh-meta{font-size:9px;}.sgh-meta time{font-size:9px;}body .sgh-shell .sgh-article h3{font-size:12px;line-height:1.55;}.sgh-article-body p{font-size:10px;}.sgh-contact{padding:19px;}.sgh-contact-buttons{width:100%;}.sgh-contact-buttons a{flex:1;}}
@media (prefers-reduced-motion:reduce){.sgh-shell a,.sgh-article{transition:none!important;}}

/* v1.2.0: Taoyuan's complete bottom layout (three-column MORE cards + dark footer). */
.sgh-more-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;}
.sgh-more-grid .sgh-cover{aspect-ratio:1.65;}
.sgh-more-grid .sgh-article-body{min-height:165px;}
.sgh-contact{background:#292725;border:1px solid #292725;border-radius:12px;color:#fff;margin-top:32px;box-shadow:0 5px 15px rgba(36,27,24,.12);}
body .sgh-shell .sgh-contact h2{color:#fff;}
.sgh-contact p{color:#dbd3cd;}
.sgh-contact .sgh-kicker{color:#e0b793;}
.sgh-contact-buttons a{background:#fff;color:#28201b!important;}
.sgh-contact-buttons a + a{background:#403c39;color:#fff!important;border-color:#6c615b;}
@media(max-width:800px){.sgh-more-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:480px){.sgh-more-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}.sgh-more-grid .sgh-cover{aspect-ratio:1.16;}}

/* The Taoyuan reference displays five featured photo cards in one row. */
.sgh-featured-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;}
@media(max-width:800px){.sgh-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}


/* v1.3.0: main-brand-aligned visual photography, without changing archive / posts. */
body.sgh-home-active .sgh-masthead{
  position:relative;overflow:hidden;isolation:isolate;
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  align-items:stretch;min-height:280px;margin:16px 0 18px;padding:0;
  text-align:left;background:#47242e;border:1px solid #683b44;
  border-radius:17px;box-shadow:0 14px 40px rgba(63,32,41,.15);
}
.sgh-masthead::before{content:"";z-index:1;pointer-events:none;position:absolute;inset:0;background:linear-gradient(90deg,rgba(46,22,32,.16),transparent 68%);}
.sgh-masthead-inner{z-index:2;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;max-width:none;min-width:0;padding:32px 18px 33px 38px;}
.sgh-hero-eyebrow{display:block;margin-bottom:13px;font-size:10px;font-weight:800;letter-spacing:.15em;color:#e7bbad;line-height:1.6;}
body .sgh-shell .sgh-masthead h1{color:#fff;font-size:clamp(23px,3vw,36px);font-weight:850;line-height:1.43;text-align:left;letter-spacing:.02em;margin-bottom:12px;text-shadow:0 2px 10px rgba(0,0,0,.16);}
.sgh-masthead p{font-size:13px;color:#f0dee1;line-height:1.8;max-width:450px;text-align:left;}
.sgh-hero-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:19px;}
.sgh-hero-links a{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 15px;min-height:38px;border-radius:99px;background:#fff;color:#673543!important;font-size:12px;font-weight:750;}
.sgh-hero-links a + a{background:rgba(255,255,255,.12);color:#fff!important;border:1px solid rgba(255,255,255,.4);}
.sgh-masthead-photo{height:100%;min-height:280px;overflow:hidden;position:relative;}
.sgh-masthead-photo::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#47242e 0%,rgba(71,36,46,.52) 24%,transparent 65%);}
.sgh-masthead-photo img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:69% center;}
/* Intro image is decorative, while age notice remains readable. */
.sgh-intro{gap:19px;min-height:132px;}
.sgh-intro-aside{display:flex;align-items:center;justify-content:flex-end;gap:11px;min-width:260px;}
.sgh-intro-aside>img{display:block;width:85px;height:91px;max-width:none;object-fit:cover;object-position:68% center;border-radius:12px;box-shadow:0 5px 13px rgba(61,39,30,.13);}
.sgh-intro .sgh-age{flex:0 1 170px;min-width:0;}
/* Local topic entries show a small article image, not a sea of plain boxes. */
.sgh-topic{min-height:94px;overflow:hidden;padding:7px 11px 7px 7px;gap:12px;}
.sgh-topic-image{display:block;flex:0 0 82px;width:82px;height:78px;border-radius:7px;background:#f3e8e3;overflow:hidden;}
.sgh-topic-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 24%;}
.sgh-topic-info{flex:1 1 0;}
.sgh-topic-info strong{font-size:13px;}
.sgh-topic:hover .sgh-topic-image img{transform:scale(1.035);}
.sgh-topic-image img{transition:transform .25s ease;}
/* Each editorial card now always has a photo, falling back to bundled imagery. */
.sgh-cover{background:#f0e0dc;}
.sgh-cover img{object-position:center 30%;}
.sgh-cover-fallback{display:none;}
@media(max-width:850px){
 body.sgh-home-active .sgh-masthead{min-height:230px;}
 .sgh-masthead-inner{padding:26px 12px 26px 24px;}
 .sgh-masthead-photo{min-height:230px;}
 .sgh-intro-aside{min-width:0;}
 .sgh-intro-aside>img{width:68px;height:80px;}
 .sgh-topic-image{flex-basis:64px;width:64px;height:72px;}
 .sgh-topic{gap:9px;}
}
@media(max-width:600px){
 body.sgh-home-active .sgh-masthead{grid-template-columns:minmax(0,1fr);min-height:265px;}
 .sgh-masthead-photo{position:absolute;inset:0 0 0 auto;width:78%;height:100%;min-height:0;z-index:0;}
 .sgh-masthead-photo::after{background:linear-gradient(90deg,#47242e 0%,rgba(71,36,46,.82) 30%,rgba(71,36,46,.15) 100%);}
 .sgh-masthead-inner{max-width:78%;min-height:265px;padding:20px 6px 21px 19px;}
 .sgh-hero-eyebrow{font-size:9px;letter-spacing:.07em;margin-bottom:9px;}
 body .sgh-shell .sgh-masthead h1{font-size:clamp(20px,5.6vw,26px);line-height:1.46;}
 .sgh-masthead p{font-size:10px;line-height:1.65;}
 .sgh-hero-links{margin-top:14px;gap:5px;}
 .sgh-hero-links a{padding:7px 9px;min-height:32px;font-size:10px;}
 .sgh-intro{min-height:unset;}
 .sgh-intro-aside{width:100%;justify-content:space-between;}
 .sgh-intro-aside>img{width:70px;height:67px;}
 .sgh-intro .sgh-age{flex:1;}
 .sgh-topic{padding:7px;min-height:0;flex-direction:column;align-items:stretch;gap:6px;position:relative;}
 .sgh-topic-image{width:100%;height:76px;flex:0 0 76px;border-radius:6px;}
 .sgh-topic-info{padding:3px 24px 3px 2px;}
 .sgh-topic-info strong{font-size:12px;}
 .sgh-topic-info small{font-size:10px;}
 .sgh-topic-arrow{position:absolute;right:9px;bottom:10px;}
}
@media(max-width:380px){
 .sgh-masthead-inner{max-width:91%;}
 body .sgh-shell .sgh-masthead h1{font-size:20px;}
 .sgh-hero-links a{font-size:9px;padding:6px 8px;}
}


/* v1.4.0: full-bleed topic photographs with text overlay – no cramped side thumbnails. */
body.sgh-home-active .sgh-shell .sgh-topics{gap:13px;}
body.sgh-home-active .sgh-shell .sgh-topic{
 position:relative;display:flex;flex-direction:row;align-items:flex-end;
 min-height:175px;padding:0!important;gap:0;overflow:hidden;
 border:1px solid #e5d6cd;border-radius:13px;
 background:#553f49;color:#fff!important;
 isolation:isolate;
}
body.sgh-home-active .sgh-shell .sgh-topic-image{
 display:block;position:absolute;inset:0;width:100%!important;height:100%!important;
 max-width:none!important;min-width:0!important;min-height:0!important;
 flex:none!important;border-radius:0!important;overflow:hidden;z-index:-2;
}
body.sgh-home-active .sgh-shell .sgh-topic-image img{
 display:block;width:100%!important;height:100%!important;max-width:none!important;
 object-fit:cover!important;object-position:center 28%;
 transform:scale(1);transition:transform .25s ease;
}
body.sgh-home-active .sgh-shell .sgh-topic::before{
 content:"";display:block;position:absolute;inset:0;
 background:linear-gradient(180deg,rgba(23,13,18,0) 25%,rgba(20,12,18,.32) 53%,rgba(19,13,17,.86) 100%);
 pointer-events:none;z-index:-1;
}
body.sgh-home-active .sgh-shell .sgh-topic-info{
 display:flex;flex:1 1 auto;flex-direction:column;position:relative;
 z-index:1;min-width:0;width:auto;padding:16px 54px 16px 17px;gap:4px;
 writing-mode:horizontal-tb!important;text-orientation:mixed;
}
body.sgh-home-active .sgh-shell .sgh-topic-info strong{
 display:block;color:#fff!important;font-size:19px;line-height:1.35;
 font-weight:850;letter-spacing:.04em;text-shadow:0 2px 5px rgba(0,0,0,.4);
 white-space:normal;word-break:keep-all;overflow-wrap:normal;
 writing-mode:horizontal-tb!important;
}
body.sgh-home-active .sgh-shell .sgh-topic-info small{
 display:block;color:#f7e9e7!important;font-size:12px;line-height:1.35;
 white-space:normal;writing-mode:horizontal-tb!important;
}
body.sgh-home-active .sgh-shell .sgh-topic-arrow{
 position:absolute;right:15px;bottom:17px;z-index:2;
 background:rgba(255,255,255,.9);color:#593c48!important;
 width:31px;height:31px;flex:0 0 31px;
}
body.sgh-home-active .sgh-shell .sgh-topic:hover .sgh-topic-image img{transform:scale(1.045);}
@media(max-width:800px){
 body.sgh-home-active .sgh-shell .sgh-topic{min-height:160px;}
 body.sgh-home-active .sgh-shell .sgh-topic-info{padding:12px 44px 12px 13px;}
 body.sgh-home-active .sgh-shell .sgh-topic-info strong{font-size:16px;}
 body.sgh-home-active .sgh-shell .sgh-topic-arrow{right:11px;bottom:12px;width:27px;height:27px;}
}
@media(max-width:480px){
 body.sgh-home-active .sgh-shell .sgh-topic{min-height:133px;}
 body.sgh-home-active .sgh-shell .sgh-topic-image{height:100%!important;flex:none!important;}
 body.sgh-home-active .sgh-shell .sgh-topic-info{padding:12px 39px 12px 10px;}
 body.sgh-home-active .sgh-shell .sgh-topic-info strong{font-size:14px;line-height:1.45;}
 body.sgh-home-active .sgh-shell .sgh-topic-info small{font-size:10px;}
 body.sgh-home-active .sgh-shell .sgh-topic-arrow{right:9px;bottom:10px;width:25px;height:25px;}
}

/* v1.5.0 – white / ivory / dusty-rose design, aligned with the light main site. */
body.sgh-home-active .sgh-shell{--sgh-rose:#a65f73;--sgh-ink:#34252a;--sgh-beige:#fffaf7;color:var(--sgh-ink);}
body.sgh-home-active .sgh-shell .sgh-masthead{
 background:#fff8f7!important;border:1px solid #edddd9!important;
 box-shadow:0 10px 36px rgba(158,102,115,.11)!important;min-height:320px;
 grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
}
body.sgh-home-active .sgh-shell .sgh-masthead::before{display:none!important;}
body.sgh-home-active .sgh-masthead-inner{padding:36px 20px 35px 38px;background:linear-gradient(90deg,#fffaf7 0%,#fffaf7 68%,rgba(255,250,247,.92) 100%);}
body.sgh-home-active .sgh-hero-eyebrow{color:#aa7380;letter-spacing:.11em;font-size:11px;}
body.sgh-home-active .sgh-shell .sgh-masthead h1{color:#4a3038!important;text-shadow:none!important;font-size:clamp(24px,3.1vw,38px);letter-spacing:.03em;}
body.sgh-home-active .sgh-shell .sgh-masthead p{color:#846f72!important;font-size:14px;}
body.sgh-home-active .sgh-masthead-photo{min-height:320px;}
body.sgh-home-active .sgh-masthead-photo::after{background:linear-gradient(90deg,#fffaf7 0%,rgba(255,250,247,.18) 31%,transparent 64%)!important;}
body.sgh-home-active .sgh-masthead-photo img{object-position:78% center!important;}
body.sgh-home-active .sgh-hero-links a{color:#fff!important;background:#a65f73;border:1px solid #a65f73;box-shadow:0 4px 12px rgba(166,95,115,.13);}
body.sgh-home-active .sgh-hero-links a + a{color:#a65f73!important;background:#fff;border-color:#dec2c9;}
body.sgh-home-active .sgh-shell .sgh-intro{background:#fffaf8;border-color:#efdeda;}
body.sgh-home-active .sgh-shell .sgh-topics{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;}
body.sgh-home-active .sgh-shell .sgh-topic{
 min-height:184px!important;background:#fff8f6!important;border:1px solid #e9d9d4!important;
 box-shadow:0 5px 15px rgba(108,75,79,.07);
}
body.sgh-home-active .sgh-shell .sgh-topic-image{inset:0!important;}
body.sgh-home-active .sgh-shell .sgh-topic-image img{object-position:center 35%!important;}
body.sgh-home-active .sgh-shell .sgh-topic::before{
 background:linear-gradient(0deg,rgba(43,23,30,.86) 0%,rgba(43,23,30,.45) 31%,rgba(43,23,30,0) 74%)!important;
}
body.sgh-home-active .sgh-shell .sgh-topic-info{padding:16px 44px 15px 17px!important;}
body.sgh-home-active .sgh-shell .sgh-topic-info strong{font-size:18px!important;letter-spacing:.01em;word-break:normal!important;}
body.sgh-home-active .sgh-shell .sgh-topic-info small{font-size:12px;color:#fff5f1!important;}
body.sgh-home-active .sgh-shell .sgh-topic-arrow{background:#fff9f7;color:#8a4c5e!important;}
body.sgh-home-active .sgh-shell .sgh-article{border-color:#ecded8;box-shadow:0 3px 14px rgba(73,43,40,.04);}
body.sgh-home-active .sgh-shell .sgh-cover-image{object-fit:cover!important;object-position:center 35%;}
body.sgh-home-active .sgh-shell .sgh-contact{background:#3a2c31!important;border-color:#3a2c31!important;}
body.sgh-home-active .sgh-shell .sgh-contact h2{color:#fff!important;}
@media(max-width:800px){body.sgh-home-active .sgh-shell .sgh-topics{grid-template-columns:repeat(2,minmax(0,1fr));}body.sgh-home-active .sgh-shell .sgh-masthead{min-height:280px;}}
@media(max-width:600px){
 body.sgh-home-active .sgh-shell .sgh-masthead{grid-template-columns:minmax(0,1fr);min-height:260px;}
 body.sgh-home-active .sgh-masthead-inner{z-index:2;max-width:81%;padding:22px 8px 23px 17px;min-height:260px;background:linear-gradient(90deg,#fffaf7 0%,rgba(255,250,247,.97) 52%,rgba(255,250,247,.62) 86%,transparent);}
 body.sgh-home-active .sgh-masthead-photo{position:absolute;right:0;top:0;width:68%;height:100%;min-height:0;z-index:0;}
 body.sgh-home-active .sgh-masthead-photo::after{background:linear-gradient(90deg,#fffaf7 0%,rgba(255,250,247,.55) 35%,transparent 87%)!important;}
 body.sgh-home-active .sgh-shell .sgh-masthead h1{font-size:clamp(20px,5.6vw,27px);}
 body.sgh-home-active .sgh-shell .sgh-masthead p{font-size:11px;line-height:1.65;max-width:240px;}
 body.sgh-home-active .sgh-shell .sgh-topic{min-height:126px!important;}
 body.sgh-home-active .sgh-shell .sgh-topic-info{padding:12px 34px 10px 10px!important;}
 body.sgh-home-active .sgh-shell .sgh-topic-info strong{font-size:14px!important;}
 body.sgh-home-active .sgh-shell .sgh-topic-info small{font-size:10px!important;}
}
