/*
Theme Name: OTTBoy
Author: OTTBoy
Description: A simple theme for OTTBoy
Version: 1.0
Text Domain: ottboy
*/

:root {
    --bg: #0d1321;
    --bg2: #1a2332;
    --text: #ebebeb;
    --text2: #bbb;
    --hover: #ff0005;
    --btn: #2215dd;
    --link: #88bcff;
    --link-hover: #ff0005;
    --border: #2e3847;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    scrollbar-width: none;
}

::-webkit-scrollbar-thumb {
    scrollbar-width: none;
}

::-webkit-scrollbar-corner {
    scrollbar-width: none;
}

body {
    background-color: var(--bg2);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    opacity: 1;
    transition: opacity 0.3s ease;
    max-width: 1000px;
    margin: auto;
}

video {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-height: 100%;
    border-radius: 10px;
    outline: 0;
}

p {
    margin-bottom: 10px;
}

hr {
    border: 1px solid var(--bg2);
    margin: 20px -10px;
}

a {
    color: var(--link);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--link-hover);
}


/* Sidebar toggle states */

.right-sidebar-hidden .aside-right {
    display: none;
}


/* Toggle icon transitions */

.toggle-icon {
    transition: transform 0.3s ease;
}


/* Search focus effects */

.search-focused {
    box-shadow: 0 0 0 1px rgba(112, 103, 235, 0.45);
    border-radius: 4px;
}


/* Mobile layout - removed conflicting display:none rule */

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    min-width: 0;
}

main.main-content {
    flex: 1;
    min-width: 0;
}

header.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: var(--bg);
    border-bottom: 2px solid var(--bg2);
    gap: 10px;
}

.header-center {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
}

a.logo {
    text-decoration: none;
    color: var(---text);
}

a.logo h1 {
    font-size: 24px;
    font-weight: 300;
	padding-right: 5px;
}

a.logo span {
    font-size: 24px;
    font-weight: 300;
    display: block;
}

.header-search {
    flex: 1;
}

input[type="search"] {
    background: var(--bg2);
    color: var(--text);
    border: none;
    padding: 12px;
    border-radius: 4px;
    width: 100%;
    outline: 0;
}

.aside-right {
    width: 300px;
    background: var(--bg);
    border-left: 2px solid var(--bg2);
    padding: 10px;
    overflow-y: auto;
}

footer.footer {
    border-top: 2px solid var(--bg2);
    padding: 10px 20px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-copy {
    margin: 0;
    color: var(--text2);
}

.footer-nav {
    margin-left: auto;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
}

.footer-menu a:hover {
    color: var(--hover);
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-nav {
        margin-left: 0;
        width: 100%;
    }
    .footer-menu {
        width: 100%;
        gap: 8px 12px;
    }
}

@media (min-width:1400px) {
    .aside-right {
        width: 350px;
    }
}


/* ===========================================
   MOBILE SIDEBAR STYLES
   =========================================== */


/* Mobile responsive sidebar behavior */

@media (max-width: 768px) {
    .mobile-layout .aside-right,
    .mobile-layout-loading .aside-right {
        display: block !important;
        /* Force display to override any display:none rules */
        position: fixed;
        top: 0;
        bottom: 0;
        width: 280px;
        z-index: 1000;
        background: var(--bg);
        border: 0;
        overflow-y: auto;
        transition: transform 0.3s ease;
        scrollbar-width: thin;
    }
    .mobile-layout .aside-right {
        right: 0;
        transform: translateX(100%);
    }
    .mobile-layout:not(.right-sidebar-hidden) .aside-right {
        transform: translateX(0);
    }
    /* Mobile backdrop overlay */
    .mobile-layout:not(.right-sidebar-hidden)::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        backdrop-filter: blur(2px);
        cursor: pointer;
        /* Visual cue that backdrop is clickable */
        transition: background-color 0.2s ease;
    }
    /* Subtle hover effect for backdrop */
    .mobile-layout:not(.right-sidebar-hidden):hover::before {
        background: rgba(0, 0, 0, 0.6);
    }
    /* Adjust container for mobile */
    .container {
        margin: 0;
        width: 100%;
        position: relative;
    }
    /* Ensure body flex doesn't interfere on mobile */
    body {
        flex-direction: column;
    }
}


/* Desktop sidebar visibility */

@media (min-width: 769px) {
    .right-sidebar-hidden .aside-right {
        display: none;
    }
}


