@media (max-width: 600px) {
    body#cc {
        overflow-x: hidden;
    }
    body#cc #outerrim.site-shell {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    body#cc .site-layout {
        width: 100vw !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
}
@media (max-width: 980px) {
    body#cc .site-layout {
        grid-template-columns: 1fr !important;
    }
}
/* --- BORDER RADIUS FOR CROPPED GALLERY IMAGES --- */
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
    border-radius: 10px;
    overflow: hidden;
}
/* --- SEPARATION FOR .listposts (news/aktualności) --- */
body#cc .listposts img {
    border-radius: 18px;
    overflow: hidden;
}
body#cc .listposts {
    margin: 36px 0;
    padding: 28px 24px;
    border: 2px solid var(--at-border-strong);
    border-radius: var(--at-radius-lg);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,255,255,0.32) 52%, transparent 100%),
        linear-gradient(180deg, #ebf7f8 0%, #dceef0 100%);
    box-shadow: 0 8px 28px rgba(28, 84, 94, 0.10);
    transition: box-shadow 0.2s, border-color 0.2s;
}
body#cc .listposts:hover {
    box-shadow: 0 16px 40px rgba(28,84,94,0.16);
    border-color: var(--at-accent-strong);
}
/* --- NEWS POST CARD SEPARATION & HEADER-INSPIRED STYLE --- */
body#cc .post-list {
    gap: 48px;
}
body#cc .post-card {
    border: 2px solid var(--at-border-strong);
    border-radius: var(--at-radius-lg);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.28) 52%, transparent 100%),
        linear-gradient(180deg, #ebf7f8 0%, #dceef0 100%);
    box-shadow: 0 10px 24px rgba(28, 84, 94, 0.10);
    margin-bottom: 0;
    transition: box-shadow 0.2s, border-color 0.2s;
}
body#cc .post-card:hover {
    box-shadow: 0 16px 40px rgba(28,84,94,0.16);
    border-color: var(--at-accent-strong);
}
/* --- NEWS POST FLEX LAYOUT & IMAGE ENLARGEMENT --- */
body#cc .post-list {
        display: flex;
        flex-direction: column;
        gap: 38px;
        margin-bottom: 40px;
}
body#cc .post-card {
        display: flex;
        flex-direction: row;
        overflow: hidden;
        margin: 0;
        padding: 0;
        border: 1px solid var(--at-border);
        border-radius: 22px;
        background: #fff;
        box-shadow: var(--at-shadow-sm);
        min-height: 220px;
        align-items: stretch;
        transition: box-shadow 0.2s;
}
body#cc .post-card:hover {
        box-shadow: 0 8px 32px rgba(28,84,94,0.13);
        border-color: var(--at-border-strong);
}
body#cc .post-card__thumb {
        flex: 0 0 260px;
        display: flex;
        align-items: stretch;
        justify-content: center;
        background: #f7fafb;
        min-height: 220px;
        max-width: 260px;
        border-right: 1px solid var(--at-border);
        margin: 0;
        padding: 0;
}
body#cc .post-card__thumb img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 0;
}
body#cc .post-card__content {
        flex: 1 1 0%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
}
@media (max-width: 800px) {
    body#cc .post-card {
        flex-direction: column;
        min-height: unset;
    }
    body#cc .post-card__thumb {
        max-width: 100%;
        min-height: 160px;
        border-right: none;
        border-bottom: 1px solid var(--at-border);
    }
    body#cc .post-card__thumb img {
        max-width: 100%;
        max-height: 220px;
    }
}
body#cc .post-card__thumb {
    width: 100%;
}
body#cc .post-card__thumb img {
    max-width: 598px;
    min-height: 100%;
}
/* Margines zero dla głównej listy slidera Soliloquy */
body#cc ul.soliloquy-slider {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
}
@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --at-bg: #f3f7f8;
    --at-bg-soft: #fbfdfd;
    --at-surface: #ffffff;
    --at-surface-alt: #eef5f6;
    --at-border: #d5e3e6;
    --at-border-strong: #adc9cf;
    --at-text: #1f2c30;
    --at-muted: #586c73;
    --at-heading: #12343f;
    --at-link: #0c6972;
    --at-link-hover: #094c53;
    --at-accent: #6db7b3;
    --at-accent-strong: #327a86;
    --at-focus: #ffbf47;
    --at-shadow-sm: 0 10px 24px rgba(28, 84, 94, 0.08);
    --at-shadow-lg: 0 28px 56px rgba(28, 84, 94, 0.12);
    --at-radius-sm: 12px;
    --at-radius-md: 20px;
    --at-radius-lg: 32px;
    --at-shell: 1120px;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body#cc {
    margin: 0;
    background:
        radial-gradient(960px 380px at 0% 0%, rgba(109, 183, 179, 0.18), transparent 72%),
        radial-gradient(900px 320px at 100% 0%, rgba(155, 210, 223, 0.2), transparent 70%),
        linear-gradient(180deg, var(--at-bg-soft) 0%, var(--at-bg) 100%);
    color: var(--at-text);
    font: 400 18px/1.75 "Manrope", "Segoe UI", sans-serif;
}

