/* ==========================================================================
   PornFullVideo Blog Style - light theme to match main site
   ========================================================================== */

:root {
    --pfv-red: #c0392b;
    --pfv-red-dark: #922b21;
    --pfv-charcoal: #333333;
    --pfv-page: #f0f0f0;
    --pfv-white: #ffffff;
    --pfv-soft: #f8f8f8;
    --pfv-border: #dddddd;
    --pfv-border-soft: #e6e6e6;
    --pfv-text: #333333;
    --pfv-muted: #666666;
    --pfv-light-muted: #777777;
    --pfv-shadow: 0 3px 10px rgba(0,0,0,.06);
    --pfv-shadow-strong: 0 8px 24px rgba(0,0,0,.12);
    --pfv-radius: 12px;
    --pfv-font: Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--pfv-font);
    background-color: var(--pfv-page);
    color: var(--pfv-text);
    margin: 0;
    padding: 0;
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--pfv-red);
    text-decoration: none;
}

a:hover {
    color: var(--pfv-red-dark);
    text-decoration: underline;
}

h1, h2, h3, h4 {
    color: #111111;
    line-height: 1.25;
}

/* Main site header/footer classes used by template/header.php and footer.php */
.header {
    background-color: var(--pfv-charcoal);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 4px solid var(--pfv-red);
}

.logo img {
    max-height: 50px;
    display: block;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 440px;
}

.search-form input[type="search"] {
    width: 100%;
    border: 1px solid #555555;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 15px;
    outline: none;
}

.search-form input[type="search"]:focus {
    border-color: var(--pfv-red);
    box-shadow: 0 0 0 3px rgba(192,57,43,.16);
}

.search-form button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: var(--pfv-red);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.search-form button:hover {
    background: var(--pfv-red-dark);
}

.header-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-links li {
    margin: 0;
}

.header-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.header-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

footer {
    background-color: var(--pfv-charcoal);
    color: #f0f0f0;
    padding: 40px 20px;
    margin-top: 50px;
    border-top: 4px solid var(--pfv-red);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p,
.footer-disclaimer p {
    margin: 0;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--pfv-red);
    text-decoration: none;
}

.footer-disclaimer {
    font-size: .85rem;
    color: #aaaaaa;
}

/* Blog layout */
.content-wrapper {
    max-width: 1200px;
    margin: 34px auto;
    padding: 0 20px;
}

.content-wrapper-full-width {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.page-heading-v2 {
    background: var(--pfv-white);
    border: 1px solid var(--pfv-border-soft);
    border-radius: var(--pfv-radius);
    padding: 24px 26px;
    margin-bottom: 26px;
    box-shadow: var(--pfv-shadow);
}

.page-heading-v2 h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0;
    border-left: 5px solid var(--pfv-red);
    padding-left: 18px;
}

.section-heading {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin: 0 0 24px;
    color: #111111;
}

.blog-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
}

.blog-grid-view {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

/* Featured blog card */
.blog-featured-post {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: var(--pfv-radius);
    background: #111111;
    margin-bottom: 28px;
    border: 1px solid var(--pfv-border);
    box-shadow: var(--pfv-shadow-strong);
}

.featured-post-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .35s ease;
}

.blog-featured-post:hover .featured-post-bg-image,
.blog-summary-card-v2:hover .card-image-link img {
    transform: scale(1.04);
}

.featured-post-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.16));
}

.featured-post-content {
    position: relative;
    z-index: 2;
    padding: 34px;
    max-width: 780px;
}

.featured-post-content h1 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.35rem);
    margin: 14px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.featured-post-content h1 a {
    color: #ffffff;
}

.featured-post-content .article-excerpt {
    color: #f0f0f0;
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0;
}

