/* Themify Customize Styling */
body {	background: none;
	background-color: #ffffff;
	font-family: "Muli";	font-weight:normal;
	font-size:19px;
	line-height:30px;

	color: #293340; 
}
h1 {	
	font-family: "Muli";	font-weight:bold;
 
}
h2 {	
	font-family: "Muli";	font-weight:600;
 
}
h3 {		font-weight:bold;
 
}
h4 {		font-weight:bold;
 
}
body #site-logo a img {		width: 300px; 
}
@media(max-width: 1024px) { /* Themify Customize Styling */
body #site-logo a img {		width: 300px; 
}
 }@media(max-width: 768px) { /* Themify Customize Styling */
body #site-logo a img {		width: 300px; 
}
 }@media(max-width: 480px) { /* Themify Customize Styling */
body #site-logo a img {		width: 300px; 
}
 }
/* Themify Custom CSS */
/* Search button */
.search-button {
    margin-top: -40px;
}
@media screen and (min-width:768px){
	#menu-icon{
	margin-top: 50px;
	}
}
/* Standard links */
a {
    font-weight: bold;
    text-decoration: underline;
}

/* Post title */
h2.post-title,
h2.post-title a {
    color: #111 !important;
    font-size: 20pt;
}

h3 {
    font-size: 25px;
}

/* ==================================================
   POST CARD
================================================== */

article.post {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

article.post:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.08);
}

/* ==================================================
   REMOVE PURPLE HOVER LINE
================================================== */

/* Removes the purple accent line above the content */
article.post .post-content-inner::before,
article.post:hover .post-content-inner::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
}

/* Removes gradient underline/background effects from post titles */
article.post .post-title a,
article.post .post-title a:link,
article.post .post-title a:visited,
article.post .post-title a:hover,
article.post .post-title a:focus,
article.post .post-title a:active,
article.post:hover .post-title a {
    color: #1a1a2e !important;
    text-decoration: none !important;
    background: none !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* ==================================================
   IMAGE AREA
================================================== */

article.post .post-image {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: 16px 16px 0 0;
}

/* Very subtle image shading on hover */
article.post .post-image::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 60px;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.08),
        transparent
    );
    transition: opacity 0.35s ease;
}

article.post:hover .post-image::after {
    opacity: 1;
}

/* Keep the original rectangular image ratio */
article.post .post-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center;
    transition: transform 0.5s cubic-bezier(
        0.25,
        0.46,
        0.45,
        0.94
    );
}

article.post:hover .post-image img {
    transform: scale(1.03);
}

/* ==================================================
   CONTENT AREA
================================================== */

article.post .post-content {
    padding: 24px 24px 28px;
}

article.post .post-content-inner {
    position: relative;
}

/* ==================================================
   POST TITLE
================================================== */