body#cc button,
body#cc input,
body#cc textarea,
body#cc select {
    font: inherit;
}

body#cc a {
    color: var(--at-link);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
}

body#cc a:hover,
body#cc a:focus {
    color: var(--at-link-hover);
}

body#cc :focus-visible {
    outline: 3px solid var(--at-focus);
    outline-offset: 3px;
}

body#cc h1 {
    color: var(--at-heading);
    font-family: "Fraunces", Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-size: clamp(1.4rem, 2.5vw, 2.1rem);
}
body#cc h2,
body#cc h3,
body#cc h4,
body#cc h5,
body#cc h6,
body#cc .site-title,
body#cc .site-title a,
body#cc .page-intro__title,
body#cc .posttitle,
body#cc .widgettitle,
body#cc .entry-title {
    color: var(--at-heading);
    font-family: "Fraunces", Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

body#cc p,
body#cc li,
body#cc td,
body#cc th {
    line-height: 1.8;
}

body#cc img {
    max-width: 100%;
    height: auto;
}

body#cc .skip-link {
    position: absolute;
    left: 16px;
    top: -64px;
    z-index: 1000;
    padding: 14px 18px;
    border-radius: var(--at-radius-sm);
    background: #11181c;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

body#cc .skip-link:focus {
    top: 16px;
}

body#cc #outerrim.site-shell {
    width: min(var(--at-shell), calc(100% - 32px));
    margin: 0 auto 48px;
}

body#cc #header.site-header {
    margin: 24px 0 24px;
    overflow: hidden;
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-lg);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.28) 52%, transparent 100%),
        linear-gradient(180deg, #ebf7f8 0%, #dceef0 100%);
    box-shadow: var(--at-shadow-lg);
}

body#cc .site-header__topbar {
    padding: 14px 28px 0;
}

body#cc .albertheme-utility-nav ul,
body#cc #site-navigation ul,
body#cc .menu-header ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body#cc .albertheme-utility-nav ul {
    justify-content: flex-end;
}

body#cc .albertheme-utility-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(12, 105, 114, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--at-link);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
}

body#cc .site-header__inner {
    padding: 26px 28px 20px;
}

body#cc .site-header__identity {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

body#cc .site-header__eyebrow {
    height: 100%;
    min-height: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #7dc7c2, #4e95a2);
}

body#cc .site-branding {
    /* max-width: 64ch; */
}

body#cc .site-title,
body#cc .site-title a {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    text-decoration: none;
    white-space: normal;
    line-height: 1.18;
}

body#cc .site-description {
    margin: 14px 0 0;
    color: var(--at-muted);
    font-size: 1.08rem;
}

body#cc #access.site-header__navigation {
    width: auto;
    margin: 0;
    padding: 0 28px 26px;
}

body#cc .menu-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px;
    border: 1px solid var(--at-border);
    border-radius: calc(var(--at-radius-md) + 2px);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
}

body#cc .menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--at-border);
    border-radius: 14px;
    background: #fff;
    color: var(--at-heading);
    cursor: pointer;
    font-weight: 700;
}

body#cc .menu-toggle__icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 18px;
}

body#cc .menu-toggle__icon span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body#cc .menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body#cc .menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) {
    opacity: 0;
}

body#cc .menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

body#cc #site-navigation {
    width: 100%;
}

body#cc #site-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body#cc #site-navigation li {
    margin: 0;
}

body#cc #site-navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    color: var(--at-heading);
    text-decoration: none;
    font-weight: 700;
}

