/*
Theme Name: Bluehost Blueprint
Theme URI: https://github.com/newfold-labs/wp-theme-bluehost-blueprint/
Author: Bluehost
Author URI: https://bluehost.com
Description: Bluehost Blueprint is a block-based, multi-purpose, WordPress theme. Compose your pages to fit any design you like with the power of Full Site Editing (FSE) and the included wide range of Block Patterns. The pre-built pages will help you populate and transform your website into a wonderful website. Customize colors and font pairings to create your own unique look and feel.
Version: 1.0.3
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bluehost-blueprint
Tags: blog, e-commerce, portfolio, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, block-patterns, wide-blocks, full-site-editing, template-editing
 */


:root {
	--wp--preset--font-size--huge: clamp(6rem, 10vw, 10rem);
}

h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

select {
	min-height: 2.25em;
}

textarea, select, input[type=color], input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=month], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=submit], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], .select2-container .select2-selection--single {
	border-radius: 2px;
	border: 1px solid;
	border-color: rgba(0,0,0,0.2);
	line-height: 1.7;
	padding: 0.3rem 1rem;
	display: block;
}

input[type="submit"] {
	background-color: var(--wp--preset--color--accent-1);
	border-width: 0;
	border-radius: 2px;
	color: var(--wp--preset--color--base);
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	padding: calc(0.667em + 2px) calc(1.333em + 2px);
	text-decoration: none;
	cursor: pointer;
}

[class*="is-style-block-overlap"] + *:not([style*="margin-top"]) {
	margin-top: 0;
}

[class*="is-style-text-wrap-balance"],
[class*="is-style-text-wrap-balance"] p {
	text-wrap-style: balance;
}

div[class*="wp-block-"] figcaption {
	color: var(--wp--preset--color--contrast-midtone);
	font-size: var(--wp--preset--font-size--small);
	margin-bottom: 0;
	margin-top: 8px;
	text-align: center;
}

div[class*="wp-block-"] .wp-block-image figcaption a {
	width: auto;
}

.woocommerce-account .wp-block-post-title, .woocommerce-account main .woocommerce, .woocommerce-cart .wp-block-post-title, .woocommerce-cart main .woocommerce, .woocommerce-checkout .wp-block-post-title, .woocommerce-checkout main .woocommerce {
	max-width: var(--wp--style--global--content-size);
}

/* WooCommerce account/notice text rendering safeguard. */
.woocommerce-MyAccount-navigation-link.is-active a,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	font-family: Arial, Helvetica, sans-serif !important;
	font-variation-settings: normal !important;
	font-synthesis: none;
}

.woocommerce-MyAccount-navigation-link.is-active a {
	font-weight: 400 !important;
	font-style: normal !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-shadow: none !important;
	-webkit-text-stroke: 0 !important;
	filter: none !important;
	transform: none !important;
	opacity: 1 !important;
}