/* Mobile sidebar visibility - use transform instead of display:none */

@media (max-width: 768px) {
    /* Override desktop display:none rules on mobile */
    .mobile-layout .aside-right {
        display: block !important;
    }
}


/* Toggle button styles */

.menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    color: var(--text);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.menu-toggle svg {
    width: 30px;
    height: 30px;
}

.menu-toggle:hover {
    background: var(--hover);
    transform: translateY(-1px);
}

.menu-toggle:active {
    transform: translateY(0);
}

.toggle-icon {
    transition: all 0.3s ease;
    color: currentColor;
    flex-shrink: 0;
    opacity: 1;
    position: relative;
    display: block;
}


/* Menu and Cross icon specific styles */

.menu-icon,
.cross-icon {
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle:hover .menu-icon {
    transform: scale(1.1);
}

.menu-toggle:hover .cross-icon {
    transform: scale(1.1) rotate(90deg);
}

.menu-toggle:active .toggle-icon {
    transform: scale(0.95);
}

.toggle-text {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}


/* Mobile toggle button adjustments */

@media (max-width: 768px) {
    header.header {
        padding: 8px;
    }
    .toggle-text {
        display: none;
        /* Hide text on mobile to save space */
    }
    .menu-toggle {
        /* Touch target size */
        justify-content: center;
        gap: 0;
    }
    .header-right {
        flex-shrink: 0;
    }
    .header-center {
        flex: 1;
        min-width: 0;
        /* Allow shrinking */
    }
    .menu-toggle svg {
        width: 40px;
        height: 40px;
    }
}


/* Sidebar content styles */

.sidebar-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.primary-navigation {
    margin-bottom: 20px;
}

.nav-title {
    color: var(--text);
    font-size: 18px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.primary-menu {
    list-style: none;
    padding: 0;
}

.primary-menu li {
    margin-bottom: 5px;
}

.primary-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    color: var(--text);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.primary-menu a:hover {
    background: var(--hover);
    color: white;
}

.menu-arrow {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.sub-menu {
    padding-left: 20px;
    margin-top: 5px;
}


/* Widget styles */

.widget-title {
    color: var(--text);
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    margin-bottom: 8px;
}

.widget a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    color: var(--text);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.widget a:hover {
    background: var(--hover);
    color: white;
}


/* Breadcrumb styles */

.breadcrumb-container {
    padding: 10px;
    border-bottom: 2px solid var(--bg2);
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 5px;
    overflow-x: scroll;
    white-space: nowrap;
    width: 100%;
    display: -webkit-inline-box;
}

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

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: var(--text2);
    font-weight: bold;
}

.breadcrumb a {
    color: var(--link);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text2);
}


/* ===========================================
   POST LOOP STYLES (content-loop.php)
   =========================================== */

.series-card {
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.series-card:hover {
    transform: translateY(-3px);
    border-color: var(--hover);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.series-thumb-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.series-thumb {
    position: relative;
    aspect-ratio: 4 / 6;
    background: #0f0f13;
    overflow: hidden;
}

.series-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.35s ease;
}

.series-card:hover .series-thumb-image {
    transform: scale(1.03);
}

.series-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text2);
    background: var(--bg2);
}

.series-badge {
    position: absolute;
    top: 10px;
    z-index: 2;
    background: rgb(0 0 0 / 31%);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(100px);
}

.series-badge-left {
    left: 10px;
}

.series-badge-right {
    right: 10px;
}

.series-card-content {
    padding: 6px 10px;
}

.series-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--text);
    display: block;
}

.series-year {
    color: var(--text2);
    font-weight: 400;
    margin-left: 4px;
}

.series-category-link,
.series-category-text {
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

.series-category-link:hover {
    text-decoration: underline;
}

.series-title-separator {
    margin: 0;
    color: var(--text2);
}

.series-title-link {
    color: var(--text);
    text-decoration: none;
}

.series-title-link:hover {
    color: var(--link-hover);
}


/* Archive Title */

.archive-header-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    gap: 10px;
    background: #1c2331;
    padding: 10px;
    margin: -12px -10px 10px -10px;
    box-shadow: inset 0 5px 20px 0px rgb(14 19 32);
}

.archive-header-content {
    min-width: 0;
}

.archive-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
    margin: 0;
}

.archive-total-posts {
    margin: 6px 0 0;
    color: var(--text2);
    font-size: 14px;
    font-weight: 500;
}

