@media (max-width: 768px) {

    html {
        margin-top: 0 !important;
    }

}

/* new hero-section { */

.main-block {
    padding: 8rem 0;
    background-attachment: fixed;
    border: none !important;
}

.ip-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

img.flag {
    border-radius: 100px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.ip-address {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #fff;
    font-weight: 700;
    font-size: 5.25rem;
    line-height: 1;
    width: 100%;
}

.ip-address.small {
    font-size: 3rem;
}

.btn {
    color: #fff;
    border-radius: 100px;
    background: #fff2;
    border: 1px solid #fff3;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    width: auto;
    aspect-ratio: auto;
    height: 42px;
    font-size: 1rem;
    line-height: 1;
    text-wrap: nowrap;
    font-weight: 400;
    transition: .2s;
}

.btn:hover {
    background: #fff4;
    transform: scale(0.98);
}

.btn:active {
    background: #fff5;
    transform: scale(0.9);
}

.btn svg,
.btn img {
    height: 100%;
    width: auto;
    aspect-ratio: auto;
}

.ip-address-additional {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.restart-btn {
    height: 42px;
}

.mobile-buttons {
    display: none;
}

.copy-ip {
    aspect-ratio: 1/1;
    width: 54px;
    height: 54px;
    padding: 0.75rem;
    border-radius: 100px;
    background: #fff2;
    border: 1px solid #fff3;
    transition: .2s;
}

.copy-ip svg {
    width: 100%;
    height: 100%;
}

.copy-ip:hover {
    background: #fff4;
    transform: scale(0.98);
}

.copy-ip:active {
    background: #fff5;
    transform: scale(0.9);
}



svg,
path {
    fill: currentColor !important;
}

.location-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.ip-info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 3rem;
}

.connection-details-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
    width: 100%;
    gap: .75rem;
    margin: 0;
}

.short-elements {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
}

.connection-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 3rem;
    padding: 2rem;
    background: #0006;
    color: #fff;
    border: none;
    outline: 1px solid #fff2;
    outline-offset: -1px;
    border-radius: .75rem;
    align-items: center;
    backdrop-filter: blur(4px);
}


.connection-label {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    min-width: 25%;
}

.connection-value {
    font-weight: 700;
    line-height: 1.3;
}


.connection-label img {
    --size: 30px;
    width: var(--size);
    height: var(--size);
    /* 		filter: hue-rotate(-66deg) saturate(5); */
}


.connection-item.short {
    flex-direction: row;
    padding: 1rem 1rem 1rem 1.5rem;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
    width: 100%;
}

.connection-item.short span {
    font-weight: 500;
    width: 100%;
}

.connection-item.short img {
    /* 	display: none; */
    width: 32px;
    height: 32px;
}

.connection-value {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.connection-item.short .connection-value span {
    font-weight: 800;
}

.false {
    background: linear-gradient(-90deg, #49010166, #0006 80%);
}

.true {
    background: linear-gradient(-90deg, #03490122, #00000066 80%);
}

@media (max-width: 768px) {

    .ip-address {
        font-size: 2.5rem;
    }

    .ip-address.small {
        font-size: 1.5rem;
    }

    .main-block {
        background-image: url(../assets/images/blue-bg-main-mobile.webp);
        background-size: auto;
        padding: 2rem 0;
    }

    .connection-item:not(.short) {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .location-info {
        font-size: 1.25rem;
        gap: 0.5rem;
    }

    img.flag {
        --size: 24px;
        width: var(--size);
        height: var(--size);
    }

    .copy-ip,
    .restart-btn {
        display: none;
    }

    .mobile-buttons {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        row-gap: 1rem;
        margin: auto;
    }

    .mobile-buttons button {
        display: flex !important;
    }

    .mobile-buttons button svg {
        width: 100%;
        height: 100%;
    }

    .mobile-buttons button:active {
        background: #fff4;
        transform: scale(0.95);
    }


}

/* } new hero-section */



/* product categories tabs { */

.resource-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #0002;
    overflow: clip;
}

.resource-card-image {
    background: #f9f9f9;
    position: relative;
}


.article-card-image {
    height: 150px;
    width: 100%;
    object-fit: contain;
    object-position: center;
    padding: 2rem;
    box-sizing: border-box;
    display: block;
    margin: 0 auto;
}

.recommend-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.5rem .8rem;
    border-radius: 0.5rem;
    background: var(--accent-color);
    color: #fff;
    line-height: 1;
    font-size: 0.8rem;
}

.resource-card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    padding: 1rem;
}

.resource-card-content h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-color);
    font-weight: 700;
}

