/* Somsri Superstore / เรื่องราวของเรา */
:root { --about-red: #9b0707; --about-ink: #202329; --about-muted: #647083; --about-line: #ece8e6; }
.about-page, .about-page * { box-sizing: border-box; }
.about-page { max-width: 1420px; padding: 26px clamp(16px,3vw,40px) 60px; margin-inline: auto; color:var(--about-ink); font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif; }
.about-page a { text-decoration:none; }
.about-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin:0 0 22px; color:var(--about-muted); font-size:13px; }
.about-breadcrumb a { color:inherit; } .about-breadcrumb a:hover,.about-breadcrumb strong { color:var(--about-red); }
.about-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.94fr); align-items:center; min-height:410px; gap:clamp(22px,4vw,70px); padding:clamp(24px,4.5vw,64px); border-radius:26px; background:#f9f4f1; border:1px solid #f2e9e6; }
.about-hero-copy { min-width:0; }
.about-eyebrow,.about-section-heading>span { display:inline-block; font-size:11px; font-weight:800; letter-spacing:.12em; color:var(--about-red); }
.about-hero h1 { font-size:clamp(32px,3.8vw,57px); letter-spacing:-.035em; line-height:1.18; font-weight:800; margin:16px 0 18px; }
.about-hero h1 span { color:var(--about-red); }
.about-hero p { max-width:560px; margin:0; line-height:1.9; font-size:15px; color:#596273; }
.about-hero-tags { display:flex; gap:8px; flex-wrap:wrap; margin-top:22px; }
.about-hero-tags span { display:inline-flex; align-items:center; border:1px solid #e9dbd8; border-radius:999px; padding:7px 12px; font-weight:600; font-size:12px; color:#7e3331; background:#fff9f7; }
.about-hero-actions,.about-outro-actions { display:flex; flex-wrap:wrap; align-items:center; gap:11px; margin-top:26px; }
.about-btn { min-height:43px; display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:11px 18px; border-radius:11px; font-size:13px; font-weight:750; line-height:1.4; transition:background-color .2s, transform .2s; }
.about-btn:hover { transform:translateY(-2px); }
.about-btn:focus-visible,.about-sidebar a:focus-visible { outline:3px solid #db8585; outline-offset:3px; }
.about-btn-primary { background:var(--about-red); color:#fff !important; }
.about-btn-primary:hover { background:#7e0606; }
.about-btn-ghost { border:1px solid #d8c9c5; color:var(--about-red) !important; background:#fff; }
.about-btn-ghost:hover { background:#fdf2f2; }
.about-hero-art { position:relative; min-width:0; }
.about-hero-art img { display:block; width:100%; height:340px; object-fit:cover; border-radius:18px; background:#eddfd9; }
.about-year { position:absolute; right:12px; bottom:12px; display:grid; gap:2px; background:#fff; padding:12px 16px; border-radius:12px; color:var(--about-red); font-size:17px; font-weight:800; box-shadow:0 7px 24px #00000015; }
.about-year small { color:var(--about-muted); font-size:11px; font-weight:550; }
.about-benefits { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:20px 0 48px; }
.about-benefits > div { display:flex; align-items:center; gap:12px; min-height:72px; padding:15px; border:1px solid var(--about-line); border-radius:14px; background:#fff; font-size:13px; font-weight:650; }
.about-benefits i { font-size:20px; color:var(--about-red); }
.about-content-layout { display:grid; grid-template-columns:minmax(0,1fr) 254px; gap:30px; align-items:start; }
.about-section-heading { margin-bottom:23px; }
.about-section-heading h2 { margin:7px 0; font-size:clamp(24px,2.8vw,34px); line-height:1.25; font-weight:800; }
.about-section-heading p { font-size:14px; color:var(--about-muted); }
.about-timeline { display:grid; gap:18px; }
.about-story-card { scroll-margin-top:145px; display:grid; grid-template-columns:minmax(200px,34%) minmax(0,1fr); gap:24px; padding:17px; border:1px solid var(--about-line); border-radius:17px; background:#fff; }
.about-story-image { position:relative; min-width:0; min-height:210px; border-radius:12px; overflow:hidden; background:#f8f0ed; }
.about-story-image img { display:block; width:100%; height:100%; min-height:210px; max-height:285px; object-fit:cover; }
.about-step { position:absolute; left:12px; top:12px; display:grid; place-items:center; width:38px; height:38px; background:var(--about-red); color:#fff; border-radius:9px; font-size:13px; font-weight:800; }
.about-story-copy { min-width:0; padding:6px 2px 4px; }
.about-story-copy h3 { color:var(--about-red); font-size:21px; line-height:1.4; font-weight:800; margin:0 0 11px; }
.about-story-copy p { color:#465063; font-size:14px; line-height:1.95; margin:0 0 12px; }
.about-sidebar { min-width:0; position:sticky; top:135px; }
.about-sidebar-box { padding:21px; border:1px solid var(--about-line); border-radius:17px; background:#fff; }
.about-sidebar-box h2 { display:flex; align-items:center; gap:8px; margin:0 0 14px; font-size:16px; font-weight:800; }
.about-sidebar-box h2 i { color:var(--about-red); }
.about-sidebar-box nav { display:grid; gap:3px; }
.about-sidebar-box nav a { display:flex; align-items:center; gap:10px; padding:10px 8px; border-radius:9px; font-size:12px; font-weight:650; color:#4c5564; transition:background .15s; }
.about-sidebar-box nav a:hover,.about-sidebar-box nav a.is-active { background:#fff0ef; color:var(--about-red); }
.about-sidebar-box nav span { flex:0 0 25px; color:var(--about-red); font-size:11px; font-weight:800; }
.about-sidebar-cta { width:100%; margin-top:18px; }
.about-outro { display:grid; grid-template-columns: minmax(0,36%) minmax(0,1fr); align-items:center; gap:28px; margin-top:35px; padding:19px; border-radius:19px; border:1px solid #e9dad6; background:#fbf6f3; }
.about-outro img { display:block; width:100%; height:210px; object-fit:cover; border-radius:12px; }
.about-outro span { color:var(--about-red); font-size:11px; font-weight:800; letter-spacing:.1em; }
.about-outro h2 { font-size:clamp(24px,2.8vw,35px); font-weight:800; margin:9px 0; }
.about-outro p { color:var(--about-muted); font-size:14px; }
.about-footer { padding:22px 12px; text-align:center; font-size:12px; color:#858b95; border-top:1px solid var(--about-line); background:#fff; }
/* The content must remain readable even when JavaScript is blocked. */
@media(max-width:1080px) { .about-content-layout { grid-template-columns:minmax(0,1fr); } .about-sidebar { position:static; order:-1; } .about-sidebar-box nav { grid-template-columns:repeat(2,minmax(0,1fr)); } .about-hero { gap:24px; } }
@media(max-width:760px) { .about-page { padding:14px 14px 40px; } .about-hero { grid-template-columns:1fr; padding:25px 21px 22px; min-height:0; border-radius:19px; } .about-hero h1 { font-size:34px; } .about-hero-art img { height:240px; } .about-benefits { grid-template-columns:repeat(2,minmax(0,1fr)); margin:15px 0 34px; gap:9px; } .about-benefits>div { min-height:66px; padding:11px; font-size:12px; gap:9px; } .about-story-card { grid-template-columns:1fr; padding:12px; gap:14px; } .about-story-image,.about-story-image img { min-height:0; height:230px; max-height:none; } .about-story-copy { padding:3px 6px 8px; } .about-sidebar-box { padding:15px; } .about-outro { grid-template-columns:1fr; padding:13px; gap:18px; } .about-outro img { height:200px; } .about-outro > div { padding:0 7px 8px; } }
@media(max-width:390px) { .about-page { padding-inline:10px; } .about-hero h1 { font-size:29px; } .about-benefits>div { font-size:11px; } .about-sidebar-box nav { grid-template-columns:1fr; } .about-hero-actions .about-btn { flex:1; } }
@media(prefers-reduced-motion:reduce) { .about-btn { transition:none; } .about-btn:hover { transform:none; } }
