/*
Theme Name:   Nebula Orbit
Description:  Nebula WordPress Starter Theme
Theme URI:    https://nebula.design
Author:       Nebula
Author URI:   https://nebula.design
Update URI:   false
Version:      1.0.0
License:      GPL-2.0+
License URI:  http://www.gnu.org/licenses/gpl-2.0.html

Table of Contents:
1. Global Variables & Typography Overrides
2. Site Header
3. Site Footer
4. Gutenberg Blocks Overrides (Buttons, Forms, etc.)
5. Cards
6. Blog Archive
7. Blog Single
8. Responsive Styles
*/

/* ==========================================================================
   1. GLOBAL VARIABLES & TYPOGRAPHY OVERRIDES
   ========================================================================== */

/* Add theme specific font families or color overrides here */
.wp-block-group.is-style-minus-margin-left {
    position: relative;
    margin-left: calc(var(--wp--preset--spacing--x-large) * -1) !important;
    z-index: 25;
}

.wp-block-group.is-style-minus-margin-right {
    position: relative;
    margin-right: calc(var(--wp--preset--spacing--x-large) * -1) !important;
    z-index: 25;
}

.wp-block-group.is-style-minus-margin-top {
    position: relative;
    margin-top: calc(var(--wp--preset--spacing--x-large) * -1) !important;
    z-index: 25;
}

.wp-block-group.is-style-minus-margin-bottom {
    position: relative;
    margin-bottom: calc(var(--wp--preset--spacing--x-large) * -1) !important;
    z-index: 25;
}

/* ==========================================================================
   2. SITE HEADER
   ========================================================================== */

/* Add theme specific header colors, padding, and logo sizing here */


/* ==========================================================================
   3. SITE FOOTER
   ========================================================================== */

.site-footer {
    background-color: var(--wp--preset--color--primary);
    color: #fff;
    padding: var(--wp--preset--spacing--large) var(--wp--preset--spacing--medium);
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo-wrap {
    margin-bottom: var(--wp--preset--spacing--medium);
}

.footer-logo-wrap img {
    max-width: 250px;
    height: auto;
}

.footer-content-text {
    font-size: 18px;
    margin-bottom: var(--wp--preset--spacing--medium);
    max-width: 600px;
}

.footer-social {
    margin-bottom: var(--wp--preset--spacing--medium);
}

.footer-social .social_media {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social .social_media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--wp--preset--color--primary-50);
    border-radius: 50%;
    color: var(--wp--preset--color--primary);
    transition: background-color 0.3s;
}

.footer-social .social_media a:hover {
    background-color: #008f5d;
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--wp--preset--spacing--medium);
    margin-bottom: var(--wp--preset--spacing--medium);
}

.partner-logo-item img {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.partner-logo-item {
    display: flex;
    align-items: center;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-menu-list a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.footer-menu-list a:hover {
    text-decoration: underline;
}

#copyright {
    background-color: var(--wp--preset--color--primary-50);
    color: var(--wp--preset--color--primary);
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

.copyright-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.copyright-text p {
    margin: 0;
}


/* ==========================================================================
   4. GUTENBERG BLOCKS OVERRIDES
   ========================================================================== */

/* Custom button styles, blockquote specific designs, image captions, etc */
figure {
    position: relative;
}

.wp-block-image figcaption {
    margin: 0;
    position: absolute;
    bottom: -10px;
    right: 10px;
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary-50);
    padding: 10px;
    font-size: 16px;
}

/* ==========================================================================
   5. CARDS (see section 6 for card styles)
   ========================================================================== */

/* ==========================================================================
   6. BLOG ARCHIVE
   ========================================================================== */

/* --- Archive Header (Hero) --- */
.archive-header {
    position: relative;
    background-color: var(--wp--preset--color--primary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 0;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
}

.archive-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 36, 125, 0.88) 0%,
        rgba(0, 36, 125, 0.7) 50%,
        rgba(0, 36, 125, 0.35) 100%
    );
    z-index: 1;
}

