:root{--green:#1f604b;--mint:#e5f0e8;--ink:#21322c;--muted:#6a7a70;--line:#e2e9e2;--bg:#f7f9f6;--white:#fff;--red:#a43535}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,'Malgun Gothic','Apple SD Gothic Neo',sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.container{max-width:1140px;padding:0 22px;margin:0 auto}.top{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:80px;gap:16px}.logo{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:900;letter-spacing:.05em;white-space:nowrap}.logo-mark{background:var(--green);color:white;padding:8px;border-radius:12px;font-size:15px;letter-spacing:0}.nav{display:flex;align-items:center;gap:25px;flex-wrap:wrap}.nav a{font-size:14px;font-weight:750}.nav a:hover,.nav a[aria-current=page]{color:var(--green)}.nav a.cafe{background:var(--mint);border-radius:30px;padding:9px 13px}.eyebrow{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--green);font-weight:800}.hero{padding:80px 0}.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:45px;align-items:center}.hero h1{font-size:clamp(34px,5vw,60px);line-height:1.28;letter-spacing:-.065em;margin:18px 0}.hero p,.intro{color:var(--muted);font-size:17px;max-width:650px}.hero-illustration{min-height:325px;border-radius:28px;background:linear-gradient(135deg,#dcecdf,#bdd5c2);display:grid;place-items:center;position:relative;overflow:hidden}.hero-illustration:before,.hero-illustration:after{content:"";position:absolute;border:1px solid #fff;border-radius:50%;width:290px;height:290px}.hero-illustration:before{top:-115px;right:-125px}.hero-illustration:after{bottom:-140px;left:-90px}.hero-illustration strong{font-size:clamp(60px,10vw,130px);color:#8fb49b;letter-spacing:-.1em}.btn{border:0;border-radius:11px;background:var(--green);color:white;padding:12px 20px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;gap:8px}.btn.secondary{background:var(--mint);color:var(--green)}.btn.outline{border:1px solid var(--green);color:var(--green);background:transparent}.btn.danger{background:var(--red)}.btn.small{padding:8px 12px;font-size:12px}.btn:hover{filter:brightness(1.08)}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.section{padding:30px 0 75px}.section-title{font-size:clamp(26px,3vw,36px);letter-spacing:-.05em;margin:10px 0}.section-lead{color:var(--muted);margin-top:0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:20px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.cover{height:170px;background:#deebdf;color:var(--green);display:grid;place-items:center;font-size:45px;font-weight:900;overflow:hidden}.cover img{width:100%;height:100%;object-fit:cover}.card-body{padding:21px;flex:1}.card h3{font-size:19px;line-height:1.48;letter-spacing:-.035em;margin:13px 0 8px}.card p{color:var(--muted);font-size:14px}.pill{display:inline-block;padding:4px 10px;border-radius:18px;background:var(--mint);font-size:12px;font-weight:800;color:var(--green)}.meta{color:#89968d;font-size:12px}.cta{background:#e8f0e7;border-radius:24px;padding:38px 45px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin:25px auto 65px}.cta h2{margin:0 0 9px;letter-spacing:-.04em}.cta p{margin:0;color:var(--muted)}.footer{border-top:1px solid var(--line);padding:27px 0;color:#7d8b80;font-size:13px}.footrow{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.pagehead{padding:58px 0 20px}.pagehead h1{font-size:40px;letter-spacing:-.05em;margin:9px 0}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.chip{background:white;border:1px solid #cfddcf;border-radius:30px;padding:8px 14px;color:var(--green)}.chip.active{background:var(--green);color:white}.search{border:1px solid #c9d8ce;background:white;border-radius:11px;padding:12px 16px;width:min(440px,100%)}.blank{background:white;border:1px solid var(--line);border-radius:16px;padding:33px;color:var(--muted)}.article{max-width:800px;padding:56px 22px 70px;margin:0 auto}.article h1{font-size:clamp(29px,4vw,46px);letter-spacing:-.05em;line-height:1.4;margin:15px 0}.article .summary{color:var(--muted);font-size:19px}.article .body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:2;min-height:120px;font-size:17px;margin:32px 0}.article-image{width:100%;max-height:480px;object-fit:cover;border-radius:18px;margin:28px 0}.article-note{font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:18px}.programs{display:grid;grid-template-columns:repeat(2,1fr);gap:17px;margin:23px 0 70px}.program{border:1px solid var(--line);border-radius:17px;background:white;padding:24px}.program h3{margin:0 0 8px;font-size:19px}.program p{color:var(--muted);font-size:14px;margin:0 0 12px}.prose{max-width:760px;margin:40px auto 80px;padding:0 22px}.prose h2{margin-top:35px}.prose p{color:#53665b}.admin-grid{display:grid;grid-template-columns:300px 1fr;gap:22px;padding:35px 0 70px}.panel{background:white;border:1px solid var(--line);padding:23px;border-radius:17px;min-width:0}.field{display:flex;flex-direction:column;margin:15px 0;gap:6px;font-weight:700;font-size:13px}.field input,.field textarea,.field select{border:1px solid #c7d6cb;border-radius:9px;padding:12px;width:100%;background:white;color:var(--ink)}.field textarea{min-height:320px;resize:vertical;line-height:1.8}.admin-list button{display:block;width:100%;text-align:left;background:#f3f7f3;border:0;border-radius:10px;padding:12px;margin-bottom:8px}.admin-list small{display:block;color:var(--muted)}.status{padding:12px;border-radius:9px;background:var(--mint);color:var(--green);margin:12px 0;font-size:13px}.status.err{color:var(--red);background:#fff0f0}.hidden{display:none!important}.skip{position:absolute;left:-9999px}.skip:focus{position:static}.hr{border:0;border-top:1px solid var(--line);margin:22px 0}.subtle{color:var(--muted)}
@media(max-width:850px){.hero-grid{grid-template-columns:1fr}.hero-illustration{min-height:190px}.cards{grid-template-columns:repeat(2,1fr)}.admin-grid{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-direction:column;padding:14px 0}.nav{gap:14px}}
@media(max-width:540px){.container{padding:0 15px}.cards,.programs{grid-template-columns:1fr}.hero{padding:48px 0}.hero-illustration{display:none}.nav{gap:11px}.nav a{font-size:12px}.cta{display:block;padding:25px}.cta .btn{margin-top:20px}.pagehead h1{font-size:32px}}

/* COUNOTE V1.1 */
.nav a.cafe.naver-cafe{background:transparent;color:#03a94f;font-weight:900;border:1px solid #beeccf;transition:background .2s}.nav a.cafe.naver-cafe:hover{background:#eefcf2;color:#028f42}
.about-first{padding:72px 0 26px;background:linear-gradient(180deg,#edf5ed 0%,#f7f9f6 100%)}.about-first .section-head{align-items:end}.intro-all{color:var(--green);font-weight:800;font-size:14px;white-space:nowrap}.intro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:20px}.intro-card{display:flex;flex-direction:column;min-height:256px;gap:9px;padding:28px 25px;background:white;border:1px solid #d8e5d9;border-radius:20px;transition:transform .18s,box-shadow .18s}.intro-card:hover{transform:translateY(-3px);box-shadow:0 15px 30px #1e573113}.intro-index{font-size:12px;font-weight:900;letter-spacing:.06em;color:#47795d}.intro-card h2{font-size:22px;line-height:1.45;letter-spacing:-.045em;margin:6px 0}.intro-card p{font-size:14px;color:var(--muted);margin:0;flex:1}.intro-read{font-size:13px;font-weight:800;color:var(--green);padding-top:13px}.hero-after-intro{padding:68px 0 58px}.about-chapter{scroll-margin-top:110px;padding-bottom:25px;border-bottom:1px solid var(--line)}.about-chapter h2{font-size:27px}.about-prose{margin-top:15px}
.programs-thumbs{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.program-link{display:block;padding:0;overflow:hidden;transition:box-shadow .2s,transform .2s}.program-link:hover{box-shadow:0 14px 30px rgba(22,66,40,.09);transform:translateY(-3px)}.program-inner{padding:21px}.program-more{font-weight:900;color:var(--green);font-size:13px}.program-preview{height:165px;background:linear-gradient(135deg,#e0eee3,#cadfcf);position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;border-bottom:1px solid #d9e5db;overflow:hidden}.program-preview:before{content:'';position:absolute;inset:14px;border:1px solid rgba(255,255,255,.7);border-radius:12px}.program-preview img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.program-preview-symbol{position:relative;font-size:53px;font-weight:900;color:#41775b;line-height:1}.program-preview-label{position:relative;font-size:13px;font-weight:800;color:#2d6046}.program-preview-disclaimer{position:absolute;bottom:11px;left:0;right:0;text-align:center;color:#6d8875;font-size:10px;z-index:1}.program-detail{max-width:820px;margin:55px auto 90px}.program-detail h1{font-size:clamp(30px,4vw,45px);margin:14px 0;letter-spacing:-.04em}.program-detail .intro{margin:0 0 23px}.program-back{display:block;margin:0 0 28px;font-weight:800;color:var(--green)}.program-detail .program-preview-large{height:360px;border-radius:20px;border:1px solid #d2e0d4}.program-preview-large .program-preview-symbol{font-size:110px}.program-preview-large .program-preview-label{font-size:19px}.program-detail-copy{margin-top:36px;line-height:1.9}.program-detail-copy h2{margin-top:28px;font-size:23px}.program-detail-copy p{color:var(--muted)}.program-detail-copy ul{padding-left:23px}.program-detail-hint{background:#f0f5ef;border-radius:10px;padding:14px;font-size:13px}.program-detail-cta{margin-top:45px}
@media(max-width:850px){.intro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.programs-thumbs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.about-first{padding:45px 0 15px}.about-first .section-head{display:block}.intro-all{display:inline-block;margin-top:6px}.intro-grid,.programs-thumbs{grid-template-columns:1fr}.intro-card{min-height:205px}.program-preview{height:185px}.program-detail .program-preview-large{height:245px}.hero-after-intro{padding:45px 0}.program-detail{margin-top:36px}}

/* V1.2 home refinements */
.about-first{padding:31px 0 18px}
.about-first .section-head{margin-bottom:9px}
.about-first .section-title{font-size:clamp(24px,2.7vw,32px);margin:5px 0}
.about-first .section-lead{font-size:14px;margin-bottom:0}
.intro-grid{gap:14px;margin-top:10px}
.intro-card{min-height:126px;padding:14px 18px;gap:3px;border-radius:16px}
.intro-index{font-size:11px}
.intro-card h2{font-size:17px;margin:2px 0;line-height:1.32}
.intro-card h2 br{display:none}
.intro-card p{font-size:12px;line-height:1.45;flex:0}
.intro-read{font-size:11px;padding-top:3px}
.hero-after-intro{padding:45px 0 38px}
.column-illustration{min-height:305px;background:linear-gradient(130deg,#e6efe5,#c5dac8);border:1px solid #d0dfd2}
.column-illustration:before,.column-illustration:after{pointer-events:none}
.column-feature{width:100%;height:305px;position:relative;display:block;color:#244c36}
.column-paper{position:absolute;top:32px;width:52%;height:190px;background:#fff;box-shadow:0 10px 30px #2d654127;border-radius:12px;border:1px solid #e4eee5;padding:21px 17px;display:flex;flex-direction:column;gap:11px;transition:transform .2s ease}
.paper-one{left:13%;transform:rotate(-9deg);z-index:1}
.paper-two{right:13%;top:44px;transform:rotate(8deg);z-index:2}
.column-feature:hover .paper-one{transform:rotate(-12deg) translateY(-5px)}
.column-feature:hover .paper-two{transform:rotate(10deg) translateY(-5px)}
.paper-mini-label{font-size:10px;color:#67917b;font-weight:900;letter-spacing:.08em}
.paper-line{height:9px;border-radius:10px;background:#c9dbce;width:76%}
.paper-line.paper-long{width:93%;height:15px;background:#6c9c80}
.paper-line.paper-short{width:48%}
.paper-chip{align-self:flex-start;color:#346d4d;background:#e8f2e8;border-radius:20px;padding:3px 10px;font-size:10px;font-weight:800}
.column-feature-label{position:absolute;z-index:3;bottom:19px;left:25px;right:25px;display:flex;align-items:center;justify-content:space-between;gap:7px;background:#ffffffed;border:1px solid #d6e5d9;border-radius:14px;padding:12px 16px;box-shadow:0 6px 25px #2d65411b}
.column-feature-label>span{font-size:12px;color:#62836e}
.column-feature-label strong{font-size:14px;color:#1f604b}
.home-program-section{padding-top:0;padding-bottom:27px}
.home-program-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.home-program-item{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:12px;transition:transform .16s,box-shadow .16s;min-width:0}
.home-program-item:hover{transform:translateY(-2px);box-shadow:0 12px 25px #1f604b15}
.home-program-thumb{height:76px;width:76px;flex-shrink:0;display:grid;place-items:center;background:#dfebe1;border-radius:12px;color:var(--green);font-size:34px;font-weight:900;overflow:hidden}
.home-program-thumb img{width:100%;height:100%;object-fit:cover}
.home-program-text{min-width:0;display:flex;flex-direction:column;gap:4px}
.home-program-text strong{font-size:15px;line-height:1.35}
.home-program-text small{font-size:12px;line-height:1.4;color:var(--muted)}
.home-program-text em{font-style:normal;color:var(--green);font-size:11px;font-weight:800}
@media(max-width:850px){.home-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.column-feature{height:275px}.column-illustration{min-height:275px}}
@media(max-width:540px){.about-first{padding:23px 0 15px}.intro-grid{grid-template-columns:1fr;gap:8px}.intro-card{min-height:0;padding:12px 15px}.intro-card h2{font-size:16px}.intro-card p{font-size:12px}.hero-after-intro{padding:35px 0 30px}.column-illustration{display:grid;min-height:215px}.column-feature{height:215px}.column-paper{top:15px;height:145px;padding:15px 13px;gap:7px}.paper-two{top:22px}.column-feature-label{bottom:9px;left:10px;right:10px;padding:8px 10px}.column-feature-label>span{font-size:10px}.column-feature-label strong{font-size:12px}.home-program-grid{grid-template-columns:1fr}.home-program-item{padding:9px}.home-program-thumb{width:65px;height:65px}.home-program-section .section-head{align-items:start;flex-direction:column}}

/* V1.3 - home intro: headings only; detail in about.html */
.about-first .intro-card{min-height:82px;padding:16px 20px;gap:7px;justify-content:space-between}
.about-first .intro-card .intro-index{font-size:15px;letter-spacing:0;color:var(--ink)}
.about-first .intro-card .intro-read{font-size:12px;padding:0;color:var(--green)}
@media(max-width:540px){.about-first .intro-card{min-height:72px;padding:14px 16px;gap:5px}.about-first .intro-card .intro-index{font-size:14px}}

/* V1.4: 짧은 설명이 포함된 클릭형 소개 카드. 카드 전체가 상세 화면으로 이동 */
.intro-card{min-height:100px;justify-content:center;gap:8px;cursor:pointer}
.intro-subtitle{display:block;font-size:14px;line-height:1.55;color:#5c7063;letter-spacing:-.025em}
.intro-card:focus-visible{outline:3px solid #397b59;outline-offset:3px}
@media(max-width:570px){.intro-card{min-height:82px;gap:5px}.intro-subtitle{font-size:12px;line-height:1.45}}

/* V1.5 — editor readability, status and preview */
.admin-filter{display:flex;align-items:center;gap:10px;margin:12px 0 17px;font-size:13px;font-weight:700}
.admin-filter select{border:1px solid #c7d6cb;border-radius:8px;background:white;padding:7px 9px;color:var(--ink)}
.admin-list button.selected{background:#dcecdf;outline:2px solid #5d9671}
.admin-cover-preview{margin:10px 0 17px;border-radius:12px;border:1px solid var(--line);padding:10px;background:#f7faf7}
.admin-cover-preview img{width:100%;max-height:230px;object-fit:contain;border-radius:8px}
.admin-preview{border:1px solid #cddbcc;background:white;border-radius:16px;padding:22px;margin-top:18px;scroll-margin-top:110px}
.admin-preview-header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.admin-preview-header h3{margin:0}.admin-preview .body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;margin-top:18px;font-size:16px}
.admin-preview h2{font-size:clamp(23px,3vw,34px);line-height:1.4;letter-spacing:-.04em}
.admin-preview .summary{color:var(--muted);font-size:17px}
.admin-preview .article-image{width:100%;max-height:350px;object-fit:cover;border-radius:12px}

/* V1.6 — center admin login screen without affecting the editor layout */
.admin-page .pagehead{text-align:center}
.admin-page .pagehead .section-lead{margin-left:auto;margin-right:auto}
.admin-page #auth-panel{width:100%;max-width:450px;margin:0 auto 60px!important}
.admin-page #editor-area:not(.hidden)~*{text-align:initial}
@media(max-width:570px){.admin-page #auth-panel{max-width:100%}}

/* V1.7 — larger, centered admin login button; edit controls unchanged */
.admin-page #login-form > button[type="submit"] {
  display: flex;
  width: min(210px, 100%);
  min-height: 52px;
  margin: 22px auto 0;
  padding: 14px 30px;
  font-size: 16px;
  text-align: center;
}
@media (max-width: 420px) {
  .admin-page #login-form > button[type="submit"] { width: min(100%, 240px); }
}

/* V1.8 — admin login CAPTCHA only */
.admin-page .admin-turnstile {display:flex;justify-content:center;min-height:68px;margin:18px 0 10px;}
.admin-page #login-button:disabled {opacity:.55;cursor:not-allowed;}

.rich-toolbar{display:flex;flex-wrap:wrap;gap:7px;background:#f3f7f3;border:1px solid #c7d6cb;padding:10px;border-radius:9px 9px 0 0}.rich-toolbar button,.rich-toolbar select{background:#fff;border:1px solid #c7d6cb;border-radius:7px;padding:7px 10px;color:var(--ink)}.rich-editor{min-height:340px;border:1px solid #c7d6cb;border-top:0;padding:16px;border-radius:0 0 9px 9px;outline:0}.rich-editor:empty:before{content:attr(data-placeholder);color:#89968d}.rich-body{white-space:pre-wrap!important;overflow-wrap:anywhere;line-height:1.85}.rich-body.legacy{white-space:pre-wrap!important}.rich-body img{max-width:100%;height:auto;display:block;margin:18px auto;border-radius:10px}.rich-body .font-1{font-size:.7em}.rich-body .font-2{font-size:.85em}.rich-body .font-3{font-size:1em}.rich-body .font-4{font-size:1.25em}.rich-body .font-5{font-size:1.5em}.rich-body .font-6{font-size:1.8em}.rich-body .font-7{font-size:2em}.rich-body .marked{background:#fff1a8}.rich-body p{margin:.4em 0 1em}

/* V1.10 — active rich-text controls, in the same COUNOTE green as the UI. */
.admin-page .rich-toolbar button.is-active,
.admin-page .rich-toolbar select.is-active {
  background:#1d634b; color:#fff; border-color:#1d634b;
  box-shadow:0 0 0 2px rgba(29,99,75,.14);
  font-weight:700;
}
.admin-page .rich-toolbar button:focus-visible,
.admin-page .rich-toolbar select:focus-visible {outline:2px solid #1d634b;outline-offset:2px}

/* V1.15: .field is font-weight:700; the editable body must NOT inherit it.
   Only explicit b/strong marks can make editor body text bold. */
.admin-page .rich-editor {font-weight:400;font-size:16px;}
.admin-page .rich-editor b,.admin-page .rich-editor strong {font-weight:700;}
.admin-page .rich-editor u {text-decoration:underline;}

/* V1.17: Quill is the only editable rich-text engine. */
.admin-page .counote-quill-field{font-weight:400}
.admin-page #quill-toolbar{border:1px solid #c7d6cb;border-radius:9px 9px 0 0;background:#f3f7f3;padding:9px}
.admin-page #quill-toolbar .ql-custom-photo{width:auto;padding:0 12px;font-size:13px;font-weight:600}
.admin-page #quill-toolbar .ql-picker.ql-size{width:110px}
.admin-page #body.ql-container{border:1px solid #c7d6cb;border-top:0;border-radius:0 0 9px 9px;font-size:16px;font-weight:400;min-height:330px;padding:0}
.admin-page #body .ql-editor{min-height:330px;line-height:1.85;font-family:inherit;font-size:16px;font-weight:400;overflow-wrap:anywhere;padding:16px}
.admin-page #body .ql-editor strong{font-weight:700}
.admin-page #body .ql-editor img{max-width:100%;height:auto;display:block;margin:18px auto}
.admin-page #body .ql-editor .ql-size-small{font-size:.85em}
.admin-page #body .ql-editor .ql-size-large{font-size:1.25em}
.admin-page #body .ql-editor .ql-size-huge{font-size:1.5em}
.admin-page #quill-toolbar button.ql-active,.admin-page #quill-toolbar .ql-picker-label.ql-active{background:#e5f0e8;border-radius:4px}

/* COUNOTE V2 V1.22 — PC horizontal alignment standard
   All public page content uses the home container width (1140px incl. 22px gutters).
   Keep existing small-screen gutter rules. */
@media (min-width: 851px) {
  .prose,
  .article,
  .program-detail {
    width: 100%;
    max-width: 1140px;
    padding-left: 22px;
    padding-right: 22px;
    margin-left: auto;
    margin-right: auto;
  }
  /* Program detail already sits inside .container: avoid double gutters. */
  main.container > .program-detail {
    padding-left: 0;
    padding-right: 0;
  }
}

/* V1.23 - Align real PC content with the home width, not merely outer wrappers. */
@media (min-width: 851px) {
  /* Main site pages share the same 1140px container and inner 22px gutters. */
  .about-prose {
    width:100%; max-width:1140px;
    padding-left:22px; padding-right:22px;
    margin-left:auto; margin-right:auto;
  }
  .about-prose .about-chapter {
    display:grid;
    grid-template-columns:minmax(240px, .95fr) minmax(0, 1.85fr);
    gap:48px;
    align-items:start;
    padding:38px 0 46px;
  }
  .about-prose .about-chapter-heading h2 {margin:16px 0 0;line-height:1.45;}
  .about-prose .about-chapter-content p:first-child {margin-top:0;}
  .about-prose .about-chapter-content p {font-size:16px;line-height:1.95;}
  .about-prose > .actions {margin-top:30px;}
  /* In the no-articles state, the message should use the entire list width. */
  #column-list > .blank {grid-column:1 / -1;}
  /* Search control can span the same content width; filters remain wrap-enabled. */
  main.container > #search.search {width:100%;max-width:100%;}
}
@media (max-width: 850px) {
  .about-prose .about-chapter-heading h2 {margin:18px 0;}
  #column-list > .blank {grid-column:1 / -1;}
}

/* V1.24 · 소개 페이지 왼쪽 제목 한두 줄 가독성 개선 */
@media (min-width: 851px) {
  .about-prose .about-chapter-heading h2 {
    font-size: clamp(23px, 2.1vw, 26px);
    line-height: 1.45;
    letter-spacing: -.045em;
    overflow-wrap: keep-all;
    word-break: keep-all;
    text-wrap: balance;
  }
}

/* V1.30: Column category landing — consistent with free program cards */
.column-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0 75px}
.column-topic{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:transform .18s,box-shadow .18s}
.column-topic:hover{transform:translateY(-3px);box-shadow:0 12px 26px #1f604b14}
.column-topic:focus-visible{outline:3px solid #398861;outline-offset:3px}
.column-topic-preview{height:166px;background:linear-gradient(135deg,#e0eee3,#cadfcf);position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:#39765a;border-bottom:1px solid #d9e5db}
.column-topic-preview:before{content:'';position:absolute;inset:14px;border:1px solid #ffffffb3;border-radius:12px;pointer-events:none}
.column-topic-icon{font-size:51px;font-weight:800;line-height:1.15;position:relative}
.column-topic-preview-title{font-size:14px;font-weight:800;position:relative}
.column-topic-body{padding:22px;flex:1;display:flex;flex-direction:column;align-items:flex-start}
.column-topic-body h2{font-size:20px;letter-spacing:-.04em;line-height:1.4;margin:8px 0}
.column-topic-body p{font-size:14px;color:var(--muted);line-height:1.7;margin:2px 0 18px;flex:1}
.column-topic-more{color:var(--green);font-size:13px;font-weight:800}
.column-back{display:inline-block;color:var(--green);font-size:14px;font-weight:800;margin:3px 0 22px}
.category-results{padding:0 0 38px}.category-results h2{font-size:30px;letter-spacing:-.04em;margin:2px 0 9px}.category-results .section-lead{margin-bottom:20px}.column-search{width:100%;max-width:100%;margin:0 0 16px}
.article-back{margin-top:27px;margin-bottom:-30px}
@media(max-width:850px){.column-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.column-categories{grid-template-columns:1fr;gap:13px}.column-topic-preview{height:136px}.column-topic-body{padding:17px}.category-results h2{font-size:25px}.article-back{margin-top:21px}}

/* V1.34: ROAS 상세 원본 1713x918 비율 그대로 표시, 중복 테두리/공백 제거. 다른 페이지 제외. */
.program-detail .program-preview-large.program-preview-roas{height:auto;aspect-ratio:auto;display:block;overflow:hidden;background:transparent;border:0;border-radius:14px;line-height:0;}
.program-detail .program-preview-large.program-preview-roas:before{display:none;}
.program-detail .program-preview-large.program-preview-roas img{position:static;display:block;width:100%;height:auto;max-width:100%;object-fit:initial;aspect-ratio:auto;border:0;border-radius:14px;}
