/*
Theme Name: Dreamport Blog
Author: Ravi Sah
Author URI: https://www.ravisah.in 
Description: A clean and modern blog theme for the Oojo Blog. Built for speed, readability, and SEO optimization.
Version: 1.0
Text Domain: Dreamport Blog Theme
Tags: blog, responsive, custom-menu, custom-logo, featured-images, one-column, translation-ready
*/

:root {
    /* Colors */
    --color-primary: #1E1320;
    --color-secondary: #483F6B;
    --color-button: #E63946;
    --color-button-hover: rgb(214, 40, 54);
    --color-border: #F0F1F2;
    --color-light-border: #C9CCD0;
    --color-light-bg: #F7F7F7;
    --color-white: #FFFFFF;
    --color-error: #ff0000;
    --color-success: #03a403;
}

* {
    box-sizing: border-box;
}

html {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Red Hat Display", sans-serif;
    font-optical-sizing: auto;
    color: var(--color-primary);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: "Red Hat Display", sans-serif !important;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

header {
    position: relative;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
    height: 72px;
}

header .manuandbuttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: end;
}

header .menuandlogo {
    display: flex;
    align-items: center;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}

header nav a,
.signin {
    text-decoration: none;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    /* Smooth transition for color-related changes */
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: 0.15s;
}

header nav a:hover,
.signin:hover,
.current_page_item a {
    text-decoration: underline;
}

.deviderheader {
    width: 1px;
    height: 26px;
    border-left: 1px solid rgb(30, 19, 32);
}

.parmarybtn {
    display: inline-flex;
    height: 40px;
    padding: 0 20px;
    align-items: center;
    gap: 4px;
    border-radius: 6px;
    background: var(--color-button);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    border: 2px solid transparent;
    /* Smooth transition for color-related changes */
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: 0.15s;
}

.parmarybtn:hover {
    background: var(--color-button-hover);
}

.ghostbtn {
    display: inline-flex;
    height: 40px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    border: 1px solid var(--color-secondary);
    background: var(--color-white);
    /* Smooth transition for color-related changes */
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: 0.15s;
}

.ghostbtn:hover {
    background: var(--color-light-bg);
}

.ghostbtn:focus {
    border-radius: var(--border-radius-m, 6px);
    background: var(--color-white);
}

.graybtn {
    display: inline-flex;
    height: 52px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    border: 1px solid var(--color-light-bg);
    background: var(--color-light-bg);
    /* Smooth transition for color-related changes */
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: 0.15s;
}

.graybtn:hover {
    background: var(--color-accent-hover);
}

.graybtn:focus {
    background: var(--color-accent);
}

.headerbottombox {
    padding-top: 60px;
    display: flex;
    gap: 24px;
}

.headerbottombox .headerbottomboxtitle {
    flex: 1;
}

.headerbottombox .headerbottomboxtitle img {
    position: absolute;
    left: 410px;
    bottom: -12px;
    z-index: 2;
}

.headerbottombox .headerbottomboxtitle h1 {
    color: var(--color-primary);
    font-size: 52px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -1.04px;
    margin: 0;
    position: relative;
    z-index: 11;
}

.headerbottombox .headerbottomboxtitle h1 span {
    font-size: 72px;
    font-weight: 400;
    line-height: 52px;
    letter-spacing: -0.72px;
    font-family: 'roderickregular';
}

.headerbottombox .headerbottomboxsearch {
    width: 300px;
    position: relative;
}

.headerbottombox .headerbottomboxsearch form input {
    width: 100%;
    height: 52px;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid var(--color-light-border);
    background: var(--color-white);
    font-size: 16px;
    font-weight: 400;
    padding-top: 18px;
    /* Smooth transition for color-related changes */
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: 0.15s;
}

.headerbottombox .headerbottomboxsearch form input:focus,
.headerbottombox .headerbottomboxsearch form input:hover {
    outline: none;
    border: 1px solid #3f4655;
}

.floating-form {
    position: relative;
    margin-bottom: 0;
}

.floating-input {
    position: relative;
    display: flex;
    align-items: center;
}

.floating-input label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-secondary);
    font-size: 16px;
    pointer-events: none;
    transition: 0.2s ease all;
}

.floating-input input:focus+label,
.floating-input input:not(:placeholder-shown)+label {
    top: 14px;
    font-size: 12px;
}

.floating-input .search-button {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-white);
}

.floating-input .search-button svg:hover {
    opacity: 80%;
}