article.post .post-title {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

article.post .post-title a {
    color: #1a1a2e !important;
    transition: color 0.3s ease;
}

article.post .post-title a:hover,
article.post:hover .post-title a {
    color: #667eea !important;
}

/* ==================================================
   EXCERPT
================================================== */

article.post .entry-content {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==================================================
   EDIT BUTTON
================================================== */

article.post .edit-button {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    opacity: 0;
    transform: translateY(-5px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

article.post:hover .edit-button {
    opacity: 1;
    transform: translateY(0);
}

article.post .edit-button a {
    padding: 6px 14px;
    color: #333;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (min-width: 768px) {
    h2.post-title,
    h2.post-title a {
        color: #111 !important;
        font-size: 20pt;
    }
}

@media (max-width: 767px) {
    article.post {
        border-radius: 12px;
    }

    article.post .post-image {
        border-radius: 12px 12px 0 0;
    }

    article.post .post-content {
        padding: 18px 18px 22px;
    }

    article.post .post-title,
    article.post .post-title a {
        font-size: 1.1rem !important;
    }

    article.post:hover {
        transform: translateY(-4px);
    }
}

/* Disable hover movement for touch devices */
@media (hover: none) {
    article.post:hover {
        transform: none;
    }

    article.post:hover .post-image img {
        transform: none;
    }

    article.post .edit-button {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   BLOGBUCKET — SINGLE POST PAGE
   Paste below the existing archive/card CSS
========================================================= */

body.single-post {
    background: #f5f7fb;
    color: #202634;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}

/* =========================================================
   MAIN ARTICLE CONTAINER
========================================================= */

.single-post article.post {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7eaf0;
    border-radius: 22px;
    box-shadow:
        0 20px 55px rgba(30, 41, 59, 0.08),
        0 3px 12px rgba(30, 41, 59, 0.04);
    margin-bottom: 40px;

    /* Override the archive-card animation */
    transform: none;
    transition: none;
}

/* Do not lift or animate the article on hover */
.single-post article.post:hover {
    transform: none;
    box-shadow:
        0 20px 55px rgba(30, 41, 59, 0.08),
        0 3px 12px rgba(30, 41, 59, 0.04);
}

/* Remove any archive-card accent line */
.single-post article.post .post-content-inner::before,
.single-post article.post:hover .post-content-inner::before {
    content: none !important;
    display: none !important;
}

/* =========================================================
   ARTICLE WIDTH AND PADDING
========================================================= */

.single-post article.post .post-content {
    padding: 48px 52px 58px;
}

.single-post article.post .post-content-inner {
    width: 100%;
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
}

/* =========================================================
   POST TITLE
========================================================= */

.single-post article.post h1.post-title {
    max-width: 880px;
    margin: 0 0 18px;
    padding: 0;
    color: #111827;
    font-size: clamp(2.25rem, 4.4vw, 3.55rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
}

/* Ensure global link styling does not affect the title */
.single-post article.post h1.post-title a {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
    background: none;
}

/* =========================================================
   AUTHOR AND CATEGORY META
========================================================= */

.single-post article.post .post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0 0 34px;
    padding: 0 0 24px;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.5;
    border-bottom: 1px solid #e8ebf1;
}

.single-post article.post .post-meta > span {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.single-post article.post .post-author::before {
    content: "By";
    color: #98a2b3;
    font-weight: 500;
}

.single-post article.post .post-author a {
    color: #344054;
    font-weight: 700;
    text-decoration: none;
}

.single-post article.post .post-author a:hover {
    color: #2563eb;
}

.single-post article.post .post-category {
    padding-left: 14px;
    border-left: 1px solid #d9dee8;
}

.single-post article.post .post-category a {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.single-post article.post .post-category a:hover {
    color: #ffffff;
    background: #2563eb;
    border-color: #2563eb;
}

.single-post article.post .post-category .separator {
    display: none;
}

/* =========================================================
   ARTICLE TYPOGRAPHY
========================================================= */

.single-post article.post .entry-content {
    color: #344054;
    font-size: 18px;
    line-height: 1.82;
    letter-spacing: -0.005em;
    overflow-wrap: anywhere;
}

.single-post article.post .entry-content p {
    margin-top: 0;
    margin-bottom: 1.45em;
}

/* Slightly larger introductory paragraph */
.single-post article.post .entry-content > p:first-of-type {
    color: #3d4758;
    font-size: 1.1em;
    line-height: 1.78;
}

/* =========================================================
   ARTICLE HEADINGS
========================================================= */

.single-post article.post .entry-content h2 {
    position: relative;
    clear: both;
    margin: 2.4em 0 0.8em;
    padding: 0 0 0 18px;
    color: #101828;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.035em;
    border-left: 5px solid #2563eb;
    scroll-margin-top: 100px;
    text-wrap: balance;
}

.single-post article.post .entry-content h3 {
    clear: both;
    margin: 1.9em 0 0.65em;
    padding: 0;
    color: #1d2939;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: -0.02em;
    scroll-margin-top: 100px;
}

.single-post article.post .entry-content h4 {
    margin: 1.7em 0 0.6em;
    color: #273548;
    font-size: 1.15rem;
    font-weight: 750;
    line-height: 1.4;
}

/* Avoid too much space when heading begins the content */
.single-post article.post .entry-content > h2:first-child,
.single-post article.post .entry-content > h3:first-child {
    margin-top: 0;
}

/* =========================================================
   ARTICLE LINKS
========================================================= */

.single-post article.post .entry-content a {
    color: #2563eb;
    font-weight: 650;
    text-decoration-line: underline;
    text-decoration-thickness: 1.5px;
    text-decoration-color: rgba(37, 99, 235, 0.35);
    text-underline-offset: 3px;
    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}

.single-post article.post .entry-content a:hover,
.single-post article.post .entry-content a:focus {
    color: #1e40af;
    text-decoration-color: currentColor;
}

/* =========================================================
   LISTS
========================================================= */

.single-post article.post .entry-content ul,
.single-post article.post .entry-content ol {
    margin: 0 0 1.6em;
    padding-left: 1.4em;
}

.single-post article.post .entry-content li {
    margin-bottom: 0.62em;
    padding-left: 0.3em;
}

.single-post article.post .entry-content li:last-child {
    margin-bottom: 0;
}

.single-post article.post .entry-content ul li::marker {
    color: #2563eb;
    font-size: 1.1em;
}

.single-post article.post .entry-content ol li::marker {
    color: #2563eb;
    font-weight: 800;
}

/* Nested lists */
.single-post article.post .entry-content li ul,
.single-post article.post .entry-content li ol {
    margin-top: 0.65em;
    margin-bottom: 0.65em;
}

/* =========================================================
   ARTICLE IMAGES
========================================================= */

.single-post article.post .entry-content figure.wp-block-image {
    width: 100%;
    margin: 32px auto 38px;
}

.single-post article.post .entry-content figure.wp-block-image img,
.single-post article.post .entry-content > img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    border: 1px solid #e5e9f0;
    border-radius: 18px;
    box-shadow:
        0 18px 38px rgba(15, 23, 42, 0.1),
        0 3px 9px rgba(15, 23, 42, 0.05);
}

/* Prevent archive hover zoom from affecting single posts */
.single-post article.post:hover .post-image img,
.single-post article.post .post-image img {
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
}

.single-post article.post .entry-content figcaption {
    margin-top: 11px;
    color: #667085;
    font-size: 0.82rem;
    font-style: italic;
    line-height: 1.55;
    text-align: center;
}

/* =========================================================
   BLOCKQUOTES
========================================================= */

.single-post article.post .entry-content blockquote,
.single-post article.post .entry-content .wp-block-quote {
    position: relative;
    margin: 32px 0;
    padding: 24px 26px 24px 30px;
    color: #344054;
    background: #f8faff;
    border: 1px solid #dfe8ff;
    border-left: 5px solid #2563eb;
    border-radius: 0 14px 14px 0;
}

.single-post article.post .entry-content blockquote p {
    margin-bottom: 0.8em;
    font-size: 1.04em;
    font-style: italic;
}

.single-post article.post .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.single-post article.post .entry-content blockquote cite {
    display: block;
    margin-top: 12px;
    color: #667085;
    font-size: 0.84rem;
    font-style: normal;
    font-weight: 700;
}

/* =========================================================
   TABLES
========================================================= */

.single-post article.post .entry-content table {
    width: 100%;
    margin: 30px 0;
    overflow: hidden;
    color: #344054;
    font-size: 0.92rem;
    line-height: 1.55;
    border: 1px solid #dfe3eb;
    border-spacing: 0;
    border-collapse: separate;
    border-radius: 12px;
}

.single-post article.post .entry-content th,
.single-post article.post .entry-content td {
    padding: 13px 15px;
    text-align: left;
    vertical-align: top;
    border-right: 1px solid #e7eaf0;
    border-bottom: 1px solid #e7eaf0;
}

.single-post article.post .entry-content th {
    color: #1d2939;
    font-weight: 750;
    background: #f3f6fb;
}

.single-post article.post .entry-content tr:last-child td {
    border-bottom: 0;
}

.single-post article.post .entry-content th:last-child,
.single-post article.post .entry-content td:last-child {
    border-right: 0;
}

.single-post article.post .entry-content tbody tr:nth-child(even) td {
    background: #fafbfc;
}

/* =========================================================
   CODE AND PREFORMATTED TEXT
========================================================= */

.single-post article.post .entry-content code {
    padding: 2px 6px;
    color: #1e40af;
    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;
    font-size: 0.88em;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 5px;
}

.single-post article.post .entry-content pre {
    max-width: 100%;
    margin: 28px 0;
    padding: 22px;
    overflow-x: auto;
    color: #e5edf8;
    font-size: 0.88rem;
    line-height: 1.65;
    background: #111827;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.single-post article.post .entry-content pre code {
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
}

/* =========================================================
   OTHER CONTENT ELEMENTS
========================================================= */

.single-post article.post .entry-content strong {
    color: #202939;
    font-weight: 750;
}

.single-post article.post .entry-content mark {
    padding: 2px 5px;
    color: #713f12;
    background: #fef3c7;
    border-radius: 4px;
}

.single-post article.post .entry-content hr,
.single-post article.post .entry-content .wp-block-separator {
    height: 1px;
    margin: 42px 0;
    background: #e5e9f0;
    border: 0;
}

.single-post article.post .entry-content .wp-block-button {
    margin: 28px 0;
}

.single-post article.post .entry-content .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    color: #ffffff;
    font-weight: 750;
    text-decoration: none;
    background: #2563eb;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.single-post article.post .entry-content .wp-block-button__link:hover {
    color: #ffffff;
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.26);
}

/* =========================================================
   VIDEO AND EMBEDS
========================================================= */

.single-post article.post .entry-content iframe,
.single-post article.post .entry-content video,
.single-post article.post .entry-content embed {
    max-width: 100%;
}

.single-post article.post .entry-content .wp-block-embed {
    margin: 32px 0;
}

.single-post article.post .entry-content .wp-block-embed iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 14px;
}

/* =========================================================
   ADS AND RELATED-SEARCH UNITS
========================================================= */

.single-post article.post .entry-content .adsbygoogle,
.single-post article.post .entry-content ins.adsbygoogle {
    max-width: 100% !important;
}

.single-post article.post .entry-content .adsbygoogle iframe,
.single-post article.post .entry-content ins.adsbygoogle iframe {
    max-width: 100% !important;
}

.single-post article.post .entry-content .autors-widget {
    margin-top: 38px !important;
    margin-bottom: 38px !important;
    overflow: hidden;
    border: 1px solid #e5e9f0;
    border-radius: 14px;
}

/* =========================================================
   SELECTION AND FOCUS
========================================================= */

.single-post article.post .entry-content ::selection,
.single-post article.post h1.post-title::selection {
    color: #ffffff;
    background: #2563eb;
}

.single-post article.post a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.3);
    outline-offset: 3px;
    border-radius: 4px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
    .single-post article.post {
        border-radius: 18px;
    }

    .single-post article.post .post-content {
        padding: 38px 34px 46px;
    }

    .single-post article.post h1.post-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
    body.single-post {
        background: #ffffff;
    }

    .single-post article.post {
        margin-bottom: 25px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .single-post article.post:hover {
        box-shadow: none;
    }

    .single-post article.post .post-content {
        padding: 26px 20px 38px;
    }

    .single-post article.post h1.post-title {
        margin-bottom: 15px;
        font-size: clamp(1.85rem, 9vw, 2.55rem);
        line-height: 1.13;
        letter-spacing: -0.035em;
    }

    .single-post article.post .post-meta {
        align-items: flex-start;
        margin-bottom: 26px;
        padding-bottom: 20px;
        font-size: 0.85rem;
    }

    .single-post article.post .post-category {
        width: 100%;
        padding-left: 0;
        border-left: 0;
    }

    .single-post article.post .entry-content {
        font-size: 17px;
        line-height: 1.78;
    }

    .single-post article.post .entry-content > p:first-of-type {
        font-size: 1.04em;
    }

    .single-post article.post .entry-content h2 {
        margin-top: 2em;
        padding-left: 13px;
        font-size: 1.55rem;
        border-left-width: 4px;
    }

    .single-post article.post .entry-content h3 {
        margin-top: 1.7em;
        font-size: 1.25rem;
    }

    .single-post article.post .entry-content figure.wp-block-image {
        margin-top: 25px;
        margin-bottom: 30px;
    }

    .single-post article.post .entry-content figure.wp-block-image img,
    .single-post article.post .entry-content > img {
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.09);
    }

    .single-post article.post .entry-content blockquote,
    .single-post article.post .entry-content .wp-block-quote {
        margin: 25px 0;
        padding: 19px 18px 19px 21px;
    }

    .single-post article.post .entry-content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .single-post article.post .entry-content pre {
        margin-right: -5px;
        margin-left: -5px;
        padding: 17px;
        border-radius: 10px;
    }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {
    .single-post article.post .post-content {
        padding-right: 16px;
        padding-left: 16px;
    }

    .single-post article.post h1.post-title {
        font-size: 1.82rem;
    }

    .single-post article.post .entry-content {
        font-size: 16.5px;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .single-post article.post *,
    .single-post article.post *::before,
    .single-post article.post *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   RELATED POSTS ONLY
   3 cards per row on desktop
========================================================= */

.single-post .related-posts {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: 24px !important;

    width: 100%;
    max-width: 100%;
    height: auto !important;
    margin: 52px 0 20px !important;
    padding: 0 !important;
    clear: both;
    box-sizing: border-box;
}

/* Prevent Themify clearfix pseudo-elements becoming grid items */
.single-post .related-posts::before,
.single-post .related-posts::after {
    content: none !important;
    display: none !important;
}

/* =========================================================
   RELATED POSTS HEADING
========================================================= */

.single-post .related-posts > .related-title {
    position: relative;
    grid-column: 1 / -1;

    margin: 0 0 4px !important;
    padding: 0 0 16px !important;

    color: #101828 !important;
    font-size: clamp(1.6rem, 2.8vw, 2.1rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.035em;

    border-bottom: 1px solid #e6eaf0;
}

/* Small blue accent under heading */
.single-post .related-posts > .related-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;

    width: 58px;
    height: 3px;

    background: #2563eb;
    border-radius: 999px;
}

/* =========================================================
   RELATED POST CARD
========================================================= */

.single-post .related-posts > article.post {
    position: relative;

    display: flex !important;
    flex-direction: column !important;
    float: none !important;

    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;

    background: #ffffff !important;
    border: 1px solid #e4e9f1 !important;
    border-radius: 17px !important;

    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.07),
        0 2px 6px rgba(15, 23, 42, 0.03) !important;

    transform: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease !important;

    box-sizing: border-box;
}

/* Disable clearfix inside each card */
.single-post .related-posts > article.post::before,
.single-post .related-posts > article.post::after {
    content: none !important;
    display: none !important;
}

.single-post .related-posts > article.post:hover {
    transform: translateY(-6px) !important;
    border-color: #d3dceb !important;

    box-shadow:
        0 18px 38px rgba(15, 23, 42, 0.11),
        0 6px 14px rgba(15, 23, 42, 0.05) !important;
}

/* Remove unrelated accent lines from previous card CSS */
.single-post .related-posts > article.post .post-content-inner::before {
    content: none !important;
    display: none !important;
}

/* =========================================================
   CARD IMAGE
========================================================= */

.single-post .related-posts > article.post > .post-image {
    position: relative;

    display: block !important;
    flex: 0 0 auto;

    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10;

    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;

    background: #eef2f7;
    border: 0 !important;
    border-radius: 16px 16px 0 0 !important;
}

/* Remove the old image overlay */
.single-post .related-posts > article.post > .post-image::after {
    content: none !important;
    display: none !important;
}

.single-post .related-posts > article.post > .post-image a {
    display: block !important;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    text-decoration: none !important;
}

.single-post .related-posts > article.post > .post-image img {
    display: block !important;

    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    transform: scale(1) !important;
    transition: transform 0.45s ease !important;
}

.single-post .related-posts > article.post:hover > .post-image img {
    transform: scale(1.055) !important;
}

/* =========================================================
   CARD CONTENT
========================================================= */

.single-post .related-posts > article.post > .post-content {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 140px !important;

    margin: 0 !important;
    padding: 18px 18px 21px !important;

    background: #ffffff !important;
    box-sizing: border-box;
}

/* =========================================================
   CATEGORIES
========================================================= */

.single-post .related-posts .post-meta {
    display: block !important;

    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;

    color: inherit !important;
    font-size: inherit !important;
    line-height: normal !important;

    border: 0 !important;
}

.single-post .related-posts .post-category {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
}

.single-post .related-posts .post-category a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    margin: 0 !important;
    padding: 5px 9px !important;

    color: #1d4ed8 !important;
    font-size: 0.67rem !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.045em;

    text-decoration: none !important;
    text-transform: uppercase;

    background: #eff6ff !important;
    background-image: none !important;
    border: 1px solid #d8e7ff !important;
    border-radius: 999px !important;
    box-shadow: none !important;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease !important;
}

.single-post .related-posts .post-category a:hover {
    color: #ffffff !important;
    background: #2563eb !important;
    border-color: #2563eb !important;
}

/* Hide comma between category pills */
.single-post .related-posts .post-category .separator {
    display: none !important;
}

/* =========================================================
   CARD TITLE
========================================================= */

.single-post .related-posts h4.post-title {
    display: -webkit-box !important;
    flex: 1 1 auto;

    width: 100% !important;
    min-height: 4.25em;

    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;

    color: #151b2b !important;
    font-size: 1.08rem !important;
    font-weight: 750 !important;
    line-height: 1.42 !important;
    letter-spacing: -0.022em;

    overflow-wrap: anywhere;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.single-post .related-posts h4.post-title a {
    display: inline !important;

    color: #151b2b !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;

    text-decoration: none !important;

    background: none !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;

    transition: color 0.22s ease !important;
}

.single-post .related-posts > article.post:hover h4.post-title a,
.single-post .related-posts h4.post-title a:hover {
    color: #2563eb !important;
    background: none !important;
    background-image: none !important;
}

/* Empty excerpt is unnecessary */
.single-post .related-posts .entry-content {
    display: none !important;

    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* =========================================================
   HIDE ADS INSIDE RELATED POSTS
========================================================= */

.single-post .related-posts .google-auto-placed,
.single-post .related-posts ins.adsbygoogle,
.single-post .related-posts .adsbygoogle,
.single-post .related-posts [data-ad-client],
.single-post .related-posts [data-ad-slot],
.single-post .related-posts [data-ad-format],
.single-post .related-posts iframe[src*="doubleclick.net"],
.single-post .related-posts iframe[src*="googlesyndication.com"],
.single-post .related-posts iframe[src*="googleads."],
.single-post .related-posts [id^="aswift_"],
.single-post .related-posts [id^="google_ads_"] {
    display: none !important;
    visibility: hidden !important;

    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;

    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Remove any leftover empty ad wrapper spacing */
.single-post .related-posts > article.post > .google-auto-placed,
.single-post .related-posts .post-content > .google-auto-placed {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

.single-post .related-posts a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.3) !important;
    outline-offset: 3px;
    border-radius: 5px;
}

/* =========================================================
   TABLET — 2 COLUMNS
========================================================= */

@media (max-width: 900px) {
    .single-post .related-posts {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

    .single-post .related-posts > article.post > .post-content {
        padding: 17px 17px 20px !important;
    }
}

/* =========================================================
   MOBILE — 1 COLUMN
========================================================= */

@media (max-width: 600px) {
    .single-post .related-posts {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px !important;
        margin-top: 38px !important;
    }

    .single-post .related-posts > .related-title {
        margin-bottom: 2px !important;
        font-size: 1.55rem !important;
    }

    .single-post .related-posts > article.post {
        border: 1px solid #e4e9f1 !important;
        border-radius: 15px !important;
        box-shadow:
            0 7px 20px rgba(15, 23, 42, 0.07),
            0 2px 5px rgba(15, 23, 42, 0.03) !important;
    }

    .single-post .related-posts > article.post:hover {
        transform: none !important;
    }

    .single-post .related-posts > article.post > .post-image {
        aspect-ratio: 16 / 9;
        border-radius: 14px 14px 0 0 !important;
    }

    .single-post .related-posts > article.post > .post-content {
        min-height: 0 !important;
        padding: 16px 17px 19px !important;
    }

    .single-post .related-posts h4.post-title {
        min-height: 0;
        font-size: 1.08rem !important;

        -webkit-line-clamp: 3;
    }

    .single-post .related-posts > article.post:hover > .post-image img {
        transform: none !important;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .single-post .related-posts > article.post,
    .single-post .related-posts > article.post *,
    .single-post .related-posts > article.post *::before,
    .single-post .related-posts > article.post *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================================
   BLOGBUCKET — COMPLETE HEADER + MOBILE MENU
   Replace all previous header/menu CSS with this block
========================================================= */

/* =========================================================
   HEADER BACKGROUND
========================================================= */

#headerwrap {
    --bb-blue: #18b9ff;
    --bb-indigo: #5367ff;
    --bb-purple: #922be8;
    --bb-text: #f4f7ff;

    position: relative;
    z-index: 999;
    isolation: isolate;

    width: 100%;
    overflow: visible;

    background-color: #030610;

    background-image:
        linear-gradient(
            rgba(59, 105, 168, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(59, 105, 168, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(66, 106, 163, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(66, 106, 163, 0.025) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle at 7% 50%,
            rgba(11, 179, 255, 0.15),
            transparent 27%
        ),
        radial-gradient(
            circle at 89% 45%,
            rgba(143, 38, 230, 0.14),
            transparent 30%
        ),
        linear-gradient(
            110deg,
            #04101b 0%,
            #02050c 52%,
            #0d0619 100%
        );

    background-size:
        32px 32px,
        32px 32px,
        8px 8px,
        8px 8px,
        100% 100%,
        100% 100%,
        100% 100%;

    border-bottom: 1px solid rgba(111, 136, 224, 0.18);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.22),
        inset 0 -1px 0 rgba(255, 255, 255, 0.025);
}

#headerwrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    pointer-events: none;

    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0.022),
        transparent 32%,
        transparent 70%,
        rgba(139, 43, 226, 0.025)
    );
}

#headerwrap::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 2;

    height: 2px;

    pointer-events: none;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(24, 185, 255, 0.62),
        rgba(83, 103, 255, 0.62),
        rgba(146, 43, 232, 0.62),
        transparent
    );
}

/* =========================================================
   HEADER SIZE
========================================================= */

#headerwrap #header {
    position: relative;

    min-height: 104px;

    padding-top: 12px;
    padding-bottom: 12px;

    box-sizing: border-box;
}

#headerwrap .header-bar {
    position: relative;
    z-index: 3;

    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   LOGO — NO SEPARATE BACKGROUND
========================================================= */

#headerwrap #site-logo {
    display: inline-flex;
    align-items: center;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

#headerwrap #site-logo > a {
    display: inline-flex;
    align-items: center;

    margin: 0 !important;
    padding: 0 !important;

    text-decoration: none !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

#headerwrap #site-logo img.site-logo-image {
    display: block;

    width: 300px !important;
    max-width: 100%;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain;

    filter:
        brightness(1.32)
        contrast(1.14)
        saturate(1.24)
        drop-shadow(0 0 4px rgba(0, 191, 255, 0.38))
        drop-shadow(0 0 8px rgba(135, 44, 236, 0.22));

    transform: translateZ(0);

    transition:
        filter 0.25s ease,
        transform 0.25s ease;
}

#headerwrap #site-logo > a:hover img.site-logo-image {
    transform: scale(1.012);

    filter:
        brightness(1.4)
        contrast(1.18)
        saturate(1.3)
        drop-shadow(0 0 6px rgba(0, 191, 255, 0.48))
        drop-shadow(0 0 10px rgba(135, 44, 236, 0.3));
}

/* =========================================================
   SIDE MENU DRAWER
   Hamburger icon remains untouched
========================================================= */

#headerwrap #mobile-menu.sidemenu {
    max-width: 100vw !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    overscroll-behavior-x: none;

    color: var(--bb-text);

    background-color: #040811;

    background-image:
        linear-gradient(
            rgba(66, 108, 170, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(66, 108, 170, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(66, 108, 170, 0.02) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(66, 108, 170, 0.02) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle at 15% 15%,
            rgba(20, 174, 255, 0.12),
            transparent 31%
        ),
        radial-gradient(
            circle at 90% 88%,
            rgba(145, 43, 232, 0.12),
            transparent 36%
        ),
        linear-gradient(
            155deg,
            #07101b,
            #03050c
        );

    background-size:
        32px 32px,
        32px 32px,
        8px 8px,
        8px 8px,
        100% 100%,
        100% 100%,
        100% 100%;

    border-left: 1px solid rgba(107, 132, 226, 0.18);

    box-shadow:
        -18px 0 50px rgba(0, 0, 0, 0.44),
        inset 1px 0 rgba(255, 255, 255, 0.025);

    box-sizing: border-box;
}

/* =========================================================
   MENU INNER LAYOUT
========================================================= */

#headerwrap #mobile-menu .navbar-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    align-content: flex-start !important;
    flex-wrap: wrap !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 68px 0 24px !important;

    overflow-x: hidden !important;

    box-sizing: border-box;
}

/* Force correct element order */
#headerwrap #mobile-menu .social-widget {
    order: 1 !important;
}

#headerwrap #mobile-menu .search-button {
    order: 2 !important;
}

