:root {
    --pec-primary: #0b2c6f;
    --pec-primary-2: #133f9e;
    --pec-accent: #ff9f1a;
    --pec-accent-dark: #e88800;
    --pec-text: #1e2a3b;
    --pec-muted: #6d7888;
    --pec-line: #e5ebf5;
    --pec-soft: #f5f8fe;
    --pec-soft-2: #eef4ff;
    --pec-shadow: 0 16px 40px rgba(10, 37, 90, 0.08);
    --pec-shadow-sm: 0 10px 25px rgba(10, 37, 90, 0.06);
    --pec-radius: 20px;
}

body {
    color: var(--pec-text);
}

.section.section-pad,
.section.section-pad-sm,
.section.section-pad-md {
    position: relative;
}

.btn,
button.btn,
a.btn {
    border-radius: 12px;
    font-weight: 600;
    transition: all .25s ease;
}

.btn:hover,
a.btn:hover {
    transform: translateY(-1px);
}

.btn.btn-outline {
    border-width: 2px;
}

.header-s1 .page-head,
.header-s2 .page-head {
    min-height: 260px;
}

.page-head {
    position: relative;
}

.page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 27, 77, 0.78), rgba(7, 42, 111, 0.46));
    z-index: 0;
}

.page-head .container,
.page-head .row {
    position: relative;
    z-index: 1;
}

.page-head .page-title {
    font-size: 2.2em;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    text-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.blog-post,
.post.post-single,
.sidebar-right .wgs-box,
.sidebar-right.wgs-box,
.box.box-alt-bg,
.box-alt,
.wgs-box,
.wgs-search,
.wgs-post,
.wgs-tags,
.blog-post-single,
.post-entry,
.contact-box,
.single-faq {
    border-radius: var(--pec-radius);
}

.blog-post,
.post.post-single,
.sidebar-right.wgs-box,
.wgs-search,
.wgs-post,
.wgs-tags,
.contact-box,
.single-faq {
    border: 1px solid var(--pec-line);
    box-shadow: var(--pec-shadow-sm);
    background: #fff;
}

.blog-post .post-thumb,
.post.post-single .post-thumb,
.video-block,
.round {
    overflow: hidden;
}

.blog-post .post-entry,
.post.post-single .post-entry {
    padding: 26px 28px;
}

.blog-post .post-entry h5,
.blog-post .post-entry h3,
.post.post-single .post-entry h2,
.post.post-single .post-entry h3 {
    line-height: 1.35;
    color: var(--pec-primary);
}

.post.post-single .post-meta,
.blog-post .post-meta {
    color: var(--pec-muted);
    font-size: .94em;
}

.post.post-single .post-thumb img,
.blog-post .post-thumb img,
.wgs-post-thumb img {
    width: 100%;
    object-fit: cover;
}

.wgs-search,
.wgs-post,
.wgs-tags {
    padding: 24px 24px 8px;
    margin-bottom: 22px;
}

.wgs-title {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--pec-primary);
    margin-bottom: 18px;
}

.wgs-post-single + .wgs-post-single {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--pec-line);
}

.wgs-post-entry h6,
.wgs-post-title {
    line-height: 1.4;
}

.wgs-search .form-group {
    position: relative;
}

.wgs-search .form-control {
    min-height: 52px;
    padding-right: 58px;
    border-radius: 14px;
    border: 1px solid #dbe3f1;
    box-shadow: none;
}

.wgs-search .search-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: var(--pec-primary);
    color: #fff;
}

.tag-list li a {
    border-radius: 999px;
    padding: 8px 14px;
    border: 1px solid #d9e3f5;
    color: var(--pec-primary);
    background: #f8fbff;
}

.tag-list li a:hover {
    background: var(--pec-primary);
    color: #fff;
}

.pagination > li > a,
.pagination > li > span {
    border-radius: 12px !important;
    margin: 0 3px;
    border-color: #dbe3f1;
    color: var(--pec-primary);
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background: var(--pec-primary);
    border-color: var(--pec-primary);
}