body#cc .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body#cc #nav-home a,
body#cc .menu-item-home a,
body#cc .menu-item-home.current-menu-item > a {
    min-width: 42px;
    padding-left: 10px;
    padding-right: 10px;
}

body#cc .menu-home-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
}

body#cc #site-navigation a:hover,
body#cc #site-navigation a:focus,
body#cc #site-navigation .current-menu-item > a,
body#cc #site-navigation .current_page_item > a {
    background: #fff;
    color: var(--at-link-hover);
    box-shadow: var(--at-shadow-sm);
}

body#cc .header-widgets {
    padding: 0 28px 28px;
}

body#cc .header-widgets__full,
body#cc .header-widgets__grid > .widgetarea {
    padding: 18px 20px;
    border: 1px solid rgba(12, 105, 114, 0.12);
    border-radius: var(--at-radius-md);
    background: rgba(255, 255, 255, 0.74);
}

body#cc .header-widgets__full {
    margin-bottom: 14px;
}

body#cc .header-widgets__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body#cc #container.container-fluid {
    padding: 0;
}

body#cc .site-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

body#cc .site-layout.left-right-sidebar,
body#cc .site-layout.left-right-template,
body#cc .site-layout.archive-width {
    grid-template-columns: 250px minmax(0, 1fr) 250px;
}

body#cc .site-layout.full-width,
body#cc .site-layout.full-search-width {
    grid-template-columns: minmax(0, 1fr);
}

body#cc .site-main,
body#cc .site-sidebar {
    width: auto;
    margin: 0;
    float: none;
}

body#cc .site-main .padder,
body#cc .site-sidebar .paddersidebar {
    padding: 0;
}

body#cc .content-panel {
    position: relative;
    overflow: hidden;
    padding: 34px 36px;
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-lg);
    background: linear-gradient(180deg, var(--at-surface) 0%, var(--at-surface-alt) 100%);
    box-shadow: var(--at-shadow-lg);
}

body#cc .content-panel:before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    border-radius: var(--at-radius-lg) 0 0 var(--at-radius-lg);
    background: linear-gradient(180deg, #7fc5c2, #6ca0d4);
}

body#cc .page-intro {
    margin: 0 0 28px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--at-border);
}

body#cc .page-intro__title,
body#cc .page-intro__title {
    margin: 0;
    font-size: clamp(1.3rem, 2.2vw, 2.1rem);
}
body#cc .entry-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

body#cc .page-intro__title:after,
body#cc .page-intro--single .entry-title:after {
    content: "";
    display: block;
    width: 92px;
    height: 4px;
    margin-top: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7dc7c2, #6aa2d1);
}

body#cc .post-list {
    display: grid;
    gap: 22px;
}

body#cc .post-card {
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 1px solid var(--at-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--at-shadow-sm);
}

body#cc .post-card--single {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body#cc .post-card--single:hover {
    box-shadow: none !important;
    border-color: inherit !important;
    background: transparent !important;
}

body#cc .post-content,
body#cc .post-card__content,
body#cc .content-copy {
    width: auto;
    margin: 0;
    float: none;
}

body#cc .post-card__meta {
    padding: 18px 22px 0;
}

body#cc .post-card__date {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #e7f4f4;
    color: var(--at-link);
    font-size: 0.94rem;
    font-weight: 700;
}

body#cc .post-card__header {
    margin: 0;
    padding: 14px 22px 0;
}

body#cc .posttitle {
    margin: 0;
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
    line-height: 1.2;
}

body#cc .date {
    margin: 12px 0 0;
    color: var(--at-muted);
    font-size: 0.98rem;
}

body#cc .entry,
body#cc .content-copy,
body#cc .post-card__entry {
    padding: 0;
    color: var(--at-text);
}

body#cc .entry > * + *,
body#cc .content-copy > * + * {
    margin-top: 1rem;
}

body#cc .entry ul,
body#cc .content-copy ul {
    list-style: disc;
    margin-left: 1.4rem;
}

/* Margines zero dla list w sliderze Soliloquy */
body#cc .soliloquy-container .entry ul,
body#cc .soliloquy-container .content-copy ul {
    margin-left: 0 !important;
}

body#cc .entry ul,
body#cc .content-copy ul {
    list-style: disc;
    margin-left: 1.4rem;
}

body#cc .postmetadata {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin: 24px 22px 22px;
    padding-top: 18px;
    border-top: 1px solid var(--at-border);
    color: var(--at-muted);
}

