/*
Theme Name: GeneratePress Child
Theme URI: 
Description: Child theme for GeneratePress
Author: Muzamna
Author URI: https://example.com
Template: generatepress
Version: 1.1.2
Text Domain: generatepress-child
*/

/* اكتب أكواد CSS الخاصة بك هنا */
/*صفحة أرشيف المقالات والكاتب*/
/*Search Bar*/
.search-modal-fields{
	background-color:var(--mz-primary);
	border-radius:8px;
}
.search-modal-form .search-field, .search-modal-form .search-field:focus{
	color:#ffffff;
}
.search-modal-fields button, .search-modal-fields button:active, .search-modal-fields button:focus, .search-modal-fields button:hover{
	color:var(--mz-accent-soft);
}
/*Navigation*/
@media (max-width: 768px) {
    .main-navigation .site-logo.navigation-logo img, .mobile-header-navigation .site-logo.mobile-header-logo img, .navigation-search input[type="search"] {
        height: 60px;
    }
	.main-navigation.has-branding .inside-navigation.grid-container{
		padding: 20px!important;
	}
	#mobile-header{
		height:70px;
	}
	.main-navigation .inside-navigation{
		 height: 100%;
   		 align-content: center;

	}
}

/**** Start Edit Books Plugin Css Code*****/
@media (min-width: 1024px){
.mzb-cover-grid{
	    grid-template-columns: repeat(4, minmax(160px, 1fr));
}
}
.mzb-cover-card__title{
	    justify-content: flex-start;
		align-items: start;
}
/**** End Edit Books Plugin Css Code*****/
/**** Start Edit Course Card Css Code*****/
.mz-catalog-title-wrap h2{
	margin-bottom:12px!important;
}
.mz-stat-meta, .mz-course-landing-meta .mz-stat-item{
	    gap: 14px;
}
.mz-stat-item{
	margin-left:8px;
}
.mz-stat-item svg{
	    margin-left: 4px;
}
.mz-sidebar-heading span{
	margin-bottom:0;
}
.mz-catalog-excerpt{
	font-size:14px!important;
}
.mz-catalog-link{
	font-weight:700!important;
}
/**** End Edit Course Card Css Code*****/
/**** End Edit Course Css Code*****/
.mz-course-action-card > strong{
	font-size: 24px;
	text-align: center;
}
.mz-catalog-card .mz-catalog-paid-badge{
	padding: 5px 8px;
    font-weight: 500;
	background: #ffe5e8;

}

/* Css For Category Image*/
.fr-archive-hero__category-image {
    width: 260px;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 28px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.fr-archive-hero__category-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .fr-archive-hero__category-image {
        width: 100%;
        aspect-ratio: 16 / 9;
        margin-top: 20px;
    }
}
/*single-post.css By Nageep*/
.post-template-default .site-main{
	margin-top:0!important;
}
.single-post .site-content{
	padding:0;
}
.post-template-default .container, .archive .container, .blog .container, .search-results .container, .search-no-results .container{
	max-width:100%;
}
.search-results .site-main, .search-no-results .site-main{
	margin:0!important;
}
.search-results .fr-breadcrumbs{
	display:none;
}
/*.post-template-default .site-content{
	flex-direction: column;
}
/**********************/
:root {
    --fr-primary: #002654;
    --fr-primary-dark: #001838;
    --fr-accent: #ce1126;
    --fr-gold: #d8b46a;
    --fr-bg: #faf7f1;
    --fr-bg-muted: #f0ebe1;
    --fr-card: #ffffff;
    --fr-text: #25344d;
    --fr-muted: #69758a;
    --fr-border: rgba(0, 38, 84, 0.12);
    --fr-shadow: 0 14px 35px rgba(0, 38, 84, 0.08);
    --fr-radius: 22px;
}

body.single-post {
    background: var(--fr-bg);
}

.fr-single-page {
    background: var(--fr-bg);
    color: var(--fr-text);
    font-family: inherit;
}

.fr-container {
    width: min(1440px, calc(100% - 32px));
    margin-inline: auto;
}

/* Hero */
.fr-single-hero {
    padding: 70px 0 50px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--fr-border);
}

.fr-single-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 560px;
    gap: 56px;
    align-items: center;
}

.fr-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    margin-bottom: 20px;
    color: var(--fr-muted);
}

.fr-breadcrumbs a {
    color: var(--fr-muted);
    text-decoration: none;
}

.fr-breadcrumbs a:hover {
    color: var(--fr-primary);
}