.resource-card-content p {
    height: 100%;
    color: var(--text-color-light);
    margin: 0;
}

.resource-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #fff;
    background: var(--accent-color);
    padding: 1rem;
    text-align: center;
    border-radius: 0.5rem;
    transition: .2s;
}

.resource-card-link:hover {
    background: var(--accent-color-hover);
}

.resource-card-link svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* } product categories tabs */

/* resources section { */

.resources-nav {
    margin: 0 auto 2rem;
    width: fit-content;
}

.resources-nav-list {
    display: flex;
    gap: .25rem;
    padding: .5rem;
    border: 1px solid #0003;
    border-radius: 1.25rem;
}

.resources-nav-item {
    padding: .75rem 1.5rem;
    transition: .2s;
    border-radius: .75rem
}

.resources-nav-item.active {
    background: var(--accent-color);
    color: #fff;
}

.resources-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.section-description {
    max-width: 80%;
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-color-light);
    text-wrap: balance;
}

.content-section {
    margin: 2rem 0 3rem 0;
}

.load-more-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {

    .resources-nav-list {
        overflow-x: auto;
        max-width: var(--sitewidth);
    }

    .resources-nav-item {
        text-wrap: nowrap;
    }

    .resources-grid {
        display: flex;
        flex-direction: column;
    }

    .section-description {
        max-width: 100%;
    }
}


/* } resources section */

/* single resource page { */


.article-thumbnail {
    width: 100%;
    height: 300px;
    border-radius: 1rem;
    background-color: #f9f9f9;
    object-fit: contain;
    object-position: center;
    padding: 5rem 2rem;
    box-sizing: border-box;
    /* Для SVG обеспечиваем минимальный размер */
    min-height: 200px;
    display: block;
    margin: 0 auto;
}


.article-title {
    font-size: 3rem;
    margin: 1rem 0;
    font-weight: 800;
}

.article-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem 0.75rem 1.25rem;
    background: var(--accent-color);
    color: #fff !important;
    border-radius: 0.5rem;
    transition: .2s;
}


.article-button svg {
    --size: 24px;
    width: var(--size);
    height: var(--size);
}

.article-button:hover {
    background: var(--accent-color-hover);
    transform: translateY(-2px);
}


@media (max-width: 768px) {

    .article-thumbnail {
        height: 200px;
        min-height: 150px;
        padding: 1rem 1rem;
    }

    .article-thumbnail[src*=".svg"] {
        padding: 2rem;
    }

    .blog-page-layout.article-page {
        flex-direction: column;
    }

    .article-title {
        line-height: 1;
        font-size: 2rem;
    }

    .article-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0rem;
    }
}



/* } single resource page */

/* ip insights section { */

.section-header h2 {
    font-weight: 700;
}

.section-header svg {
    --size: 42px;
    color: var(--accent-color);
    width: var(--size);
    height: var(--size);
}

.user-ip.small {
    font-size: 1rem;
}

/* } ip insights section */


/* insights section { */

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem
}

#location-section {
    grid-column: span 2;
}

#hardware-section {
    grid-row: span 2;
}

#location-section .info-grid {
    grid-template-rows: repeat(4, auto);
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: column;
}

.info-section {
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border: 2px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-content: space-between;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    color: #0f172a;
}

.section-icon {
    width: 2rem;
    height: 2rem;
}

.info-grid {
    display: grid;
    column-gap: 1rem;
}

.info-row {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
    border-bottom: 1px dashed #d1d5db;
}

.info-row:last-child {
    border: none;
    padding-bottom: 0;
}

.info-label {
    color: #78716c;
}

