/*
Theme Name: Cooking With Tallow
Template: twentytwentyfive
Description: Child theme for cookingwithtallow.com. Rebuilds the Squarespace look (light gray, Manrope + Poppins, text logo).
Version: 1.0.1
Text Domain: cwt
*/

/* Imported Squarespace content */
.sqs-html-content p,
.sqs-html-content h1, .sqs-html-content h2, .sqs-html-content h3, .sqs-html-content h4 { white-space: normal !important; }
.entry-content img { max-width: 100%; height: auto; }

/* Amazon product cards from Squarespace */
.amazon-block { display: flex; gap: 1.25rem; align-items: center; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 10px; padding: 1rem 1.25rem; margin: 1.5rem 0 .5rem; }
.amazon-block .image-container { flex: 0 0 110px; }
.amazon-block .image-container img { width: 110px; height: 110px; object-fit: contain; display: block; }
.amazon-block .amazon-details a.title { font-family: var(--wp--preset--font-family--manrope); font-weight: 600; font-size: 1rem; line-height: 1.4; text-decoration: none; color: var(--wp--preset--color--contrast); }
.amazon-block .amazon-details a.title:hover { text-decoration: underline; }
@media (max-width: 600px) { .amazon-block { flex-direction: column; align-items: flex-start; } }

/* Ownership disclosure */
.cwt-disclosure { background: var(--wp--preset--color--surface); border-left: 4px solid var(--wp--preset--color--accent); padding: 1rem 1.25rem; border-radius: 6px; margin-bottom: 2rem; font-size: .95rem; }
.cwt-disclosure p { margin: 0; }

/* Tables */
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; background: var(--wp--preset--color--surface); }
.entry-content th, .entry-content td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--wp--preset--color--line); vertical-align: top; }
.entry-content thead th { font-family: var(--wp--preset--font-family--manrope); font-weight: 600; border-bottom: 2px solid var(--wp--preset--color--contrast); }
@media (max-width: 600px) { .entry-content table { display: block; overflow-x: auto; } }

/* Post cards */
.cwt-card .wp-block-post-featured-image img { aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; transition: opacity .2s; }
.cwt-card .wp-block-post-featured-image a:hover img { opacity: .85; }
.cwt-card .wp-block-post-title a { text-decoration: none; }
.cwt-card .wp-block-post-title a:hover { text-decoration: underline; }