.archive-description {
    color: var(--text2);
    font-size: 14px;
    line-height: 1.5;
}

.archive-description p {
    margin: 0;
}

.archive-header-media {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.archive-header-image {
    border: 3px solid;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 100%;
    margin: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.archive-ottb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.archive-ottb-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    border: 1px solid var(--bg2);
    margin-bottom: 0;
    border-radius: 5px;
    height: 100%;
}

.archive-ottb-thumb-link {
    display: block;
}

.archive-ottb-thumb {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/6;
    object-fit: cover;
    display: block;
    border-radius: 3px;
}

.archive-ottb-info {
    display: flex;
    gap: 5px;
    padding: 10px;
    flex-direction: column;
}

.archive-ottb-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 500;
    color: var(--text);
}

.archive-ottb-title-link {
    color: var(--text);
    text-decoration: none;
}

.archive-ottb-title-link:hover {
    color: var(--link-hover);
}

.archive-ottb-year {
    color: var(--text2);
    margin-left: 4px;
    font-size: 16px;
}

.archive-ottb-meta,
.archive-ottb-casts {
    margin: 0;
    color: var(--text2);
    font-size: 14px;
    line-height: 1.35;
}

.archive-ottb-ott-link,
.archive-ottb-cast-link {
    color: var(--link);
    text-decoration: none;
}

.archive-ottb-ott-link:hover,
.archive-ottb-cast-link:hover {
    text-decoration: underline;
}

.archive-ottb-sep {
    margin: 0 6px;
    color: var(--text2);
}

@media (max-width: 768px) {
    .archive-ottb-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .archive-ottb-item {
        grid-template-columns: 100px 1fr;
    }
    .archive-ottb-title {
        font-size: 17px;
    }
    .archive-ottb-year {
        font-size: 14px;
    }
}


/* Grid Layout for Post Cards */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}


/* Mobile Responsive */

@media (max-width: 768px) {
    .series-card-title {
        font-size: 14px;
    }
}


/* ===========================================
   INDEX PAGE LAYOUT
   =========================================== */

.content-area {
    padding: 10px;
    min-width: 0;
}

.home-categories-block {
    margin-bottom: 14px;
    max-width: 100%;
    overflow: hidden;
}

.home-categories-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 10px;
}

.home-categories-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    gap: 10px;
    padding-bottom: 10px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: var(--bg2) var(--bg);
}

.home-category-item {
    margin: 0;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.home-category-card {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: var(--text);
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

a.home-category-card:hover,
a.profile-term-card:hover {
    border-color: var(--hover);
    color: var(--text);
    transform: translateY(-1px);
}

.home-category-thumb {
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.home-category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 100%;
    transition: transform 0.3s ease;
}

a.home-category-card:hover .home-category-image {
    transform: scale(1.06);
}

.home-category-name {
    display: block;
    padding: 5px;
    text-align: center;
    color: var(--text);
    font-size: 14px;
    line-height: 1.3;
}

.home-category-count {
    color: var(--text2);
}

.home-profiles-block {
    margin-top: 6px;
}

.home-profiles-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    padding-bottom: 10px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: var(--bg2) var(--bg);
}

.home-profiles-grid .profile-term-item {
    flex: 0 0 auto;
    min-width: 150px;
    scroll-snap-align: start;
}

.home-profiles-grid .profile-term-card {
    width: 150px;
}

li.home-view-all-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.home-view-all-card {
    justify-content: center;
    border-radius: 100% !important;
    height: 70px !important;
    width: 70px !important;
    border: 1px solid var(--bg2);
    padding: 10px;
}

.home-view-all-card:hover {
    border-color: var(--hover);
}

.home-view-all-text {
    text-align: center;
    color: var(--link);
    font-size: 14px;
    line-height: 1.35;
}

.home-profiles-grid .home-view-all-card {
    display: flex;
    align-items: center;
}


/* ===========================================
   TERM BROWSER PAGES
   =========================================== */

.term-browser-header {
    margin-bottom: 12px;
}

.term-browser-title {
    margin: 0;
    color: var(--text);
    font-size: 24px;
    line-height: 1.2;
}

.term-browser-subtitle {
    margin: 8px 0 0;
    color: var(--text2);
    font-size: 14px;
}

.term-browser-search-wrap {
    margin-bottom: 12px;
}

.term-browser-search-input {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--bg2);
    background: var(--bg);
    color: var(--text);
    border-radius: 8px;
    padding: 8px 12px;
    outline: none;
}