.archive-header:not(.has-background-image)::before {
    background: none;
}

.archive-header .wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: var(--wp--preset--spacing--x-large);
    padding-bottom: var(--wp--preset--spacing--x-large);
}

.archive-header-content {
    max-width: 1000px;
}
.archive-header .archive-description span {
    color: white;
}
/* Tagline */
p.archive-tagline {
    display: inline-block;
    position: relative;
    padding: 0 34px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--wp--preset--spacing--tiny);
}

p.archive-tagline::after,
p.archive-tagline::before {
    content: '';
    background-image: url(https://chubby-bronze-horse.62-100-204-145.cpanel.site/wp-content/uploads/2026/03/VWD_PAW.png);
    position: absolute;
    height: 20px;
    width: 20px;
    filter: brightness(0) invert(1);
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

p.archive-tagline::before {
    left: 0;
}

p.archive-tagline::after {
    right: 0;
}

/* Archive title */
.archive-header .archive-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: var(--wp--custom--line-height--small);
    margin: 0 0 var(--wp--preset--spacing--small);
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Archive description */
.archive-header .archive-description {
    font-size: var(--wp--preset--font-size--medium);
    color: white;
    line-height: var(--wp--custom--line-height--medium);
    margin: 0;
    max-width: 1000px;
}

/* Search within archive header */
.archive-header .search-archive {
    margin-top: var(--wp--preset--spacing--small);
    max-width: 480px;
}

.archive-header .search-archive .wp-block-search {
    border-radius: var(--wp--custom--border--radius--large);
    overflow: hidden;
}

/* --- Filter Bar --- */
.archive-filter-bar {
    background: var(--wp--preset--color--primary);
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 6px 24px rgba(0, 36, 125, 0.35);
}

.archive-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px var(--wp--preset--spacing--medium);
    max-width: var(--wp--style--global--content-size);
    margin: auto;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Filter group */
.archive-filters .filter-group {
    flex: 0 0 auto;
}

/* Search grows to fill */
.archive-filters .filter-search {
    flex: 1 1 220px;
    min-width: 180px;
}

/* Search input with icon */
.archive-filters .search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.archive-filters .search-icon {
    position: absolute;
    left: 14px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    flex-shrink: 0;
    display: flex;
}

.archive-filters input[type="text"] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 11px 16px 11px 42px;
    font-size: 0.875rem;
    font-family: inherit;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--wp--custom--border--radius--large);
    outline: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.archive-filters input[type="text"]:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.archive-filters input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

/* Custom Select Component */
.custom-select {
    position: relative;
    display: inline-flex;
}

.custom-select__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 16px;
    min-width: 150px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    /* border-radius: var(--wp--custom--border--radius--large); */
    color: #fff;
    font-size: 0.875rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-select__trigger:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
}

.custom-select.is-open .custom-select__trigger,
.custom-select__trigger:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.custom-select__chevron {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    transition: transform 0.2s ease, color 0.2s ease;
}

.custom-select.is-open .custom-select__chevron {
    transform: rotate(180deg);
    color: #fff;
}

/* Dropdown panel */
.custom-select__options {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 100%;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 16px 48px rgba(0, 36, 125, 0.22), 0 2px 8px rgba(0, 0, 0, 0.08);
    list-style: none;
    padding: 6px;
    margin: 0;
    z-index: 200;
}

.custom-select.is-open .custom-select__options {
    display: block;
    animation: cs-drop 0.14s ease;
}

@keyframes cs-drop {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.custom-select__option {
    padding: 9px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--wp--preset--color--black);
    cursor: pointer;
    white-space: nowrap;
    outline: none;
    user-select: none;
    transition: background 0.12s ease, color 0.12s ease;
}

.custom-select__option:hover,
.custom-select__option:focus {
    background: var(--wp--preset--color--primary-50);
    color: var(--wp--preset--color--primary);
}

