/*
Theme Name: Britlit Custom Theme
Description: Custom theme matching the main site
Version: 1.2
Author: Gemini
*/

/* ---------------------------------------------------- */
/*  1. Global Typography & Reset                        */
/* ---------------------------------------------------- */
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
li,
span,
div {
    font-family: 'Urbanist', sans-serif !important;
}

body {
    color: #333;
    line-height: 1.6;
}

a {
    color: #0d333f;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus,
a:active {
    color: #f8a61c;
    text-decoration: none;
    outline: none;
}

/* ---------------------------------------------------- */
/*  2. Components                                       */
/* ---------------------------------------------------- */

/* Badges & Tags */
.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn-chat {
    background-color: #0d333f;
    color: #fff !important;
    border: 2px solid #0d333f;
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-chat:hover {
    background-color: transparent;
    color: #0d333f !important;
}

/* ---------------------------------------------------- */
/*  3. Blog Listing (Index)                             */
/* ---------------------------------------------------- */
.blog-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-radius: 12px !important;
    background: #fff;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(248, 166, 28, 0.3) !important;
}

.card-img-link {
    overflow: hidden;
    position: relative;
    display: block;
}

.blog-card .card-img-top {
    transition: transform 0.6s ease;
    object-fit: cover;
    height: 220px;
    width: 100%;
}

.blog-card:hover .card-img-top {
    transform: scale(1.08);
}

.card-title a {
    color: #0d333f;
    font-weight: 800;
    line-height: 1.4;
}

.card-title a:hover {
    color: #f8a61c !important;
}

.read-more-link {
    color: #0d333f;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.read-more-link:hover {
    color: #f8a61c;
}

/* Pagination */
.pagination-wrapper .page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 5px;
    font-weight: 700;
    border: 1px solid #eee;
    color: #0d333f;
}

.pagination-wrapper .page-numbers.current,
.pagination-wrapper .page-numbers:hover {
    background-color: #0d333f;
    color: #fff;
    border-color: #0d333f;
}

/* ---------------------------------------------------- */
/*  4. Single Post (Detail)                             */
/* ---------------------------------------------------- */
.blog-hero {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    transition: transform 10s ease;
}

.blog-hero:hover .hero-bg {
    transform: scale(1.05);
    /* Subtle zoom effect on background */
}

.entry-content {
    font-family: 'Urbanist', sans-serif;
}

/* Hero Section Overrides removed */

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #0d333f;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.entry-content p {
    margin-bottom: 1.8rem;
    color: #444;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.8rem;
    position: relative;
    list-style: none;
    padding-left: 1.5rem;
}

.entry-content li::before {
    content: "\f058";
    /* FontAwesome check-circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f8a61c;
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 0.9em;
}

.entry-content blockquote {
    background-color: #f9f9f9;
    padding: 2.5rem;
    margin: 3rem 0;
    border-radius: 8px;
    position: relative;
}

.entry-content blockquote::before {
    content: "\f10d";
    /* FontAwesome quote-left */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: rgba(248, 166, 28, 0.2);
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 3rem;
    z-index: 0;
}

.entry-content blockquote p {
    position: relative;
    z-index: 1;
    font-size: 1.4rem !important;
    color: #0d333f !important;
    font-style: italic;
    font-weight: 600;
}

/* Post Navigation */
.hover-shadow:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #f8a61c !important;
    transform: translateY(-3px);
}

.transition-all {
    transition: all 0.3s ease;
}

/* Helpers */
.ls-2 {
    letter-spacing: 2px;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.text-dark {
    color: #0d333f !important;
}