/*
Theme Name: Claude Design Theme 1.1.22
Theme URI: https://schooltohomeschool.com
Author: School to Homeschool
Description: Victorian-inspired block theme for School to Homeschool — the Vintage Library, Start Here path, Society, and printable resources. All page text is editable in the block editor.
Version: 1.1.22
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: claude-design-theme-1-1-22
*/

/* ---------- base ---------- */
html { overflow-x: hidden; }
body { background: #F7F1E7; color: #3B3028; -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; margin-top: 0; }
h1 em, h2 em, h3 em { color: #7A3E46; }
.wp-site-blocks { padding-top: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.entry-content > .alignfull:first-child { margin-top: 0; }
:where(.wp-block-columns) { gap: clamp(24px, 4vw, 56px); margin-bottom: 0; }
.sth-inner { max-width: 1180px; margin-inline: auto !important; }

/* ---------- sections ---------- */
.wp-block-group.alignfull { padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(48px, 7vw, 84px); margin-top: 0 !important; margin-bottom: 0 !important; }
.wp-block-group.alignfull.sth-hero { padding-top: clamp(32px, 5vw, 56px); }
.wp-block-group.alignfull.sth-pad-b { padding-top: 0; }
.wp-block-group.alignfull.sth-strip { padding-top: 18px; padding-bottom: 18px; border-top: 1px solid #E7D4BC; border-bottom: 1px solid #E7D4BC; }
.is-style-sth-band { background: #FBF7EF; border-top: 1px solid #E7D4BC; border-bottom: 1px solid #E7D4BC; }
.is-style-sth-green { background: #1F3D2E; color: #D9CDB8; }
.is-style-sth-green h1, .is-style-sth-green h2, .is-style-sth-green h3, .is-style-sth-green h3 a { color: #F7F1E7; }
.is-style-sth-green a:not(.wp-block-button__link) { color: #E7D4BC; }
.is-style-sth-wine { background: #7A3E46; color: #F7F1E7; }
.is-style-sth-wine h2, .is-style-sth-wine h3 { color: #F7F1E7; }
.sth-sage { background: #5F7D7A; color: #EFE6D6; }
.sth-sage h2 { color: #F7F1E7; font-weight: 300; }
.sth-tan { background: #E7D4BC; }
.sth-center { text-align: center; }
.sth-center > * { margin-left: auto; margin-right: auto; }
.sth-left { text-align: left; }
.sth-narrow { max-width: 620px; margin-left: auto !important; margin-right: auto !important; }
.sth-narrow-section .sth-inner { max-width: 900px; }
.sth-cols-center { align-items: center !important; }
.sth-justify-center { justify-content: center; }
.sth-justify-right { justify-content: flex-end; }

/* ---------- type ---------- */
.is-style-sth-kicker { font-size: 11px !important; letter-spacing: .26em; text-transform: uppercase; color: #B08A4C; margin-bottom: 4px; }
.is-style-sth-kicker.sth-wine { color: #7A3E46; }
.is-style-sth-kicker.sth-light { color: #E7D4BC; }
.is-style-sth-kicker.sth-gold { color: #C9A66B; }
.is-style-sth-kicker.sth-kicker-lg { font-size: clamp(15px, 1.6vw, 19px) !important; letter-spacing: .24em; }
.is-style-sth-script { font-family: 'Pinyon Script', cursive; color: #B08A4C; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; margin-bottom: 0; }
.sth-script-lg { font-size: clamp(38px, 4.6vw, 56px); }
.sth-script-xl { font-size: clamp(46px, 6.5vw, 78px); }
.sth-sage-text { color: #5F7D7A; font-size: clamp(22px, 2.4vw, 28px); }
.is-style-sth-lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: #4A3E33; }
.is-style-sth-green .is-style-sth-lead, .is-style-sth-wine .is-style-sth-lead { color: inherit; }
.sth-display { font-size: clamp(38px, 4.6vw, 62px) !important; line-height: 1.06; }
.sth-h2-sm { font-size: clamp(28px, 2.8vw, 34px) !important; }
.sth-h3-lg { font-size: clamp(26px, 2.6vw, 32px) !important; font-weight: 400 !important; }
.sth-crumb { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #B08A4C; }
.sth-crumb a { color: #B08A4C; }
.sth-small { font-size: 14.5px; color: #6B5B49; }
.is-style-sth-green .sth-small { color: #B8AD99; }
.sth-italic { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 19px; color: #7A3E46; line-height: 1.35; }
.sth-tagline { font-size: 15px; letter-spacing: .06em; color: #7A6A55; }
.sth-serif-lg { font-family: 'Cormorant Garamond', serif; font-size: 22px; line-height: 1.35; color: #1F3D2E; }
.sth-quote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; color: #1F3D2E; max-width: 640px; }
.sth-closing { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 24px; color: #5F7D7A; text-align: center; margin-top: 40px; }
.sth-essence { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(22px, 2.2vw, 27px); line-height: 1.3; color: #7A3E46; }
.sth-numeral { font-family: 'Cormorant Garamond', serif; font-size: 34px; color: #B08A4C; line-height: 1; margin-bottom: 4px; }
.sth-numeral-lg { font-family: 'Cormorant Garamond', serif; font-size: 52px; color: #B08A4C; line-height: 1; margin-bottom: 0; }
.sth-caps-title { text-transform: uppercase; letter-spacing: .06em; }
.sth-arrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.sth-arrow a { color: #7A3E46; }
.sth-arrow a:hover { color: #1F3D2E; }
.is-style-sth-green .sth-arrow a { color: #E7D4BC; }
.sth-aside { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 17px; color: #5F7D7A; border-top: 1px solid #E7D4BC; padding-top: 16px; margin-top: 22px; }
.sth-aside a { color: #7A3E46; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- ornaments ---------- */
.is-style-sth-diamond, hr.is-style-sth-diamond { border: 0 !important; height: 12px !important; width: 96px !important; max-width: 96px; margin: 20px 0 !important; opacity: 1 !important; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='12'%3E%3Crect y='5.5' width='60' height='1' fill='%23B08A4C'/%3E%3Cpath d='M70 1 L75 6 L70 11 L65 6Z' fill='%235F7D7A'/%3E%3Crect x='80' y='5.5' width='16' height='1' fill='%23B08A4C'/%3E%3C/svg%3E") no-repeat left center !important; }
.sth-center hr.is-style-sth-diamond { margin-left: auto !important; margin-right: auto !important; }
.wp-block-image.sth-orn img { width: 110px; opacity: .8; }
.wp-block-image.sth-orn-lg img { width: 172px; opacity: .95; }
.wp-block-image.sth-orn-sm img { width: 84px; }
.wp-block-image.sth-mark img { width: 34px; }
.wp-block-image.sth-mark-sm { margin: 0 !important; }
.wp-block-image.sth-mark-sm img { width: 15px; display: block; }
.wp-block-image.sth-seal img { width: 160px; }
.sth-center .wp-block-image { display: flex; justify-content: center; }
.is-style-sth-photo { border: 1px solid #B08A4C; padding: 8px; background: #FBF7EF; margin: 0; }
.is-style-sth-photo img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; }

/* ---------- frames & cards ---------- */
.is-style-sth-frame { position: relative; border: 2px solid #B08A4C; background: #FBF7EF; padding: clamp(26px, 4vw, 48px) clamp(20px, 3.4vw, 44px) !important; }
.is-style-sth-frame::before { content: ""; position: absolute; inset: 8px; border: 1px solid #E7D4BC; pointer-events: none; }
.is-style-sth-frame::after { content: ""; position: absolute; inset: 3px; pointer-events: none; background:
  url(assets/corner-tl.png) left top / 40px auto no-repeat, url(assets/corner-tr.png) right top / 40px auto no-repeat,
  url(assets/corner-bl.png) left bottom / 40px auto no-repeat, url(assets/corner-br.png) right bottom / 40px auto no-repeat; }
.is-style-sth-frame > * { position: relative; z-index: 1; }
.is-style-sth-green .is-style-sth-frame { color: #3B3028; }
.is-style-sth-green .is-style-sth-frame h3 { color: #1F3D2E; }
.is-style-sth-card { background: #FBF7EF; border: 1px solid #E7D4BC; padding: 26px 24px !important; height: 100%; transition: border-color .2s; }
.is-style-sth-card:hover { border-color: #B08A4C; }
.is-style-sth-card h3, .is-style-sth-card h3 a { font-size: 22px; color: #1F3D2E; }
.is-style-sth-card p { font-size: 15.5px; color: #5A4C3F; }
.sth-plain { background: #F7F1E7; margin-top: 22px; }
.sth-outline-card { border: 1px solid #3A5A48; padding: 26px 24px !important; height: 100%; }
.sth-outline-card:hover { border-color: #B08A4C; }
.wp-block-column > .is-style-sth-frame, .wp-block-column > .is-style-sth-card { height: 100%; }
.sth-doc { padding: 28px 16px !important; }
.sth-doc-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; line-height: 1.25; color: #1F3D2E; min-height: 2.5em; }
.sth-res-group { margin-top: 40px; }
.sth-section-head { border-bottom: 1px solid #E7D4BC; padding-bottom: 12px; margin-bottom: 26px; align-items: baseline !important; }
.sth-section-head h2, .sth-section-head h3, .sth-section-head p { margin: 0; }
.sth-step { border-top: 1px solid #E7D4BC; padding-top: 22px; margin-top: 22px; }
.sth-step h3 { margin-bottom: 8px; }
.sth-step-top { border-top: 1px solid #B08A4C; padding-top: 20px; }
.sth-fit { background: #F3EADB; border-top: 1px solid #B08A4C; padding: 16px 20px !important; margin-top: 18px; }
.sth-fit strong { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7A3E46; font-weight: 400; margin-right: 6px; }
.sth-form-frame { max-width: 820px; margin-inline: auto; }
.sth-form-page .sth-inner { max-width: 760px; }

/* lists */
.sth-booklist { padding-left: 1.2em; margin: 14px 0; font-size: 16px; }
.sth-booklist li { padding: 6px 0; border-bottom: 1px solid #EDE2D0; }
.sth-booklist li::marker { color: #B08A4C; font-family: 'Cormorant Garamond', serif; }
.sth-checks, .sth-diamonds { list-style: none; padding: 0; margin: 12px 0 0; }
.sth-checks li, .sth-diamonds li { position: relative; padding: 7px 0 7px 26px; border-bottom: 1px solid #EDE2D0; }
.sth-checks li::before { content: "✓"; position: absolute; left: 0; color: #5F7D7A; }
.sth-diamonds li::before { content: "◆"; position: absolute; left: 2px; top: 10px; font-size: 9px; color: #B08A4C; }

/* grids */
.sth-grid-4, .sth-grid-5 { flex-wrap: wrap !important; }
.sth-grid-4 > .wp-block-column { flex: 1 1 220px !important; }
.sth-grid-5 > .wp-block-column { flex: 1 1 180px !important; }
@media (max-width: 781px) { .sth-grid-4 > .wp-block-column, .sth-grid-5 > .wp-block-column { flex-basis: 100% !important; } }
@media (min-width: 560px) and (max-width: 781px) { .sth-grid-4 > .wp-block-column { flex-basis: calc(50% - 20px) !important; } }

/* home pieces */
.sth-cover { background: #1F3D2E; padding: 12px !important; aspect-ratio: 3/4; max-width: 300px; margin-inline: auto; box-shadow: 0 22px 40px -26px rgba(31,61,46,.7); text-align: center; display: flex !important; flex-direction: column; justify-content: center; outline: 1px solid #B08A4C; outline-offset: -12px; }
.sth-cover p { margin: 6px 0 !important; }
.sth-cover-the { font-size: 30px !important; color: #C9A66B !important; }
.sth-cover-title { font-family: 'Cormorant Garamond', serif; font-size: 30px; line-height: 1.05; letter-spacing: .05em; text-transform: uppercase; color: #F7F1E7; }
.sth-cover-sub { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 15px; color: #D9CDB8; }
.sth-spines { gap: 16px !important; align-items: flex-start !important; }
.sth-spine { flex: 1 1 0; aspect-ratio: 2/3; margin: 0 !important; display: flex; align-items: flex-end; padding: clamp(8px, 2vw, 16px); font-family: 'Cormorant Garamond', serif; font-size: clamp(14px, 1.6vw, 19px); line-height: 1.15; color: #F7F1E7; overflow: hidden; }
.sth-spine-gold { background: #B08A4C; border: 1px solid #8F6E36; }
.sth-spine-sage { background: #5F7D7A; border: 1px solid #4B6663; margin-top: 22px !important; }
.sth-spine-wine { background: #7A3E46; border: 1px solid #602F36; }
.sth-strip-row { gap: 18px !important; }
.sth-strip-row > * { margin: 0 !important; }
.sth-strip-title { font-family: 'Cormorant Garamond', serif; font-size: 23px; color: #1F3D2E; }
.sth-part { gap: 16px !important; align-items: baseline !important; border-bottom: 1px solid #33513F; padding: 12px 0; }
.sth-part > p { margin: 0; }
.sth-part-n { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: #B08A4C; min-width: 22px; }
.sth-part-title { font-family: 'Cormorant Garamond', serif; font-size: 19px; }
.sth-soon { min-height: 80vh; display: flex; align-items: center; }
.sth-soon-frame { max-width: 980px; margin-inline: auto; padding: clamp(40px, 7vw, 80px) clamp(22px, 6vw, 80px) !important; }
.wp-block-image.sth-soon-logo img { width: clamp(180px, 24vw, 250px); }

/* ---------- buttons ---------- */
.wp-block-button__link { border-radius: 0 !important; font-family: 'EB Garamond', serif; text-transform: uppercase; letter-spacing: .18em; font-size: 11.5px; }
.is-style-sth-primary .wp-block-button__link { background: #7A3E46; color: #F7F1E7; }
.is-style-sth-green .wp-block-button__link, .wp-block-button.is-style-sth-green .wp-block-button__link { background: #1F3D2E; color: #F7F1E7; }
.wp-block-button.is-style-sth-green .wp-block-button__link:hover { background: #7A3E46; }
.wp-block-button.is-style-sth-outline .wp-block-button__link { background: transparent; color: #3B3028; border: 1px solid #3B3028; }
.wp-block-button.is-style-sth-outline .wp-block-button__link:hover { background: #E7D4BC; color: #3B3028; }
.wp-block-button.is-style-sth-light .wp-block-button__link { background: #F7F1E7; color: #1F3D2E; }
.wp-block-button.is-style-sth-light .wp-block-button__link:hover { background: #E7D4BC; }
.wp-block-button.is-style-sth-gold .wp-block-button__link { background: #B08A4C; color: #1F3D2E; }
.wp-block-button.is-style-sth-outline-light .wp-block-button__link { background: #173325; color: #E7D4BC; border: 1px solid #B08A4C; }
.wp-block-button.is-style-sth-chip .wp-block-button__link { background: #FBF7EF; color: #1F3D2E; border: 1px solid #E7D4BC; padding: 10px 16px; font-size: 10.5px; }
.wp-block-button.is-style-sth-chip .wp-block-button__link:hover { border-color: #B08A4C; background: #F3EADB; }
.wp-block-button.is-style-sth-link .wp-block-button__link { background: transparent; color: #7A3E46; padding: 0 0 4px; border-bottom: 1px solid #B08A4C; }
.wp-block-buttons { gap: 14px; }

/* ---------- forms ---------- */
.sth-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 540px; margin: 6px 0 0; }
.sth-center .sth-form { margin-inline: auto; justify-content: center; }
.sth-form label { display: block; flex: 1 1 100%; }
.sth-form label.sth-half { flex: 1 1 220px; }
.sth-form .sth-label { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #7A6A55; margin-bottom: 8px; }
.sth-form input, .sth-form select, .sth-form textarea { width: 100%; border: 1px solid #CDB894; background: #FFFDF8; padding: 14px 16px; font-family: inherit; font-size: 16px; color: #3B3028; border-radius: 0; }
.sth-form input:focus, .sth-form select:focus, .sth-form textarea:focus { outline: 1px solid #B08A4C; }
.sth-form button { flex: 1 1 100%; border: 0; background: #7A3E46; color: #F7F1E7; padding: 16px 22px; font-family: inherit; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.sth-form button:hover { background: #1F3D2E; }
.sth-form .sth-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #6B5B49; text-align: left; }
.sth-form .sth-consent input { width: 17px; height: 17px; flex: none; margin-top: 2px; accent-color: #7A3E46; }
.sth-form .sth-msg { flex: 1 1 100%; font-style: italic; color: #7A3E46; min-height: 0; margin: 0; }
.sth-form-inline { flex-wrap: nowrap; gap: 0; }
.sth-form-inline input { flex: 1 1 auto; min-width: 0; border-right: 0; }
.sth-form-inline button { flex: none; width: auto; }
.sth-form-inline .sth-msg { position: absolute; }
.is-style-sth-wine .sth-form-inline input { background: transparent; border-color: #F7F1E7; color: #F7F1E7; }
.is-style-sth-wine .sth-form-inline input::placeholder { color: #E7D4BC; }
.is-style-sth-wine .sth-form-inline button { background: #F7F1E7; color: #7A3E46; }
.is-style-sth-wine .sth-msg, .is-style-sth-green .sth-msg { color: #F7F1E7; }
.is-style-sth-green .sth-form input { background: #FBF7EF; border-color: #B08A4C; }
.sth-form-wrap { position: relative; }
@media (max-width: 520px) { .sth-form-inline { flex-wrap: wrap; gap: 10px; } .sth-form-inline input { border-right: 1px solid #CDB894; } .sth-form-inline button { flex: 1 1 100%; } }

/* ---------- embedded apps ---------- */
.sth-app { width: 100%; }
.sth-app iframe { display: block; width: 100%; border: 0; min-height: 70vh; background: transparent; }
.sth-app-loading { text-align: center; padding: 60px 20px; font-style: italic; color: #7A6A55; }

/* ---------- header ---------- */
.sth-announce { background: #1F3D2E; text-align: center; padding: 9px 20px !important; margin: 0 !important; }
.sth-announce a { color: #E7D4BC; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.sth-announce a:hover { color: #F7F1E7; }
.sth-header { position: sticky; top: 0; z-index: 50; background: #F7F1E7; border-bottom: 1px solid #E7D4BC; }
.admin-bar .sth-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sth-header { top: 0; } }
.sth-header-row { max-width: 1180px; margin: 0 auto !important; padding: 12px clamp(16px, 3vw, 40px) !important; gap: clamp(12px, 2vw, 24px) !important; flex-wrap: nowrap !important; }
.sth-logo { margin: 0 !important; flex: none; }
.sth-logo img { width: clamp(120px, 13vw, 172px); display: block; }
.sth-nav { flex: 1 1 auto; justify-content: flex-end; }
.sth-nav .wp-block-navigation-item__content { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #3B3028; padding: 8px 0; border-bottom: 1px solid transparent; }
.sth-nav .wp-block-navigation-item__content:hover, .sth-nav .current-menu-item > .wp-block-navigation-item__content { color: #7A3E46; border-bottom-color: #B08A4C; }
.sth-nav .wp-block-navigation__submenu-container { background: #FBF7EF !important; border: 1px solid #E7D4BC !important; padding: 10px 0; min-width: 240px !important; box-shadow: 0 18px 30px -24px rgba(59,48,40,.5); }
.sth-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { text-transform: none; letter-spacing: 0; font-size: 16px; padding: 8px 18px; border: 0; }
.sth-nav .wp-block-navigation__responsive-container.is-menu-open { background: #FBF7EF; padding: 30px clamp(18px, 4vw, 40px); }
.sth-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 14px; padding: 12px 0; }
.sth-nav .wp-block-navigation__responsive-container-open { border: 1px solid #B08A4C; padding: 10px 12px; color: #1F3D2E; }
.sth-header-cta { flex: none; margin: 0 !important; }
.sth-header-cta .wp-block-button__link { padding: 11px clamp(12px, 1.4vw, 20px); font-size: 11px; letter-spacing: .16em; }
@media (max-width: 899px) { .sth-header-cta { display: none; } }

/* ---------- footer ---------- */
.sth-footer { background: #1F3D2E; color: #D9CDB8; position: relative; padding: 64px clamp(18px, 4vw, 40px) 30px !important; margin-top: 0 !important; }
.sth-footer .sth-inner { max-width: 1180px; }
.sth-footer h4, .sth-footer .sth-foot-head { font-family: 'EB Garamond', serif; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: #B08A4C; font-weight: 400; margin-bottom: 14px; }
.sth-footer a { color: #D9CDB8; }
.sth-footer a:hover { color: #F7F1E7; }
.sth-footer ul { list-style: none; padding: 0; margin: 0; }
.sth-footer li { padding: 5px 0; font-size: 15.5px; }
.sth-footer .sth-foot-logo img { width: 190px; }
.sth-footer .sth-foot-tag { font-family: 'Pinyon Script', cursive; font-size: 22px; color: #C9A66B; line-height: 1.3; }
.sth-foot-bottom { border-top: 1px solid #33513F; margin-top: 44px; padding-top: 22px; font-size: 13.5px; color: #9C9280; gap: 12px 24px !important; }
.sth-foot-bottom p { margin: 0; }
.sth-foot-bottom a { color: #9C9280; }

/* ---------- responsive ---------- */
@media (max-width: 781px) {
  .wp-block-columns.sth-cols-center { gap: 30px; }
  .sth-justify-right { justify-content: flex-start; }
  .sth-spines { max-width: 420px; }
}

/* ---------- buttons disabled mode ---------- */
.sth-buttons-off .wp-block-button__link, .sth-buttons-off .sth-form button { opacity: .5; cursor: not-allowed !important; }

/* ---------- posts ---------- */
.sth-article { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 84px); }