.fr-post-category-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(216, 180, 106, 0.18);
    color: var(--fr-primary);
    border: 1px solid rgba(216, 180, 106, 0.45);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.fr-single-title {
    max-width: 760px;
    margin: 0 0 18px;
    color: var(--fr-primary);
    font-size: clamp(32px, 5vw, 38px);
    line-height: 1.3;
    letter-spacing: -0.6px;
    font-weight: 900;
}

.fr-single-excerpt {
    max-width: 680px;
    margin: 0 0 26px;
    color: var(--fr-text);
    font-size: 17px;
    line-height: 2;
}

.fr-single-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--fr-muted);
    font-size: 14px;
}

.fr-author-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--fr-text);
    text-decoration: none;
}

.fr-author-inline img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.fr-author-inline strong {
    color: var(--fr-primary);
}

.fr-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.fr-single-hero__image {
    position: relative;
}

.fr-single-hero__image::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    background: var(--fr-primary);
    border-radius: var(--fr-radius);
    z-index: 0;
}

.fr-single-hero__image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 370px;
    object-fit: cover;
    border-radius: var(--fr-radius);
    box-shadow: var(--fr-shadow);
}

/* Layout */
.fr-single-main {
    padding: 54px 0 20px;
}

.fr-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 28px;
    align-items: start;
}

/* Article */
.fr-article-card {
    background: var(--fr-card);
    border: 1px solid var(--fr-border);
    border-radius: var(--fr-radius);
    box-shadow: var(--fr-shadow);
    overflow: hidden;
}

.fr-article-content {
    padding: 46px 52px 28px;
    font-size: 18px;
    line-height: 2.15;
    color: var(--fr-text);
}

.fr-article-content > *:first-child {
    margin-top: 0;
}

.fr-article-content h2,
.fr-article-content h3,
.fr-article-content h4 {
    color: var(--fr-primary);
    line-height: 1.5;
    font-weight: 900;
}

.fr-article-content h2 {
    margin: 46px 0 16px;
    font-size: 30px;
}

.fr-article-content h3 {
    margin: 34px 0 14px;
    font-size: 24px;
}

.fr-article-content p {
    margin: 0 0 22px;
}

.fr-article-content a {
    color: var(--fr-primary);
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.fr-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 38, 84, 0.08);
}

.fr-article-content figure {
    margin: 32px 0;
}

.fr-article-content figcaption {
    margin-top: 10px;
    color: var(--fr-muted);
    font-size: 14px;
    text-align: center;
}

.fr-article-content blockquote {
    position: relative;
    margin: 34px 0;
    padding: 28px 34px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(216, 180, 106, 0.15), rgba(250, 247, 241, 0.9));
    border: 1px solid rgba(216, 180, 106, 0.36);
    color: var(--fr-primary);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.9;
}

.fr-article-content blockquote::before {
    content: "”";
    position: absolute;
    top: -10px;
    left: 22px;
    color: rgba(216, 180, 106, 0.45);
    font-size: 80px;
    line-height: 1;
}

.fr-article-content ul,
.fr-article-content ol {
    margin: 22px 0;
    padding-right: 22px;
}

.fr-article-content li {
    margin-bottom: 10px;
}

.fr-article-content ul li::marker {
    color: var(--fr-gold);
}

.fr-article-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    padding: 22px 52px 34px;
    border-top: 1px solid var(--fr-border);
}

.fr-post-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fr-post-tags__title {
    font-weight: 800;
    color: var(--fr-primary);
}

.fr-post-tags a {
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--fr-bg-muted);
    color: var(--fr-primary);
    font-size: 13px;
    text-decoration: none;
}

.fr-print-btn {
    border: 1px solid var(--fr-border);
    background: #fff;
    color: var(--fr-primary);
    border-radius: 999px;
    padding: 9px 16px;
    cursor: pointer;
    font-weight: 800;
    font-family: inherit;
}

/* Sidebar */
.fr-single-sidebar {
    position: sticky;
    top: 28px;
    display: grid;
    gap: 16px;
}

.fr-sidebar-widget {
    background: var(--fr-card);
    border: 1px solid var(--fr-border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 22px rgba(0, 38, 84, 0.05);
}

.fr-sidebar-widget h3 {
    margin: 0 0 14px;
    color: var(--fr-primary);
    font-size: 18px;
    font-weight: 900;
}

.fr-author-card {
    text-align: center;
}

.fr-author-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.fr-author-card p {
    margin: 0 0 14px;
    color: var(--fr-muted);
    font-size: 14px;
    line-height: 1.8;
}

.fr-outline-btn,
.fr-primary-btn,
.fr-gold-btn,
.fr-light-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: 0.2s ease;
    font-family: inherit;
}

