/* Review draft: targeted refinements only; approved page compositions remain. */
body.scg-theme .sc-home-journal .sc-post-grid{max-width:1140px;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.scg-theme .sc-post-card .sc-post-cover{height:180px;aspect-ratio:auto}
body.scg-theme .sc-post-card .sc-post-cover img{height:180px;width:100%;object-fit:contain;background:#edf2ff}
body.scg-theme .sc-home-journal .sc-post-card:only-child{grid-column:1/-1;display:grid;grid-template-columns:250px minmax(0,1fr);gap:10px 30px;max-width:900px;width:100%;margin-inline:auto;padding:26px;align-items:start}
body.scg-theme .sc-home-journal .sc-post-card:only-child .sc-post-cover{grid-column:1;grid-row:1/5;width:250px;height:180px;margin:0;align-self:center;border-radius:12px}
body.scg-theme .sc-home-journal .sc-post-card:only-child .sc-post-cover img{width:100%;height:100%;object-fit:contain}
body.scg-theme .sc-home-journal .sc-post-card:only-child>:not(.sc-post-cover){grid-column:2;margin:0}
body.scg-theme .sc-home-journal .sc-post-card:only-child .sc-post-card-title{font-size:23px;line-height:1.4;margin:0}
body.scg-theme .sc-home-journal .sc-post-card:only-child>.sc-text-link{padding-top:12px;margin-top:4px}
/* Preserve complete vector artwork inside a padded thumbnail frame. */
body.scg-theme .sc-writing-card{padding:24px;display:flex;flex-direction:column}
body.scg-theme .sc-writing-art{display:flex;align-items:center;justify-content:center;height:210px;padding:16px;margin:0 0 24px!important;border-radius:14px;background:#edf2ff;overflow:hidden}
body.scg-theme .sc-writing-art img{display:block;width:100%;height:100%;object-fit:contain;border-radius:6px}
body.scg-theme .sc-writing-card>h3,body.scg-theme .sc-writing-card>p{margin-left:0;margin-right:0}
body.scg-theme .sc-writing-card>h3{margin-top:0;font-size:22px;line-height:1.4}
body.scg-theme .sc-writing-card>.sc-inline-link{margin-top:auto;padding-top:22px;margin-bottom:0}
body.scg-theme .sc-sample-label{display:inline-block;align-self:flex-start;padding:5px 9px;background:#edf2ff;color:#3457b2;font-size:12px!important;font-weight:700;border-radius:5px;margin:0 0 12px}
/* Full-width service overview title, divider, related-service link, then copy. */
body.scg-theme.sc-service-detail-page .sc-service-intro{display:block;max-width:1160px;margin-inline:auto}
body.scg-theme .sc-intro-heading{width:100%;max-width:none;margin-bottom:24px}
body.scg-theme .sc-intro-heading h2{max-width:none!important;margin:0;font-size:29px;line-height:1.3}
body.scg-theme .sc-intro-heading h2::after{content:'';display:block;width:60px;height:3px;background:#3459e8;margin-top:16px}
body.scg-theme .sc-intro-heading .sc-overview-parent{max-width:none;margin-top:16px;font-size:14px;line-height:1.6}
body.scg-theme .sc-intro-copy{max-width:none}
/* Tighter footer rhythm, aligned columns, centered legal area. */
body.scg-theme .sc-site-footer{padding-top:44px}
body.scg-theme .sc-footer-main{grid-template-columns:1.3fr .7fr 1.15fr .95fr;gap:36px;padding-bottom:34px;align-items:start}
body.scg-theme .sc-footer-column{padding-left:0;border-left:0}
body.scg-theme .sc-footer-heading{margin:0 0 16px;padding:0 0 12px;font-size:16px;line-height:1.5;border-bottom:1px solid #ffffff20}
body.scg-theme .sc-footer-brand>p{font-size:15px;line-height:1.8;max-width:310px;margin-top:20px}
body.scg-theme .sc-footer-menu li{margin:0 0 6px}
body.scg-theme .sc-footer-menu>li>a{padding:4px 0;font-size:14px;line-height:1.65;color:#c5d2e8}
body.scg-theme .sc-footer-social{margin-top:18px;padding:9px 12px;font-size:14px}
body.scg-theme .sc-footer-project{margin-top:18px;font-size:13px;padding:10px 12px}
body.scg-theme .sc-footer-bottom{position:relative;padding:22px 46px;column-gap:22px;row-gap:10px;flex-wrap:wrap;justify-content:center;text-align:center;font-size:13px;color:#b8c8e0}
body.scg-theme .sc-footer-bottom>span{flex:0 0 100%;margin:0!important;text-align:center}
body.scg-theme .sc-footer-bottom>a{color:#b8c8e0}
body.scg-theme .sc-footer-bottom .sc-back-top{position:absolute;right:0;top:24px;display:flex;align-items:center;justify-content:center;width:34px;height:34px}
@media(max-width:1000px){body.scg-theme .sc-footer-main{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}body.scg-theme .sc-footer-brand{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 36px}body.scg-theme .sc-footer-brand>p{grid-column:2;grid-row:1/3;margin:0;max-width:none}body.scg-theme .sc-footer-brand .sc-footer-social{justify-self:start}body.scg-theme .sc-home-journal .sc-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.scg-theme .sc-home-journal .sc-post-grid{grid-template-columns:1fr}body.scg-theme .sc-home-journal .sc-post-card:only-child{display:flex;flex-direction:column;max-width:450px;gap:0;padding:22px}body.scg-theme .sc-home-journal .sc-post-card:only-child .sc-post-cover{width:100%;height:165px;margin:0 0 20px;align-self:auto}body.scg-theme .sc-home-journal .sc-post-card:only-child>:not(.sc-post-cover){margin-bottom:12px}body.scg-theme .sc-home-journal .sc-post-card:only-child .sc-post-card-title{font-size:21px;margin-bottom:12px}body.scg-theme .sc-writing-card{padding:22px}body.scg-theme .sc-writing-art{height:180px;padding:14px}body.scg-theme .sc-intro-heading h2{font-size:25px}body.scg-theme .sc-footer-main{grid-template-columns:1fr 1fr;gap:28px 24px}body.scg-theme .sc-footer-brand{display:block;grid-column:1/-1}body.scg-theme .sc-footer-brand>p{margin-top:18px;max-width:450px}body.scg-theme .sc-footer-column:last-child{grid-column:1/-1}body.scg-theme .sc-footer-column:last-child .sc-footer-menu{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}body.scg-theme .sc-footer-project{max-width:270px}body.scg-theme .sc-footer-bottom{padding:20px 35px;font-size:12px;gap:10px 14px}body.scg-theme .sc-footer-bottom .sc-back-top{right:-4px;top:23px}}

/* Editable project showcase. */
body.scg-theme .sc-work-demo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.scg-theme .sc-work-demo-grid .sc-writing-card{min-width:0;overflow-wrap:anywhere}
body.scg-theme .sc-work-demo-grid .sc-writing-card>p:not(.sc-sample-label){font-size:15px;line-height:1.8;margin-bottom:16px}
body.scg-theme .sc-work-demo-grid .sc-writing-art{height:auto;aspect-ratio:1.6;padding:10px}
@media(max-width:1000px){body.scg-theme .sc-work-demo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.scg-theme .sc-work-demo-grid{grid-template-columns:minmax(0,1fr)}}

/* v1.4.3: only paired mobile actions and the About photograph. */
body.scg-theme .sc-about-image{width:100%;min-width:0}
body.scg-theme .sc-about-image img{display:block;width:100%;max-width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center}
@media(max-width:700px){
 body.scg-theme .sc-actions:has(>.wp-block-button:nth-child(2)):not(:has(>.wp-block-button:nth-child(3))){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;align-items:stretch}
 body.scg-theme .sc-actions:has(>.wp-block-button:nth-child(2)):not(:has(>.wp-block-button:nth-child(3)))>.wp-block-button{width:100%;min-width:0;margin:0;display:flex}
 body.scg-theme .sc-actions:has(>.wp-block-button:nth-child(2)):not(:has(>.wp-block-button:nth-child(3)))>.wp-block-button>.wp-block-button__link{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:48px;height:100%;padding:11px 8px;font-size:13px;line-height:1.4;white-space:normal;text-align:center;overflow-wrap:break-word}
}

/* Preserve the entire uploaded photograph and its natural proportions. */
body.scg-theme .sc-home-premium .sc-hero-image,
body.scg-theme .sc-about-image{height:auto;max-height:none;aspect-ratio:auto;overflow:visible}
body.scg-theme .sc-home-premium .sc-hero-image img,
body.scg-theme .sc-about-image img{display:block;width:100%;max-width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;border-radius:0;clip-path:none}