.term-browser-search-input:focus {
    border-color: var(--hover);
}

.term-browser-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    overflow: visible;
    gap: 12px;
    padding-bottom: 0;
}

.term-browser-category-grid .home-category-item {
    flex: initial;
}

.profile-terms-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}


/* Homepage profile strip must stay horizontal (override generic profile grid). */

.profile-terms-grid.home-profiles-grid {
    display: flex;
    grid-template-columns: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    gap: 10px;
    padding-bottom: 10px;
}

.profile-term-item {
    margin: 0;
}

.profile-term-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--bg2);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.profile-term-card:hover {
    border-color: var(--hover);
    color: var(--text);
}

.profile-term-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--bg2);
}

.profile-term-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-term-name {
    display: block;
    padding: 8px 8px 2px;
    text-align: center;
    font-size: 14px;
    line-height: 1.3;
    color: var(--text);
}

.profile-term-count {
    display: block;
    padding: 0 8px 8px;
    text-align: center;
    font-size: 12px;
    color: var(--text2);
}

.term-browser-empty {
    margin: 12px 0 0;
    color: var(--text2);
}


/* Pagination Container */

nav.pagination-nav {
    margin: 20px 0;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagenum {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: auto;
    color: var(--text2);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pagenum:hover {
    color: var(--text);
    background: var(--hover);
    border-color: var(--hover);
    transform: translateY(-2px);
}

.pagination-current {
    color: white;
    background: var(--hover);
    font-weight: 600;
}

@media (max-width: 480px) {
    .posts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }
    .pagination-prev,
    .pagination-next {
        display: none;
    }
}


/* ===========================================
   SINGLE POST STYLES
   =========================================== */

.series-single-hero {
    display: grid;
    grid-template-columns: minmax(180px, 260px) 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.series-single-poster {
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg2);
    aspect-ratio: 4 / 5;
}

.series-single-poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.series-single-poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text2);
}

.series-single-details {
    display: grid;
    align-content: start;
    gap: 12px;
}

.single-post-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text);
    margin: 0;
}

table,
tbody {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--bg2);
}

th,
td {
    padding: 10px 12px;
    font-size: 14px;
    vertical-align: top;
    border-collapse: collapse;
    border: 1px solid var(--bg2);
    text-align: left;
}

.series-details-table th {
    width: 140px;
    color: var(--text2);
    font-weight: 500;
}

.series-details-table td {
    color: var(--text);
}

.series-seo-description {
    margin: 6px 0 0;
    color: var(--text2);
    font-size: 14px;
    line-height: 1.6;
}

h2 {
    font-size: 18px;
    color: var(--text);
    margin: 0 0 10px;
}

.h2 {
    font-size: 18px;
    color: var(--text);
    margin: auto -10px;
    margin-bottom: 10px;
    padding: 10px;
    border-top: 2px solid var(--bg2);
    font-weight: 500;
}

.rating-system {
    text-align: center;
}

.single-post-content {
    color: var(--text2);
}

.series-rating-block {
    margin-top: 12px;
}

.series-rating-note {
    margin: 0 0 8px;
    color: var(--text2);
    font-size: 14px;
    line-height: 1.5;
}

.series-profiles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.series-profile-item {
    margin: 0;
}

.series-profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
}

.series-profile-card:hover {
    color: var(--hover);
    border-color: var(--hover);
}

.series-profile-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--bg2);
}

.series-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.series-profile-name {
    font-size: 16px;
    padding: 5px;
    line-height: 1.25;
    text-align: center;
    color: var(--text);
    word-break: break-word;
}

ul.wp-block-list {
    margin: 0 0 1rem 2rem;
}

pre.wp-block-code {
    background: #000;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

h2.wp-block-heading {
    border-top: 2px solid #000;
    margin: 10px -10px;
    padding: 10px;
}

@media (max-width: 768px) {
    .series-single-hero {
        grid-template-columns: 1fr;
    }
    .single-post-title {
        font-size: 20px;
    }
}
.site-about-goals {
    border-top: 2px solid var(--bg2);
    padding: 12px 20px;
}

.site-about-goals-title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.2;
    color: var(--text);
}

.site-about-goals-text {
    margin: 0 0 8px;
    color: var(--text2);
    font-size: 14px;
    line-height: 1.6;
}

.site-about-goals-text:last-child {
    margin-bottom: 0;
}