.fr-outline-btn {
    border: 1px solid var(--fr-primary);
    color: var(--fr-primary);
    background: transparent;
}

.fr-outline-btn:hover {
    background: var(--fr-primary);
    color: #fff;
}

.fr-primary-btn {
    background: var(--fr-primary);
    color: #fff;
}

.fr-primary-btn:hover {
    background: var(--fr-primary-dark);
    color: #fff;
}

.fr-gold-btn {
    background: var(--fr-gold);
    color: var(--fr-primary-dark);
}

.fr-gold-btn:hover {
    filter: brightness(0.95);
    color: var(--fr-primary-dark);
}

.fr-light-outline-btn {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
}

.fr-light-outline-btn:hover {
    background: #fff;
    color: var(--fr-primary);
}

.fr-toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc;
}

.fr-toc-list li {
    position: relative;
    counter-increment: toc;
    margin-bottom: 8px;
    padding-right: 26px;
    font-size: 14px;
    line-height: 1.7;
}

.fr-toc-list li::before {
    content: counter(toc);
    position: absolute;
    right: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--fr-bg-muted);
    color: var(--fr-primary);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 900;
}

.fr-toc-list li.is-sub {
    padding-right: 38px;
    font-size: 13px;
}

.fr-toc-list a {
    color: var(--fr-text);
    text-decoration: none;
}

.fr-toc-list a:hover {
    color: var(--fr-primary);
}

/* Share */
.fr-share-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.fr-share-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px;
    border-radius: 12px;
    background: var(--fr-bg);
    color: var(--fr-primary);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: right;
}

.fr-share-link span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--fr-primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 11px;
    flex: 0 0 auto;
}

.fr-share-link.is-copied {
    background: rgba(34, 166, 90, 0.12);
    color: #167a43;
}

/* Resource Card */
.fr-resource-card {
    background:
        linear-gradient(135deg, rgba(0, 38, 84, 0.96), rgba(0, 24, 56, 0.98)),
        var(--fr-primary);
    color: #fff;
}

.fr-resource-card h3 {
    color: #fff;
}

.fr-resource-card p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.8;
}

.fr-resource-card__label {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(216, 180, 106, 0.18);
    color: var(--fr-gold);
    font-size: 12px;
    font-weight: 900;
}

.fr-freebook-download-btn {
    width: 100%;
    margin-top: 8px;
}

/* CTA */
.fr-mid-cta {
    padding: 28px 0 36px;
}

.fr-mid-cta__box,
.fr-bottom-cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px 40px;
    border-radius: var(--fr-radius);
    background:
        radial-gradient(circle at left center, rgba(216, 180, 106, 0.18), transparent 30%),
        linear-gradient(135deg, var(--fr-primary), var(--fr-primary-dark));
    color: #fff;
    box-shadow: var(--fr-shadow);
}

.fr-mid-cta__box span,
.fr-bottom-cta__box span {
    color: var(--fr-gold);
    font-weight: 900;
    font-size: 13px;
}

.fr-mid-cta__box h2,
.fr-bottom-cta__box h2 {
    margin: 8px 0;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
}

.fr-mid-cta__box p,
.fr-bottom-cta__box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

/* Related */
.fr-related-posts {
    padding: 28px 0 42px;
}

.fr-section-heading {
    text-align: center;
    margin-bottom: 24px;
}

.fr-section-heading span {
    color: var(--fr-gold);
    font-weight: 900;
    font-size: 13px;
}

.fr-section-heading h2 {
    margin: 8px 0 0;
    color: var(--fr-primary);
    font-size: 30px;
    font-weight: 900;
}

.fr-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.fr-related-card {
    background: var(--fr-card);
    border: 1px solid var(--fr-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 38, 84, 0.05);
}

.fr-related-card__image {
    position: relative;
    display: block;
    height: 160px;
    overflow: hidden;
    background: var(--fr-bg-muted);
}

.fr-related-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.fr-related-card:hover .fr-related-card__image img {
    transform: scale(1.04);
}

.fr-related-card__image span {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--fr-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.fr-related-card__body {
    padding: 18px;
}

.fr-related-card__body h3 {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.6;
}

.fr-related-card__body h3 a {
    color: var(--fr-primary);
    text-decoration: none;
}

.fr-related-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--fr-muted);
    font-size: 13px;
}

.fr-related-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--fr-bg-muted), #fff);
}

/* Comments */
.fr-comments-preview {
    padding: 10px 0 48px;
}

.fr-comments-box {
    background: var(--fr-card);
    border: 1px solid var(--fr-border);
    border-radius: var(--fr-radius);
    padding: 30px;
    box-shadow: var(--fr-shadow);
}