#headerwrap #mobile-menu #main-nav-wrap {
    order: 3 !important;
}

/* =========================================================
   TOP SOCIAL + SEARCH ROW
========================================================= */

#headerwrap #mobile-menu .social-widget {
    display: inline-flex !important;
    align-items: center !important;

    flex: 0 0 auto !important;

    width: auto !important;

    margin: 0 8px 18px 20px !important;
    padding: 0 !important;
}

#headerwrap #mobile-menu .social-links {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

#headerwrap #mobile-menu .social-link-item {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;
}

#headerwrap #mobile-menu .social-link-item a,
#headerwrap #mobile-menu .search-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 46px !important;
    height: 46px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;
    text-decoration: none !important;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.035)
        ) !important;

    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 12px !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 6px 16px rgba(0, 0, 0, 0.17) !important;

    transform: none !important;

    box-sizing: border-box;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease !important;
}

#headerwrap #mobile-menu .search-button {
    flex: 0 0 46px !important;

    margin: 0 0 18px !important;
}

/* Override your older global rule */
#headerwrap .search-button {
    margin-top: 0 !important;
}

#headerwrap #mobile-menu .social-link-item em,
#headerwrap #mobile-menu .social-link-item svg,
#headerwrap #mobile-menu .search-button svg {
    display: block !important;

    width: 18px !important;
    height: 18px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;
    fill: currentColor !important;
}

