/*
Theme Name: All Things Pregnancy
Description: Warm, editorial block theme for a pregnancy review blog. Palette and fonts from the brand board.
Version: 1.0.0
Requires at least: 6.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: all-things-pregnancy
*/

body{-webkit-font-smoothing:antialiased}
a{text-underline-offset:3px;text-decoration-thickness:1px}
img{border-radius:14px}

/* Header */
.atp-header{background:var(--wp--preset--color--deep);padding:1rem 1.5rem}
.atp-header .wp-block-site-title a{text-decoration:none}
.atp-header .wp-block-navigation a{text-decoration:none;font-family:var(--wp--preset--font-family--ui);font-size:.95rem}
.atp-header .wp-block-site-title a,.atp-header .wp-block-navigation a{color:var(--wp--preset--color--pink)}
.atp-header .wp-block-navigation a:hover{color:#fff}
.atp-header .wp-block-button__link{background:var(--wp--preset--color--pink);color:var(--wp--preset--color--deep)}
.atp-header .wp-block-button__link:hover{background:#fff}

/* Footer */
.atp-footer{background:var(--wp--preset--color--deep);color:var(--wp--preset--color--blush);padding:3.5rem 1.5rem 2rem;margin-top:0}
.atp-footer a{color:var(--wp--preset--color--pink);text-decoration:none}
.atp-footer a:hover{color:#fff;text-decoration:underline}
.atp-footer h2,.atp-footer h3,.atp-footer h4,.atp-footer .wp-block-site-title a{color:#fff}
.atp-footer ul{list-style:none;padding:0;margin:0}
.atp-footer li{margin-bottom:.4rem}
.atp-copy{border-top:1px solid rgba(255,255,255,.2);margin-top:2rem;padding-top:1.2rem;font-size:.85rem;opacity:.85}

/* Buttons */
.wp-block-button.is-style-outline>.wp-block-button__link{background:transparent;color:var(--wp--preset--color--red);border:2px solid var(--wp--preset--color--red)}
.wp-block-button.is-style-outline>.wp-block-button__link:hover{background:var(--wp--preset--color--red);color:#fff}

/* Patterns (no photos needed) */
.atp-gingham{background-color:#fff;background-image:linear-gradient(90deg,rgba(186,212,237,.5) 50%,transparent 50%),linear-gradient(rgba(186,212,237,.5) 50%,transparent 50%);background-size:30px 30px;border-radius:24px;padding:4.5rem 1.5rem;text-align:center}
.atp-stripes{background:repeating-linear-gradient(90deg,var(--wp--preset--color--sky) 0 30px,var(--wp--preset--color--cream) 30px 60px);border-radius:24px;padding:3rem 1.5rem;text-align:center}
.atp-pink-band{background:var(--wp--preset--color--pink);border-radius:24px;padding:3rem 1.5rem}
.atp-red-band{background:var(--wp--preset--color--red);color:#fff;border-radius:24px;padding:3.5rem 1.5rem;text-align:center}
.atp-red-band h2,.atp-red-band h3{color:#fff}
.atp-red-band a{color:#fff}
.atp-script{font-family:var(--wp--preset--font-family--script);font-size:2.2rem;color:var(--wp--preset--color--red);line-height:1;margin:0}

/* Category cards */
.atp-card{border-radius:22px;padding:1.8rem;height:100%;box-sizing:border-box}
.atp-card h3{margin-top:0}
.atp-card a{font-family:var(--wp--preset--font-family--ui);text-decoration:none}
.atp-card-pink{background:var(--wp--preset--color--pink)}
.atp-card-sky{background:var(--wp--preset--color--sky)}
.atp-card-blush{background:var(--wp--preset--color--blush)}
.atp-card-red{background:var(--wp--preset--color--red);color:#fff}
.atp-card-red h3,.atp-card-red a{color:#fff}

/* Posts */
.wp-block-post-template.is-layout-grid{gap:2rem}
.wp-block-post-title a{text-decoration:none;color:var(--wp--preset--color--deep)}
.wp-block-post-title a:hover{color:var(--wp--preset--color--red)}
.atp-meta{font-size:.85rem;opacity:.8}
.atp-note{font-size:.85rem;background:var(--wp--preset--color--blush);border-radius:12px;padding:1rem 1.2rem}

/* Calculator */
.atp-calc{background:#fff;border:1px solid var(--wp--preset--color--blue)!important}
.atp-calc button{background:var(--wp--preset--color--red)!important;color:#fff!important}
.atp-calc button:hover{background:var(--wp--preset--color--deep)!important}
.atp-calc #atp-result{background:var(--wp--preset--color--sky)!important}

input,textarea,select{border:1px solid rgba(114,8,8,.3);border-radius:10px;background:#fff;font-family:inherit}
blockquote{border-left:4px solid var(--wp--preset--color--pink);background:var(--wp--preset--color--blush);padding:1em 1.4em;border-radius:0 12px 12px 0}

/* Updated colour order */
.atp-hero{background:var(--wp--preset--color--pink);border-radius:24px;padding:4.5rem 1.5rem;text-align:center}
.atp-strip{background:var(--wp--preset--color--blush);border:1px solid var(--wp--preset--color--pink);border-radius:24px;padding:3rem 1.5rem;text-align:center}
.atp-card-blue{background:var(--wp--preset--color--blue)}