.custom-select__option.is-selected {
    background: var(--wp--preset--color--primary);
    color: #fff;
    font-weight: 600;
}

.custom-select__option.is-selected:hover,
.custom-select__option.is-selected:focus {
    background: var(--wp--preset--color--primary);
    color: #fff;
}

/* Filter actions */
.archive-filters .filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    margin-left: auto;
}

.archive-filters .filter-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 24px;
    background: var(--wp--preset--color--tertiary);
    color: var(--wp--preset--color--black);
    font-size: 0.875rem;
    font-family: inherit;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.archive-filters .filter-button:hover {
    background: #fff;
    color: var(--wp--preset--color--primary);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.archive-filters .filter-button:active {
    transform: scale(0.97);
}

/* Reset link */
.archive-filters .filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.archive-filters .filter-reset:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Results count */
.archive-filters .filter-results-count {
    flex: 0 0 100%;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.archive-filters .filter-results-count strong {
    color: var(--wp--preset--color--tertiary);
    font-weight: 700;
}

/* --- Archive Main --- */
body.blog-archive main.site-main {
    padding: var(--wp--preset--spacing--x-large) 0;
    background: var(--wp--preset--color--primary-10);
}

/* --- Card Block --- */
.card-block {
    height: 100%;
}

.card-block .card-link {
    display: flex;
    height: 100%;
    flex-direction: column;
    text-decoration: none;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-block .card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-thumbnail {
    position: relative;
    overflow: hidden;
}

.card-block .card-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-block .card-link:hover .card-thumbnail img {
    transform: scale(1.04);
}

/* Category badge on thumbnail */
.card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border-radius: 4px;
    font-size: var(--wp--preset--font-size--min);
    font-weight: 600;
    color: var(--wp--preset--color--primary);
}

/* Card content */
.card-block .card-meta {
    padding: var(--wp--preset--spacing--small);
    color: var(--wp--preset--color--black);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-block .card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--wp--preset--spacing--small);
    flex: 1;
}

.card-content-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-block .card-title {
    margin: 0;
    font-size: var(--wp--preset--font-size--medium);
    line-height: var(--wp--custom--line-height--small);
    transition: color 0.2s ease;
}

.card-block .card-link:hover .card-title {
    color: var(--wp--preset--color--primary);
}

.card-block .card-excerpt {
    margin: 0;
    font-size: var(--wp--preset--font-size--tiny);
    color: var(--wp--preset--color--charcoal);
    line-height: var(--wp--custom--line-height--normal);
}

/* Card footer Ã¢â‚¬â€ date + read more */
.card-block .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    gap: 12px;
}

.card-block .card-date-inline {
    font-size: var(--wp--preset--font-size--min);
    color: var(--wp--preset--color--charcoal);
}

.card-block .card-readmore-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--wp--preset--font-size--min);
    font-weight: 600;
    color: var(--wp--preset--color--primary);
    white-space: nowrap;
}

.card-block .card-readmore-icon svg {
    transition: transform 0.2s ease;
}

.card-block .card-link:hover .card-readmore-icon svg {
    transform: translateX(3px);
}

/* --- Pagination --- */
.archive-pagination {
    padding: var(--wp--preset--spacing--large) 0 0;
}

.archive-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.archive-pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--wp--preset--color--black);
    background: #fff;
    border: 1px solid var(--wp--preset--color--grey);
    transition: all 0.2s ease;
}

.archive-pagination li a:hover {
    background: var(--wp--preset--color--primary-50);
    border-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
}

.archive-pagination li.active a {
    background: var(--wp--preset--color--primary);
    border-color: var(--wp--preset--color--primary);
    color: #fff;
}

.archive-pagination .pagination-omission {
    color: var(--wp--preset--color--charcoal);
    padding: 0 4px;
}

.archive-pagination .pagination-previous a,
.archive-pagination .pagination-next a {
    border: none;
    background: none;
    color: var(--wp--preset--color--primary);
}