#headerwrap #mobile-menu .social-link-item a:hover,
#headerwrap #mobile-menu .search-button:hover {
    background: linear-gradient(
        135deg,
        rgba(20, 174, 255, 0.22),
        rgba(145, 43, 232, 0.18)
    ) !important;

    border-color: rgba(90, 134, 255, 0.48) !important;

    box-shadow:
        0 0 20px rgba(34, 133, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* =========================================================
   NAVIGATION WRAPPER
========================================================= */

#headerwrap #mobile-menu #main-nav-wrap {
    display: block !important;

    flex: 0 0 100% !important;
    clear: both !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border-top: 1px solid rgba(255, 255, 255, 0.075);
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);

    box-sizing: border-box;
}

/* =========================================================
   MENU LIST — ONE FULL-WIDTH ITEM PER ROW
========================================================= */

#headerwrap #mobile-menu #main-nav {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    list-style: none !important;

    background: transparent !important;

    box-sizing: border-box;
}

/* =========================================================
   MENU ITEM
========================================================= */

#headerwrap #mobile-menu #main-nav > li {
    position: relative !important;

    display: block !important;
    float: none !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    background: transparent !important;
    border: 0 !important;

    box-sizing: border-box;
}

/* =========================================================
   MENU LINK
========================================================= */