.info-value {
    text-wrap: balance;
    word-wrap: normal;
    font-weight: 600;
    word-break: break-word;
}

.ip-insights-section {
    background-color: white;
    padding: 2rem 0;
}

.info-row:last-child,
.no-border {
    border: none;
    padding-bottom: 0;
}

/* } insights section */


/* blog section { */

.main-blog-slider {
    margin-top: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    border: 1px solid #0002;
    overflow: clip;
    position: relative;
    transition: .2s;
}

.blog-card:hover {
    transform: scale(0.98);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.blog-card-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    aspect-ratio: unset;
    flex-shrink: 0;
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    padding-top: 0.75rem;
    height: 100%;
}

.blog-card-title {
    color: inherit;
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
}

.blog-card-excerpt {
    color: var(--text-color-light);
    height: 100%;
    margin-bottom: 0.5rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.blog-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
    color: var(--text-color-light);
}

.blog-card-meta-item svg {
    --size: 1.25rem;
    width: var(--size);
    height: var(--size);
}

.new-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.5rem .8rem;
    border-radius: 0.5rem;
    background: var(--accent-color);
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
    font-size: 0.8rem;
    box-shadow: 0 0 20px 0 #000a;
}

.blog-card-categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    top: 180px;
    z-index: 10;
}

.blog-card-category {
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    color: #aa0015;
    background: #fff2f4;
    z-index: 10;
}


/* } blog section */

/* faq section { */

.faq-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-accordion-item {
    border: 1px solid #0002;
    border-radius: 1rem;
    background: var(--bg-light-color);
    overflow: clip;
    transition: .2s;
}

.faq-accordion-item.active {
    background: #fff7f8;
    border-color: var(--accent-color);
}

.faq-accordion-title {
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    padding-left: 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-accordion-trigger:focus {
    background-color: var(--bg-light-color);
    outline: none;
}

.faq-accordion-trigger:hover {
    background-color: var(--bg-light-color);
}

.faq-question-text {
    display: flex;
    align-items: center;
}

.faq-question-text {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.faq-accordion-item svg {
    --size: 1.5rem;
    width: var(--size);
    height: var(--size);
    flex-shrink: 0;
    transform: rotate(0deg);
    transition: transform 0.2s ease;
}

.faq-accordion-item.active svg {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.faq-accordion-content {
    display: block;
    height: 0px;
    max-height: 0px;
    padding: 0 1.5rem;
    position: relative;
    overflow: clip;
    transition: .3s;
}

.active .faq-accordion-content {
    height: auto;
    padding: 1.5rem;
    padding-top: 0rem;
    max-height: 1000px;
}

.faq-answer-text {
    color: #333;
    white-space: pre-wrap;
    line-height: 1.6;
    margin: 0 !important;
}

@media (max-width: 768px) {

    .faq-accordion-title {
        padding: 1rem 1.25rem;
    }

    .faq-accordion-content {
        padding: 0 1.25rem;
    }

    .active .faq-accordion-content {
        padding-top: 0 !important;
        padding: 1rem 1.25rem;
    }

    .faq-question-text {
        font-size: 1.1rem;
    }

    .faq-answer-text {
        font-size: 0.9rem;
    }
}

/* } faq section */

/* blog page section { */


/* featured post section */
.featured-post {
    position: relative;
    overflow: hidden;
}

.featured-post-cover {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}


.featured-post-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #010325aa;
    z-index: 2;
}


.featured-post-container a {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    width: var(--sitewidth);
    height: 100%;
    margin: auto;
    padding: 4rem 0;
}

.featured-flag {
    padding: 0.75rem 1rem;
    line-height: 1;
    background: var(--accent-color);
    color: #fff;
    width: fit-content;
    border-radius: 0.5rem;
}


.featured-post-title {
    color: #fff;
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
    text-wrap: balance;
}

.featured-post-excerpt {
    width: 70%;
    color: #fff;
    font-size: 1.5rem;
    text-wrap: balance;
}

.featured-meta {
    display: flex;
    gap: 1.5rem;
    color: #cac8d2;
}

.featured-meta>* {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-meta svg {
    --size: 32px;
    width: var(--size);
    height: var(--size);
}

@media (max-width: 768px) {

    .featured-post-container a {
        position: relative;
        padding: 2rem 1rem;
        width: 100%;
    }

    .featured-post-title {
        font-size: 2rem;
    }

    .featured-post-excerpt {
        width: 100%;
        font-size: 1rem;
    }


    .featured-meta svg {
        --size: 24px;
    }
}

/* categories */
.blog-categories {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}


.category-btn {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 1px solid #d4d4d4;
    border-radius: .75rem;
    background-color: #fff;
    color: #1e293b;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s;
}

.category-btn:not(.active):hover {
    border-color: #dc2626;
    transform: scale(0.96);
}

.category-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px #f87171
}

.category-btn .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1rem;
    height: 1rem;
    border-radius: .5rem;
    background-color: rgba(220, 38, 38, .2);
    margin-right: .625rem
}

.category-btn .dot {
    width: .625rem;
    height: .625rem;
    background-color: #dc2626;
    border-radius: 50%
}

.category-btn.active {
    background-color: #dc2626;
    color: #fff;
    border-color: #dc2626
}

.category-btn.active .icon {
    background-color: #fff
}

.category-btn.active .dot {
    background-color: #dc2626
}

.category-btn .category-btn-text {
    font-weight: 600;
    line-height: 1;
}


/*  */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .blog-categories {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid #0002;
        justify-content: flex-start;
    }

    .category-btn {
        flex-shrink: 0;
        text-wrap: nowrap;
        white-space: nowrap;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        border-radius: 0.5rem;
        border-color: #0002;
        background: #fff;
    }
}

