/*
Theme Name: Aruba Sunset Photos
Theme URI: https://arubasunsetphotoshoot.com/
Author: Aruba Sunset Photos
Description: Branded child theme of Bluehost Blueprint. Applies brand fonts (Playfair Display + DM Sans) and brand palette (cream, cocoa, sunset gold) site-wide for blog, pages, archives, and WooCommerce checkout consistency.
Template: bluehost-blueprint
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: aruba-sunset
*/
.wp-block-post-title a, .wp-block-post-title a:visited { color: var(--wp--preset--color--contrast); text-decoration: none; }
.wp-block-post-title a:hover { color: var(--wp--preset--color--accent-1); }
.wp-block-post-featured-image img { border-radius: 6px; }
.wp-block-post-excerpt__more-link { display: inline-block; margin-top: 12px; font-family: var(--wp--preset--font-family--dm-sans); font-size: 14px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--wp--preset--color--accent-1); text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--accent-1); }
.wp-block-post-terms a { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--accent-2); text-decoration: none; font-weight: 600; }
.wp-block-site-title a, .wp-block-site-title { font-family: var(--wp--preset--font-family--playfair-display) !important; color: var(--wp--preset--color--contrast) !important; }
.wp-block-navigation a { font-family: var(--wp--preset--font-family--dm-sans); font-weight: 500; letter-spacing: 0.03em; }
.woocommerce h1, .woocommerce h2, .woocommerce h3, .woocommerce-checkout h1, .woocommerce-checkout h2, .woocommerce-checkout h3 { font-family: 'Playfair Display', Georgia, serif; color: #1a0f05; }
.woocommerce, .woocommerce-checkout, .woocommerce form { font-family: 'DM Sans', system-ui, sans-serif; color: #1a0f05; }
.woocommerce-checkout #payment { background: #fef5ee; border-radius: 8px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, #place_order { background: #c8956c !important; color: #ffffff !important; font-family: 'DM Sans', sans-serif !important; font-weight: 600 !important; letter-spacing: 0.05em !important; text-transform: uppercase !important; border-radius: 4px !important; padding: 14px 32px !important; }
.woocommerce a.button:hover, .woocommerce button.button:hover, #place_order:hover { background: #a87850 !important; }
.woocommerce-checkout input[type="text"], .woocommerce-checkout input[type="email"], .woocommerce-checkout input[type="tel"], .woocommerce-checkout select, .woocommerce-checkout textarea { border: 1px solid #e8c8a8 !important; border-radius: 4px !important; padding: 12px 14px !important; font-family: 'DM Sans', sans-serif !important; }
.wp-block-post-content { max-width: 720px; margin: 0 auto; }


/* === V22-PATCH-4b: force DM Sans body globally to beat Bluehost Blueprint specificity === */
body, body p, body li, body a, body span, body div,
.wp-site-blocks, .wp-block-group, .wp-block-post-template,
.wp-block-post, .wp-block-post-excerpt, .wp-block-post-date,
.wp-block-post-terms, .wp-block-button__link {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}
body h1, body h2, body h3, body h4, body h5,
.wp-block-post-title, .wp-block-heading,
.wp-block-site-title, .wp-block-site-title a {
  font-family: 'Playfair Display', Georgia, serif !important;
}
.wp-block-post-title { font-weight: 500 !important; letter-spacing: -0.01em; }
.wp-block-post-featured-image {
  background: var(--wp--preset--color--accent-3);
  border-radius: 6px;
  aspect-ratio: 4/3;
}
.wp-block-post-featured-image img {
  width: 100%; height: 100%; object-fit: cover;
}


/* === V22-PATCH-5b: targeted topbar hide \u2014 only the address+social row, not the whole header === */
/* Restore: undo the over-aggressive previous selectors */
body.asp-hide-topbar > .wp-site-blocks > header > .wp-block-group:first-child,
body.asp-hide-topbar > .wp-site-blocks > .wp-block-group:first-child {
  display: block !important;
}
/* Hide only the first inner row of the header that contains social-links (the topbar) */
body.asp-hide-topbar header > .wp-block-group > .wp-block-group:first-child:has(.wp-block-social-links),
body.asp-hide-topbar header > .wp-block-group > .wp-block-row:first-child:has(.wp-block-social-links) {
  display: none !important;
}
.comment-respond, #respond, .comments-area, #comments, .wp-block-comments,
.wp-block-post-comments-form, .comment-form, .comments-title { display: none !important; }

@media (min-width: 640px) {
  .asp-blog-cta-wrap .asp-cta-card {
    grid-template-columns: 1fr 1fr !important;
  }
}


/* === V22-PATCH-7: Hide date on blog single + archive === */
.wp-block-post-date, time.wp-block-post-date, .wp-block-post-date a, .posted-on, .entry-date { display: none !important; }
