/* Hero Section */
.hero-section {
    background-image: url("/assets/images/hero-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    color: #fff;
    width: 100%;
    position: relative;
}

.clouds-image {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2;
}

.kids-image {
    position: absolute;
    bottom: 20px;
    right: 0;
    width: 750px;
    z-index: 1;
}

.hero-container {
    display: flex;
    align-items: start;
    justify-content: space-between;
    min-height: 500px;
    padding-top: 120px;
    gap: 20px;
}
.blog-detail-container iframe {
    margin-top: 20px;
}
.hero-text {
    width: 50%;
    text-align: left;
    padding-top: 50px;
}

.hero-text h3 {
    font-size: 34px;
    font-weight: 500;
    color: #fff;
}

.hero-text h2 {
    font-size: 60px;
    font-weight: bold;
    color: #fff;
}

.group-left {
    position: absolute;
    top: 15px;
    left: 40px;
}

.group-right {
    position: absolute;
    top: 15px;
    right: 40px;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 100%;
    box-shadow: 0px 24px 48px -29px rgba(0, 0, 0, 0.18);
    margin-bottom: 40px;
}

.search-field {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #4d4d4d;
    font-size: 12px;
    height: 42px;
    padding: 0 12px;
    box-sizing: border-box;
}

.search-field input {
    flex: 1;
    border: none;
    background: transparent;
    font: inherit;
    color: inherit;
    outline: none;
}

.filter-select {
    position: relative;
    display: inline-block;
    align-items: center;
    min-width: 168px;
}

.filter-select select {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    height: 42px;
    padding: 0px 12px;
    appearance: none;
    width: 100%;
    cursor: pointer;
    margin-bottom: 0;
}

.filter-select::after {
    content: "";
    position: absolute;
    right: 12px;
    transform: translateY(100%);
    width: 14px;
    height: 14px;
    pointer-events: none;
    background-image: url("/assets/icons/arrow-down.png");
    background-repeat: no-repeat;
    background-size: 16px 16px;
}

.filter-select select:hover {
    background: rgba(15, 23, 42, 0.04);
}

.filter-options-buttons {
    display: flex;
    gap: 12px;
}

/* Blog Header */
.blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    margin-bottom: 10px;
}

.blog-header h2 {
    font-size: 20px;
    font-weight: bold;
    color: #0e5484;
    margin-bottom: 10px;
}

.blog-header button {
    font-size: 16px;
    color: #0e5484;
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
}

/* Blog Cards Grid */
.blog-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.time-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #0e5484;
    font-weight: 500;
}

.time-info img {
    width: 18px;
    height: 18px;
}

/* Blog Detail Page */
.blog-detail-container {
    display: flex;
    gap: 48px;
    padding-top: 120px;
    padding-bottom: 60px;
}

.left-section {
    width: 65%;
    box-sizing: border-box;
}

.post-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.post-title {
    padding: 10px;
    font-size: 14px;
    color: black;
    border-radius: 8px;
    background-color: #a2e363;
}

.bar-line {
    width: 17px;
    height: 1px;
    background-color: #99a1b7;
}

.post-date {
    font-size: 14px;
    color: black;
}

.main-title {
    font-size: 48px;
    font-weight: bold;
    color: #0e5484;
    margin-top: 16px;
    margin-bottom: 16px;
}
.content {
    padding-top: 20px;
}
.content > p:first-child {
    font-size: 16px;
    color: black;
    line-height: 20px;
    margin-bottom: 16px;
}

.author-img-section-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-img-section {
    display: flex;
    align-items: center;
    gap: 4px;
}

.author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.author-info h3 {
    font-size: 20px;
    color: black;
    margin: 0;
    font-weight: 600;
}

.author-info h4 {
    font-size: 12px;
    color: black;
    margin: 0;
    font-weight: 400;
}

.read-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-time span {
    font-size: 14px;
    color: black;
}