/* } blog page section */


/* blog single section { */


.blog-page-content a {
    color: #d91e2b;
}

.post-header {
    position: relative;
    height: 60dvh;
    overflow: clip;

    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: flex-end;
    padding: 2rem 0;
}

.post-header:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0, #002 0%, #002c 25%, #0020 80%);
    /* 	background: radial-gradient(ellipse at 30% bottom, #002 0%, #002d 20%, #0020 80%); */
    z-index: 1;
}

.post-header .post-info {
    display: flex;
    flex-direction: column;
    width: var(--sitewidth);
    margin: 0 auto;
    gap: 1.5rem;
}

.post-header * {
    position: relative;
    z-index: 10;
}

.post-header .post-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.post-header .post-title {
    color: var(--bg-text-color);
    margin: 0;
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
    text-wrap: balance;
}

.post-header .post-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.post-header .post-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.post-header .post-meta .category-btn {
    background: #fff2;
    color: #fff;
    border: 1px solid #fff3;
}

.post-meta-additional {
    display: flex;
    gap: 1rem;
}

.post-header .meta-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    color: #cac8d2;
}

.post-header .meta-item svg {
    --size: 24px;
    width: var(--size);
    height: var(--size);
}


h1.post-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    text-wrap: balance;
}


.post-author-avatar {
    --size: 48px;
    width: var(--size);
    height: var(--size);
    border-radius: 100rem;
    outline: 1px solid var(--accent-color);
    border: 2px solid transparent;
}

.author-block {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    width: fit-content;
    flex-grow: 0;
    margin-bottom: 1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.author-info * {
    line-height: 1 !important;
    margin: 0 !important;
}

.author-name {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    gap: 0.5rem;
    color: var(--accent-color);
}

.author-tagline {
    color: #000a;
}

.author-name a {
    color: #000;
    transition: .2s;
}

.author-name svg {
    --size: 18px;
    width: var(--size);
    height: var(--size);
}

.author-name a:hover {
    color: #0077b5;
    transform: scale(1.2);
}

.author-tagline {
    font-size: .9rem;
}

/* Big author card styles */
.author-block.big {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light-color);
    border-radius: 0.75rem;
    border: 1px solid #e4e4e7;
    max-width: var(--sitewidth);
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    align-items: flex-start;
}

.author-block.big .author-header {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
}

.author-block.big .post-author-avatar {
    --size: 64px;
}

.author-block.big .author-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.author-block.big .author-description {
    margin-top: 0.5rem;
    color: #374151;
    line-height: 1.6;
}


