﻿/* Create the World Day public pages (CreateTheWorldDay, Sharing, About, Mission, FAQ).
   Same look as the Dec 2026 landing page (landing.css). Everything is scoped under .ctw; classes start with ctw-. */
/* Create the World Day (public page), styled like the Dec 2026 landing page (landing.css). All classes start with ctw-. */
.ctw { --ink:#0B3C48; --text:#1F2D31; --body:#44565C; --muted:#5B6B70; --blue:#0A96C4; --link:#0A7FA6;
    --logo-blue:#1B4FA3; --yellow:#F7C51E; --kicker:#E07A0B; --line:#E1EEF1; --bg:#F5FAFB;
    font-family:'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color:var(--text);
    background:var(--bg); text-align:left; border-radius:24px; overflow:hidden; }
.ctw *, .ctw *::before, .ctw *::after { box-sizing:border-box; }
.ctw :is(h1,h2,h3,p,div,span,a,button,li,label,select):not(.material-symbols-outlined) { font-family:inherit; }
.ctw a { color:var(--link); text-decoration:none; }
.ctw-wrap { max-width:1140px; margin:0 auto; padding:0 28px; }

.ctw-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:999px; font-weight:800;
    white-space:nowrap; border:0; cursor:pointer; transition:filter .15s, transform .15s; }
