/* cvyukle.az light-floating theme */
:root {
    --bg: #f5f7fb;
    --bg-alt: #ffffff;
    --surface: #ffffff;
    --card: #ffffff;
    --muted: #5b6b80;
    --text: #0f172a;
    --accent: #0052cc;
    --accent-strong: #1976d2;
    --accent-green: #00b894;
    --line: rgba(0, 82, 204, 0.14);
    --shadow-lg: 0 18px 50px rgba(0, 82, 204, 0.08);
    --shadow-md: 0 10px 24px rgba(0, 82, 204, 0.06);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --container: min(1180px, 94vw);
    --font-heading: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin: 0;
    color: #0b1224;
    letter-spacing: -0.03em;
}

p {
    margin: 0;
    color: var(--muted);
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

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

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(42, 125, 225, 0.12);
    color: var(--accent-strong);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-green);
    color: #fff;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-ghost {
    border-color: var(--line);
    color: var(--accent-strong);
    background: #fff;
}
.btn-secondary {
    border: 1px solid var(--accent-strong);
    color: var(--accent-strong);
    background: #fff;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    display: inline-block;
}
.btn-sm {
    padding: 6px 10px;
    font-size: 12px;
}
.btn-ghost.danger {
    color: #c0392b;
    border-color: rgba(239, 68, 68, 0.35);
}
.btn-ghost.danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

.badge {
    display: inline-block;
    padding: 0.45rem 0.75rem;
    border-radius: 12px;
    background: rgba(42, 125, 225, 0.12);
    color: var(--accent-strong);
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: 0.9rem;
}

header.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    text-align: center;
    padding: 20px 0;
}

.nav {
    height: 74px;
}

.nav-brand {
    font-weight: 700;
    font-size: 1.25rem;
    gap: 0.6rem;
    color: var(--accent-strong);
}
.nav-logo {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 6px 16px rgba(42, 125, 225, 0.2));
}
.cvy-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.header-logo img {
    display: block;
    margin: 0 auto;
}

.nav-links {
    display: inline-flex;
    gap: 1rem;
    align-items: center;
}

.nav-links a {
    padding: 0.55rem 0.8rem;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 600;
    transition: color 120ms ease, background 120ms ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-strong);
    background: rgba(0, 82, 204, 0.08);
}

.language-switcher {
    display: inline-flex;
    gap: 0.35rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(42, 125, 225, 0.08);
    border: 1px solid var(--line);
}

.language-switcher a {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.9rem;
}

.language-switcher a.active {
    background: linear-gradient(135deg, rgba(42, 125, 225, 0.25), rgba(74, 144, 226, 0.25));
    color: var(--accent-strong);
}

.hero {
    padding: 3rem 0;
}

.promo-slot-wrap {
    display: grid;
    gap: 0.85rem;
}