.blog-page-layout {
    display: grid;
    grid-template-columns: 850px auto;
    gap: 1.5rem;
    margin: 2rem auto;
    text-wrap: pretty;
}

h1.entry-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 2.5rem;
    margin-bottom: 2rem;
}

.blog-page-content h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 2rem;
    margin: 2rem 0 1rem;
}

.blog-page-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.75rem;
    margin: 2rem 0 1rem;
}


.blog-page-content li,
.blog-page-content ol,
.blog-page-content p,
.blog-page-content ul {
    padding: revert;
    margin: revert;
    list-style: inherit;
}

.blog-page-content p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    margin-bottom: 1rem;
}

.blog-page-content figure:has(img) {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100% !important;
    text-align: center;
    margin: 2rem 0;
    gap: 1rem;
}

.blog-page-content figcaption {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-color-light);
    text-align: center;
    text-wrap: balance;
}


.blog-page-content figure img {
    border-radius: 1rem;
    border: 1px solid #0001;
}

.blog-page-content>*:first-child {
    margin-top: 0;
}

.blog-page-content>*:last-child {
    margin-bottom: 0;
}


.blog-page-sidebar {
    position: sticky;
    top: 1rem;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-bar .blog-page-sidebar {
    top: 3rem;
}


blockquote {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    border-left-width: 5px;
    border-left-style: solid;
    border-left-color: #4b90e3;
    background: #4b90e322;
    text-wrap: balance;
    color: #000;
    margin: 1rem 0;
}

blockquote.is-style-red {
    border-color: #dc2626;
    background: #dc262622;
}

blockquote p {
    margin: 0 !important;
}

/* Conclusion Block Styles */
.wp-block-myip-conclusion {
    padding: 1.5rem 1.25rem;
    border-radius: 0.75rem;
    background: #f7f7f7;
    color: #000;
    margin: 1.5rem 0;
    position: relative;
}


.wp-block-myip-conclusion>*:first-child {
    margin-top: 0 !important;
}

.wp-block-myip-conclusion>*:last-child {
    margin-bottom: 0 !important;
}


/* Responsive Tables with Horizontal Scroll */
.wp-block-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.wp-block-table table {
    min-width: 100%;
    border-collapse: collapse;
    width: 100%;
}

.wp-block-table table.has-fixed-layout {
    table-layout: auto;
    width: max-content;
    min-width: 100%;
}

.wp-block-table thead th,
.wp-block-table thead td,
.wp-block-table tbody th,
.wp-block-table tbody td {
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
    min-width: 120px;
}

.wp-block-table thead th,
.wp-block-table thead td {
    background-color: var(--bg-light-color);
    font-weight: 600;
    color: #151a20;
}

.wp-block-table tbody td {
    background-color: #fff;
    color: #323741;
}

.wp-block-table tbody tr:nth-child(even) td {
    background-color: var(--bg-light-color);
}

.wp-block-table tbody tr:hover td {
    background-color: #f3f4f6;
}

/* Mobile specific styles */
@media (max-width: 768px) {

    .blog-page-content h2 {
        font-size: 1.5rem;
        line-height: 1.75rem;
    }

    .blog-page-content h3 {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }

    .blog-page-content ul,
    .blog-page-content ol {
        padding-left: 1.5rem;
    }


    .blog-page-content ul ul,
    .blog-page-content ol ol,
    .blog-page-content ul ol,
    .blog-page-content ol ul {
        padding-left: 1rem;
    }

    .wp-block-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    }

    .wp-block-table::-webkit-scrollbar {
        height: 6px;
    }

    .wp-block-table::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 3px;
    }

    .wp-block-table::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 3px;
    }

    .wp-block-table::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    .wp-block-table table.has-fixed-layout {
        width: max-content;
        min-width: 600px;
    }

    .wp-block-table thead th,
    .wp-block-table thead td,
    .wp-block-table tbody th,
    .wp-block-table tbody td {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        line-height: 1.25rem;
        min-width: 100px;
        white-space: nowrap;
    }


    .post-header {
        padding: 1rem 0;
        height: 400px;
    }

    .post-header .post-info {
        gap: 0.5rem;
    }

    .post-header .post-title {
        font-size: 1.75rem;
    }

    .post-header .post-meta {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .post-header .post-meta .category-btn {
        padding: .5rem .75rem;
        border-radius: 0.5rem;
        font-size: 0.8rem;
    }


    .blog-page-layout {
        display: flex;
        flex-direction: column-reverse;
        margin: 1rem auto;
        width: var(--sitewidth);
        gap: 2rem
    }

    .blog-page-sidebar {
        position: static;
    }

    .post-header .meta-item {
        font-size: 0.9rem;
    }

    .post-header .meta-item svg {
        --size: 18px;
    }

    .post-meta-additional {
        display: flex;
        gap: 1rem;
    }





}