.archive-pagination .pagination-previous a:hover,
.archive-pagination .pagination-next a:hover {
    background: var(--wp--preset--color--primary-50);
}


/* ==========================================================================
   7. BLOG SINGLE
   ========================================================================== */

/* Single post banner — 50/50 layout */
body.blog-single .entry-header {
    background-color: var(--wp--preset--color--primary);
    color: #fff;
    overflow: hidden;
}

body.blog-single .entry-header .wrap {
    max-width: var(--wp--style--global--content-size);
    margin: 0 auto;
    width: 100%;
    padding: 0;
}

/* Two-column inner wrapper */
body.blog-single .entry-header-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

/* Left column — text content */
body.blog-single .entry-header-content {
    padding: var(--wp--preset--spacing--x-large) var(--wp--preset--spacing--medium);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Right column — image */
body.blog-single .entry-header-image {
    position: relative;
    padding: var(--wp--preset--spacing--medium);
    display: flex;
    align-items: center;
}

body.blog-single .entry-header-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation row */
body.blog-single .entry-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--small);
    margin-bottom: var(--wp--preset--spacing--medium);
}

body.blog-single .entry-nav .back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

body.blog-single .entry-nav .back:hover {
    color: #fff;
}

body.blog-single .entry-nav .back svg {
    flex-shrink: 0;
}

/* Category badge */
body.blog-single .category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
}

body.blog-single .category-badge a {
    color: inherit;
    text-decoration: none;
}

body.blog-single .category-badge a:hover {
    text-decoration: underline;
}

body.blog-single .category-badge svg {
    flex-shrink: 0;
}

/* Title */
body.blog-single .entry-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: var(--wp--custom--line-height--small);
    margin: 0 0 var(--wp--preset--spacing--small);
    max-width: 750px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Excerpt */
body.blog-single .entry-excerpt {
    font-size: var(--wp--preset--font-size--medium);
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 0 var(--wp--preset--spacing--small);
    line-height: var(--wp--custom--line-height--medium);
}

/* Meta row */
body.blog-single .entry-header-content > .entry-meta-author,
body.blog-single .entry-header-content > .entry-meta-dates,
body.blog-single .entry-header-content > .entry-meta-reading-time {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    vertical-align: middle;
}

body.blog-single .entry-meta-author {
    gap: 8px;
    margin-right: 16px;
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
}

body.blog-single .entry-meta-author .author-icon {
    display: inline-flex;
    align-items: center;
    opacity: 0.7;
}

body.blog-single .entry-meta-author .author-name {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

body.blog-single .entry-meta-author .author-name:hover {
    color: #fff;
    text-decoration: underline;
}

/* Dates */
body.blog-single .entry-meta-dates {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: 16px;
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

body.blog-single .entry-meta-dates .meta-item {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-direction: row;
}

body.blog-single .entry-meta-dates .meta-label {
    font-weight: 600;
    opacity: 0.65;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

body.blog-single .entry-meta-dates .meta-value {
    color: rgba(255, 255, 255, 0.9);
}
article.type-post .wrap {
    max-width: 1200px;
}
/* Reading time */
body.blog-single .entry-meta-reading-time {
    gap: 6px;
}

body.blog-single .entry-meta-reading-time svg {
    opacity: 0.6;
    flex-shrink: 0;
}

body.blog-single .entry-meta-reading-time .meta-value {
    color: rgba(255, 255, 255, 0.9);
}

/* Content area */
body.blog-single .entry-content {
    padding: var(--wp--preset--spacing--large) 0;
}

/* Author dialog */
body.blog-single #author {
    border: none;
    border-radius: var(--wp--custom--border--radius--medium);
    padding: 0;
    max-width: 520px;
    width: 90vw;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: visible;
}

body.blog-single #author::backdrop {
    background: rgba(0, 36, 125, 0.5);
}

body.blog-single #author .model-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--wp--preset--spacing--small);
    padding: var(--wp--preset--spacing--medium);
    align-items: start;
    position: relative;
}