#headerwrap #mobile-menu #main-nav > li > a {
    position: relative !important;

    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    max-width: 100% !important;
    min-height: 54px !important;

    margin: 0 !important;
    padding: 13px 48px 13px 24px !important;

    color: #e8edf8 !important;

    font-size: 16px !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.005em !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;

    text-decoration: none !important;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.008)
        ) !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065) !important;
    border-radius: 0 !important;

    box-shadow: none !important;
    transform: none !important;

    box-sizing: border-box;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease !important;
}

/* Subtle left accent */
#headerwrap #mobile-menu #main-nav > li > a::before {
    content: "" !important;

    position: absolute !important;
    top: 11px !important;
    bottom: 11px !important;
    left: 0 !important;

    width: 3px !important;
    height: auto !important;

    background: linear-gradient(
        to bottom,
        var(--bb-blue),
        var(--bb-indigo),
        var(--bb-purple)
    ) !important;

    border-radius: 0 999px 999px 0 !important;

    box-shadow:
        0 0 9px rgba(28, 200, 255, 0.25),
        0 0 13px rgba(142, 48, 238, 0.15) !important;

    opacity: 0 !important;

    transform: none !important;

    transition: opacity 0.2s ease !important;
}

/* Right arrow */
#headerwrap #mobile-menu #main-nav > li > a::after {
    content: "›" !important;

    position: absolute !important;
    top: 50% !important;
    right: 23px !important;

    color: rgba(255, 255, 255, 0.35) !important;

    font-family: Arial, sans-serif !important;
    font-size: 23px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    transform: translateY(-52%) !important;

    transition:
        color 0.2s ease,
        right 0.2s ease !important;
}

