/*
 * BlueCoat French Bulldogs — INNER PAGES stylesheet
 * Theme: blue-coat-french-bulldog-theme
 * ------------------------------------------------------------------
 * Loaded on every page that is NOT the Home or About Us template:
 * default pages, blog index, single posts, archives, search and 404.
 */

/* ============================================================
   PAGE BANNER (clears the fixed header)
   ============================================================ */
.bc-page-banner {
    position: relative;
    padding: 200px 0 100px;
    background: linear-gradient(180deg, #0a0a0a 0%, #0d1b2e 100%);
    color: #fff;
    overflow: hidden;
}

.bc-page-banner-glow {
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 115, 184, 0.28) 0%, transparent 70%);
    top: -240px;
    right: -160px;
    pointer-events: none;
}

.bc-page-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.bc-page-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.bc-page-banner p {
    margin-top: 18px;
    font-size: 1.03rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.66);
    max-width: 620px;
}

.bc-page-crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 22px;
}

.bc-page-crumbs a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.bc-page-crumbs a:hover {
    color: #1B73B8;
}

.bc-page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 26px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.6);
}

.bc-page-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bc-page-meta svg {
    width: 15px;
    height: 15px;
    color: #1B73B8;
}

/* ============================================================
   CONTENT LAYOUT
   ============================================================ */
.bc-content-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 60px;
    align-items: start;
}

.bc-content-wrap.no-sidebar {
    grid-template-columns: minmax(0, 1fr);
    max-width: 860px;
    margin: 0 auto;
}

/* ============================================================
   ARTICLE / EDITOR TYPOGRAPHY
   ============================================================ */
.bc-entry {
    color: #3d4852;
    font-size: 1.02rem;
    line-height: 1.9;
}

.bc-entry > * + * {
    margin-top: 1.35em;
}

.bc-entry h1,
.bc-entry h2,
.bc-entry h3,
.bc-entry h4,
.bc-entry h5 {
    font-family: 'Playfair Display', serif;
    color: #0a0a0a;
    line-height: 1.25;
    margin-top: 1.8em;
}

.bc-entry h2 {
    font-size: 2rem;
}

.bc-entry h3 {
    font-size: 1.55rem;
}

.bc-entry h4 {
    font-size: 1.25rem;
}

.bc-entry a {
    color: #1B73B8;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.bc-entry a:hover {
    color: #0a0a0a;
}

.bc-entry img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

.bc-entry ul,
.bc-entry ol {
    padding-left: 1.4em;
}

.bc-entry li + li {
    margin-top: 0.5em;
}

.bc-entry blockquote {
    border-left: 3px solid #1B73B8;
    padding: 6px 0 6px 26px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #0a0a0a;
}

.bc-entry table {
    width: 100%;
    border-collapse: collapse;
}

.bc-entry th,
.bc-entry td {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 14px;
    text-align: left;
}

.bc-entry pre {
    background: #0a0a0a;
    color: #e5e7eb;
    padding: 22px;
    border-radius: 16px;
    overflow-x: auto;
    font-size: 0.9rem;
}

.bc-entry code {
    font-family: 'Space Grotesk', monospace;
    background: rgba(27, 115, 184, 0.08);
    color: #1B73B8;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.9em;
}

.bc-entry pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* ============================================================
   POST GRID (blog / archive / search)
   ============================================================ */
.bc-post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
}

.bc-post-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.bc-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.1);
    border-color: rgba(27, 115, 184, 0.22);
}

.bc-post-card-img {
    height: 230px;
    overflow: hidden;
    background: #eef2f7;
}

.bc-post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.bc-post-card:hover .bc-post-card-img img {
    transform: scale(1.07);
}

.bc-post-card-body {
    padding: 30px 30px 34px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bc-post-card-date {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1B73B8;
    margin-bottom: 12px;
}

.bc-post-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
}