.ctw-btn:hover { filter:brightness(1.06); transform:translateY(-1px); }
.ctw-btn-primary { background:var(--blue); color:#fff !important; box-shadow:0 10px 24px rgba(10,150,196,.28); }
.ctw-btn-yellow { background:var(--yellow); color:var(--ink) !important; }
.ctw-btn-outline { background:transparent; border:1.5px solid #B9DCE4; color:#0B4F5E !important; }
.ctw-btn-lg { padding:16px 28px; font-size:17px; }
.ctw-btn-md { padding:12px 22px; font-size:16px; }

/* hero */
.ctw-hero { position:relative; background:radial-gradient(1100px 520px at 88% 0%, #CDEBF1 0%, rgba(205,235,241,0) 70%), var(--bg); }
.ctw-hero-row { display:flex; flex-wrap:wrap; align-items:center; gap:48px; padding-top:64px; padding-bottom:80px; }
.ctw-hero-copy { flex:1 1 440px; min-width:0; }
.ctw-badge { display:inline-flex; align-items:center; gap:8px; padding:6px 14px; border-radius:999px; background:#FFF4D1;
    color:#8A5A00; font-size:13px; font-weight:700; }
.ctw-badge-dot { width:8px; height:8px; border-radius:4px; background:var(--yellow); }
.ctw-h1 { margin:20px 0 0; font-size:clamp(36px,4.6vw,58px); line-height:1.04; letter-spacing:-2px; font-weight:800; color:var(--ink); }
.ctw-h1 span { color:var(--blue); }
.ctw-hand { font-family:'Caveat', cursive !important; font-weight:600; color:var(--logo-blue); font-size:30px; letter-spacing:0; }
.ctw-lead { margin:22px 0 0; font-size:19px; line-height:1.6; color:var(--body); max-width:540px; }
.ctw-cta-row { margin-top:30px; display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.ctw-cta-link { padding:14px 10px; font-weight:700; font-size:17px; color:#0B4F5E !important; }

/* hero visual */
.ctw-visual { flex:1 1 420px; min-width:0; position:relative; height:520px; }
.ctw-visual-bg { position:absolute; inset:28px 8px 18px 36px; border-radius:36px; background:linear-gradient(150deg,#0F8FA8,#0B6B80); overflow:hidden; }
.ctw-visual-sun { position:absolute; right:22px; top:50px; width:46px; height:46px; border-radius:23px; background:var(--yellow); }
.ctw-word { position:absolute; font-family:'Caveat', cursive !important; font-weight:600; color:rgba(255,255,255,.55); font-size:26px; white-space:nowrap; }
.ctw-w1 { left:58%; top:120px; transform:rotate(-6deg); } .ctw-w2 { left:8%; top:46%; transform:rotate(5deg); }
.ctw-w3 { left:66%; bottom:90px; transform:rotate(-4deg); } .ctw-w4 { left:30%; bottom:30px; transform:rotate(3deg); }
.ctw-float { position:absolute; background:#fff; border-radius:20px; box-shadow:0 24px 50px rgba(11,60,72,.22); }

.ctw-session { left:0; top:0; width:60%; overflow:hidden; }
.ctw-session-top { height:86px; background:linear-gradient(135deg,#F7C51E 0%,#F49B2C 100%); display:flex; align-items:flex-end; padding:12px 16px; }
.ctw-chip { background:rgba(255,255,255,.92); color:#8A4B00; font-size:11px; font-weight:800; letter-spacing:1.2px; padding:4px 9px; border-radius:999px; }
.ctw-session-body { padding:14px 16px 16px; }
.ctw-float-title { font-weight:800; font-size:17px; color:var(--ink); }
.ctw-host { display:flex; align-items:center; gap:8px; margin-top:8px; font-size:13px; color:var(--body); }
.ctw-avatar { width:26px; height:26px; border-radius:13px; background:linear-gradient(135deg,#1B4FA3,#0A96C4); color:#fff;
    font-size:11px; font-weight:800; display:flex; align-items:center; justify-content:center; }
.ctw-going { margin-top:12px; font-size:12px; font-weight:700; color:#0B6B80; background:#E3F3F7; display:inline-block; padding:5px 10px; border-radius:999px; }

.ctw-schedule { right:0; top:236px; width:54%; padding:16px 18px; }
.ctw-sched-head { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.ctw-sched-title { font-weight:800; font-size:15px; color:var(--ink); }
.ctw-chip-day { font-size:11px; font-weight:700; color:#0B6B80; background:#E3F3F7; padding:3px 8px; border-radius:999px; white-space:nowrap; }
.ctw-sched { margin-top:10px; display:flex; flex-direction:column; gap:9px; font-size:14px; }
.ctw-slot { display:flex; gap:10px; align-items:center; }
.ctw-time { width:62px; flex:0 0 62px; font-size:12px; font-weight:700; color:var(--muted); }
.ctw-dot { width:8px; height:8px; border-radius:4px; flex:0 0 8px; }

.ctw-next { left:10%; bottom:0; width:62%; padding:14px 16px; display:flex; gap:14px; align-items:center; }
.ctw-tile { width:52px; flex:0 0 52px; border:1px solid #CFE6EB; border-radius:10px; text-align:center; overflow:hidden; }
.ctw-tile-m { background:var(--blue); color:#fff; font-size:10px; font-weight:800; padding:3px 0; letter-spacing:.5px; }
.ctw-tile-d { font-size:21px; font-weight:800; color:var(--ink); padding:3px 0 4px; }
.ctw-kicker-sm { font-size:11px; font-weight:800; letter-spacing:1.2px; color:var(--kicker); }
.ctw-next-date { font-weight:800; font-size:16px; color:var(--ink); margin-top:2px; }
.ctw-next-note { font-size:13px; color:var(--muted); margin-top:2px; }

/* promise band */
.ctw-band { background:var(--ink); color:#fff; }
.ctw-band-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:28px; padding-top:34px; padding-bottom:34px; }
.ctw-promise { display:flex; gap:14px; align-items:flex-start; }
.ctw-promise .material-symbols-outlined { color:var(--yellow); font-size:28px; }
.ctw-promise-title { font-weight:800; font-size:17px; }
.ctw-promise-text { font-size:15px; line-height:1.5; color:#B7D6DD; margin-top:4px; }

/* sections */
.ctw-section { padding-top:88px; padding-bottom:24px; }
.ctw-kicker { font-size:13px; font-weight:800; letter-spacing:1.6px; color:var(--kicker); text-transform:uppercase; }
.ctw-h2 { display:block; margin:12px 0 0; font-size:clamp(30px,4vw,44px); line-height:1.1; letter-spacing:-1.2px; font-weight:800; color:var(--ink); }
.ctw-section-lead { margin:16px 0 0; font-size:18px; line-height:1.6; color:var(--body); max-width:720px; }
.ctw-about { display:flex; flex-wrap:wrap; gap:48px; align-items:flex-start; }
.ctw-about-copy { flex:1 1 380px; min-width:0; }
.ctw-about-copy p { font-size:18px; line-height:1.65; color:var(--body); margin:16px 0 0; }

.ctw-steps { flex:1 1 420px; min-width:0; display:flex; flex-direction:column; gap:14px; }
.ctw-step { display:flex; gap:16px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:20px; padding:20px 22px;
    transition:transform .2s, box-shadow .2s; }
.ctw-step:hover { transform:translateY(-3px); box-shadow:0 14px 30px rgba(11,79,94,.12); }
.ctw-num { width:40px; height:40px; flex:0 0 40px; border-radius:12px; display:flex; align-items:center; justify-content:center;
    font-weight:800; font-size:18px; }
.ctw-n1 { background:#FFF4D1; color:#B37400; } .ctw-n2 { background:#E3F3F7; color:#0A7FA6; } .ctw-n3 { background:#E8EEFA; color:#1B4FA3; }
.ctw-step h3 { margin:0; font-size:18px; font-weight:800; color:var(--ink); }
.ctw-step p { margin:4px 0 0; font-size:15px; line-height:1.55; color:var(--muted); }

/* video */
.ctw-video-box { margin-top:36px; background:#fff; border:1px solid var(--line); border-radius:32px; padding:clamp(14px,2.5vw,24px);
    box-shadow:0 24px 50px rgba(11,60,72,.10); }
.ctw-video { position:relative; width:100%; aspect-ratio:16/9; border-radius:20px; overflow:hidden; background:#0B3C48; }
.ctw-video iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* back catalog */
.ctw-catalog { margin:88px 0 0; background:linear-gradient(150deg,#0F8FA8,#0B6B80); color:#fff; }
.ctw-catalog-row { display:flex; flex-wrap:wrap; gap:32px; align-items:center; justify-content:space-between; padding-top:56px; padding-bottom:56px; }
.ctw-catalog .ctw-kicker { color:var(--yellow); }
.ctw-catalog .ctw-h2 { color:#fff; }
.ctw-catalog .ctw-section-lead { color:#CDE7EC; max-width:520px; }
.ctw-picker { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.ctw-picker select { min-width:280px; max-width:100%; padding:14px 18px; border-radius:999px; border:0; font-size:16px; font-weight:600;
    color:var(--ink); background:#fff; box-shadow:0 10px 24px rgba(0,0,0,.15); }

.ctw-footer { padding:28px 0 36px; text-align:center; font-size:15px; color:var(--muted); }
.ctw-footer b { color:var(--ink); }

@media (max-width: 760px) {
    .ctw { border-radius:16px; }
    .ctw-wrap { padding:0 18px; }
    .ctw-hero-row { padding-top:36px; padding-bottom:48px; gap:32px; }
    .ctw-lead { font-size:17px; }
    /* phones: the example cards stack inside the teal panel instead of floating over each other */
    .ctw-visual { height:auto; display:flex; flex-direction:column; gap:14px; padding:22px 16px 24px; }
    .ctw-visual-bg { inset:0; border-radius:28px; }
    .ctw-visual-sun { top:14px; right:14px; width:34px; height:34px; }
    .ctw-float { position:relative; left:auto; right:auto; top:auto; bottom:auto; width:auto; }
    .ctw-session { margin-right:28px; } .ctw-schedule { margin-left:28px; } .ctw-next { margin-right:12px; }
    .ctw-word { display:none; }
    .ctw-section { padding-top:60px; }
    .ctw-about-copy p { font-size:16px; }
    .ctw-catalog { margin-top:60px; }
    .ctw-picker select { min-width:0; width:100%; }
}

/* ===== shared pieces for the About, Mission, FAQ and Sharing pages ===== */
.ctw-hero-sm .ctw-hero-row { padding-top:52px; padding-bottom:56px; gap:40px; }
.ctw-hero-sm .ctw-h1 { font-size:clamp(34px,4.4vw,54px); }
.ctw-deco { flex:0 1 340px; min-width:260px; position:relative; height:230px; }
.ctw-deco .ctw-visual-bg { inset:0; border-radius:32px; }
.ctw-deco .ctw-visual-sun { top:18px; right:18px; }
.ctw-deco .ctw-word { color:rgba(255,255,255,.75); }
.ctw-deco .ctw-d1 { left:9%; top:16%; transform:rotate(-6deg); font-size:28px; }
.ctw-deco .ctw-d2 { right:12%; top:44%; transform:rotate(4deg); font-size:26px; }
.ctw-deco .ctw-d3 { display:none; }
.ctw-deco-big { position:absolute; left:24px; bottom:18px; font-family:'Caveat',cursive !important; font-weight:600; font-size:56px; color:#fff; line-height:1; }

.ctw-prose { max-width:760px; }
.ctw-prose p { font-size:18px; line-height:1.7; color:var(--body); margin:0 0 18px; }
.ctw-pull { font-family:'Caveat',cursive !important; font-weight:600; font-size:clamp(28px,3.6vw,38px); line-height:1.2; color:var(--logo-blue);
    border-left:5px solid var(--yellow); padding:4px 0 4px 22px; margin:28px 0 30px; }

.ctw-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:16px; margin-top:36px; }
.ctw-card { background:#fff; border:1px solid var(--line); border-radius:20px; padding:22px; transition:transform .2s, box-shadow .2s; }
.ctw-card:hover { transform:translateY(-3px); box-shadow:0 14px 30px rgba(11,79,94,.12); }
.ctw-icon { width:46px; height:46px; border-radius:14px; display:flex; align-items:center; justify-content:center; }
.ctw-icon .material-symbols-outlined { font-size:24px; }
.ctw-i-teal { background:#E3F3F7; color:#0A7FA6; } .ctw-i-yellow { background:#FFF4D1; color:#B37400; } .ctw-i-blue { background:#E8EEFA; color:#1B4FA3; }
.ctw-i-orange { background:#FDE9DA; color:#C2560C; } .ctw-i-green { background:#E5F5EC; color:#1E8A4C; } .ctw-i-pink { background:#FDE7EC; color:#C2185B; }
.ctw-card-title { margin:14px 0 0; font-weight:800; font-size:18px; color:var(--ink); line-height:1.3; }
.ctw-card-text { margin:6px 0 0; font-size:15px; line-height:1.55; color:var(--muted); }

.ctw-timeline { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; margin-top:36px; }
.ctw-when-label { font-size:12px; font-weight:800; letter-spacing:1.2px; color:var(--kicker); text-transform:uppercase; }

/* call to action band */
.ctw-cta { margin-top:88px; background:var(--ink); color:#fff; }
.ctw-cta-inner { display:flex; flex-wrap:wrap; gap:24px; align-items:center; justify-content:space-between; padding-top:48px; padding-bottom:48px; }
.ctw-cta .ctw-h2 { color:#fff; margin:0; font-size:clamp(26px,3.2vw,36px); }
.ctw-cta p { margin:10px 0 0; color:#B7D6DD; font-size:17px; }

/* FAQ */
.ctw-faq { max-width:820px; margin-top:28px; display:flex; flex-direction:column; gap:12px; }
.ctw-faq details { background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; transition:box-shadow .2s; scroll-margin-top:90px; }
.ctw-faq details[open] { box-shadow:0 14px 30px rgba(11,79,94,.10); }
.ctw-faq summary { list-style:none; cursor:pointer; display:flex; align-items:center; gap:14px; padding:20px 22px; font-size:18px; font-weight:800; color:var(--ink); }
.ctw-faq summary::-webkit-details-marker { display:none; }
.ctw-faq summary::after { content:"+"; margin-left:auto; width:32px; height:32px; flex:0 0 32px; border-radius:16px; background:#E3F3F7; color:#0A7FA6;
    display:flex; align-items:center; justify-content:center; font-size:22px; font-weight:700; transition:transform .2s; }
.ctw-faq details[open] summary::after { content:"\2212"; background:var(--yellow); color:var(--ink); }
.ctw-faq-body { padding:0 22px 22px; font-size:16px; line-height:1.7; color:var(--body); }
.ctw-faq-body p { margin:0 0 12px; }
.ctw-chips { display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 14px; padding:0; list-style:none; }
.ctw-chips li { background:var(--bg); border:1px solid var(--line); border-radius:999px; padding:7px 14px; font-size:14px; font-weight:600; color:#0B4F5E; }

/* Sharing page */
.ctw-hero .ctw-picker select { box-shadow:0 10px 24px rgba(11,60,72,.12); border:1px solid var(--line); }
.ctw-list-card { background:#fff; border:1px solid var(--line); border-radius:28px; padding:22px clamp(16px,3vw,32px) 12px; box-shadow:0 24px 50px rgba(11,60,72,.08); }
.ctw-list-card .header-section { display:flex; align-items:center; gap:12px; padding:4px 0 14px; border-bottom:1px solid var(--line); margin-bottom:6px; }
.ctw-list-card #sharingListLabel { font-size:20px; font-weight:800; color:var(--ink); }

@media (max-width: 760px) {
    .ctw-deco { display:none; }
    .ctw-hero-sm .ctw-hero-row { padding-top:32px; padding-bottom:36px; }
    .ctw-prose p { font-size:16px; }
    .ctw-cta { margin-top:60px; }
    .ctw-faq summary { font-size:16px; padding:16px 18px; }
    .ctw-faq-body { padding:0 18px 18px; font-size:15px; }
    .ctw-list-card { border-radius:20px; }
}

/* the Create the World Day pages have no search: hide the top bar's search box and the phone search button
   (buildCreateTheWorldMenu adds ctw-public to <body>) */
body.ctw-public #top_nav_widgets .search-bar,
body.ctw-public #mobile_search_button,
body.ctw-public #close_mobile_search,
body.ctw-public #clear_search_button { display:none !important; }

/* layout.css makes #core_content_region a 100vh flex column; on these pages let it grow with the content
   (otherwise .ctw is squeezed to one screen and clipped, and #main has nothing to scroll) */
#core_content_region:has(> .ctw) { height:auto; min-height:0; display:block; }
.ctw { flex-shrink:0; }
/* site styles tighten letter/word spacing on some elements; use the font's normal spacing here */
.ctw { letter-spacing:normal; word-spacing:normal; }
.ctw p, .ctw li, .ctw label, .ctw select, .ctw summary { letter-spacing:normal; word-spacing:normal; }

/* year pickers (Sharing hero, past days): roomy pill with a proper chevron instead of the tiny native arrow */
.ctw .ctw-picker select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    min-width: 340px; max-width: 100%; height: 56px;
    padding: 0 60px 0 22px;
    border-radius: 999px; border: 1.5px solid #CFE3E8;
    font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.2;
    cursor: pointer; text-overflow: ellipsis;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230A7FA6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 22px center;
    background-size: 20px 20px;
    box-shadow: 0 10px 24px rgba(11,60,72,.10);
    transition: border-color .15s, box-shadow .15s;
}
.ctw .ctw-picker select:hover { border-color: #9FD0DC; }
.ctw .ctw-picker select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,150,196,.18), 0 10px 24px rgba(11,60,72,.10); }
.ctw .ctw-catalog .ctw-picker select { border-color: transparent; min-width: 380px; }
@media (max-width: 760px) {
    .ctw .ctw-picker { width: 100%; }
    .ctw .ctw-picker select { min-width: 0; width: 100%; }
}