.postcategorybox {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.postcategorybox:after {
    content: '';
    position: absolute;
    width: 16px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 0%, var(--color-white) 100%);
    right: 0;
    top: 0;
}

.postcategorybox ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    white-space: nowrap;
}

.postcategorybox ul li a {
    display: inline-flex;
    height: 40px;
    padding: 0 20px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 6px;
    background: var(--color-light-bg);
    text-decoration: none;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    /* Smooth transition for color-related changes */
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: 0.15s;
}

.postcategorybox ul li a.active {
    background: var(--color-accent);
}

.postcategorybox ul li a:hover {
    background: var(--color-accent-hover);
}

.postcategorybox ul li a:focus {
    background: var(--color-accent);
}

.mainpagepost {
    margin-top: 100px;
    margin-bottom: 88px;
}

.mainpagepostbox {
    display: flex;
    gap: 40px;
}

.mainpagepost .postboxcontainer {
    flex: 1;
    display: flex;
    gap: 40px 20px;
    flex-wrap: wrap;
    margin-top: 48px;
}

#sinnglepost .mainpagepost .postboxcontainer {
    margin-top: 0;
}

.mainpagepost .sidebarcontainer {
    width: 300px;
}

.innertitle {
    font-size: 32px;
    font-weight: 600;
    line-height: 115%;
    margin-top: 60px;
    margin-bottom: 0;
}

.titlebox {
    padding-top: 0;
    padding-bottom: 0;
}

.titlebox h2 {
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    margin: 0;
}

.titlebox h1,
.titlebox .titlebox-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 140%;
    color: var(--color-primary);
}

.post-card {
    flex: calc(33.33% - 16px) 0 0;
}

.post-card .views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-card:hover h4.title {
    text-decoration: underline;
}

.post-card .thumbnail {
    width: 100%;
    border-radius: 24px;
    height: 240px;
    overflow: hidden;
    background-color: #ddd;
}

.post-card .thumbnail img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 900ms ease-out;
}

.post-card:hover .thumbnail img {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
}

.post-card .catanddate {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 600;
}

.post-card .catanddate .category a {
    text-decoration: none;
    color: var(--color-primary);
}

.post-card .catanddate .date {
    color: var(--color-secondary);
}

.post-card h2.title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.post-card h4.title {
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 0;
    line-height: 130%;
}

.post-card p {
    margin-top: 4px;
    margin-bottom: 16px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
    letter-spacing: 0.16px;
}

.post-card .details {
    display: flex;
    padding-top: 8px;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    align-items: center;
}

.post-card .details .author {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 150%;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    color: #1E1320
}

.post-card .details .author .author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 32px;
    overflow: hidden;
}

.post-card .details .author .author-avatar img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.post-card .details .date,
.post-card .details .read-time {
    color: #483F6B;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.readbtn {
    border-radius: 12px;
    background: #E63946;
    display: inline-flex;
    padding: 0 16px;
    height: 40px;
    color: #fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin-top: 24px;
    min-width: 120px;
    text-align: center;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.readbtn:hover {
    background: var(--color-button-hover);
}

.pagination {
    margin-top: 80px;
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination .current {
    background: var(--color-button-hover);
    color: #fff;
    border: 1px solid var(--color-button-hover);
}

.pagination span,
.pagination a {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    padding: 0px 10px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 50%;
    border: 1px solid var(--color-secondary);
    background: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    /* Smooth transition for color-related changes */
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: 0.15s;
}

.pagination span:hover,
.pagination a:hover {
    background: var(--color-button-hover);
    border: 1px solid var(--color-button-hover);
    color: #fff;
}

.stickeypos {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--color-white);
}

.promoimage {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover;
}

.sidebar .tagbox-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
    margin-bottom: 24px;
}

.sidebar .tag-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar .tag-list li a {
    border-radius: 6px;
    border: 1px solid var(--color-secondary);
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    height: 32px;
    /* Smooth transition for color-related changes */
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: 0.15s;
}

.sidebar .tag-list li a:hover {
    background-color: rgb(247 247 247/1);
    border-color: hsl(221 15% 29%);
}

.socialconnect {
    margin-bottom: 40px;
    border-radius: 6px;
    background: var(--color-yellow-bg);
    display: flex;
    padding: 16px 24px;
    align-items: center;
    gap: 12px;
}

.socialconnect h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
}

.socialconnect .sociallinks {
    display: flex;
    gap: 8px;
}