/* =========================================================
   HOVER AND CURRENT MENU ITEM
========================================================= */

#headerwrap #mobile-menu #main-nav > li > a:hover,
#headerwrap #mobile-menu #main-nav > li.current-menu-item > a,
#headerwrap #mobile-menu #main-nav > li.current-menu-parent > a {
    color: #ffffff !important;

    background: linear-gradient(
        90deg,
        rgba(18, 137, 255, 0.18),
        rgba(80, 77, 255, 0.1) 56%,
        rgba(145, 43, 232, 0.08)
    ) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025),
        inset 0 -1px 0 rgba(255, 255, 255, 0.02) !important;

    transform: none !important;
}

#headerwrap #mobile-menu #main-nav > li > a:hover::before,
#headerwrap #mobile-menu #main-nav > li.current-menu-item > a::before,
#headerwrap #mobile-menu #main-nav > li.current-menu-parent > a::before {
    opacity: 1 !important;
}

#headerwrap #mobile-menu #main-nav > li > a:hover::after,
#headerwrap #mobile-menu #main-nav > li.current-menu-item > a::after,
#headerwrap #mobile-menu #main-nav > li.current-menu-parent > a::after {
    right: 19px !important;
    color: #ffffff !important;
}

/* Remove unused dropdown arrows */
#headerwrap #mobile-menu #main-nav .child-arrow,
#headerwrap #mobile-menu #main-nav .sub-arrow {
    display: none !important;
}

/* =========================================================
   CLOSE BUTTON
   Keeps theme icon shape
========================================================= */

#headerwrap #menu-icon-close {
    z-index: 10;
}

/* =========================================================
   PREVENT HORIZONTAL SCROLLING
========================================================= */

#headerwrap #mobile-menu,
#headerwrap #mobile-menu .navbar-wrapper,
#headerwrap #mobile-menu #main-nav-wrap,
#headerwrap #mobile-menu #main-nav,
#headerwrap #mobile-menu #main-nav > li,
#headerwrap #mobile-menu #main-nav > li > a {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
}

/* =========================================================
   TABLET HEADER
========================================================= */