body.blog-single #author .profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

body.blog-single #author h4 {
    margin: 0 0 8px;
    font-size: var(--wp--preset--font-size--large);
}

body.blog-single #author .dismiss-button {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--wp--preset--color--charcoal);
    padding: 4px;
    line-height: 0;
    transition: color 0.2s ease;
}

body.blog-single #author .dismiss-button:hover {
    color: var(--wp--preset--color--black);
}


/* ==========================================================================
   8. RESPONSIVE STYLES
   ========================================================================== */

/* Tablet */
@media (max-width: 781px) {
    .wp-block-group.is-style-minus-margin-left {
        margin: calc(var(--wp--preset--spacing--x-large) * -1) var(--wp--preset--spacing--x-large) var(--wp--preset--spacing--x-large) var(--wp--preset--spacing--x-large) !important;
    }

    .wp-block-group.is-style-minus-margin-right {
        margin: var(--wp--preset--spacing--x-large) var(--wp--preset--spacing--x-large) calc(var(--wp--preset--spacing--x-large) * -1) var(--wp--preset--spacing--x-large) !important;
    }

    /* Archive */
    .archive-header {
        min-height: 280px;
    }

    .archive-header .wrap {
        padding-top: var(--wp--preset--spacing--large);
        padding-bottom: var(--wp--preset--spacing--large);
    }

    .archive-filters {
        flex-direction: column;
    }

    .archive-filters .filter-group,
    .archive-filters .filter-submit {
        width: 100%;
    }

    body.blog-archive .posts.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Blog Single */
    body.blog-single .entry-header-inner {
        min-height: 380px;
    }

    body.blog-single .entry-header-content {
        padding-top: var(--wp--preset--spacing--large);
        padding-bottom: var(--wp--preset--spacing--large);
    }

    body.blog-single .entry-nav {
        gap: var(--wp--preset--spacing--tiny);
    }

    body.blog-single .entry-content {
        padding-top: var(--wp--preset--spacing--medium);
    }

    body.blog-single #author .model-wrapper {
        grid-template-columns: 1fr;
        padding-top: calc(var(--wp--preset--spacing--medium) + 24px);
    }

    body.blog-single #author .profile-image {
        width: 88px;
        height: 88px;
    }

    body.blog-single .entry-meta-author {
        border-right: none;
        margin-right: 0;
        padding-right: 0;
    }

    body.blog-single .entry-meta-dates {
        border-right: none;
        margin-right: 0;
        padding-right: 0;
    }

    body.blog-single .entry-header-content > .entry-meta-author,
    body.blog-single .entry-header-content > .entry-meta-dates,
    body.blog-single .entry-header-content > .entry-meta-reading-time {
        display: flex;
        margin-bottom: 6px;
    }
}

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

    /* Archive */
    .archive-header {
        min-height: 240px;
    }

    body.blog-archive .posts.columns-3 {
        grid-template-columns: 1fr;
    }

    body.blog-archive main.site-main {
        padding-left: var(--wp--preset--spacing--small);
        padding-right: var(--wp--preset--spacing--small);
    }

    /* Blog Single */
    body.blog-single .entry-header-inner {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    body.blog-single .entry-header-image {
        order: -1;
        padding-bottom: 0;
    }

    body.blog-single .entry-header-content {
        padding: var(--wp--preset--spacing--medium) var(--wp--preset--spacing--small);
    }

    body.blog-single .entry-content .wrap {
        padding-left: var(--wp--preset--spacing--small);
        padding-right: var(--wp--preset--spacing--small);
    }

    body.blog-single .entry-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    body.blog-single .entry-nav .back {
        width: 100%;
        justify-content: center;
    }

    body.blog-single .category-badge {
        max-width: 100%;
    }

    body.blog-single .entry-meta-dates {
        flex-direction: column;
        gap: 6px;
    }

    body.blog-single .entry-excerpt {
        font-size: var(--wp--preset--font-size--normal);
    }
}