.fr-comments-box__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.fr-comments-box__head span {
    color: var(--fr-gold);
    font-weight: 900;
    font-size: 13px;
}

.fr-comments-box__head h2 {
    margin: 6px 0 0;
    color: var(--fr-primary);
    font-size: 26px;
    font-weight: 900;
}

.fr-comment-item {
    display: flex;
    gap: 14px;
    padding: 18px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: var(--fr-bg);
}

.fr-comment-item img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
}

.fr-comment-item strong {
    color: var(--fr-primary);
}

.fr-comment-item p {
    margin: 6px 0 0;
    color: var(--fr-text);
    line-height: 1.8;
}

.fr-comments-template {
    margin-top: 24px;
}

.fr-empty-message {
    padding: 18px;
    border-radius: 14px;
    background: var(--fr-bg);
    color: var(--fr-muted);
    text-align: center;
}

/* reCAPTCHA */
.comment-form-recaptcha {
    margin: 18px 0;
}

.comment-form-recaptcha label {
    display: block;
    margin-bottom: 6px;
    color: var(--fr-primary);
    font-weight: 800;
}

.fr-recaptcha-help {
    display: block;
    margin-bottom: 10px;
    color: var(--fr-muted);
    font-size: 14px;
}

.fr-recaptcha-box {
    display: block;
    overflow-x: auto;
}

/* Bottom CTA */
.fr-bottom-cta {
    padding: 20px 0 70px;
}

.fr-bottom-cta__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
    .fr-single-hero__grid,
    .fr-single-layout {
        grid-template-columns: 1fr;
    }

    .fr-single-sidebar {
        position: static;
        grid-template-columns: repeat(2, 1fr);
    }

    .fr-resource-card {
        grid-column: 1 / -1;
    }

    .fr-single-hero__image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .fr-single-hero {
        padding: 44px 0 36px;
    }

    .fr-single-hero__grid {
        gap: 32px;
    }

    .fr-single-title {
        font-size: 34px;
    }

    .fr-single-hero__image::before {
        display: none;
    }

    .fr-single-hero__image img {
        height: 260px;
    }

    .fr-article-content {
        padding: 30px 22px 18px;
        font-size: 16px;
    }

    .fr-article-content h2 {
        font-size: 24px;
    }

    .fr-article-content h3 {
        font-size: 20px;
    }

    .fr-article-footer {
        padding: 20px 22px 28px;
    }

    .fr-single-sidebar,
    .fr-related-grid {
        grid-template-columns: 1fr;
    }

    .fr-mid-cta__box,
    .fr-bottom-cta__box {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

    .fr-comments-box__head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media print {
    .fr-single-sidebar,
    .fr-mid-cta,
    .fr-related-posts,
    .fr-comments-preview,
    .fr-bottom-cta,
    .site-header,
    .site-footer {
        display: none !important;
    }

    .fr-single-page,
    body.single-post {
        background: #fff !important;
    }

    .fr-article-card {
        box-shadow: none;
        border: none;
    }

    .fr-article-content {
        padding: 0;
    }
}
/*single-post.css By Nageep*/
/* Archive Page By Nageep */
.fr-archive-page {
    background: var(--fr-bg);
    color: var(--fr-text);
}

.fr-archive-hero {
    padding: 60px 0 42px;
    background:#ffffff;
    border-bottom: 1px solid var(--fr-border);
}

.fr-archive-hero__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px;
    align-items: center;
    margin-top: 22px;
}

.fr-archive-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(216, 180, 106, 0.18);
    color: var(--fr-primary);
    border: 1px solid rgba(216, 180, 106, 0.45);
    font-size: 13px;
    font-weight: 900;
}

.fr-archive-title {
    max-width: 760px;
    margin: 0 0 16px;
    color: var(--fr-primary);
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.25;
    font-weight: 900;
}

.fr-archive-description {
    max-width: 720px;
    margin: 0 0 22px;
    color: var(--fr-text);
    font-size: 17px;
    line-height: 2;
}

.fr-archive-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.fr-archive-meta span {
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 999px;
    background: #fff;
    color: var(--fr-primary);
    border: 1px solid var(--fr-border);
    font-size: 13px;
    font-weight: 800;
}

.fr-archive-hero__decor {
    width: 220px;
    height: 220px;
    border-radius: 36px;
    background:
        radial-gradient(circle at top left, rgba(216, 180, 106, 0.45), transparent 45%),
        linear-gradient(135deg, var(--fr-primary), var(--fr-primary-dark));
    display: grid;
    place-items: center;
    color: rgba(255,255,255,0.14);
    font-size: 72px;
    font-weight: 900;
    box-shadow: var(--fr-shadow);
}