body#cc .site-sidebar .widget {
    margin: 0 0 18px;
    padding: 22px;
    border: 1px solid var(--at-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--at-shadow-sm);
}

body#cc .widgettitle {
    margin: 0 0 14px;
    font-size: 1.3rem;
}

body#cc .site-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body#cc .site-sidebar li + li {
    margin-top: 10px;
}

body#cc .site-sidebar .widget_recent_entries ul,
body#cc .site-sidebar .widget_recent-posts ul {
    display: grid;
    gap: 10px;
}

body#cc .site-sidebar .widget_recent_entries ul li,
body#cc .site-sidebar .widget_recent-posts ul li {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--at-border);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
    box-shadow: 0 6px 14px rgba(28, 84, 94, 0.04);
}

body#cc .site-sidebar .widget_recent_entries ul li a,
body#cc .site-sidebar .widget_recent-posts ul li a {
    display: block;
    text-decoration: none;
    font-weight: 600;
}

body#cc .site-sidebar .widget_recent_entries .post-date {
    display: block;
    margin-top: 6px;
    color: var(--at-muted);
    font-size: 0.92rem;
}

body#cc .pagination,
body#cc .navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding: 18px 20px;
    border: 1px solid var(--at-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
}

body#cc .pagination a,
body#cc .pagination span,
body#cc .navigation a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--at-border-strong);
    border-radius: 14px;
    background: #fff;
    color: var(--at-link);
    text-decoration: none;
    font-weight: 600;
}

body#cc input[type="text"],
body#cc input[type="email"],
body#cc input[type="search"],
body#cc input[type="url"],
body#cc input[type="password"],
body#cc textarea,
body#cc select {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid var(--at-border-strong);
    border-radius: 14px;
    background: #fff;
    color: var(--at-text);
}

body#cc textarea {
    min-height: 180px;
}

body#cc input[type="search"],
body#cc .search-form input[type="search"],
body#cc .widget_search input[type="search"],
body#cc #searchform input[type="text"],
body#cc #searchform input[type="search"] {
    margin-bottom: 10px;
}

body#cc button,
body#cc input[type="submit"],
body#cc input[type="button"],
body#cc .button,
body#cc .read-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #5daab3 0%, #3e818d 100%);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(62, 129, 141, 0.18);
    cursor: pointer;
}

body#cc table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--at-border);
    border-radius: 18px;
    background: #fff;
}

body#cc th,
body#cc td {
    padding: 14px 16px;
    border-bottom: 1px solid #e4eef0;
    text-align: left;
}

body#cc th {
    background: #edf7f8;
}

body#cc blockquote {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid #79c1bf;
    border-radius: 0 14px 14px 0;
    background: #eef8f9;
}

body#cc .partner-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 1.5rem auto;
    text-align: center;
}

body#cc .partner-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    padding: 8px 10px;
}

body#cc .partner-links img {
    display: block;
    width: auto;
    height: 56px;
    max-width: 190px;
    object-fit: contain;
}

body#cc .partner-links .partner-links__bip {
    height: 52px;
    max-width: 190px;
}

body#cc .partner-links .partner-links__city {
    height: 60px;
    max-width: 210px;
}

body#cc #footer.site-footer {
    margin-top: 32px;
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-lg);
    background: linear-gradient(180deg, #eef8f8 0%, #dfeff1 100%);
    box-shadow: var(--at-shadow-lg);
}

body#cc .site-footer__inner {
    padding: 28px 30px;
}

body#cc .site-footer__title {
    margin: 0;
    font-size: 1.45rem;
}

body#cc .site-footer__description,
body#cc .site-footer__legal {
    color: var(--at-muted);
}

body#cc .site-footer__content {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--at-border);
}

body#cc .site-footer__legal {
    margin: 18px 0 0;
    font-size: 0.95rem;
}

body#cc .alignleft {
    float: left;
}

body#cc .alignright {
    float: right;
}

body#cc .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

body#cc .clear {
    clear: both;
}

body#cc #cc_slider-top,
body#cc [id^="cc_slider"].cc_slider {
    margin: 0 0 28px;
}

body#cc #cc_slider-top .featured,
body#cc [id^="featured"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 12px;
    align-items: stretch;
}

body#cc #cc_slider-top .featured .ui-tabs-panel,
body#cc [id^="cc_slider"].cc_slider .featured .ui-tabs-panel {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--at-border);
    border-radius: 26px;
    background: #dceef0;
    box-shadow: var(--at-shadow-lg);
}