.bc-post-card-title a {
    color: #0a0a0a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bc-post-card-title a:hover {
    color: #1B73B8;
}

.bc-post-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #6b7280;
    flex: 1;
}

.bc-post-card-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #1B73B8;
    text-decoration: none;
}

.bc-post-card-more svg {
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}

.bc-post-card-more:hover svg {
    transform: translateX(5px);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.bc-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.bc-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bc-pagination .page-numbers {
    min-width: 46px;
    height: 46px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.09);
    background: #fff;
    color: #52606d;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bc-pagination .page-numbers:hover,
.bc-pagination .page-numbers.current {
    background: #1B73B8;
    border-color: #1B73B8;
    color: #fff;
}

/* ============================================================
   SIDEBAR / WIDGETS
   ============================================================ */
.bc-sidebar-area {
    position: sticky;
    top: 120px;
    display: grid;
    gap: 26px;
}

.bc-widget {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 22px;
    padding: 28px;
}

.bc-widget-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #0a0a0a;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bc-widget ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.bc-widget a {
    color: #52606d;
    text-decoration: none;
    font-size: 0.94rem;
    transition: color 0.3s ease;
}

.bc-widget a:hover {
    color: #1B73B8;
}

/* Search form */
.bc-search-form {
    display: flex;
    gap: 10px;
}

.bc-search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.bc-search-form input[type="search"]:focus {
    border-color: #1B73B8;
}

.bc-search-form button {
    border: none;
    cursor: pointer;
    background: #1B73B8;
    color: #fff;
    padding: 0 20px;
    border-radius: 14px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.82rem;
    transition: background 0.3s ease;
}

.bc-search-form button:hover {
    background: #145a91;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.bc-comments {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bc-comments-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    margin-bottom: 28px;
    color: #0a0a0a;
}

.bc-comments .comment-list {
    list-style: none;
    display: grid;
    gap: 24px;
}

.bc-comments .comment-list ol.children {
    list-style: none;
    margin-top: 24px;
    padding-left: 34px;
    display: grid;
    gap: 24px;
}

.bc-comments .comment-body {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 26px;
}

.bc-comments .comment-author img {
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
}

.bc-comments .comment-metadata {
    font-size: 0.8rem;
    color: #9aa5b1;
    margin: 8px 0 14px;
}

.bc-comments .comment-reply-link {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #1B73B8;
    text-decoration: none;
}

.bc-comments .comment-respond {
    margin-top: 44px;
}

.bc-comments input[type="text"],
.bc-comments input[type="email"],
.bc-comments input[type="url"],
.bc-comments textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    margin-top: 6px;
}

.bc-comments input:focus,
.bc-comments textarea:focus {
    border-color: #1B73B8;
}

.bc-comments .comment-form p {
    margin-bottom: 16px;
}

.bc-comments .submit {
    border: none;
    cursor: pointer;
    background: #1B73B8;
    color: #fff;
    padding: 15px 34px;
    border-radius: 100px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.bc-comments .submit:hover {
    background: #145a91;
    transform: translateY(-2px);
}

/* ============================================================
   404
   ============================================================ */
.bc-404 {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.bc-404-code {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(6rem, 18vw, 12rem);
    font-weight: 700;
    line-height: 1;
    color: #1B73B8;
    opacity: 0.16;
}

.bc-404 h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: -24px;
    color: #0a0a0a;
}

.bc-404 p {
    margin: 18px 0 34px;
    color: #6b7280;
    line-height: 1.85;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .bc-content-wrap {
        grid-template-columns: minmax(0, 1fr);
    }

    .bc-sidebar-area {
        position: static;
    }

    .bc-page-banner {
        padding: 170px 0 80px;
    }
}

@media (max-width: 768px) {
    .bc-post-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .bc-page-banner {
        padding: 150px 0 70px;
    }

    .bc-comments .comment-list ol.children {
        padding-left: 14px;
    }
}