.article-category {
    display: inline-block;
    align-self: flex-start;
    background: var(--pfv-red);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.article-category:hover {
    background: var(--pfv-red-dark);
    color: #ffffff;
    text-decoration: none;
}

.read-article-link,
.read-article-link.featured {
    display: inline-block;
    align-self: flex-start;
    margin-top: 16px;
    color: var(--pfv-red);
    font-weight: 700;
}

.read-article-link.featured {
    background: var(--pfv-red);
    color: #ffffff;
    border-radius: 999px;
    padding: 12px 22px;
}

.read-article-link.featured:hover {
    background: var(--pfv-red-dark);
    color: #ffffff;
    text-decoration: none;
}

/* Blog cards */
.blog-summary-card-v2 {
    background: var(--pfv-white);
    border: 1px solid var(--pfv-border);
    border-radius: var(--pfv-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--pfv-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.blog-summary-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: var(--pfv-shadow-strong);
}

.card-image-link {
    display: block;
    overflow: hidden;
    background: #e9e9e9;
}

.card-image-link img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.blog-summary-card-v2 .blog-card-text {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-summary-card-v2 h4 {
    font-size: 1.45rem;
    margin: 15px 0 8px;
}

.blog-summary-card-v2 h4 a {
    color: #111111;
}

.blog-summary-card-v2 h4 a:hover {
    color: var(--pfv-red);
    text-decoration: none;
}

.blog-summary-card-v2 p.article-excerpt {
    color: #444444;
    margin: 0;
    flex-grow: 1;
}

.no-results-message {
    background: var(--pfv-white);
    border: 1px solid var(--pfv-border-soft);
    border-radius: var(--pfv-radius);
    padding: 24px;
    margin: 0;
}

/* Sidebar */
.blog-sidebar .sidebar-widget {
    background: var(--pfv-white);
    border: 1px solid var(--pfv-border);
    padding: 22px;
    border-radius: var(--pfv-radius);
    margin-bottom: 24px;
    box-shadow: var(--pfv-shadow);
}

.blog-sidebar .widget-title {
    font-size: 1.3rem;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pfv-border-soft);
}

.blog-category-nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.blog-category-nav a {
    color: var(--pfv-charcoal);
    padding: 11px 13px;
    border-radius: 8px;
    font-weight: 700;
    background: #f7f7f7;
    border: 1px solid #eeeeee;
}

.blog-category-nav a:hover {
    background: #eeeeee;
    color: var(--pfv-red);
    text-decoration: none;
}

.blog-category-nav a.active {
    background: var(--pfv-red);
    border-color: var(--pfv-red);
    color: #ffffff;
}

/* Single post */
.post-hero-image {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #111111;
    border-bottom: 4px solid var(--pfv-red);
    margin-bottom: 34px;
}

.post-hero-image .featured-post-overlay {
    background: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.14));
}

.post-hero-image .featured-post-content {
    max-width: 960px;
    padding: 44px 24px;
}

.post-hero-image .featured-post-content h1 {
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 3.6rem);
    margin: 14px 0 10px;
}

.article-meta {
    color: #eeeeee;
    font-weight: 700;
    font-size: .98rem;
}

.article-body {
    background: var(--pfv-white);
    border: 1px solid var(--pfv-border);
    border-radius: var(--pfv-radius);
    padding: clamp(24px, 4vw, 42px);
    box-shadow: var(--pfv-shadow);
    font-size: 1.08rem;
    line-height: 1.78;
    color: var(--pfv-text);
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
    color: #111111;
}

.article-body h2,
.article-body h3 {
    margin: 1.9em 0 .8em;
    border-left: 4px solid var(--pfv-red);
    padding-left: 14px;
}

.article-body p,
.article-body li {
    color: #333333;
}

.article-body p {
    margin: 0 0 1.35em;
}

.article-body a {
    color: var(--pfv-red);
    font-weight: 700;
    text-decoration: underline;
}

.article-body img {
    border-radius: 10px;
    box-shadow: var(--pfv-shadow);
}

.article-sharing-widget a {
    display: block;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    transition: opacity .2s ease, transform .2s ease;
}

.article-sharing-widget a:hover {
    opacity: .9;
    transform: translateY(-1px);
    text-decoration: none;
    color: #ffffff;
}

.article-sharing-widget a.twitter { background-color: #111111; }
.article-sharing-widget a.facebook { background-color: #1877F2; }

.related-articles-section {
    background: var(--pfv-white);
    border: 1px solid var(--pfv-border-soft);
    border-radius: var(--pfv-radius);
    padding: 26px;
    box-shadow: var(--pfv-shadow);
}

.related-articles-section .blog-grid-view {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.related-articles-section .section-heading {
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-layout-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        margin-top: 10px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .logo {
        display: flex;
        justify-content: center;
    }

    .search-form {
        max-width: 100%;
        width: 100%;
    }

    .header-links ul {
        justify-content: center;
    }

    .content-wrapper {
        margin: 24px auto;
        padding: 0 14px;
    }

    .blog-featured-post {
        min-height: 360px;
    }

    .featured-post-content {
        padding: 24px;
    }

    .card-image-link img {
        height: 210px;
    }

    .post-hero-image {
        min-height: 360px;
    }
}

@media (max-width: 480px) {
    .search-form {
        flex-direction: column;
    }

    .search-form button {
        width: 100%;
    }

    .header-links ul {
        gap: 14px;
    }

    .page-heading-v2,
    .blog-summary-card-v2 .blog-card-text,
    .blog-sidebar .sidebar-widget,
    .related-articles-section {
        padding: 18px;
    }
}