.socialconnect .sociallinks a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid var(--color-secondary);
    background: var(--color-white);
    /* Smooth transition for color-related changes */
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: 0.15s;
}

.socialconnect .sociallinks a:hover {
    background-color: rgb(247 247 247/1);
    border-color: hsl(221 15% 29%);
}

footer {
    margin-top: 88px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-top: 1px solid rgb(181, 181, 181);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

footer .container p,
footer .container a {
    margin: 0;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
}

footer .container a {
    color: rgb(109, 77, 238)
}

.gjs-cell {
    position: relative;
}

.errorpagecontainer {
    text-align: center;
    width: 100%;
    padding: 120px 0
}

.errorpagecontainer img {
    max-width: 100%;
}

h1.errorno {
    font-size: 24px;
    font-weight: 600;
    line-height: 140%;
    color: var(--color-primary);
    margin: 24px 0;
}

.post-full {
    width: 100%;
    max-width: 847px;
}

.post-full img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 24px;
    margin: 32px 0;
}

.post-full p:has(img) {
    margin: 0 !important;
    /* Removes margin from <p> with only image */
}

.post-full p:has(img)+p {
    margin-top: 0 !important;
    /* Removes space above paragraph after image */
}

.post-full .category {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.post-full .category a {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    text-decoration: none;
    display: block;
}

.post-full .category a:hover {
    text-decoration: underline;
}

.post-full .category img {
    width: auto !important;
    height: 15px !important;
    border-radius: 0;
    margin: 0;
}

.post-full .post-title {
    color: var(--color-primary);
    font-size: 32px;
    font-weight: 600;
    line-height: 36.8px;
    margin: 24px 0;
}

.post-full p {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
    letter-spacing: 0.16px;
    color: #1E1320;
    font-family: "Red Hat Display", sans-serif;
}

.custom-share-icons p {
    font-weight: 600;
}

.post-full .meta {
    margin-top: 80px;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #E7EAEE;
}

.post-full .meta .author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-full .meta .writtenbytext {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    letter-spacing: 0.16px;
    margin-bottom: 16px;
}

.post-full .meta .author-info .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 32px;
    overflow: hidden;
}

.post-full .meta .author-info .author-avatar img {
    height: 100%;
    width: 100% !important;
    object-fit: cover;
    margin: 0;
}

.post-full .meta .author-info .author-bio {
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 150%;
    color: var(--color-primary);
}

.post-full .meta .author-posttype,
.post-full .meta .date {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: #1E1320;
}

.post-full .meta .date {
    color: #483F6B;
}

.post-full .meta .post-other-details {
    color: var(--color-secondary);
    font-size: 12px;
    font-weight: 600;
    line-height: 17.4px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.post-full .meta .post-other-details .views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.authorpostanddate {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
}

.post-full h3 {
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
}

.post-full h2 {
    font-size: 42px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
}

.post-full h4 {
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
}

.post-full ul,
.post-full ol {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
}

.post-full ul li,
.post-full ol li {
    margin-bottom: 6px;
}

.post-full .custom-share-icons {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
    display: flex;
    gap: 12px;
    align-items: center;
}

.post-full .custom-share-icons p {
    margin: 0;
}

.post-full .custom-share-icons .icons-list {
    display: flex;
    gap: 8px;
    align-items: center;
}

.post-full .custom-share-icons .icons-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid var(--color-secondary);
    background: var(--color-white);
    /* Smooth transition for color-related changes */
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: 0.15s;
}

.post-full .custom-share-icons .icons-list a:hover {
    background-color: rgb(247 247 247/1);
    border-color: hsl(221 15% 29%);
}

.post-full .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 40px;
}

.post-full .tags a {
    border-radius: 6px;
    border: 1px solid var(--color-secondary);
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    height: 32px;
    /* Smooth transition for color-related changes */
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: 0.15s;
}

.post-full .tags a:hover {
    background-color: rgb(247 247 247/1);
    border-color: hsl(221 15% 29%);
}

.post-full h2,
.post-full h3,
.post-full h4,
.post-full h5 {
    padding: 12px 0;
    margin: 0;
}

.relatedposts {
    border-top: 1px solid #E7EAEE;
    padding-top: 32px;
}

.relatedposts h2 {
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 600;
    line-height: 33.6px;
    margin-bottom: 24px;
    margin-top: 0;
}

.relatedposts .related-posts-list {
    display: flex;
    gap: 40px 24px;
    flex-wrap: wrap;
}

.relatedposts .related-posts-list .post-card {
    flex: calc(33.33% - 16px) 0 0;
}