.shy-kids-img {
    width: 100%;
    border-radius: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.points-title {
    font-size: 40px;
    font-weight: 600;
    color: black;
    margin-bottom: 16px;
}

.points-section {
    display: flex;
    gap: 12px;
    align-items: start;
    margin-bottom: 24px;
}

.dot {
    height: 8px;
    width: 8px;
    min-height: 8px;
    min-width: 8px;
    background-color: black;
    border-radius: 50%;
    margin-top: 5px;
}

.points-para {
    font-size: 16px;
    color: black;
    line-height: 24px;
}

.points-highlight {
    font-weight: 600;
}

.color-para {
    background-color: #ddf1ff;
    padding: 20px 15px;
    border-left: 1px solid #0e5484;
    margin-top: 22px;
    margin-bottom: 22px;
}

.link-text {
    color: black;
    text-decoration: underline;
    cursor: pointer;
}

/* Right Sidebar */
.right-section {
    box-sizing: border-box;
    width: 35%;
}

.change-height {
    height: 56px;
    border-radius: 28px;
    padding: 0px 24px;
    border-color: #e6eeff;
}

.filter-blog {
    width: 100%;
}

.filter-blog select {
    height: 56px;
    border-radius: 28px;
    padding: 0px 24px;
    border-color: #e6eeff;
    margin-top: 8px;
    color: #49454f;
    font-size: 16px;
}

.filter-blog::after {
    background-image: url("/assets/icons/down.png");
    right: 24px;
    transform: translateY(25px);
}

.change-height input {
    font-size: 16px;
    line-height: 40px;
}

.change-height input::placeholder {
    color: #49454f;
}

.recent-blogs-title {
    font-size: 30px;
    font-weight: 600;
    color: black;
    margin-bottom: 22px;
    margin-top: 16px;
}

.recent-blogs-image {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.recent-blogs-sub-title {
    font-size: 18px;
    font-weight: 600;
    color: black;
    margin-top: 20px;
    margin-bottom: 8px;
}

.recent-blogs-description {
    font-size: 12px;
    color: black;
    font-weight: 500;
    line-height: 16px;
    margin-bottom: 34px;
}

.blog-box {
    border: 1px solid #e6eeff;
    padding: 30px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.blog-box img {
    flex-basis: 80px;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    object-fit: cover;
}

.blog-box h3 {
    font-size: 16px;
    font-weight: 500;
    color: black;
    margin: 0;
}

.view-more-button {
    width: 110px;
    height: 36px;
    border-radius: 8px;
    background-color: #0e5484;
    color: #fff;
    font-size: 16px;
    margin-top: 21px;
    cursor: pointer;
}

.share-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.share-icons img {
    cursor: pointer;
}

.share-icons-mobile {
    display: none;
}

.empty-div {
    display: block;
}

/* Form Section */
.form-section {
    background-color: #f5f5f5;
    border-radius: 25px;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-title {
    font-size: 40px;
    font-weight: bold;
    color: #0e5484;
    margin-bottom: 37px;
    text-align: center;
}

.email-form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 472px;
    align-items: center;
}

.name-input-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.name-label {
    color: #1f1f1f;
    font-size: 14px;
}

.name-input {
    width: 100%;
    height: 40px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0px 12px;
    font-size: 14px;
    color: #4d4d4d;
    margin-top: 8px;
    margin-bottom: 0;
}

.message-input {
    margin-top: 8px;
    width: 100%;
    max-width: 472px;
}

.message-input textarea {
    width: 100%;
    height: 100px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    color: #4d4d4d;
    margin-top: 8px;
    resize: none;
}

.form-button {
    height: 50px;
    border-radius: 8px;
    background-color: #0e5484;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    width: 100%;
    max-width: 292px;
}

/* Comments Section */
.comments-container {
    display: block;
}

.comments-title {
    font-size: 40px;
    font-weight: 600;
    color: black;
    margin-bottom: 24px;
}
.comments-section {
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: -32px 36px 24px 0px rgba(0, 0, 0, 0.04);
    box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.07);
    background-color: #fff;
    position: relative;
    margin-bottom: 40px;
}
.comments-section.child {
    margin: 30px 30px 0;
}
.author-name {
    font-size: 18px;
    font-weight: 600;
    color: #343434;
    margin: 0;
}

.author-role {
    font-size: 12px;
    color: black;
    margin: 0;
    font-weight: 400;
}

.comment-text {
    font-size: 16px;
    color: black;
    font-weight: 500;
    line-height: 24px;
    margin-top: 16px;
}

.quote-icon {
    position: absolute;
    top: -34px;
    right: 34px;
    width: 83px;
    height: 83px;
    background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="utf-8"%3F><!-- Generator: Adobe Illustrator 29.8.2, SVG Export Plug-In . SVG Version: 9.03 Build 0) --><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 83 83" style="enable-background:new 0 0 83 83;" xml:space="preserve"><style type="text/css">.st0{fill:%23FEFEFE;}.st1{fill:%23F7F7F7;}</style><g><path class="st1" d="M0.4,39C1.9,26.6,15.5,14.1,26.6,9.8c5.6-2.2,9.2,1.1,5.8,5.8c-3.4,4.7-16.4,8.6-20.8,16.1C10.4,33.5,7.7,42,10.9,42h22.4v32H0.4C1.3,62.9-0.9,49.8,0.4,39z"/><path class="st1" d="M83,11v3l-1.6,4c-11.4,5.1-18.6,12.5-21.6,22.1L78.7,40c2.7-0.1,4.1,0.9,4.3,3v30c-10.5,2.3-22.1,0.4-32.8,1V35.5c0-3,6.5-12.7,9-14.9c2.4-2.1,17-11.7,19.4-11.6C80.4,8.9,81.7,9.9,83,11z"/></g></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: inline-block;
}

.blog-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.blog-detail-header h2 {
    font-size: 40px;
}

.blog-detail-header button {
    font-size: 16px;
    color: #fff;
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    background-color: #0e5484;
    height: 32px;
    padding: 0px 16px;
    font-weight: 400;
}
.blog-cards img.default {
    margin: 65px auto;
    display: block;
}
.card-content {
    flex-grow: 1;
}
#sidebar a {
    color: #000;
}
/* Responsive */
@media (max-width: 1024px) {
    .hero-text {
        width: 100%;
        padding-top: 35px;
    }

    .blog-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container {
        min-height: 600px;
        padding-top: 0px;
    }

    .clouds-image {
        width: 100vw;
        height: auto;
    }

    .kids-image {
        width: 500px;
        bottom: -10px;
    }
}