@media (max-width: 1100px) {
    #headerwrap #header {
        min-height: 94px;

        padding-top: 10px;
        padding-bottom: 10px;
    }

    #headerwrap #site-logo img.site-logo-image {
        width: 270px !important;
    }
}

/* =========================================================
   MOBILE HEADER
========================================================= */

@media (max-width: 767px) {
    #headerwrap {
        background-size:
            27px 27px,
            27px 27px,
            7px 7px,
            7px 7px,
            100% 100%,
            100% 100%,
            100% 100%;
    }

    #headerwrap #header {
        min-height: 78px;

        padding-top: 8px;
        padding-bottom: 8px;
    }

    #headerwrap #site-logo img.site-logo-image {
        width: min(225px, 64vw) !important;
    }

    #headerwrap #mobile-menu .navbar-wrapper {
        padding-top: 62px !important;
    }

    #headerwrap #mobile-menu #main-nav > li > a {
        min-height: 52px !important;

        padding-right: 44px !important;
        padding-left: 20px !important;

        font-size: 15.5px !important;
    }

    #headerwrap #mobile-menu #main-nav > li > a::after {
        right: 20px !important;
    }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {
    #headerwrap #header {
        min-height: 70px;
    }

    #headerwrap #site-logo img.site-logo-image {
        width: min(190px, 60vw) !important;
    }

    #headerwrap #mobile-menu .social-widget {
        margin-left: 15px !important;
    }

    #headerwrap #mobile-menu .social-link-item a,
    #headerwrap #mobile-menu .search-button {
        width: 43px !important;
        height: 43px !important;
    }

    #headerwrap #mobile-menu .search-button {
        flex-basis: 43px !important;
    }

    #headerwrap #mobile-menu #main-nav > li > a {
        min-height: 50px !important;

        padding-left: 18px !important;

        font-size: 15px !important;
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

#headerwrap #mobile-menu a:focus-visible {
    outline: 3px solid rgba(38, 171, 255, 0.35) !important;
    outline-offset: -3px;
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    #headerwrap *,
    #headerwrap *::before,
    #headerwrap *::after {
        animation: none !important;
        transition: none !important;
    }
}
/* =========================================================
   BLOGBUCKET — COMPACT MATCHING FOOTER
   Replace the previous footer CSS with this complete block
========================================================= */

#footerwrap {
    --bb-footer-blue: #18b9ff;
    --bb-footer-indigo: #5367ff;
    --bb-footer-purple: #922be8;
    --bb-footer-text: #dfe6f5;
    --bb-footer-muted: #9ba7ba;

    position: relative;
    isolation: isolate;
    width: 100%;

    /*
       Important:
       Keep overflow visible so the back-to-top button
       is not clipped above the footer.
    */
    overflow: visible !important;

    color: var(--bb-footer-text);
    background-color: #030610;

    background-image:
        linear-gradient(
            rgba(59, 105, 168, 0.075) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(59, 105, 168, 0.075) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(66, 106, 163, 0.022) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(66, 106, 163, 0.022) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle at 8% 35%,
            rgba(11, 179, 255, 0.12),
            transparent 29%
        ),
        radial-gradient(
            circle at 88% 60%,
            rgba(143, 38, 230, 0.12),
            transparent 33%
        ),
        linear-gradient(
            110deg,
            #04101b 0%,
            #02050c 52%,
            #0d0619 100%
        );

    background-size:
        32px 32px,
        32px 32px,
        8px 8px,
        8px 8px,
        100% 100%,
        100% 100%,
        100% 100%;

    border-top: 1px solid rgba(111, 136, 224, 0.18);

    box-shadow:
        0 -8px 24px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

/* Soft footer lighting */
#footerwrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    pointer-events: none;

    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0.015),
        transparent 35%,
        transparent 70%,
        rgba(139, 43, 226, 0.02)
    );
}

/* Gradient line along the top */
#footerwrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;

    height: 2px;

    pointer-events: none;

    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(24, 185, 255, 0.7) 23%,
        rgba(83, 103, 255, 0.7) 50%,
        rgba(146, 43, 232, 0.7) 77%,
        transparent 100%
    );
}

/* =========================================================
   COMPACT FOOTER CONTAINER
========================================================= */

#footerwrap #footer {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /*
       Reduced from roughly 180px to about 90px.
    */
    min-height: 90px !important;

    margin: 0 auto !important;
    padding: 24px 20px 18px !important;

    color: var(--bb-footer-text);

    overflow: visible !important;
    box-sizing: border-box;
}

/* Avoid clearfix pseudo-elements affecting the layout */
#footerwrap #footer::before,
#footerwrap #footer::after {
    content: none !important;
    display: none !important;
}

/* =========================================================
   FOOTER COLUMNS
========================================================= */

#footerwrap .main-col {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Remove unused empty areas */
#footerwrap .footer-left-wrap:empty,
#footerwrap .footer-nav-wrap:empty,
#footerwrap .footer-widgets-wrap:empty,
#footerwrap .section-col {
    display: none !important;
}

#footerwrap .footer-right-wrap {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: center;
}

/* =========================================================
   COPYRIGHT TEXT
========================================================= */

#footerwrap .footer-text {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: var(--bb-footer-muted);

    font-size: 13px;
    line-height: 1.55;
    letter-spacing: 0.01em;

    text-align: center;
}

#footerwrap .footer-text-inner {
    display: inline-block;

    margin: 0 auto !important;
    padding: 8px 18px !important;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 9px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 5px 14px rgba(0, 0, 0, 0.1);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#footerwrap .footer-text .one {
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   FOOTER LINKS
========================================================= */

#footerwrap a {
    color: #e4edff;
    font-weight: 650;

    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(87, 159, 255, 0.45);
    text-underline-offset: 3px;

    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease,
        text-shadow 0.2s ease;
}

#footerwrap a:hover,
#footerwrap a:focus {
    color: #ffffff;
    text-decoration-color: var(--bb-footer-blue);

    text-shadow:
        0 0 8px rgba(24, 185, 255, 0.3),
        0 0 13px rgba(146, 43, 232, 0.18);
}