/* Extra small screens */
@media (max-width: 480px) {
    .wp-block-table table.has-fixed-layout {
        min-width: 500px;
    }

    .wp-block-table thead th,
    .wp-block-table thead td,
    .wp-block-table tbody th,
    .wp-block-table tbody td {
        padding: 0.375rem 0.5rem;
        font-size: 0.8125rem;
        min-width: 80px;
    }
}

/* } blog section */

/* error 404 section { */

.error-404-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: #fff;
    margin: auto;
    min-height: 90dvh;
    text-align: center;
}

.error-404-content * {
    text-align: center;
}

.error-404-content h1 {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
}

.error-404-content h2 {
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
}

/* } error 404 section */


@media (max-width: 768px) {
    .no-border {
        padding: 1rem 0;
        border-bottom: 1px dashed #d1d5db;
    }

    .connection-details-section {
        display: flex;
        flex-direction: column;
        padding: 0rem;
        background: none;
        gap: 0.5rem;
    }

    dl.connection-item {
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
        padding: 1rem;
    }

    .connection-label {
        gap: 0.75rem;
    }

    .connection-label img {
        --size: 24px;
    }

    .insights-grid {
        display: flex;
        flex-direction: column;
    }

    .info-grid {
        display: flex;
        flex-direction: column;
    }


    dl.connection-item {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }


    .error-404-content h2 {
        font-size: 2rem;
        font-weight: 500;
        line-height: 1;
    }


    .error-404-content p {
        font-size: 0.75rem;
        font-weight: 400;
    }

    .info-section {
        padding: 1.5rem;
    }

    .section-header {
        gap: 0.5rem;
    }

    .section-title {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }

    .info-row {
        padding: 0.75rem 0;
    }

}

