/*
Theme Name: Andy's Home Exteriors
Theme URI: https://thefreewebsiteguys.com
Author: The Free Website Guys
Author URI: https://thefreewebsiteguys.com
Description: WordPress theme generated from Andy's Home Exteriors project.
Version: 1.0.4
License: GNU General Public License v2 or later
Text Domain: tmt
*/

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding: 0; }

/* Keep the SPA shell free of classic WP content formatting quirks. */
#tmt-app {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#tmt-app img,
#tmt-app video {
  max-width: 100%;
  height: auto;
}

#tmt-app p:empty {
  display: none;
}

a[href],
button:not(:disabled),
[role="button"],
summary,
label[for],
select:not(:disabled) {
  cursor: pointer;
}

#tmt-app a[href],
#tmt-app button:not(:disabled),
#tmt-app [role="button"],
#tmt-app summary,
#tmt-app label[for],
#tmt-app select:not(:disabled) {
  cursor: pointer;
}

/*
 * Diary featured image — must live in style.css (unlayered, loads for every
 * request) so WordPress figure/img defaults cannot left-align the hero.
 * Matches original: max-w-4xl (56rem) + mx-auto + px-6 + mt-10 + 16:9.
 */
#tmt-app figure.tmt-diary-hero {
  display: block !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 56rem !important;
  margin-top: 2.5rem !important;
  margin-right: auto !important;
  margin-bottom: 0 !important;
  margin-left: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  text-align: center !important;
}

#tmt-app figure.tmt-diary-hero img {
  display: block !important;
  box-sizing: border-box !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.125rem;
  border: 1px solid hsl(var(--border));
}
