/* =====================================
   EMPLOYMENTTREE BLOG DESIGN
   Brand Theme: Blue, White, Purple
===================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #214EDB;
    --primary-dark: #173CBA;
    --secondary: #48277F;
    --orange: #FFA36E;
    --light-blue: #EFF6FF;
    --white: #FFFFFF;
    --dark: #202020;
    --text: #333333;
    --muted: #64748B;
    --border: #E5EAF2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.container {
    width: 90%;
    max-width: 1250px;
    margin: auto;
}

/* =====================================
   HEADER
===================================== */

.header {
    background: #F8FCFF;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.10);
    position: relative;
    z-index: 10;
}

.navbar {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 300px;
    height: auto;
    object-fit: contain;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.navbar nav a {
    font-size: 17px;
    color: #171717;
    transition: 0.3s;
}

.navbar nav a:hover,
.navbar nav a.active {
    color: #315D75;
    font-weight: 700;
}

.nav-button {
    background: var(--secondary);
    color: white;
    padding: 12px 25px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-button:hover {
    background: var(--primary);
}

/* =====================================
   MINIMAL HERO SECTION
===================================== */

.hero {
    background: #F0F6FF;
    padding: 75px 20px 80px;
    text-align: center;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.hero h1 {
    color: var(--dark);
    font-size: 46px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    color: #626262;
    font-size: 16px;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 30px;
}

/* HERO SEARCH */

.search-box {
    display: flex;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 6px;
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.search-box input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 14px;
    font-size: 14px;
    background: transparent;
}

.search-box button {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 13px 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.search-box button:hover {
    background: var(--primary-dark);
}

/* =====================================
   CATEGORIES
===================================== */

.categories {
    padding-top: 55px;
    padding-bottom: 35px;
}

.categories h2,
.latest h2 {
    color: #2148A5;
    font-size: 30px;
    margin-bottom: 22px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category {
    border: 1px solid #DCE5F3;
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    color: #333333;
    font-size: 14px;
    transition: 0.3s;
}

.category:hover,
.category.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* =====================================
   FEATURED BLOG
===================================== */

.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 45px;
    padding-top: 35px;
    padding-bottom: 70px;
}

.featured-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
}

.featured-content h2 {
    color: #2148A5;
    font-size: 31px;
    line-height: 1.4;
    margin: 15px 0;
}

.featured-content p {
    color: var(--muted);
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    color: var(--primary);
    background: #EAF1FF;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 22px;
}

.read-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 13px 27px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.read-button:hover {
    background: var(--primary-dark);
}

/* =====================================
   LATEST BLOGS
===================================== */

.latest {
    padding-top: 50px;
    padding-bottom: 85px;
    background: white;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 5px 0;
}

.section-heading p {
    color: var(--muted);
}

.section-heading > a {
    color: var(--primary);
    font-weight: 600;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: white;
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.09);
    border: 1px solid #F0F0F0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
}

.blog-card > img {
    width: 100%;
    height: 215px;
    object-fit: cover;
}

.card-content {
    padding: 23px;
}

.card-content h3 {
    color: #2148A5;
    font-size: 19px;
    line-height: 1.5;
    margin: 13px 0;
}

.card-content p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px;
}

.card-content a {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

/* =====================================
   CALL TO ACTION
===================================== */

.cta {
    background: var(--light-blue);
    text-align: center;
    padding: 65px 20px;
}

.cta h2 {
    color: #2148A5;
    font-size: 30px;
    margin-bottom: 12px;
}

.cta p {
    color: #4B6285;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 30px;
    border-radius: 7px;
    font-weight: 600;
    transition: 0.3s;
}

.cta-button:hover {
    background: var(--primary-dark);
}

/* =====================================
   FOOTER
===================================== */

.footer {
    background: var(--dark);
    color: white;
    padding: 55px 0 25px;
    text-align: center;
}

.footer h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.footer p {
    color: #D0D0D0;
    font-size: 14px;
}

.footer .copyright {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #444444;
    font-size: 13px;
}

/* =====================================
   TABLET RESPONSIVE DESIGN
===================================== */

@media (max-width: 950px) {

    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px 0;
    }

    .navbar nav {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .featured {
        gap: 25px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================
   MOBILE RESPONSIVE DESIGN
===================================== */

@media (max-width: 600px) {

    .container {
        width: 92%;
    }

    .navbar {
        gap: 15px;
    }

    .logo img {
        width: 220px;
    }

    .navbar nav {
        gap: 14px;
    }

    .navbar nav a {
        font-size: 13px;
    }

    .nav-button {
        font-size: 13px;
    }

    /* Hero */

    .hero {
        padding: 55px 15px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 14px;
    }

    /* Search */

    .search-box {
        width: 100%;
    }

    .search-box input {
        padding: 12px 8px;
        font-size: 12px;
    }

    .search-box button {
        padding: 12px 15px;
        font-size: 13px;
    }

    /* Categories */

    .categories h2,
    .latest h2 {
        font-size: 24px;
    }

    /* Featured Blog */

    .featured {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .featured-image img {
        height: 230px;
    }

    .featured-content h2 {
        font-size: 25px;
    }

    /* Blog Cards */

    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Section Heading */

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    /* CTA */

    .cta h2 {
        font-size: 24px;
    }
}

/* =====================================
   BLOG DETAIL PAGE
===================================== */

/* Breadcrumb */

.breadcrumb {
    padding-top: 25px;
    padding-bottom: 20px;
    font-size: 13px;
    color: var(--muted);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Article Header */

.article-header {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 25px;
    padding-bottom: 35px;
    text-align: center;
}

.article-header h1 {
    color: var(--dark);
    font-size: 40px;
    line-height: 1.35;
    margin: 18px 0;
}

.article-subtitle {
    color: var(--muted);
    font-size: 16px;
    max-width: 750px;
    margin: 0 auto 25px;
}

.article-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    color: var(--muted);
    font-size: 13px;
}

/* Article Banner - Centered Image */

.article-banner {
    width: 100%;
    margin: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 16px;
}

.article-banner img {
    display: block;
    width: 100%;
    max-width: 850px;
    height: auto;
    margin: 0 auto;
    border-radius: 16px;
    object-fit: cover;
}

/* Article Layout */

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(250px, 0.9fr);
    gap: 50px;
    align-items: start;
    padding-bottom: 80px;
}

/* Main Article */

.article-content {
    min-width: 0;
}

.article-content p {
    color: #505050;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 22px;
}

.article-content h2 {
    color: #2148A5;
    font-size: 25px;
    line-height: 1.4;
    margin: 35px 0 15px;
}

.article-content ul {
    padding-left: 25px;
    margin-bottom: 25px;
}

.article-content li {
    color: #505050;
    font-size: 15px;
    margin-bottom: 10px;
}

/* Article CTA */

.article-cta {
    background: var(--light-blue);
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.article-cta h3 {
    color: #2148A5;
    font-size: 22px;
    margin-bottom: 10px;
}

.article-cta p {
    margin-bottom: 20px;
}

/* Back to Blog */

.back-to-blog {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
}

/* Sidebar */

.article-sidebar {
    position: relative;
}

.sidebar-box {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 23px;
    margin-bottom: 25px;
}

.sidebar-box h3 {
    color: #2148A5;
    font-size: 20px;
    margin-bottom: 22px;
}

.related-post {
    display: flex;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.related-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-post img {
    width: 85px;
    height: 80px;
    object-fit: cover;
    border-radius: 7px;
}

.related-post h4 {
    color: var(--dark);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.related-post a {
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
}

/* Sidebar CTA */

.sidebar-cta {
    background: var(--light-blue);
}

.sidebar-cta p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px;
    line-height: 1.7;
}

/* Detail Page Responsive */

@media (max-width: 950px) {

    .article-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .article-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .article-banner img {
        max-height: 350px;
    }
}

@media (max-width: 600px) {

    .breadcrumb {
        font-size: 11px;
    }

    .article-header {
        padding-top: 15px;
    }

    .article-header h1 {
        font-size: 29px;
    }

    .article-subtitle {
        font-size: 14px;
    }

    .article-info {
        gap: 10px 18px;
        font-size: 11px;
    }

    .article-banner {
        margin-bottom: 30px;
    }

    .article-banner img {
        max-height: 220px;
    }

    .article-content h2 {
        font-size: 21px;
    }

    .article-content p,
    .article-content li {
        font-size: 14px;
    }

    .article-cta {
        padding: 22px;
    }

    .article-cta h3 {
        font-size: 19px;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }
}

/* Professional Resume Article Cover */

.resume-cover {
    width: 100%;
    max-width: 850px;
    min-height: 340px;
    padding: 45px 55px;
    background: linear-gradient(120deg, #173CBA 0%, #214EDB 58%, #48277F 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.resume-cover-content {
    color: #ffffff;
    max-width: 480px;
    position: relative;
    z-index: 2;
}

.cover-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 8px 13px;
    border-radius: 30px;
    margin-bottom: 22px;
}

.resume-cover-content h2 {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 15px;
    color: #ffffff;
}

.resume-cover-content p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.cover-bottom {
    display: flex;
    gap: 35px;
    margin-top: 45px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.8);
}

.resume-paper {
    width: 205px;
    min-width: 205px;
    height: 255px;
    background: #ffffff;
    padding: 24px 20px;
    border-radius: 5px;
    transform: rotate(4deg);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.paper-top {
    width: 65%;
    height: 10px;
    background: #214EDB;
    border-radius: 3px;
    margin-bottom: 20px;
}

.paper-line {
    height: 5px;
    background: #dce3f0;
    border-radius: 5px;
    margin-bottom: 9px;
}

.paper-line.long { width: 100%; }
.paper-line.medium { width: 75%; }
.paper-line.short { width: 48%; }

.paper-heading {
    width: 40%;
    height: 7px;
    background: #48277F;
    border-radius: 3px;
    margin: 19px 0 12px;
}

@media (max-width: 650px) {
    .resume-cover {
        padding: 32px 25px;
        min-height: 300px;
    }

    .resume-cover-content h2 {
        font-size: 29px;
    }

    .resume-paper {
        display: none;
    }

    .cover-bottom {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 30px;
    }
}

/* ATS RESUME ARTICLE - CONTENT STYLING */

.article-highlight {
    background: #eef5ff;
    border-left: 4px solid #2563eb;
    padding: 20px 24px;
    margin: 22px 0;
    border-radius: 8px;
}

.article-highlight h3 {
    color: #173b72;
    margin-top: 0;
}

.article-highlight p {
    margin-bottom: 0;
}

.resume-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resume-checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.resume-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16834a;
    font-weight: bold;
}

.article-content h3 {
    margin-top: 25px;
}

.article-content p,
.article-content li {
    line-height: 1.8;
}

/* CENTER ATS ARTICLE FEATURED IMAGE */

.featured-image-center {
    display: block !important;
    width: 90%;
    max-width: 1250px;
    margin: 35px auto 45px !important;
    text-align: center !important;
    float: none !important;
    clear: both !important;
}

.featured-image-center img {
    display: block !important;
    width: 100% !important;
    max-width: 850px !important;
    height: auto !important;
    margin: 0 auto !important;
    float: none !important;
    object-fit: contain;
    border-radius: 16px;
}