.promo-slot-card,
.promo-slot-placeholder {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.promo-slot-placeholder {
    padding: 1rem 1.1rem;
}

.promo-slot-placeholder__label {
    display: inline-flex;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: rgba(0, 82, 204, 0.08);
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.public-footer {
    margin-top: auto;
    padding: 2.25rem 0;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

.public-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.public-footer__col {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(0, 82, 204, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.public-footer__col h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.public-footer__content,
.public-footer__content p,
.public-footer__content a {
    color: var(--muted);
    font-size: 0.95rem;
}

.public-footer__content a {
    color: var(--accent-strong);
}

@media (max-width: 900px) {
    .public-footer__grid {
        grid-template-columns: 1fr;
    }
}

.home-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
    padding: 2rem;
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.hero-copy p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #1f2a3d;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.hero-note {
    margin-top: 0.8rem;
    color: var(--muted);
    font-weight: 600;
}

.hero-card-visual {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.hero-card-visual .cv-mock {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1rem;
    background: #fdfefe;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.section {
    padding: 3rem 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.section-header.center {
    align-items: center;
    text-align: center;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    position: relative;
    overflow: hidden;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
    box-shadow: var(--shadow-md);
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 82, 204, 0.18);
    background: #f9fbff;
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 82, 204, 0.12);
    color: var(--accent-strong);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.template-grid-showcase {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
}

.template-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    box-shadow: var(--shadow-md);
}

.template-card:hover {
    transform: translateY(-6px);
    border-color: rgba(42, 125, 225, 0.28);
    box-shadow: var(--shadow-lg);
}

.template-card.active {
    border-color: rgba(42, 125, 225, 0.5);
    box-shadow: var(--shadow-lg);
}
.template-card-hover {
    border-radius: 18px;
}

.template-thumb {
    position: relative;
    overflow: hidden;
    background: #eaf3ff;
}
.template-thumb-large img {
    height: 360px;
}

.template-thumb img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 220ms ease;
}

.template-card:hover .template-thumb img {
    transform: scale(1.02);
}

.template-premium {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.4rem 0.65rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-strong);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.template-name-pill {
    display: inline-flex;
    margin: 0.8rem 1rem 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 12px;
    background: #eaf3ff;
    color: #1C5FBD;
    font-weight: 700;
    font-size: 0.95rem;
}

.template-body {
    padding: 1rem 1.2rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.template-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.template-meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.template-footer {
    padding: 0 1.2rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

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

.stat-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
}

.accent {
    color: var(--accent-strong);
}

.cta {
    background: #fff;
    border: 1px solid rgba(0, 82, 204, 0.16);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.footer {
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 2rem;
    color: var(--muted);
}
.footer-wrap {
    align-items: flex-start;
    gap: 1rem;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.footer-logo {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 8px 24px rgba(42, 125, 225, 0.18));
}
.footer-copy {
    margin: 0;
    color: var(--muted);
}
.footer-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer a {
    color: var(--accent-strong);
    margin-left: 0;
    font-weight: 600;
}

.chip-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.chip {
    padding: 0.4rem 0.7rem;
    border-radius: 10px;
    background: rgba(42, 125, 225, 0.08);
    border: 1px solid var(--line);
    color: var(--accent-strong);
    font-weight: 600;
    font-size: 0.9rem;
}

.glass {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.25rem;
    box-shadow: var(--shadow-lg);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.home-section {
    padding: 3rem 0;
}

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

.card-tile {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.card-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.step-card, .faq-item, .testimonial {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.2rem;
    box-shadow: var(--shadow-md);
}

.faq-item h4, .testimonial h4 {
    margin: 0 0 0.4rem;
}

.faq-item p, .testimonial p {
    margin: 0;
    color: var(--muted);
}

.category-card h4 {
    margin: 0 0 0.4rem;
}

.category-card p {
    margin: 0 0 0.8rem;
}

.category-card a {
    color: var(--accent-strong);
    font-weight: 600;
    text-decoration: none;
}

.trust-blurb {
    text-align: center;
    margin-bottom: 1.2rem;
    color: var(--muted);
}

@media (max-width: 920px) {
    .nav-links {
        display: none;
    }
    header.site-header {
        position: sticky;
    }
    .hero {
        padding: 3rem 0 2rem;
    }
    .template-thumb img {
        height: 260px;
    }
}

@media (max-width: 640px) {
    .btn {
        width: 100%;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .section {
        padding: 2.6rem 0;
    }
}

.pagination {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.pagination li a,
.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.9);
}

.pagination li.active span,
.pagination li a:hover {
    color: var(--accent-strong);
    border-color: rgba(42, 125, 225, 0.3);
}

.list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.field-label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-weight: 600;
}

.input,
.textarea {
    width: 100%;
    background: #f5f7fb;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    color: var(--text);
    font-size: 1rem;
}

.textarea {
    min-height: 110px;
    resize: vertical;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.pill-button {
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    background: #f5f7fb;
    border: 1px solid var(--line);
    color: var(--text);
    cursor: pointer;
}

.pill-button.active {
    border-color: rgba(42, 125, 225, 0.4);
    background: rgba(42, 125, 225, 0.12);
    color: var(--accent-strong);
}

.template-rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.3rem 0.2rem;
    scroll-snap-type: x mandatory;
}

.template-rail .template-card {
    min-width: 200px;
    scroll-snap-align: start;
}

.builder-template-rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    padding: 0.6rem;
    max-height: 480px;
    overflow-y: auto;
}

.template-helper {
    margin: 0.15rem 0 0.4rem;
    color: var(--muted);
    font-weight: 600;
}

.premium-lock {
    background: #fff7e6;
    border-color: #f3d9a4;
    color: #c6931f;
}

.badge-free {
    background: var(--bg-alt);
    color: #1C5FBD;
    border: 1px solid rgba(42, 125, 225, 0.2);
}

.template-actions {
    padding: 0 1.2rem 1.2rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.builder-shell {
    width: 80vw;
    max-width: none;
    margin: 0 auto;
}

.builder-columns {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1.6rem;
    align-items: flex-start;
}

.builder-preview {
    min-height: 100%;
}

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

.resume-card {
    border-radius: 18px;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.resume-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.resume-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
}

.resume-card__title {
    margin: 0;
    font-size: 1.25rem;
}

.resume-card__subtitle {
    margin: 0.2rem 0 0;
    color: var(--muted);
}

.resume-card__meta {
    margin: 0.75rem 0;
    color: var(--muted);
}

.resume-card__actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.pill.badge-soft {
    background: var(--bg-alt);
    color: var(--accent);
}

@media (max-width: 1100px) {
    .builder-shell {
        width: 94%;
    }
}

@media (max-width: 900px) {
    .builder-columns {
        grid-template-columns: 1fr;
    }
    .template-thumb-large img {
        height: 260px;
    }
}

/* Templates layout */
.templates-page {
    display: flex;
    gap: 24px;
    padding: 24px 0;
}

.templates-sidebar {
    width: 260px;
    max-width: 100%;
}

.templates-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.tpl-filter-block {
    background: #fff;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.tpl-filter-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2933;
}

.tpl-filter-label {
    font-size: 13px;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.tpl-filter-input {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #d0d7e2;
    padding: 8px 10px;
    font-size: 13px;
}

.tpl-filter-check,
.tpl-filter-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin: 4px 0;
    cursor: pointer;
}

.tpl-filter-check input,
.tpl-filter-radio input {
    accent-color: #1976D2;
}

.tpl-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15,23,42,0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tpl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15,23,42,0.12);
}

.tpl-thumb-wrap {
    position: relative;
    background: #f0f3fb;
}

.tpl-thumb-wrap--tall {
    aspect-ratio: 3 / 4;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.tpl-thumb {
    width: 100%;
    display: block;
}

.tpl-thumb--contain {
    height: 100%;
    object-fit: contain;
    object-position: top center;
    border-radius: 10px;
    background: #fff;
}

.tpl-thumb.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    font-size: 13px;
    color: #6b7280;
}

.tpl-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    color: #fff;
}

.tpl-badge-premium {
    background: linear-gradient(135deg, #d4af37, #a97b12);
}

.tpl-badge-free {
    background: #00B894;
}

.tpl-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tpl-body--catalog {
    padding: 16px;
    gap: 10px;
}

.tpl-name-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #edf2ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tpl-category {
    font-size: 12px;
    color: #4b5563;
}

.tpl-description {
    font-size: 12px;
    color: #64748b;
    line-height: 1.55;
}

.tpl-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}

.tpl-tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
}

.tpl-actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.tpl-actions--stack {
    flex-direction: column;
}

.tpl-actions--stack .btn-primary,
.tpl-actions--stack .btn-ghost {
    width: 100%;
}

.templates-hero {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.templates-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
}

.templates-counter {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: #eef4ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 700;
}

.templates-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #4b5563;
}

.btn-primary {
    background: #00B894;
    color: #ffffff;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-ghost {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #d0d7e2;
    background: #ffffff;
    color: #4b5563;
    text-decoration: none;
    text-align: center;
}

@media (max-width: 992px) {
    .templates-page {
        flex-direction: column;
    }

    .templates-sidebar {
        width: 100%;
        order: 2;
    }

    .templates-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .templates-hero__actions {
        justify-content: flex-start;
    }
}
