/* WordPress Post Styles for McVeigh Parker Theme */

/* Main Post Container */
.post-view {
    width: 100%;
    margin: 0 auto;
    background: #fff;
}

.post-entry {
    width: 100%;
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 45, 87, 0.6); /* Brand dark with opacity */
    z-index: 1;
}

.hero-wrapper .text-container {
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

/* Social Section Styling */
.social.wrapper {
    background: #f8f9fa;
    padding: 40px 0;
    margin-top: 40px;
}

.social .solid {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

/* New FontAwesome Social Section */
.social-section {
    text-align: center;
}

.social-section .label {
    display: block;
    color: var(--brand-dark);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links .icon {
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links .icon:hover {
    transform: translateY(-3px);
}

.colorize-fa-stack-hover .fa-stack {
    transition: all 0.3s ease;
}

.colorize-fa-stack-hover .fa-circle {
    color: var(--brand-main);
}

.colorize-fa-stack-hover .icon:hover .fa-circle {
    color: var(--brand-dark);
}

.colorize-fa-stack-hover .fa-twitter,
.colorize-fa-stack-hover .fa-facebook,
.colorize-fa-stack-hover .fa-youtube,
.colorize-fa-stack-hover .fa-linkedin,
.colorize-fa-stack-hover .fa-instagram,
.colorize-fa-stack-hover .fa-music {
    color: white;
}

.social .button.minimal.medium.white {
    background: var(--brand-main);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social .button.minimal.medium.white:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.hero-wrapper h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0 0 0;
    line-height: 1.2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Back Button - Positioned at top left */
.button.small.minimal.blue.left-arrow {
    background: var(--brand-main, #009fe3);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    margin: 0;
}

.button.small.minimal.blue.left-arrow:hover {
    background: var(--brand-dark, #002d57);
    transform: translateY(-1px);
}

.button.small.minimal.blue.left-arrow:before {
    content: '← ';
    margin-right: 5px;
}

/* Post Meta Section */
.history.wrapper {
    background: #f8f9fa;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.history .row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.history .solid {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
}

.meta p {
    margin: 0;
    font-size: 14px;
    color: var(--brand-neutral, #3b413f);
}

.meta a {
    color: var(--brand-main, #009fe3);
    text-decoration: none;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(0, 159, 227, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.meta a:hover {
    background: var(--brand-main, #009fe3);
    color: white;
}

/* Post Content */
.post-content {
    padding: 40px 0;
}

.stock.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-content .row {
    margin: 0;
}

.post-content .full-col {
    width: 100%;
}

.post-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--brand-neutral, #3b413f);
}

.post-content p:last-child {
    margin-bottom: 0;
}

/* Social and Next Story Section */
.social.spacer.wrapper {
    background: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
}

.social .row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social .three-quarters {
    flex: 3;
    min-width: 300px;
}

.social .quarter {
    flex: 1;
    min-width: 310px;
}

.social .solid {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.social .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.social h3 {
    margin: 0;
    font-size: 20px;
    color: var(--brand-dark, #002d57);
    font-weight: 600;
}

/* Update Share Story section text */
.social h3:contains("Share Story"),
.social .quarter h3 {
    font-size: 18px;
}

.social h3:contains("Share Story")::after {
    content: " on Social Media";
    font-size: 14px;
    color: var(--brand-neutral, #3b413f);
    font-weight: 400;
}

.social .text {
    color: var(--brand-neutral, #3b413f);
    line-height: 1.6;
    margin: 0;
}

/* Improve social section text for clarity */
.social .quarter .text {
    font-size: 14px;
    color: var(--brand-neutral, #3b413f);
    margin-bottom: 15px;
}

.social .quarter .text::before {
    content: "Follow us on: ";
    font-weight: 600;
    color: var(--brand-dark, #002d57);
}

/* Buttons */
.button.minimal.medium.white {
    background: var(--brand-main, #009fe3);
    color: white;
    border: 2px solid var(--brand-main, #009fe3);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.button.minimal.medium.white:hover {
    background: var(--brand-dark, #002d57);
    border-color: var(--brand-dark, #002d57);
    color: white;
}

.button.primary {
    background: var(--brand-main, #009fe3);
    color: white;
    border: 2px solid var(--brand-main, #009fe3);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.button.primary:hover {
    background: var(--brand-dark, #002d57);
    border-color: var(--brand-dark, #002d57);
}




/* Icon fonts - assuming you have icon fonts available */
.icon-facebook:before { content: 'f'; }
.icon-twitter:before { content: 't'; }
.icon-youtube:before { content: 'y'; }

/* Product Carousel Section */
.home-products.wrapper {
    padding: 50px 0;
    background: white;
}

.home-products h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--brand-dark, #002d57);
    margin-bottom: 30px;
    font-weight: 600;
}

.caro-buttons {
    text-align: center;
    margin-bottom: 30px;
}

.caro-buttons button {
    background: var(--brand-main, #009fe3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.caro-buttons button:hover {
    background: var(--brand-dark, #002d57);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-wrapper {
        min-height: 300px;
    }
    
    .hero-wrapper h1 {
        font-size: 1.8rem;
    }
    
    .hero-wrapper .text-container {
        padding: 20px;
        padding-top: 60px; /* Account for back button */
    }
    
    .button.small.minimal.blue.left-arrow {
        top: 15px;
        left: 15px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .social .row {
        flex-direction: column;
    }
    
    .social .three-quarters,
    .social .quarter {
        flex: none;
        width: 100%;
    }
    
    .social .title {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .post-content p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero-wrapper h1 {
        font-size: 1.5rem;
    }
    
    .history.wrapper,
    .post-content,
    .social.spacer.wrapper {
        padding: 20px 0;
    }
    
    .history .solid,
    .social .solid {
        padding: 15px;
    }
    
    .stock.wrapper,
    .history .row,
    .social .row {
        padding: 0 15px;
    }
}

/* Print Styles */
@media print {
    .hero-wrapper,
    .social.spacer.wrapper,
    .home-products.wrapper,
    .button {
        display: none;
    }
    
    .post-content {
        padding: 0;
    }
    
    .history.wrapper {
        background: none;
        padding: 20px 0;
    }
}