/* Joli TOC Custom Styles - Matching Original Design */
.wpj-jtoc--toc {
    background: white !important;
    border-radius: 0.5rem !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.wpj-jtoc.--jtoc-toggle-icon .wpj-jtoc--toggle-wrap {
    width: auto !important;
}

/* Header styles */
.wpj-jtoc--header {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: transparent !important;
}

.wpj-jtoc--header-main {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.wpj-jtoc--title {
    margin: 0 !important;
    padding: 0 !important;
}

.wpj-jtoc--title-label {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin: 0 !important;
}

.wpj-jtoc--toggle-wrap,
.wpj-jtoc--toggle-box,
.wpj-jtoc--toggle {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    color: #6b7280 !important;
}

/* Body and navigation styles */
.wpj-jtoc--body {
    background: transparent !important;
    padding: 0 !important;
}

.wpj-jtoc--nav {
    margin: 0 !important;
    padding: 0 !important;
}

.wpj-jtoc--items {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.wpj-jtoc--item {
    border-bottom: 1px solid #e5e7eb !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    position: relative !important;
}

.wpj-jtoc--item:last-child {
    border-bottom: none !important;
}

.wpj-jtoc--item-content {
    padding: 0 !important;
    margin: 0 !important;
}

.wpj-jtoc--item-content a {
    display: flex !important;
    align-items: flex-start !important;
    padding: 0.75rem 1rem !important;
    color: #374151 !important;
    font-size: 0.875rem !important;
    text-decoration: none !important;
    line-height: 1.25rem !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
    width: 100% !important;
}

.wpj-jtoc--item .wpj-jtoc--item-content {
    border-radius: 0px;
}

.wpj-jtoc--item-content a::before {
    content: none !important;
}

.wpj-jtoc--item-content a:hover,
.wpj-jtoc--item .wpj-jtoc--item-content:hover,
.--jtoc-is-active>.wpj-jtoc--item-content {
    color: #d42122 !important;
    background-color: #fff2f2 !important;
}

.--jtoc-is-active>.wpj-jtoc--item-content>a {
    color: #d42122 !important;
}

.wpj-jtoc--item-content a:focus {
    outline: none !important;
    color: #d42122 !important;
}

/* Hide numeration since we use dots */
.wpj-jtoc--item-content a[data-numeration]::after {
    display: none !important;
}

/* Nested items (h3, h4, etc.) */
.wpj-jtoc--item.--jtoc-h3 .wpj-jtoc--item-content a {
    padding: 0.5rem 1rem 0.5rem 2rem !important;
    font-size: 0.8125rem !important;
    color: #6b7280 !important;
}

.wpj-jtoc--item.--jtoc-h3 .wpj-jtoc--item-content a::before {
    background-color: #9ca3af !important;
    width: 6px !important;
    height: 6px !important;
}

.wpj-jtoc--item.--jtoc-h3 .wpj-jtoc--item-content a:hover {
    color: #d42122 !important;
}

.wpj-jtoc--item.--jtoc-h4 .wpj-jtoc--item-content a {
    padding: 0.5rem 1rem 0.5rem 2.5rem !important;
    font-size: 0.75rem !important;
    color: #9ca3af !important;
}

.wpj-jtoc--item.--jtoc-h4 .wpj-jtoc--item-content a::before {
    background-color: #d1d5db !important;
    width: 5px !important;
    height: 5px !important;
}

.wpj-jtoc--item.--jtoc-h4 .wpj-jtoc--item-content a:hover {
    color: #d42122 !important;
}

/* Remove default Joli TOC styles that might interfere */
.wpj-jtoc--toc * {
    box-sizing: border-box !important;
}

.wpj-jtoc.--jtoc-theme-original .wpj-jtoc--header+.wpj-jtoc--body {
    margin-top: 0 !important;
}

/* Mobile responsive */
@media (max-width: 768px) {

    .wpj-jtoc--header {
        padding: 0.5rem 0.75rem !important;
    }

    .wpj-jtoc--title-label {
        font-size: 1rem !important;
    }

    .wpj-jtoc--item-content a {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8125rem !important;
    }

    .wpj-jtoc--item.--jtoc-h3 .wpj-jtoc--item-content a {
        padding: 0.4rem 0.75rem 0.4rem 1.5rem !important;
    }

    .wpj-jtoc--item.--jtoc-h4 .wpj-jtoc--item-content a {
        padding: 0.4rem 0.75rem 0.4rem 2rem !important;
    }
}

div:not(.wpj-jtoc--widget-floating)>.wpj-jtoc--toc {
    width: 100% !important;
}

.wpj-jtoc {
    margin: 0;
}



/* Share Widget Styles */
.share-widget {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.share-widget h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    color: var(--text-main);
}

.share-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    padding: 12px 12px;
    background: #fff;
    border: 1px solid #e1e5e8;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    transition: all .2s ease;
    cursor: pointer;
}

.share-btn:hover {
    background: #f8f9fa;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-1px);
}

.share-btn.icon-only {
    padding: 6px 9px;
    aspect-ratio: 1 / 1;
}

.share-btn svg {
    --size: 16px;
    width: var(--size);
    height: var(--size);
    flex-shrink: 0;
}

.share-btn.icon-only svg {
    --size: 22px;
    width: var(--size);
    height: var(--size);
    flex-shrink: 0;
}

.share-btn.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

.share-btn.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.share-btn.twitter:hover {
    background: #000;
    border-color: #000;
    color: white;
}

.share-btn.copy-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

@media (max-width: 768px) {
    .share-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
}


@media (max-width: 768px) {
    .margin {
        margin: 2rem auto !important;
    }

    html #wpadminbar {
        display: none !important;
    }
}