.footer-section {
    margin-top: 20px;
}

.footer-section .wgs-footer {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 24px;
    min-height: 245px;
}

.footer-section .wgs-title {
    color: #fff;
    margin-bottom: 16px;
}

.footer-section .menu li + li,
.footer-section .wgs-contact-list li + li {
    margin-top: 10px;
}

.footer-section .menu a,
.footer-section .wgs-contact a,
.footer-section .wgs-contact-list li {
    color: rgba(255,255,255,.82);
}

.footer-section .menu a:hover,
.footer-section .wgs-contact a:hover {
    color: #fff;
}

.box.box-alt-bg {
    border: 1px solid var(--pec-line);
}

@media (max-width: 991px) {
    .page-head .page-title {
        font-size: 1.9em;
    }
}

@media (max-width: 767px) {
    .page-head .page-title {
        font-size: 1.55em;
    }

    .footer-section .wgs-footer {
        min-height: auto;
    }
}

/* FAQ styling kept compact and separate from generic content cards. */
.faq-page .faq-intro-title {
    margin: 0 0 30px;
    color: var(--pec-primary);
    font-size: 2em;
    font-weight: 700;
}

.faq-page .faq-intro-title span {
    color: var(--pec-accent);
}

.faq-page .faq-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.faq-page .single-faq {
    height: 100%;
    padding: 22px 24px;
    margin: 0;
    border: 1px solid #e2e8f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(18, 43, 88, .045);
}

.faq-page .single-faq .faq-heading {
    margin: 0 0 10px;
    color: #17243a;
    font-size: 1.08em;
    line-height: 1.45;
    font-weight: 700;
}

.faq-page .single-faq p:last-child {
    margin-bottom: 0;
}

.faq-page .faq-accordion-section {
    background: #f7f9fd;
}

.faq-page .accordion .panel {
    margin-bottom: 12px;
    border: 1px solid #e0e7f2;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 14px rgba(18, 43, 88, .035);
}

.faq-page .accordion .panel-heading {
    padding: 0;
    background: #fff;
}

.faq-page .accordion .panel-title a {
    display: block;
    padding: 18px 54px 18px 20px;
    color: #18243a;
    font-weight: 700;
}

.faq-page .accordion .panel-title a:hover,
.faq-page .accordion .panel-title a:focus {
    color: var(--pec-primary);
}

.faq-page .accordion .panel-body {
    padding: 0 20px 20px;
    border-top: 1px solid #edf1f7;
    color: var(--pec-muted);
}

@media (max-width: 767px) {
    .faq-page .faq-featured-grid {
        grid-template-columns: 1fr;
    }

    .faq-page .faq-intro-title {
        font-size: 1.6em;
    }
}

/* Keep the circular article action button fully inside every content card. */
.blog-post .post-entry {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 310px;
    padding-bottom: 24px;
}

.blog-post .post-entry .post-meta,
.blog-post .post-entry h5,
.blog-post .post-entry p {
    width: 100%;
}

.blog-post .post-entry .btn-icon {
    position: static;
    left: auto;
    bottom: auto;
    margin: auto auto 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    border-radius: 50%;
    overflow: hidden;
    transform: none;
    box-shadow: 0 8px 18px rgba(247, 146, 26, .25);
}

.blog-post .post-entry .btn-icon .pe {
    position: static;
    top: auto;
    line-height: 1;
    font-size: 30px;
    transform: translateX(1px);
}

/* Move FAQ plus/minus controls away from the outer edge and improve hit area. */
.faq-page .accordion .panel-title a {
    position: relative;
    padding-right: 74px;
}

.faq-page .accordion .plus-minus {
    right: 22px;
    width: 22px;
    height: 22px;
    margin-top: -11px;
}

@media (max-width: 767px) {
    .blog-post .post-entry {
        min-height: 0;
    }

    .faq-page .accordion .panel-title a {
        padding-right: 66px;
    }

    .faq-page .accordion .plus-minus {
        right: 18px;
    }
}