.fr-archive-author-card {
    background: #fff;
    border: 1px solid var(--fr-border);
    border-radius: var(--fr-radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--fr-shadow);
}

.fr-archive-author-card img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin-bottom: 12px;
}

.fr-archive-author-card strong {
    display: block;
    color: var(--fr-primary);
    font-size: 18px;
    font-weight: 900;
}

.fr-archive-author-card span {
    color: var(--fr-muted);
    font-size: 14px;
}

.fr-archive-content {
    padding: 54px 0 36px;
}

.fr-archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    align-items: start;
}

.fr-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.fr-archive-card {
    background: var(--fr-card);
    border: 1px solid var(--fr-border);
    border-radius: var(--fr-radius);
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 38, 84, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fr-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(0, 38, 84, 0.1);
}

.fr-archive-card__image {
    position: relative;
    display: block;
    height: 230px;
    overflow: hidden;
    background: var(--fr-bg-muted);
}

.fr-archive-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.fr-archive-card:hover .fr-archive-card__image img {
    transform: scale(1.04);
}

.fr-archive-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top right, rgba(216, 180, 106, 0.25), transparent 35%),
        linear-gradient(135deg, var(--fr-primary), var(--fr-primary-dark));
    color: rgba(255,255,255,0.25);
    font-size: 28px;
    font-weight: 900;
}

.fr-archive-card__category {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--fr-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.fr-archive-card__body {
    padding: 22px;
}

.fr-archive-card__meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    color: var(--fr-muted);
    font-size: 13px;
}

.fr-archive-card__title {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.55;
    font-weight: 900;
}

.fr-archive-card__title a {
    color: var(--fr-primary);
    text-decoration: none;
}

.fr-archive-card__title a:hover {
    color: var(--fr-accent);
}

.fr-archive-card__excerpt {
    margin: 0 0 18px;
    color: var(--fr-text);
    font-size: 15px;
    line-height: 1.9;
}

.fr-archive-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--fr-border);
}

.fr-archive-card__author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fr-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.fr-archive-card__author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.fr-archive-card__read {
    color: var(--fr-primary);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.fr-archive-card__read:hover {
    color: var(--fr-accent);
}

/* Archive Sidebar */
.fr-archive-sidebar {
    position: sticky;
    top: 28px;
    display: grid;
    gap: 16px;
}

.fr-archive-search-form {
    display: grid;
    gap: 10px;
}

.fr-archive-search-form input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--fr-border);
    border-radius: 12px;
    background: var(--fr-bg);
    padding: 10px 14px;
    font-family: inherit;
}

.fr-archive-search-form button {
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    background: var(--fr-primary);
    color: #fff;
    font-family: inherit;
    font-weight: 900;
    cursor: pointer;
}

.fr-archive-terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fr-archive-terms-list li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--fr-border);
    color: var(--fr-muted);
    font-size: 14px;
}

.fr-archive-terms-list li:last-child {
    border-bottom: 0;
}

.fr-archive-terms-list a {
    color: var(--fr-text);
    text-decoration: none;
    font-weight: 800;
}

.fr-archive-terms-list a:hover {
    color: var(--fr-primary);
}

.fr-latest-posts-list {
    display: grid;
    gap: 12px;
}

.fr-latest-post-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    text-decoration: none;
}

.fr-latest-post-item img,
.fr-latest-post-item__placeholder {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--fr-bg-muted);
}

.fr-latest-post-item strong {
    display: block;
    color: var(--fr-primary);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 900;
}

.fr-latest-post-item small {
    color: var(--fr-muted);
    font-size: 12px;
}