body#cc #cc_slider-top .featured .ui-tabs-panel.span8,
body#cc [id^="cc_slider"].cc_slider .featured .ui-tabs-panel.span8 {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
}

body#cc #cc_slider-top .featured .ui-tabs-panel > a,
body#cc [id^="cc_slider"].cc_slider .featured .ui-tabs-panel > a {
    display: block;
    height: 100%;
}

body#cc #cc_slider-top .featured .ui-tabs-panel img,
body#cc [id^="cc_slider"].cc_slider .featured .ui-tabs-panel img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: #eaf3f5;
}

body#cc #cc_slider-top .info.span8,
body#cc [id^="cc_slider"].cc_slider .info.span8 {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    width: auto;
    margin: 0;
    max-width: min(92%, 720px);
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(20, 44, 52, 0.82), rgba(20, 44, 52, 0.92));
    backdrop-filter: blur(10px);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(16, 41, 49, 0.24);
}

body#cc #cc_slider-top .info.span8 h2,
body#cc [id^="cc_slider"].cc_slider .info.span8 h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

body#cc #cc_slider-top .info.span8 h2 a,
body#cc #cc_slider-top .info.span8 p,
body#cc [id^="cc_slider"].cc_slider .info.span8 h2 a,
body#cc [id^="cc_slider"].cc_slider .info.span8 p {
    color: #ffffff;
    text-decoration: none;
}

body#cc #cc_slider-top .info.span8 p,
body#cc [id^="cc_slider"].cc_slider .info.span8 p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    max-width: 58ch;
    font-size: 0.98rem;
    line-height: 1.65;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    opacity: 0.96;
}

body#cc #cc_slider-top .info.span8 .slider-more-button,
body#cc [id^="cc_slider"].cc_slider .info.span8 .slider-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 16px;
    padding: 0 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #72c0c0 0%, #4d97a5 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(35, 97, 109, 0.22);
}

body#cc #cc_slider-top ul.ui-tabs-nav.span4.offset1,
body#cc [id^="featured"] > ul.ui-tabs-nav.span4.offset1 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100% !important;
    min-height: 460px;
    height: 100%;
    margin: 0 !important;
    padding: 0;
    float: none !important;
    list-style: none;
}

body#cc #cc_slider-top ul.ui-tabs-nav.span4.offset1 li,
body#cc [id^="featured"] > ul.ui-tabs-nav.span4.offset1 li {
    flex: 1 1 0;
    min-height: 0;
    margin: 0;
    border: 1px solid rgba(109, 183, 179, 0.45);
    border-radius: 24px;
    background: rgba(240, 248, 249, 0.92);
    box-shadow: 0 8px 18px rgba(28, 84, 94, 0.04);
    overflow: hidden;
}

body#cc #cc_slider-top ul.ui-tabs-nav.span4.offset1 li a,
body#cc [id^="featured"] > ul.ui-tabs-nav.span4.offset1 li a {
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    width: 100%;
    height: 100%;
    min-height: 112px;
    padding: 0;
    color: var(--at-heading);
    text-decoration: none;
}

body#cc #cc_slider-top ul.ui-tabs-nav.span4.offset1 li img,
body#cc [id^="featured"] > ul.ui-tabs-nav.span4.offset1 li img {
    width: 100%;
    height: 100%;
    min-height: 112px;
    border-radius: 0;
    object-fit: cover;
    display: block;
}

body#cc #cc_slider-top ul.ui-tabs-nav.span4.offset1 li span,
body#cc [id^="featured"] > ul.ui-tabs-nav.span4.offset1 li span {
    display: -webkit-box;
    overflow: hidden;
    padding: 7px 9px;
    color: var(--at-heading);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

body#cc #cc_slider-top ul.ui-tabs-nav.span4.offset1 li.ui-tabs-selected,
body#cc #cc_slider-top ul.ui-tabs-nav.span4.offset1 li:hover,
body#cc [id^="featured"] > ul.ui-tabs-nav.span4.offset1 li.ui-tabs-selected,
body#cc [id^="featured"] > ul.ui-tabs-nav.span4.offset1 li:hover {
    border-color: var(--at-accent-strong);
    background: linear-gradient(180deg, #f7fcfc 0%, #edf7f8 100%);
    margin: 0 10px;
}