@media (max-width: 768px) {
    .hero-text h3 {
        font-size: 18px;
        text-align: left;
    }

    .hero-text h2 {
        font-size: 32px;
        text-align: left;
        margin-bottom: 0;
    }

    .group-left {
        width: 48px;
        left: 5px;
        top: 30px;
    }

    .group-right {
        width: 48px;
        right: 5px;
        top: 30px;
    }

    .blog-cards {
        grid-template-columns: repeat(1, 1fr);
    }

    .filter-bar {
        margin-top: 20px;
    }

    .blog-detail-container {
        flex-direction: column;
        padding-bottom: 20px;
        padding-top: 30px;
    }

    .left-section {
        width: 100%;
    }

    .right-section {
        display: none;
    }

    .main-title {
        font-size: 32px;
        margin-bottom: 0;
        line-height: normal;
    }

    .empty-div {
        display: none;
    }

    .change-height {
        display: none;
    }

    .filter-blog {
        display: none;
    }

    .comments-container {
        display: none;
    }

    .name-input-section,
    .message-input,
    .email-form {
        width: 100%;
        max-width: 100%;
    }

    .points-title {
        font-size: 24px;
    }

    .blog-header h2 {
        font-size: 16px;
    }

    .form-section {
        padding: 20px 15px;
    }

    .form-title {
        font-weight: 500;
    }

    .share-icons-mobile {
        display: block;
        margin-bottom: 30px;
    }

    .filter-select {
        min-width: 100%;
    }

    .filter-options-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }

    .hero-container {
        min-height: 400px;
    }
}
