/*
Theme Name: Hello Plus Child
Description: A child theme for the Hello Plus theme, featuring a custom native single post template.
Author: Ray Talix (RTQ)
Template: hello-plus
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-plus-child
*/

/* Custom CSS for the Single Post Template */


* ===== CUSTOM FONT IMPORTS ===== */
/* Import Google Fonts as fallbacks */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Lato:wght@400;700&display=swap');

/* Atica Bold (700) */
@font-face {
  font-family: 'Atica';
  src: url('https://storage.googleapis.com/msgsndr/0UEE8JyiastBZ3RzoISR/media/6931acd96a99eb243d928e77.woff2') format('woff2'),
       url('https://storage.googleapis.com/msgsndr/0UEE8JyiastBZ3RzoISR/media/6931acd7a317228bd37bc89e.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Atica Medium (500) */
@font-face {
  font-family: 'Atica';
  src: url('https://storage.googleapis.com/msgsndr/0UEE8JyiastBZ3RzoISR/media/6931acea81eaa1eb2576d465.woff2') format('woff2'),
       url('https://storage.googleapis.com/msgsndr/0UEE8JyiastBZ3RzoISR/media/6931ace90b0f9d42b1938bcd.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Atica Regular (400) */
@font-face {
  font-family: 'Atica';
  src: url('https://storage.googleapis.com/msgsndr/0UEE8JyiastBZ3RzoISR/media/6931acec1d466e404aa1b77c.woff2') format('woff2'),
       url('https://storage.googleapis.com/msgsndr/0UEE8JyiastBZ3RzoISR/media/6931acec1d466e1158a1b736.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== ADDED: GLOBAL TYPOGRAPHY MATCH (Newsletter System) ===== */

h1, h1 * {
    font-family: 'Atica', 'Lato', Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 48px !important;
    color: #051B49 !important;
    line-height: 1.25 !important;
}

h2, h2 * {
    font-family: 'Atica', 'Lato', Arial, sans-serif !important;
    font-weight: 500 !important;
    font-size: 36px !important;
    color: #051B49 !important;
    line-height: 1.25 !important;
}

p, p * {
    font-family: 'Atica', 'DM Sans', Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #051B49 !important;
    line-height: 1.75 !important;
}

p strong, p b {
    font-weight: 700 !important;
}

:root {
    --primary-color: #ff8c00; /* Orange/Red from design */
    --secondary-color: #001f3f; /* Dark Blue from design */
    --text-color: #333;
    --light-gray: #f4f4f4;
    --border-color: #ddd;
    --content-max-width: 1000px;
}

body {
    font-family: 'Atica';
    color: var(--text-color);
    line-height: 1.6;
}

.single-post-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 20px;
}

/* ===== HERO SECTION WITH BANNER ===== */
.main-post-hero {
    padding: 0px 0px;
    margin-bottom: 10px;
}

/* CRITICAL: High-specificity selector to force flex display */
div.main-banner-div {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
}

/* Ensure all children respect flex layout */
div.main-banner-div > div {
    flex-shrink: 0;
}

/* Left Banner Image */
.hero-banner-image {
    flex: 0 0 auto !important;
    width: 53% !important;
    max-width: 200px !important;
    min-width: 150px !important;
}

.hero-banner-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
}

/* Center Text Content - This should grow to fill available space */
.hero-text-content {
    flex: 1 1 auto !important;
    text-align: center !important;
    padding: 0 20px !important;
    min-width: 200px !important;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-title .hero-accent {
    color: var(--primary-color);
    display: inline;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-style: italic;
    margin: 0;
}

/* Right Banner Image */
.hero-banner-image-right {
    flex: 0 0 auto !important;
    width: 25% !important;
    max-width: 200px !important;
    min-width: 150px !important;
}

.hero-banner-image-right img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
}

/* ===== POST METADATA ===== */
.post-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 30px;
    border-top: 0px solid var(--border-color);
    color: #051B49;
}
}

.post-header h1 {
    font-size: 20px !important;
    margin-bottom:28px;
    font-weight: 700;
	color: #051B49;
}

.post-date {
    color: #777;
    font-style: italic;
}

/* ===== POST CONTENT ===== */
.post-content {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 20px;
}

/* ===== SOCIAL SHARING ===== */
.social-sharing {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.social-sharing a {
    display: inline-block;
    margin: 0 10px;
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-sharing a:hover {
    opacity: 0.7;
}

/* ===== AUTHOR BIO ===== */
.author-bio {
    text-align: center;
    padding: 40px 0;
    border-top: 0px solid var(--border-color);
    border-bottom: 0px solid var(--border-color);
    margin-bottom: 40px;
}

.author-bio img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    object-fit: cover;
}

.author-bio h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
    font-weight: 500;
}

.author-bio .author-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.author-bio p {
    margin-bottom: 10px;
}

.author-bio a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.author-bio a:hover {
    opacity: 0.8;
}

/* ===== CTA SECTIONS ===== */
.cta-section {
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
    background-color: #f2f6fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-section h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.cta-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.cta-section.podcast-cta {
    border-color: var(--primary-color);
}

.cta-section.burnout-cta {
    background-color: #f2f6fa;
}

.cta-section.burnout-cta h3 {
    font-size: 1.3rem;
}

.cta-section.burnout-cta a {
    color: var(--primary-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #e67e00;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-signup {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    margin-top: 40px;
}

.newsletter-signup h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 600;
}

.newsletter-signup p {
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== IFRAME CONTAINER (replaces .newsletter-form) ===== */
.newsletter-embed {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* iframe itself */
.newsletter-embed iframe {
    width: 100%;
    max-width: 420px; /* similar to input + button width */
    height: 90px;     /* adjust if needed */
    border: none;
    border-radius: 4px; /* matches old inputs/buttons */
    background: #ffffff00;
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    div.main-banner-div {
        gap: 15px !important;
    }

    .hero-banner-image {
        width: 20% !important;
        max-width: 150px !important;
    }

    .hero-text-content {
        flex: 1 1 auto !important;
        padding: 0 15px !important;
    }

    .hero-banner-image-right {
        width: 20% !important;
        max-width: 150px !important;
    }

    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .single-post-container {
        padding: 25px;
    }

    /* Stack banner elements vertically on mobile */
    div.main-banner-div {
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-banner-image {
        width: 100% !important;
        max-width: 250px !important;
        min-width: auto !important;
    }

    .hero-text-content {
        width: 100% !important;
        padding: 0 !important;
        flex: 1 1 auto !important;
    }

    .hero-banner-image-right {
        width: 100% !important;
        max-width: 250px !important;
        min-width: auto !important;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .post-header h1 {
        font-size: 3.6rem;
    }

    .post-content {
        font-size: 1.3rem;
    }

    .cta-section {
        padding: 20px;
    }

    .cta-section h3 {
        font-size: 1.6rem;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
        max-width: 300px;
    }

    .newsletter-form button {
        width: 100%;
        max-width: 300px;
    }
	/* MY CSS / C-T-C Stylesheet... mobile */
div.hero-banner-image {
    max-width: 100% !important;
}

.hero-text-content {
    width: 100% !important;
}

div.hero-banner-image-right {
    width: 100% !important;
}

.main-post-hero {
    margin-bottom: 0px;
}

.post-header h1 {
    font-size: 25px !important;
}

table {
    width: 100% !important;
}

.ck-inner-section.ck-padding-left-mobile-friendly.ck-padding-right-mobile-friendly {
    padding: 10px !important;
}

div.author-bio {
    
    padding: 12px 0;
    margin-bottom: 20px;
}

div.social-sharing {
    text-align: center;
    margin-bottom: 20px;
    padding: 0px 0;
}

.cta-section.podcast-cta, .cta-section.burnout-cta {
    padding: 29px !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.cta-section.burnout-cta{
margin-bottom: 20px !important

}

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .post-header h1 {
        font-size: 3.3rem;
    }

    .cta-section {
        padding: 15px;
    }

    .cta-section h3 {
        font-size: 1.1rem;
    }

    .newsletter-signup {
        padding: 30px 15px;
    }

    .newsletter-signup h2 {
        font-size: 1.4rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .newsletter-signup,
    .social-sharing {
        display: none;
    }
}


.main-banner-div {
    display: flex !important;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}


.hero-banner-image {
    max-width: 56% !important;
}

img.hero-banner-image {
    width: 100% !important;
    height: auto;
}

.hero-text-content {
    width: 30% !important;
}

.hero-banner-image-right {
    width: 24% !important;
}
img.hero-banner-image-right {
    width: 100% !important;

}

.podcast-icons{
    gap: 20px !important;
    display: flex !important;
    justify-content: center !important;
}

.podcast-icons a svg {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.podcast-icons a:hover svg {
    transform: scale(1.08);
    opacity: 0.9;
}


.burnout-button {
    color: #fff !important;
    background-color: #ff8c00 !important;
    padding: 15px 30px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
	display: inline-block !important;
	margin-top 30px !important;
}


.burnout-button:hover {
    color: #000 !important;
    background-color: #ff8c00 !important;
    padding: 15px 30px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
	display: inline-block !important;
	margin-top 30px !important;
}