/* =========================================================
   VISIBLE BACK-TO-TOP BUTTON
========================================================= */

#footerwrap .back-top {
    position: absolute !important;
    top: -22px !important;
    right: 28px !important;
    z-index: 50 !important;

    display: block !important;

    width: 44px !important;
    height: 44px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
}

#footerwrap .back-top .arrow-up {
    display: block !important;

    width: 44px !important;
    height: 44px !important;

    margin: 0 !important;
    padding: 0 !important;
}

#footerwrap .back-top .arrow-up a {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 44px !important;
    height: 44px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;
    text-decoration: none !important;

    background: linear-gradient(
        135deg,
        #169fff 0%,
        #5367ff 48%,
        #922be8 100%
    ) !important;

    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 12px !important;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.4),
        0 0 18px rgba(24, 185, 255, 0.42),
        0 0 25px rgba(146, 43, 232, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;

    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;

    transform: none !important;

    transition:
        transform 0.22s ease,
        filter 0.22s ease,
        box-shadow 0.22s ease;
}

/* Remove conflicting theme arrows */
#footerwrap .back-top .arrow-up::before,
#footerwrap .back-top .arrow-up::after,
#footerwrap .back-top .arrow-up a::after {
    content: none !important;
    display: none !important;
}

/* Clear white upward arrow */
#footerwrap .back-top .arrow-up a::before {
    content: "" !important;

    display: block !important;

    width: 11px !important;
    height: 11px !important;

    margin-top: 6px;

    border-top: 3px solid #ffffff !important;
    border-left: 3px solid #ffffff !important;

    opacity: 1 !important;

    transform: rotate(45deg) !important;
}

#footerwrap .back-top .arrow-up a:hover {
    filter: brightness(1.15);

    transform: translateY(-3px) !important;

    box-shadow:
        0 11px 27px rgba(0, 0, 0, 0.44),
        0 0 23px rgba(24, 185, 255, 0.55),
        0 0 30px rgba(146, 43, 232, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
    #footerwrap {
        background-size:
            27px 27px,
            27px 27px,
            7px 7px,
            7px 7px,
            100% 100%,
            100% 100%,
            100% 100%;
    }

    #footerwrap #footer {
        min-height: 82px !important;
        padding: 20px 14px 15px !important;
    }

    #footerwrap .footer-text {
        font-size: 12.5px;
        line-height: 1.5;
    }

    #footerwrap .footer-text-inner {
        width: 100%;

        padding: 7px 12px !important;

        box-sizing: border-box;
    }

    #footerwrap .back-top {
        top: -20px !important;
        right: 15px !important;

        width: 40px !important;
        height: 40px !important;
    }

    #footerwrap .back-top .arrow-up,
    #footerwrap .back-top .arrow-up a {
        width: 40px !important;
        height: 40px !important;

        border-radius: 11px !important;
    }

    #footerwrap .back-top .arrow-up a::before {
        width: 10px !important;
        height: 10px !important;

        border-top-width: 3px !important;
        border-left-width: 3px !important;
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

#footerwrap a:focus-visible {
    outline: 3px solid rgba(24, 185, 255, 0.45);
    outline-offset: 3px;
    border-radius: 5px;
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    #footerwrap *,
    #footerwrap *::before,
    #footerwrap *::after {
        animation: none !important;
        transition: none !important;
    }
}
/* =========================================================
   FIX BACK-TO-TOP HOVER BACKGROUND
========================================================= */

/* Remove theme-generated circle/background */
#footerwrap .back-top,
#footerwrap .back-top:hover,
#footerwrap .back-top:focus,
#footerwrap .back-top:active,
#footerwrap .back-top-float,
#footerwrap .back-top-float:hover,
#footerwrap .back-top .arrow-up,
#footerwrap .back-top .arrow-up:hover {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

/* Remove decorative theme pseudo-elements */
#footerwrap .back-top::before,
#footerwrap .back-top::after,
#footerwrap .back-top-float::before,
#footerwrap .back-top-float::after,
#footerwrap .back-top .arrow-up::before,
#footerwrap .back-top .arrow-up::after {
    content: none !important;
    display: none !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    box-shadow: none !important;
}

/* Actual visible button */
#footerwrap .back-top .arrow-up > a,
#footerwrap .back-top .arrow-up > a:link,
#footerwrap .back-top .arrow-up > a:visited {
    position: relative !important;
    isolation: isolate;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 44px !important;
    height: 44px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: linear-gradient(
        135deg,
        #18b9ff 0%,
        #5367ff 50%,
        #922be8 100%
    ) !important;

    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 12px !important;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.38),
        0 0 17px rgba(24, 185, 255, 0.38),
        0 0 23px rgba(146, 43, 232, 0.2) !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;
}

/* Clean hover without any circle */
#footerwrap .back-top .arrow-up > a:hover,
#footerwrap .back-top .arrow-up > a:focus,
#footerwrap .back-top .arrow-up > a:active {
    background: linear-gradient(
        135deg,
        #29c2ff 0%,
        #6475ff 50%,
        #a43af0 100%
    ) !important;

    border-color: #ffffff !important;

    box-shadow:
        0 11px 27px rgba(0, 0, 0, 0.42),
        0 0 21px rgba(24, 185, 255, 0.5),
        0 0 28px rgba(146, 43, 232, 0.28) !important;

    transform: translateY(-3px) !important;
}

/* Remove any theme overlay on the link */
#footerwrap .back-top .arrow-up > a::after,
#footerwrap .back-top .arrow-up > a:hover::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

/* Keep only the white upward arrow */
#footerwrap .back-top .arrow-up > a::before {
    content: "" !important;
    display: block !important;

    width: 11px !important;
    height: 11px !important;

    margin-top: 6px !important;

    background: transparent !important;

    border: 0 !important;
    border-top: 3px solid #ffffff !important;
    border-left: 3px solid #ffffff !important;

    box-shadow: none !important;

    transform: rotate(45deg) !important;
}

a,
a:hover,
a:focus {
    cursor: pointer;
}