.es_subscription_message.success {
    color: var(--color-success) !important;
    font-size: 16px;
    margin-bottom: 20px;
    display: block;
}

.formobile {
    display: none !important
}

.nav-links {
    gap: 8px;
    display: flex;
}

blockquote {
    padding: 40px;
    display: block;
    position: relative;
    background-color: var(--color-secondary);
    color: var(--color-white);
    overflow: hidden;
    margin: 24px 0;
    border-radius: 6px;
}

blockquote p {
    margin: 0 !important;
    color: var(--color-white) !important;
}

blockquote cite {
    display: inline-block;
    position: relative;
    padding-left: 60px;
    border-color: inherit;
    line-height: 1;
    margin-top: 22px;
    font-weight: 600;
}

blockquote cite:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 45px;
    height: 1px;
    border-top: 1px solid;
    border-color: inherit;
}

.thumb img {
    margin: 40px 0;
}

.deskshow {
    display: block !important
}

.mobileshow {
    display: none !important
}

.mobileviewmenu {
    display: none;
    background: #fff;
    position: absolute;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    padding: 0 40px;
    padding-bottom: 40px;
    z-index: 9;
}

.mobileviewmenu.active {
    display: flex
}

.smalldeviceshow {
    display: none !important;
}

p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
    letter-spacing: 0.16px;
    color: #1E1320;
    font-family: "Red Hat Display", sans-serif;
}

.firstpostbanner {
    margin-top: 64px;
    margin-bottom: 80px;
}

.maintoptitleanddetails .pintip {
    border-radius: 100px;
    background: #EDE9FD;
    padding: 8px 16px;
    text-align: center;
    color: #4920EA;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    letter-spacing: 0.16px;
    display: inline-block;
}

.maintoptitleanddetails h2,
h2 {
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    color: #1E1320;
}

.maintoptitleanddetails h2 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.maintoptitleanddetails p {
    margin: 0;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
    letter-spacing: 0.16px;
}