/* Pagination */
.fr-pagination {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.fr-pagination .page-numbers {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--fr-border);
    color: var(--fr-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
}

.fr-pagination .page-numbers.current {
    background: var(--fr-primary);
    color: #fff;
    border-color: var(--fr-primary);
}

.fr-pagination a.page-numbers:hover {
    background: var(--fr-primary);
    color: #fff;
}

.fr-no-posts {
    background: #fff;
    border: 1px solid var(--fr-border);
    border-radius: var(--fr-radius);
    padding: 46px;
    text-align: center;
    box-shadow: var(--fr-shadow);
}

.fr-no-posts h2 {
    margin: 0 0 10px;
    color: var(--fr-primary);
    font-size: 28px;
    font-weight: 900;
}

.fr-no-posts p {
    margin: 0 0 20px;
    color: var(--fr-muted);
}

/* Responsive Archive */
@media (max-width: 1024px) {
    .fr-archive-hero__box,
    .fr-archive-layout {
        grid-template-columns: 1fr;
    }

    .fr-archive-sidebar {
        position: static;
        grid-template-columns: repeat(2, 1fr);
    }

    .fr-archive-sidebar .fr-resource-card {
        grid-column: 1 / -1;
    }

    .fr-archive-hero__decor {
        display: none;
    }
}

@media (max-width: 768px) {
    .fr-archive-hero {
        padding: 44px 0 34px;
    }

    .fr-archive-grid,
    .fr-archive-sidebar {
        grid-template-columns: 1fr;
    }

    .fr-archive-card__image {
        height: 210px;
    }

    .fr-archive-card__title {
        font-size: 20px;
    }

    .fr-archive-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* Archive Page By Nageep */

/* Posts Cards Shortcode */
/* Posts Cards Shortcode */
.fr-posts-shortcode {
    width: 100%;
}

.fr-posts-shortcode__grid {
    display: grid;
    gap: 24px;
}

.fr-posts-shortcode--cols-1 .fr-posts-shortcode__grid {
    grid-template-columns: 1fr;
}

.fr-posts-shortcode--cols-2 .fr-posts-shortcode__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fr-posts-shortcode--cols-3 .fr-posts-shortcode__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fr-posts-shortcode--cols-4 .fr-posts-shortcode__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fr-post-card {
    background: #ffffff;
    border: 1px solid rgba(0, 38, 84, 0.12);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 38, 84, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.fr-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(0, 38, 84, 0.1);
}

.fr-post-card__image {
    position: relative;
    display: block;
    height: 200px;
    overflow: hidden;
    background: #f0ebe1;
}

.fr-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.28s ease;
}

.fr-post-card:hover .fr-post-card__image img {
    transform: scale(1.04);
}

.fr-post-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top right, rgba(216, 180, 106, 0.28), transparent 35%),
        linear-gradient(135deg, #002654, #001838);
    color: rgba(255, 255, 255, 0.25);
    font-size: 30px;
    font-weight: 900;
}

.fr-post-card__category {
    position: absolute;
    top: 22px;
    right: 15px;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--mzb-accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    box-shadow: 0 8px 18px rgba(0, 38, 84, 0.18);
}

.fr-post-card__body {
    padding: 28px 28px 24px;
}

.fr-post-card__meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    color: #69758a;
    font-size: 12px;
    font-weight: 500;
}

.fr-post-card__title {
    margin: 0 0 18px;
    color: #002654;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0;
}

.fr-post-card__title a {
    color: #002654;
    text-decoration: none;
}

.fr-post-card__title a:hover {
    color: var(--mzb-accent);
}

.fr-post-card__excerpt {
    margin: 0 0 24px;
    color: #25344d;
    font-size: 18px;
    line-height: 2;
}

.fr-post-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 38, 84, 0.12);
}

.fr-post-card__author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #69758a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.fr-post-card__author img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.fr-post-card__read {
    color: #002654;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.fr-post-card__read:hover {
    color: #ce1126;
}

/* Empty */
.fr-posts-shortcode-empty {
    padding: 28px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(0, 38, 84, 0.12);
    color: #69758a;
    text-align: center;
}

/* Pagination */
.fr-posts-shortcode__pagination {
    margin-top: 34px;
}

.fr-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.fr-pagination .page-numbers {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(0, 38, 84, 0.12);
    color: #002654;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
}

.fr-pagination .page-numbers.current {
    background: #002654;
    color: #ffffff;
    border-color: #002654;
}

