/* ==========================================================================
   BLOG PAGE CUSTOM STYLES
   ========================================================================== */

/* Breadcrumb Banner */
.blog-page-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px; /* Offset for fixed header */
}

.blog-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(6, 14, 48, 0.6), rgba(6, 14, 48, 0.9));
}

.blog-banner-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    animation: fadeInDown 1s ease-out;
}

.blog-banner-content h1 {
    font-size: 4rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.blog-breadcrumb {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.blog-breadcrumb a {
    color: var(--white);
    transition: var(--transition-smooth);
}

.blog-breadcrumb a:hover {
    color: var(--gold-light);
}

/* 4-Column Blog Grid */
.blog-unique-section {
    padding: 6rem 0;
    background-color: var(--ivory);
}

.blog-unique-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Unique Blog Cards */
.blog-unique-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    top: 0;
}

.blog-unique-card:hover {
    top: -15px;
    box-shadow: var(--shadow-heavy);
    border-color: var(--gold);
}

.blog-unique-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-unique-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.blog-unique-card:hover .blog-unique-img img {
    transform: scale(1.1) rotate(1deg);
}

.blog-unique-content {
    padding: 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-unique-content h3 {
    font-size: 1.15rem;
    color: var(--royal-blue);
    line-height: 1.4;
    margin-bottom: 1rem;
    height: 5.2em; /* Ensures equal heading height */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
	text-align: center;
}

.blog-unique-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    /* CSS Truncation to ensure completely equal paragraph sizes */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 6em; 
    flex-grow: 1;
}

.blog-unique-card .btn-outline {
    width: 100%;
    text-align: center;
    border-radius: 6px;
}

/* Modals for Full Blog Reading */
.full-blog-modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 14, 48, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    padding: 20px;
}

.full-blog-modal.active {
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(5px);
}

.full-blog-content {
    background: var(--ivory);
    width: 100%;
    max-width: 900px;
    height: 85vh;
    border-radius: 12px;
    padding: 3rem 4rem;
    position: relative;
    transform: translateY(50px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    border-top: 4px solid var(--gold);
}

.full-blog-modal.active .full-blog-content {
    transform: translateY(0) scale(1);
}

.close-blog-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--royal-blue);
    transition: var(--transition-smooth);
}

.close-blog-modal:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

/* Modal Typography & Custom Bullets */
.full-blog-content h2 {
    font-size: 2.2rem;
    color: var(--royal-blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.full-blog-content p {
    margin-bottom: 1.2rem;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.8;
}

.full-blog-content h4 {
    color: var(--gold-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.custom-bullet-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.custom-bullet-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.6;
}

.custom-bullet-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--gold);
    font-size: 1.1rem;
}

/* Specific Bullet Types */
.bullet-snow li i { color: #87CEEB; } /* Icy blue for snow */
.bullet-compass li i { color: var(--gold-dark); }
.bullet-check li i { color: #2E8B57; } /* Sea green */
.bullet-star li i { color: var(--gold); }
.bullet-plane li i { color: var(--royal-blue); }

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments for Blog Grid */
@media (max-width: 1200px) {
    .blog-unique-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
    .blog-unique-grid { grid-template-columns: 1fr; }
    .blog-banner-content h1 { font-size: 3rem; }
    .full-blog-content { padding: 2.5rem 1.5rem; height: 90vh; }
}