/* Sticky Footer */
.wp-site-blocks {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.admin-bar .wp-site-blocks {
    min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
}

.wp-site-blocks > main,
.wp-site-blocks > .entry-content {
    flex: 1;
}

/* Featured image: keep natural width (do not stretch to full content width). */
.wp-block-post-featured-image.bp-post-featured-image--intrinsic {
	width: fit-content;
	max-width: 100%;
}

.wp-block-post-featured-image.bp-post-featured-image--intrinsic img {
	width: auto !important;
	max-width: 100%;
	height: auto;
}

/* WagerWorld mobile homepage responsiveness. */
@media (max-width: 700px) {
  body.home .wp-block-post-content [style*="grid-template-columns:repeat(4,1fr)"],
  body.home .wp-block-post-content [style*="grid-template-columns:repeat(3,minmax(0,1fr))"],
  body.home .wp-block-post-content [style*="grid-template-columns:repeat(3,1fr)"],
  body.home .wp-block-post-content [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  body.home .wp-block-post-content header {
    padding: 18px 16px !important;
    gap: 8px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  body.home .wp-block-post-content header > div:first-child {
    font-size: 15px !important;
    white-space: nowrap !important;
    justify-content: center !important;
    width: 100% !important;
    letter-spacing: 0 !important;
  }

  body.home .wp-block-post-content header > div:first-child img {
    width: 30px !important;
    height: 30px !important;
    margin-right: 4px !important;
  }

  body.home .wp-block-post-content header > div:last-child {
    font-size: 13px !important;
    width: 100% !important;
    text-align: center !important;
  }

  body.home .wp-block-post-content section:first-of-type {
    padding-top: 24px !important;
  }

  body.home .wp-block-post-content section:first-of-type > div {
    min-height: 0 !important;
    height: auto !important;
    padding: 36px 20px !important;
  }

  body.home .wp-block-post-content section:first-of-type > div > div > div:first-child {
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
  }

  body.home .wp-block-post-content section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.home .wp-block-post-content h1 {
    font-size: 36px !important;
    overflow-wrap: anywhere;
  }

  body.home .wp-block-post-content h2 {
    font-size: 30px !important;
    line-height: 1.15 !important;
  }

  body.home .wp-block-post-content [id="packages"],
  body.home .wp-block-post-content [style*="padding:55px 28px"],
  body.home .wp-block-post-content [style*="padding:35px 28px 70px"],
  body.home .wp-block-post-content [style*="padding:60px 28px"],
  body.home .wp-block-post-content [style*="padding:48px 28px"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.home .wp-block-post-content [style*="grid-template-columns:repeat(3,minmax(0,1fr))"] {
    display: block !important;
    width: 100% !important;
  }

  body.home .wp-block-post-content [style*="grid-template-columns:repeat(3,minmax(0,1fr))"] > div {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 24px !important;
    margin: 0 0 18px 0 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.home .wp-block-post-content [style*="font-size:38px"] {
    font-size: 34px !important;
  }

  body.home .wp-block-post-content p,
  body.home .wp-block-post-content h3,
  body.home .wp-block-post-content div {
    overflow-wrap: break-word;
  }

  /* Final mobile overrides: keep every homepage grid in one readable column. */
  body.home .wp-block-post-content [style*="display:grid"] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.home .wp-block-post-content [style*="display:grid"] > * {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.home .wp-block-post-content header {
    display: block !important;
    overflow: hidden !important;
  }

  body.home .wp-block-post-content header > div:first-child {
    display: flex !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
  }

  body.home .wp-block-post-content header > div:last-child {
    display: block !important;
    margin-top: 8px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
  }
}

/* WagerWorld checkout: make the final purchase action unmistakable. */
.woocommerce-checkout #payment #place_order,
.woocommerce-checkout button#place_order {
	background: #168447 !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 6px !important;
	font-size: 1.2rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	padding: 18px 34px !important;
	min-width: 220px !important;
	min-height: 58px !important;
	cursor: pointer !important;
}

.woocommerce-checkout #payment #place_order:hover,
.woocommerce-checkout button#place_order:hover {
	filter: brightness(1.08);
}

/* WagerWorld private member picks portal. */
.wws-picks-portal {
	--wws-navy: #061a2f;
	--wws-ocean: #0b3154;
	--wws-sky: #4eb4e8;
	--wws-land: #31a460;
	color: #eaf5fb;
	background: radial-gradient(circle at top right, rgba(78, 180, 232, .17), transparent 34%), linear-gradient(145deg, #061a2f, #0b3154);
	border: 1px solid rgba(78, 180, 232, .25);
	border-radius: 18px;
	box-shadow: 0 24px 55px rgba(4, 18, 32, .22);
	padding: clamp(22px, 4vw, 48px);
}
.wws-portal-hero { max-width: 760px; margin-bottom: 28px; }
.wws-portal-hero .wws-eyebrow { display: block; color: var(--wws-land); font-size: .76rem; font-weight: 800; letter-spacing: .18em; margin-bottom: 8px; }
.wws-portal-hero h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; margin: 0 0 14px; }
.wws-portal-hero p, .wws-portal-empty p { color: #bdd1df; }
.wws-access-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 30px; }
.wws-access-card { display: flex; flex-direction: column; gap: 4px; background: rgba(255, 255, 255, .075); border-left: 4px solid var(--wws-land); border-radius: 9px; padding: 15px 17px; }
.wws-access-card strong { color: #fff; letter-spacing: .06em; }
.wws-access-card span { color: #a9c3d4; font-size: .85rem; }
.wws-pick-feed { display: grid; gap: 18px; }
.wws-pick-card, .wws-portal-empty { background: #fff; color: #10283b; border-radius: 12px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 10px 26px rgba(0, 0, 0, .16); }
.wws-pick-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.wws-pick-meta span { background: var(--wws-land); color: #fff; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; padding: 6px 11px; }
.wws-pick-meta time { color: #607789; font-size: .82rem; }
.wws-pick-card h3, .wws-portal-empty h3 { color: #061a2f; margin: 0 0 14px; }
.wws-pick-content { font-size: 1.05rem; line-height: 1.7; }
.wws-portal-empty .button { background: var(--wws-land) !important; color: #fff !important; border-radius: 7px !important; font-weight: 700 !important; padding: 12px 18px !important; }
@media (max-width: 600px) {
	.wws-picks-portal { padding: 20px 15px; }
	.wws-pick-meta { align-items: flex-start; flex-direction: column; gap: 8px; }

}

/* Make the password-reset action clear and easy to find. */
.woocommerce-ResetPassword .woocommerce-Button,
.woocommerce-ResetPassword button[type="submit"] {
	background: #168447 !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 7px !important;
	font-size: 1.1rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	padding: 15px 34px !important;
	min-width: 150px !important;
	min-height: 52px !important;
	box-shadow: 0 6px 16px rgba(22, 132, 71, .22) !important;
	cursor: pointer !important;
}

.woocommerce-ResetPassword .woocommerce-Button:hover,
.woocommerce-ResetPassword button[type="submit"]:hover {
	background: #116c3a !important;
}

/* WagerWorld member account redesign. */
.woocommerce-account main .woocommerce {
	background: #f5f9fb;
	border: 1px solid #d9e7ef;
	border-radius: 16px;
	box-shadow: 0 18px 45px rgba(4, 20, 35, .10);
	overflow: hidden;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
	background: linear-gradient(160deg, #061a2f, #0b3154);
	padding: 24px 18px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 3px 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	color: #c7ddea !important;
	border-radius: 7px;
	padding: 11px 13px;
	text-decoration: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	background: #31a460;
	color: #ffffff !important;
}
.woocommerce-account .woocommerce-MyAccount-content { padding: clamp(24px, 4vw, 46px); }
.wws-all-access { grid-column: 1 / -1; }
@media (max-width: 700px) {
	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content { width: 100%; float: none; }
}