.fr-pagination a.page-numbers:hover {
    background: #002654;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
    .fr-posts-shortcode--cols-3 .fr-posts-shortcode__grid,
    .fr-posts-shortcode--cols-4 .fr-posts-shortcode__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fr-post-card__image {
        height: 240px;
    }

    .fr-post-card__title {
        font-size: 20px;
		font-weight: 600;
        line-height: 1.5;

    }

    .fr-post-card__excerpt {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .fr-posts-shortcode--cols-2 .fr-posts-shortcode__grid,
    .fr-posts-shortcode--cols-3 .fr-posts-shortcode__grid,
    .fr-posts-shortcode--cols-4 .fr-posts-shortcode__grid {
        grid-template-columns: 1fr;
    }

    .fr-post-card {
        border-radius: 22px;
    }

    .fr-post-card__image {
        height: 230px;
    }

    .fr-post-card__body {
        padding: 22px;
    }

    .fr-post-card__title {
        font-size: 22px;
		font-weight: 600;
        line-height: 1.5;

    }

    .fr-post-card__excerpt {
        font-size: 16px;
        line-height: 1.9;
    }

    .fr-post-card__footer {
        align-items: flex-start;
        flex-direction:row;
    }
}

/* Posts Cards Shortcode */

/*Search Results*/
/* Search Page - No Sidebar */
.site-content > .fr-search-content-area,
.site-content > .fr-search-page {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

.fr-search-page {
    background: var(--fr-bg, #faf7f1);
    color: var(--fr-text, #25344d);
}

/* Hero */
.fr-search-hero {
    padding: 48px 0 36px;
    background:
        radial-gradient(circle at top right, rgba(216, 180, 106, 0.16), transparent 32%),
        linear-gradient(180deg, #fbf8f1 0%, #f7f1e7 100%);
    border-bottom: 1px solid var(--fr-border, rgba(0, 38, 84, 0.12));
}

.fr-search-hero__box {
    max-width: 880px;
    margin: 20px auto 0;
    text-align: center;
}

.fr-search-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(216, 180, 106, 0.18);
    color: var(--fr-primary, #002654);
    border: 1px solid rgba(216, 180, 106, 0.45);
    font-size: 12px;
    font-weight: 700;
}

.fr-search-title {
    max-width: 760px;
    margin: 0 auto 14px;
    color: var(--fr-primary, #002654);
    font-size: clamp(28px, 4vw, 43px);
    line-height: 1.35;
    font-weight: 700;
}

.fr-search-description {
    max-width: 680px;
    margin: 0 auto 22px;
    color: var(--fr-text, #25344d);
    font-size: 14px;
    line-height: 1.9;
    font-weight: 400;
}

.fr-search-main-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 8px;
    max-width: 640px;
    margin: 0 auto;
    padding: 7px;
    background: #ffffff;
    border: 1px solid var(--fr-border, rgba(0, 38, 84, 0.12));
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 38, 84, 0.06);
}

.fr-search-main-form input {
    width: 100%;
    min-height: 46px;
    border: 0;
    background: transparent;
    padding: 8px 12px;
    color: var(--fr-text, #25344d);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
}

.fr-search-main-form input:focus {
    outline: none;
}

.fr-search-main-form button {
    min-height: 46px;
    border: 0;
    border-radius: 11px;
    background: var(--fr-primary, #002654);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.fr-search-main-form button:hover {
    background: var(--fr-primary-dark, #001838);
}

.fr-search-meta {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.fr-search-meta span {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--fr-primary, #002654);
    border: 1px solid var(--fr-border, rgba(0, 38, 84, 0.12));
    font-size: 12px;
    font-weight: 700;
}

/* Content */
.fr-search-content {
    padding: 44px 0 36px;
}

.fr-search-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* Card */
.fr-search-card {
    background: var(--fr-card, #ffffff);
    border: 1px solid var(--fr-border, rgba(0, 38, 84, 0.12));
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 9px 24px rgba(0, 38, 84, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fr-search-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 34px rgba(0, 38, 84, 0.1);
}

.fr-search-card__image {
    position: relative;
    display: block;
    height: 190px;
    overflow: hidden;
    background: var(--fr-bg-muted, #f0ebe1);
}

.fr-search-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.fr-search-card:hover .fr-search-card__image img {
    transform: scale(1.04);
}

.fr-search-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top right, rgba(216, 180, 106, 0.25), transparent 35%),
        linear-gradient(135deg, var(--fr-primary, #002654), var(--fr-primary-dark, #001838));
    color: rgba(255, 255, 255, 0.25);
    font-size: 22px;
    font-weight: 700;
}

.fr-search-card__type {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--fr-primary, #002654);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.fr-search-card__body {
    padding: 18px;
}

.fr-search-card__meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    color: var(--fr-muted, #69758a);
    font-size: 12px;
    font-weight: 400;
}

.fr-search-card__title {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 700;
}

.fr-search-card__title a {
    color: var(--fr-primary, #002654);
    text-decoration: none;
}

.fr-search-card__title a:hover {
    color: var(--mzb-accent);
}

.fr-search-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--fr-border, rgba(0, 38, 84, 0.12));
}

.fr-search-card__author {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--fr-muted, #69758a);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.fr-search-card__author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.fr-search-card__author--static {
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--fr-bg, #faf7f1);
}

.fr-search-card__read {
    color: var(--fr-primary, #002654);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.fr-search-card__read:hover {
    color: var(--mz-accent);
}

/* Empty */
.fr-search-empty {
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--fr-border, rgba(0, 38, 84, 0.12));
    border-radius: 22px;
    padding: 38px 28px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 38, 84, 0.08);
}

.fr-search-empty__icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--fr-bg, #faf7f1);
    font-size: 30px;
}

.fr-search-empty h2 {
    margin: 0 0 10px;
    color: var(--fr-primary, #002654);
    font-size: 24px;
    font-weight: 700;
}

.fr-search-empty p {
    max-width: 560px;
    margin: 0 auto 20px;
    color: var(--fr-muted, #69758a);
    font-size: 14px;
    line-height: 1.9;
    font-weight: 400;
}

.fr-search-empty-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 8px;
    max-width: 520px;
    margin: 0 auto 16px;
}

.fr-search-empty-form input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--fr-border, rgba(0, 38, 84, 0.12));
    border-radius: 11px;
    background: var(--fr-bg, #faf7f1);
    padding: 8px 12px;
    font-family: inherit;
    font-size: 14px;
}

.fr-search-empty-form button {
    min-height: 44px;
    border: 0;
    border-radius: 11px;
    background: var(--fr-primary, #002654);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

/* Pagination */
.fr-search-pagination {
    margin-top: 32px;
}

/* Make sure inherited weights do not exceed 700 inside search page */
.fr-search-page * {
    font-weight: inherit;
}

.fr-search-page h1,
.fr-search-page h2,
.fr-search-page h3,
.fr-search-page strong,
.fr-search-page b,
.fr-search-page button,
.fr-search-page .fr-search-badge,
.fr-search-page .fr-search-meta span,
.fr-search-page .fr-search-card__type,
.fr-search-page .fr-search-card__title,
.fr-search-page .fr-search-card__author,
.fr-search-page .fr-search-card__read {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
    .fr-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fr-search-card__image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .fr-search-hero {
        padding: 38px 0 30px;
    }

    .fr-search-title {
        font-size: 28px;
    }

    .fr-search-description {
        font-size: 13px;
    }

    .fr-search-main-form,
    .fr-search-empty-form {
        grid-template-columns: 1fr;
    }

    .fr-search-grid {
        grid-template-columns: 1fr;
    }

    .fr-search-card__image {
        height: 200px;
    }

    .fr-search-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
/************************************/
/* 404 Page */
.site-content > .fr-404-content-area,
.site-content > .fr-404-page {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

.fr-404-page {
    color: var(--fr-text, #25344d);
}

.fr-404-section {
    display: flex;
    align-items: center;
    padding: 70px 0;

.fr-404-box {
    max-width: 680px;
    margin: 0 auto;
    padding: 46px 36px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--fr-border, rgba(0, 38, 84, 0.12));
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(0, 38, 84, 0.08);
}

.fr-404-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(216, 180, 106, 0.18);
    color: var(--fr-primary, #002654);
    border: 1px solid rgba(216, 180, 106, 0.45);
    font-size: 14px;
    font-weight: 700;
}

.fr-404-box h1 {
    margin: 0 0 12px;
    color: var(--fr-primary, #002654);
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.35;
    font-weight: 700;
}

.fr-404-box p {
    max-width: 520px;
    margin: 0 auto 24px;
    color: var(--fr-muted, #69758a);
    font-size: 16px;
    line-height: 1.9;
    font-weight: 400;
}

.fr-404-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 8px;
    max-width: 520px;
    margin: 0 auto 24px;
    padding: 7px;
    background: var(--fr-bg, #faf7f1);
    border: 1px solid var(--fr-border, rgba(0, 38, 84, 0.12));
    border-radius: 16px;
}

.fr-404-search-form input {
    width: 100%;
    min-height: 46px;
    border: 0;
    background: transparent;
    padding: 8px 12px;
    color: var(--fr-text, #25344d);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
}

.fr-404-search-form input:focus {
    outline: none;
}

.fr-404-search-form button {
    min-height: 46px;
    border: 0;
    border-radius: 11px;
    background: var(--fr-primary, #002654);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.fr-404-search-form button:hover {
    background: var(--fr-primary-dark, #001838);
}

.fr-404-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.fr-404-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--fr-border, rgba(0, 38, 84, 0.12));
    color: var(--fr-primary, #002654);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.fr-404-links a:hover {
    background: var(--fr-primary, #002654);
    color: #ffffff;
}

@media (max-width: 768px) {
    .fr-404-section {
        min-height: 65vh;
        padding: 44px 0;
    }

    .fr-404-box {
        padding: 34px 22px;
        border-radius: 20px;
    }

    .fr-404-search-form {
        grid-template-columns: 1fr;
    }

    .fr-404-links a {
        width: calc(50% - 5px);
    }
}

@media (max-width: 420px) {
    .fr-404-links a {
        width: 100%;
    }
}
/*////////////////////////*/