.largepost {
    height: 640px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.largepost:hover .largepostcontent h3 {
    text-decoration: underline;
}

.largepost .largepostcontent {
    position: absolute;
    bottom: 0;
    background: linear-gradient(0deg, rgba(18, 18, 18, 0.32) 0%, rgba(18, 18, 18, 0.32) 100%);
    backdrop-filter: blur(14px);
    padding: 32px;
    color: #fff;
    width: 100%;
}

.largepost .largepostcontent h3 {
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    margin-top: 0;
    margin-bottom: 11px;
}

.largepost .largepostcontent p {
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
    letter-spacing: 0.16px;
}

.largepost .details .author .author-avatar {
    width: 40px;
    height: 40px;
}

.largepost .details .author {
    gap: 12px;
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    letter-spacing: 0.16px;
}

.largepost .details {
    justify-content: space-between;
}

.largepost .details .readbtn {
    margin-top: 0;
}

.backtopblog {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    color: #1E1320;
    margin-bottom: 40px;
    text-decoration: none;
}

.backtopblog:hover {
    text-decoration: underline;
}

.socialmedia {
    display: flex;
    text-align: center;
    gap: 24px;
}


@media screen and (max-width:1365px) {
    .container {
        padding: 0 40px;
    }

    .formobile {
        display: flex !important
    }

    nav.fordesktop,
    .deviderheader,
    .fordesktop {
        display: none;
    }

    .mobileviewmenu ul {
        margin: 0;
        list-style: none;
        padding: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .mobileviewmenu ul li a {
        text-decoration: none;
        color: var(--color-primary);
        font-size: 14px;
        font-weight: 600;
    }

    .mobileviewmenu ul li a:hover,
    .mobileviewmenu ul li.current-menu-item a {
        text-decoration: underline;
    }

    .closeme,
    .openme {
        margin-left: 18px;
    }

    .closeme {
        margin-top: 11px;
    }
}

@media screen and (max-width:1190px) {

    .post-card,
    .relatedposts .related-posts-list .post-card {
        flex: calc(50% - 12px) 0 0;
    }
}

@media screen and (max-width:785px) {
    .post-card .details {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width:767px) {
    .container {
        padding: 0 12px;
    }

    footer {
        margin-top: 60px;
    }

    footer .container {
        flex-direction: column;
        gap: 16px;
    }

    .desktopswitcher {
        display: none !important;
    }

    .smalldeviceshow {
        display: flex !important;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .post-card,
    .relatedposts .related-posts-list .post-card {
        flex: 100% 0 0;
    }

    .largepost {
        height: 580px;
    }

    .post-card .details {
        flex-direction: inherit;
    }

    .mainpagepost {
        margin-top: 47px;
    }

    .maintoptitleanddetails h2,
    h2,
    .titlebox h2 {
        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
    }

    .maintoptitleanddetails p,
    p,
    ul li,
    ol li,
    .largepost .largepostcontent p,
    .post-card p {
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 160%;
        /* 22.4px */
        letter-spacing: 0.14px;
    }

    .firstpostbanner {
        margin-bottom: 59px;
    }

    .mainpagepost .postboxcontainer {
        margin-top: 32px;
        gap: 20px;
    }

    .largepost .largepostcontent h3,
    h3 {
        font-size: 26px;
        font-style: normal;
        font-weight: 600;
        line-height: 130%;
    }

    .largepost .details .author {
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 160%;
        letter-spacing: 0.14px;
    }

    .post-card h4.title,
    h4 {
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 140%;
    }

    .mainpagepost {
        margin-top: 47px;
        margin-bottom: 60px;
    }

    .post-full .meta {
        margin-top: 40px;
        padding-bottom: 24px;
        margin-bottom: 24px;
        border-bottom: 1px solid #E7EAEE;
    }
}

@media screen and (max-width:500px) {
    .authorpostanddate {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
}



/* Language Switcher CSS */
.switcherandbuttons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.toolbar-menu .level-1 {
    color: var(--color-primary);
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    min-width: 129px;
    width: fit-content;
    background-color: rgb(242, 242, 248);
    border-radius: 12px;
    padding: 8px 12px;
    gap: 10px;
    display: flex;
    border: none;
    cursor: pointer;
}

.toolbar-menu ul {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.toolbar-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toolbar-menu .level-1>li {
    display: inline-block;
    margin-left: 3.5em;
    position: relative;
    z-index: 1;
}

.toolbar-menu .level-1>li:first-child {
    margin-left: 0;
}

.toolbar-menu a,
.toolbar-menu a:active,
.toolbar-menu a:focus,
.toolbar-menu a:hover {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s linear;
    white-space: nowrap;
}

.toolbar-menu .level-1>li>a {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    position: relative;
    z-index: 4;
}

.toolbar-menu.toolbar-menu-language .level-1>li>a {
    padding-right: 1.385em;
    position: relative;
    display: flex;
    gap: 12px;
}

.toolbar-menu.toolbar-menu-language .level-1>li>a img {
    width: 40px;
    height: 23px;
}

.toolbar-menu.toolbar-menu-language .level-1>li>a:after {
    border: 1px solid #B5B5B5;
    border-right: none;
    border-top: none;
    content: "";
    height: 7px;
    pointer-events: none;
    position: absolute;
    right: 1px;
    top: calc(50% - 6px);
    transform: rotate(-45deg);
    transform-origin: 50% 50%;
    width: 7px;
}

.header-inverted .toolbar-menu.toolbar-menu-language .level-1>li>a:after {
    border-bottom-color: #fff;
    border-left-color: #fff;
}

.toolbar-menu .level-2 {
    background-color: #ffffff;
    color: #252429;
    display: block;
    left: -14px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50px;
    width: 119%;
    visibility: hidden;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border: 1px solid rgb(30, 19, 32);
    border-radius: 12px;
    overflow: hidden;
}

.toolbar-menu .level-2>li {
    display: block;
    pointer-events: all;
    width: 100%;
    padding: 10px 16px;
}

.toolbar-menu .level-2>li:hover {
    background-color: rgb(242, 242, 248);
}

.toolbar-menu .level-2>li img {
    width: 40px;
    height: 23px;
}

.toolbar-menu .level-2>li span,
.toolbar-menu .level-2>li a {
    width: 100%;
    display: flex;
    gap: 10px;
}

.is-parent.active .level-2 {
    visibility: visible;
    opacity: 1;
}

#homepage .toolbar-menu.toolbar-menu-language .level-1>li>a:after {
    border: 1px solid #252429;
    border-right: none;
    border-top: none;
}

.toolbar-menu.toolbar-menu-language .level-1>li:hover a:after {
    border-right: none;
    border-top: none;
}

.toolbar-menu .level-1>li.is-parent.active a:after {
    top: calc(50% - 3px);
    transform: rotate(134deg);
}

.is-parent.active .level-2 {
    gap: 0;
}