/*
Theme Name: Blu
Theme URI: https://blugraphic.com/
Author: Blugraphic
Description: Free PSD Mockups
Version: 1.0.3
*/


@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/* ---------------------------------------------------------
   WordPress Admin Bar
--------------------------------------------------------- */

body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
     font-weight: 300
}

body {
    background: #ffffff;
    color: #111111;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;

}

h1 {
    color: #111111;
    font-size: clamp(42px, 5vw, 41px);
    line-height: 0.98;
    font-weight: 400;
    letter-spacing: -0.3px;
}

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

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


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    height: 57px;

    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;

    z-index: 1000;
}

.header-inner {
    width: 100%;
    height: 100%;

    display: grid;
    grid-template-columns: 120px minmax(300px, 760px) 120px;

    align-items: center;
    justify-content: space-between;

    padding: 0 15px;
}


/* Logo */

.site-logo {
    display: flex;
    align-items: center;
    width: fit-content;
}

.site-logo img {
    display: block;
    width: 33px;
}


/* Search */

.site-search {
    position: relative;
    width: 100%;
    max-width: 650px;
    justify-self: center;
}

.site-search img {
    width: 19px;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #777777;
    pointer-events: none;
}

.site-search input {
    width: 100%;
    height: 46px;
    padding: 0 20px 0 52px;
    border: 0px solid #dddddd;
    border-radius: 999px;
    outline: none;
    background: #f7f7f7;
    color: #111111;
    font-family: inherit;
    font-size: 15px;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.site-search input::placeholder {
    color: #999999;
}

.site-search input:hover {
    background: #f3f3f3;
}

.site-search input:focus {
    background: #f3f3f3;
}





/* =========================================================
   SIDEBAR
========================================================= */

.site-sidebar {
    position: fixed;

    top: 57px;
    left: 0;
    bottom: 0;

    width: 57px;


    border-right: 1px solid #e8e8e8;

    z-index: 900;
}

.sidebar-navigation {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    background-color: #FFF;
    align-items: center;
    justify-content: center;

    gap: 30px;
}

.sidebar-link {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777777;

    border-radius: 8px;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.sidebar-link img{
    width: 23px;
}

.sidebar-link:hover {
    color: #111111;
    background: #f5f5f5;
}

.sidebar-link svg {
    display: block;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.site-main {
    margin-left: 57px;
    padding-top: 57px;

    width: calc(100% - 57px);
}

.site-main h1{
    width: 50%;
    text-align: center;
    margin: 0 auto;
    padding: 35px 0 7px
}


/* =========================================================
   MASONRY GRID
========================================================= */

.post-grid {
    width: 100%;
    max-width: 1500px;
    margin: 21px auto;

    column-count: 5;
    column-gap: 16px;

    padding: 16px;
}


/* Post */

.post-card {
    width: 100%;

    display: inline-block;

    margin: 0 0 16px;

    break-inside: avoid;

    vertical-align: top;
}


/* Image */

.post-image-link {
    display: block;

    overflow: hidden;

    background: #eeeeee;
}

.post-image {
    width: 100%;
    height: auto;

    transition:
        transform 0.5s cubic-bezier(.2,.7,.2,1);
}

.post-image-link:hover .post-image {
    transform: scale(1.025);
}


/* Post information */

.post-info {
    padding: 11px 2px 8px;
}

.post-category {
    display: block;

    margin-bottom: 5px;

    color: #888888;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-title {
    margin: 0;

    font-size: 15px;
    line-height: 1.3;
    font-weight: 500;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .header-inner {
        grid-template-columns:
            90px
            minmax(250px, 600px)
            90px;
    }

    .post-grid {
        column-count: 3;
    }
}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 800px) {

    .header-inner {
        grid-template-columns:
            60px
            minmax(200px, 1fr)
            60px;

        padding: 0 16px;
    }

    .post-grid {
        column-count: 2;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .site-header {
        height: 64px;
    }

    .header-inner {
        grid-template-columns:
            44px
            minmax(0, 1fr)
            44px;

        padding: 0 12px;
    }


    /* Sidebar becomes bottom navigation */

    .site-sidebar {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;

        width: 100%;
        height: 58px;

        border-right: 0;
        border-top: 1px solid #e8e8e8;
    }

    .sidebar-navigation {
        flex-direction: row;

        gap: 35px;
    }


    /* Main */

    .site-main {
        margin-left: 0;

        width: 100%;

        padding-top: 64px;
        padding-bottom: 58px;
    }


    /* Grid */

    .post-grid {
        column-count: 2;
        column-gap: 8px;

        padding: 8px;
    }

    .post-card {
        margin-bottom: 8px;
    }

    .post-info {
        padding: 8px 1px 6px;
    }

    .post-title {
        font-size: 13px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .post-grid {
        column-count: 1;
    }

    .site-search input {
        height: 40px;

        padding-left: 44px;

        font-size: 14px;
    }

    .search-icon {
        left: 14px;

        width: 18px;
        height: 18px;
    }
}



/* =========================================================
   BURGER MENU
========================================================= */

.menu-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    cursor: pointer;
    justify-self: end;
    z-index: 1200;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2.5px;
    background: #111;
    transition:
        transform 0.3s ease,
        opacity 0.2s ease,
        width 0.3s ease;
}

.menu-toggle span:nth-child(3) {
    width: 15px;
}


/* =========================================================
   BURGER → X
========================================================= */

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);    width: 23px;

}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle.is-active span:nth-child(3) {
    width: 23px;
}


/* =========================================================
   CATEGORY MENU
========================================================= */

.category-menu {
    position: fixed;

    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;

    background: #ffffff;

    z-index: 1100;

    visibility: hidden;
    opacity: 0;

    transform: translateY(-15px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;

    overflow-y: auto;
}


/* Open state */

.category-menu.is-open {
    visibility: visible;
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   MENU INNER
========================================================= */

.category-menu__inner {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 35px 40px 80px;
}


/* Header */

.category-menu__header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 25px;

    border-bottom: 1px solid #e5e5e5;
}

.category-menu__label {
    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: #777;
}


/* Close */

.category-menu__close {
    display: none;

    width: 40px;
    height: 40px;

    padding: 0;
    border: 0;

    background: transparent;

    cursor: pointer;
}


/* =========================================================
   CATEGORY LINKS
========================================================= */

.category-navigation {
    display: flex;
    flex-direction: column;

    margin-top: 15px;
}

.category-link {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 22px 0;

    border-bottom: 1px solid #e5e5e5;

    font-size: clamp(28px, 4vw, 58px);

    line-height: 1;

    font-weight: 400;

    letter-spacing: -0.03em;

    color: #111;

    transition:
        padding-left 0.3s ease,
        color 0.3s ease;
}

.category-link span {
    font-size: 12px;

    letter-spacing: 0;

    color: #999;

    transition: color 0.3s ease;
}

.category-link:hover {
    padding-left: 15px;

    color: #777;
}

.category-link:hover span {
    color: #111;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .category-menu {
        top: 64px;
    }

    .category-menu__inner {
        padding: 25px 20px 60px;
    }

    .category-link {
        padding: 18px 0;

        font-size: 30px;
    }

}



























/* =========================================================
   SINGLE PAGE
========================================================= */

.single-page {
    margin-left: 72px;
    padding-top: 72px;

    min-height: 100vh;

    background: #ffffff;
}


.single-post {
    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    padding: 25px 40px 120px;
}


/* =========================================================
   POST HEADER
========================================================= */

.single-post__header {
    width: 100%;

    max-width: 900px;

    margin: 0 auto 60px;

    text-align: center;
}


.single-post__category {
    margin-bottom: 17px;

    color: #888888;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


.single-post__title {
    margin: 0;

    color: #111111;

    font-size: clamp(42px, 5vw, 72px);

    line-height: 0.98;

    font-weight: 400;

    letter-spacing: -0.05em;
}


.single-post__meta {
    display: flex;

    justify-content: center;

    gap: 10px;

    margin-top: 22px;

    color: #999999;

    font-size: 12px;
}


/* =========================================================
   TWO COLUMN LAYOUT
========================================================= */

.single-post__layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        280px;

    gap: 70px;

    align-items: start;
}


/* =========================================================
   MAIN COLUMN
========================================================= */

.single-post__main {
    min-width: 0;
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.single-post__image {
    width: 100%;

    max-width: 1000px;

    margin: 0;

    padding: 0;
}


.single-post__image img {
    display: block;

    width: 100%;

    max-width: 1000px;

    height: auto;
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.single-post__content {
    max-width: 680px;

    margin-top: 55px;
}


.single-post__content p {
    margin: 0 0 28px;

    color: #444444;

    font-size: 17px;

    line-height: 1.75;
}


.single-post__content .single-post__intro {
    margin-bottom: 38px;

    color: #222222;

    font-size: 21px;

    line-height: 1.55;

    letter-spacing: -0.015em;
}


/* =========================================================
   RIGHT INFORMATION COLUMN
========================================================= */

.single-post__sidebar {
    min-width: 0;

    /*
     * The entire sidebar follows the page while scrolling.
     */
    position: sticky;

    top: 100px;

    align-self: start;

    height: fit-content;
}


/*
 * IMPORTANT:
 * Do not make the inner element sticky.
 */

.single-post__sidebar-inner {
    position: static;

    width: 100%;

    max-height: none;

    overflow: visible;
}


/* =========================================================
   DOWNLOAD
========================================================= */

.download-section {
    padding-bottom: 30px;

    border-bottom: 1px solid #e5e5e5;
}


.download-button {
    width: 100%;

    min-height: 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    background: #111111;

    color: #ffffff;

    border: 1px solid #111111;

    border-radius: 4px;

    font-size: 14px;

    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.download-button:hover {
    background: #2a2a2a;

    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);
}


.download-note {
    margin-top: 10px;

    color: #999999;

    font-size: 11px;

    text-align: center;
}


/* =========================================================
   INFORMATION
========================================================= */

.post-details {
    padding: 30px 0;

    border-bottom: 1px solid #e5e5e5;
}


.post-details__title {
    margin-bottom: 18px;

    color: #111111;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


.post-detail {
    display: flex;

    align-items: center;
    justify-content: space-between;

    min-height: 40px;

    border-bottom: 1px solid #eeeeee;
}


.post-detail:last-child {
    border-bottom: 0;
}


.post-detail__label {
    color: #888888;

    font-size: 12px;
}


.post-detail__value {
    color: #222222;

    font-size: 12px;

    text-align: right;
}


/* =========================================================
   COLOR PALETTE
========================================================= */

.post-detail--palette {
    display: block;

    padding-top: 13px;

    padding-bottom: 13px;
}


.post-detail--palette .post-detail__label {
    display: block;

    margin-bottom: 12px;
}


.color-palette {
    display: flex;

    gap: 5px;
}


.color {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    border-radius: 3px;

    border: 1px solid rgba(0, 0, 0, 0.08);
}


/* =========================================================
   AUTHOR
========================================================= */

.post-author {
    padding: 30px 0;

    border-bottom: 1px solid #e5e5e5;
}


.author-link {
    display: flex;

    align-items: center;

    gap: 11px;

    color: inherit;
}


.author-avatar {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    border-radius: 50%;

    object-fit: cover;
}


.author-info {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.author-name {
    color: #222222;

    font-size: 12px;

    font-weight: 500;
}


.author-role {
    color: #999999;

    font-size: 10px;
}


/* =========================================================
   TAGS
========================================================= */

.post-tags {
    padding-top: 30px;
}


.tag-list {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}


.tag-list a {
    padding: 7px 10px;

    border: 1px solid #dddddd;

    border-radius: 3px;

    color: #555555;

    font-size: 11px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.tag-list a:hover {
    background: #111111;

    border-color: #111111;

    color: #ffffff;
}


/* =========================================================
   SIMILAR POSTS
========================================================= */

.similar-posts {
    margin-top: 120px;

    padding-top: 35px;

    border-top: 1px solid #e5e5e5;
}


.similar-posts__header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 30px;
}


.similar-posts__header h2 {
    margin: 0;

    color: #111111;

    font-size: 18px;

    font-weight: 500;

    letter-spacing: -0.02em;
}


.similar-posts__header a {
    color: #777777;

    font-size: 11px;

    transition: color 0.2s ease;
}


.similar-posts__header a:hover {
    color: #111111;
}


/* =========================================================
   SIMILAR POSTS MASONRY
========================================================= */

.similar-posts__grid {
    column-count: 4;

    column-gap: 16px;
}


.similar-posts__grid .post-card {
    width: 100%;

    display: inline-block;

    margin: 0 0 16px;

    break-inside: avoid;
}


.similar-posts__grid .post-image-link {
    display: block;

    overflow: hidden;

    background: #eeeeee;
}


.similar-posts__grid .post-image {
    display: block;

    width: 100%;

    height: auto;

    transition:
        transform 0.5s cubic-bezier(.2,.7,.2,1);
}


.similar-posts__grid .post-image-link:hover .post-image {
    transform: scale(1.025);
}


.similar-posts__grid .post-info {
    padding: 11px 2px 8px;
}


.similar-posts__grid .post-category {
    display: block;

    margin-bottom: 5px;

    color: #888888;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.similar-posts__grid .post-title {
    margin: 0;

    color: #111111;

    font-size: 15px;

    line-height: 1.3;

    font-weight: 500;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .single-post {
        padding: 50px 30px 100px;
    }


    .single-post__layout {
        grid-template-columns:
            minmax(0, 1fr)
            240px;

        gap: 40px;
    }


    .similar-posts__grid {
        column-count: 3;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .single-page {
        margin-left: 0;

        padding-top: 64px;

        padding-bottom: 58px;
    }


    .single-post {
        padding: 40px 16px 70px;
    }


    .single-post__header {
        margin-bottom: 35px;
    }


    .single-post__title {
        font-size: 40px;

        line-height: 1;
    }


    .single-post__meta {
        font-size: 11px;
    }


    /* Stack columns */

    .single-post__layout {
        display: block;
    }


    .single-post__image {
        max-width: 100%;
    }


    .single-post__content {
        max-width: 100%;

        margin-top: 35px;
    }


    .single-post__content .single-post__intro {
        font-size: 19px;
    }


    .single-post__content p {
        font-size: 16px;

        line-height: 1.7;
    }


    /* Sidebar becomes normal content */

    .single-post__sidebar {
        margin-top: 55px;
    }


    .single-post__sidebar-inner {
        position: static;

        max-height: none;

        overflow: visible;
    }


    /* Similar posts */

    .similar-posts {
        margin-top: 80px;
    }


    .similar-posts__grid {
        column-count: 2;

        column-gap: 8px;
    }


    .similar-posts__grid .post-card {
        margin-bottom: 8px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .similar-posts__grid {
        column-count: 1;
    }

}




















/* =========================================================
   ACCOUNT PAGE
========================================================= */

.account-page {
    margin-left: 72px;
    padding-top: 72px;
    min-height: 100vh;
    background: #ffffff;
}

.account-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 65px 40px 120px;
}


/* =========================================================
   ACCOUNT LAYOUT
========================================================= */

.account-layout {
    display: grid;

    grid-template-columns: 190px minmax(0, 1fr);

    gap: 70px;

    align-items: start;
}


/* =========================================================
   USER MENU / SIDEBAR
========================================================= */

.account-menu {
    position: sticky;

    top: 100px;

    align-self: start;

    min-width: 0;
}


/* =========================================================
   USER PROFILE IN MENU
========================================================= */

.account-user {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 30px;
}


.account-avatar {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 50%;

    background: #eeeeee;
}


.account-avatar img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.account-user__info {
    min-width: 0;
}


.account-user__info h1 {
    margin: 0 0 4px;

    color: #111111;

    font-size: 15px;

    line-height: 1.2;

    font-weight: 500;

    letter-spacing: -0.02em;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.account-user__info p {
    margin: 0;

    color: #999999;

    font-size: 10px;

    line-height: 1.2;
}


/* =========================================================
   ACCOUNT NAVIGATION
========================================================= */

.account-navigation {
    display: flex;

    flex-direction: column;

    gap: 2px;
}


.account-nav-link {
    display: flex;

    align-items: center;

    gap: 10px;

    width: 100%;

    min-height: 42px;

    padding: 0 9px;

    border-radius: 4px;

    color: #888888;

    font-size: 12px;

    line-height: 1;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.account-nav-link svg {
    flex-shrink: 0;
}


.account-nav-link span {
    white-space: nowrap;
}


.account-nav-link small {
    margin-left: auto;

    color: #aaa;

    font-size: 9px;

    line-height: 1;
}


.account-nav-link:hover {
    background: #f6f6f6;

    color: #111111;
}


.account-nav-link.is-active {
    background: #f2f2f2;

    color: #111111;

    font-weight: 500;
}


/* =========================================================
   MENU SEPARATOR
========================================================= */

.account-menu__separator {
    height: 1px;

    margin: 15px 9px;

    background: #e8e8e8;
}


.account-nav-link--logout {
    color: #999999;
}


/* =========================================================
   ACCOUNT CONTENT
========================================================= */

.account-content {
    min-width: 0;
}


.account-section {
    width: 100%;

    padding-bottom: 75px;

    margin-bottom: 75px;

    border-bottom: 1px solid #e5e5e5;
}


.account-section:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.account-section__header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;
}


.account-section__eyebrow {
    display: block;

    margin-bottom: 7px;

    color: #999999;

    font-size: 9px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


.account-section h2 {
    margin: 0;

    color: #111111;

    font-size: 28px;

    line-height: 1.1;

    font-weight: 400;

    letter-spacing: -0.035em;
}


.account-count {
    flex-shrink: 0;

    color: #999999;

    font-size: 10px;

    line-height: 1;
}


/* =========================================================
   BOOKMARKS
   5 COLUMNS DESKTOP
========================================================= */

.account-bookmarks-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 14px;
}


.bookmark-card {
    position: relative;

    display: block;

    min-width: 0;

    color: #111111;

    text-decoration: none;
}


/* =========================================================
   BOOKMARK IMAGE
   SQUARE
========================================================= */

.bookmark-image {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #eeeeee;
}


.bookmark-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.45s cubic-bezier(.2, .7, .2, 1);
}


.bookmark-card:hover .bookmark-image img {
    transform: scale(1.025);
}


/* =========================================================
   BOOKMARK DELETE BUTTON
========================================================= */

.bookmark-delete {
    position: absolute;

    top: 9px;
    right: 9px;

    z-index: 5;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 28px;
    height: 28px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.94);

    color: #111111;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.12);

    opacity: 0;

    transform: scale(0.85);

    cursor: pointer;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}


/*
 * Show X when hovering over bookmark
 */

.bookmark-card:hover .bookmark-delete {
    opacity: 1;

    transform: scale(1);
}


/*
 * Also show when keyboard-focused
 */

.bookmark-delete:focus-visible {
    opacity: 1;

    transform: scale(1);

    outline: 2px solid #111111;

    outline-offset: 2px;
}


.bookmark-delete:hover {
    background: #111111;

    color: #ffffff;
}


.bookmark-delete svg {
    display: block;

    width: 13px;
    height: 13px;
}


/* =========================================================
   BOOKMARK INFORMATION
========================================================= */

.bookmark-info {
    padding: 10px 1px 0;
}


.bookmark-info span {
    display: block;

    margin-bottom: 4px;

    color: #999999;

    font-size: 9px;

    line-height: 1.2;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.bookmark-info strong {
    display: block;

    color: #222222;

    font-size: 12px;

    line-height: 1.3;

    font-weight: 500;
}


/* =========================================================
   DOWNLOADS
   2 COLUMNS DESKTOP
========================================================= */

.download-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}


.download-item {
    display: flex;

    align-items: center;

    min-width: 0;

    min-height: 76px;

    padding: 8px;

    border: 1px solid #e8e8e8;

    border-radius: 4px;

    color: #222222;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.download-item:hover {
    background: #fafafa;

    border-color: #d5d5d5;
}


/* Download thumbnail */

.download-thumbnail {
    display: block;

    width: 58px;
    height: 58px;

    flex-shrink: 0;

    object-fit: cover;

    background: #eeeeee;
}


/* Download text */

.download-item__info {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-width: 0;

    margin-left: 12px;

    margin-right: 10px;

    gap: 5px;
}


.download-item__info strong {
    display: block;

    overflow: hidden;

    color: #222222;

    font-size: 12px;

    line-height: 1.3;

    font-weight: 500;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.download-item__info span {
    display: block;

    color: #999999;

    font-size: 9px;

    line-height: 1.2;
}


/* Download icon */

.download-icon {
    flex-shrink: 0;

    margin-left: auto;

    color: #777777;
}


/* =========================================================
   PROFILE
========================================================= */

.edit-button {
    flex-shrink: 0;

    padding: 9px 13px;

    background: transparent;

    border: 1px solid #dddddd;

    border-radius: 3px;

    color: #555555;

    font-family: inherit;

    font-size: 10px;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


.edit-button:hover {
    background: #111111;

    border-color: #111111;

    color: #ffffff;
}


.profile-fields {
    border-top: 1px solid #eeeeee;
}


.profile-field {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    min-height: 58px;

    border-bottom: 1px solid #eeeeee;
}


.profile-field span {
    color: #999999;

    font-size: 11px;

    line-height: 1.2;
}


.profile-field strong {
    color: #222222;

    font-size: 11px;

    line-height: 1.2;

    font-weight: 400;

    text-align: right;
}


/* =========================================================
   SETTINGS
========================================================= */

.settings-list {
    border-top: 1px solid #eeeeee;
}


.setting-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    min-height: 75px;

    border-bottom: 1px solid #eeeeee;

    cursor: pointer;
}


.setting-row div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.setting-row strong {
    color: #222222;

    font-size: 12px;

    line-height: 1.3;

    font-weight: 500;
}


.setting-row span {
    color: #999999;

    font-size: 10px;

    line-height: 1.3;
}


.setting-row input {
    width: 17px;
    height: 17px;

    flex-shrink: 0;

    accent-color: #111111;
}


/* =========================================================
   TABLET — 1100px
========================================================= */

@media (max-width: 1100px) {

    .account-container {
        padding-left: 30px;
        padding-right: 30px;
    }


    .account-bookmarks-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET — 900px
========================================================= */

@media (max-width: 900px) {

    .account-layout {
        grid-template-columns: 160px minmax(0, 1fr);

        gap: 40px;
    }


    .account-bookmarks-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .download-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE — 700px
========================================================= */

@media (max-width: 700px) {

    .account-page {
        margin-left: 0;

        padding-top: 64px;

        padding-bottom: 58px;
    }


    .account-container {
        padding: 40px 16px 80px;
    }


    /* -----------------------------------------
       Layout
    ----------------------------------------- */

    .account-layout {
        display: block;
    }


    /* -----------------------------------------
       Account menu
    ----------------------------------------- */

    .account-menu {
        position: static;

        width: 100%;

        margin-bottom: 35px;
    }


    .account-user {
        margin-bottom: 20px;
    }


    .account-avatar {
        width: 46px;
        height: 46px;
    }


    .account-user__info h1 {
        font-size: 14px;
    }


    /* -----------------------------------------
       Horizontal mobile navigation
    ----------------------------------------- */

    .account-navigation {
        flex-direction: row;

        width: 100%;

        gap: 5px;

        overflow-x: auto;

        scrollbar-width: none;
    }


    .account-navigation::-webkit-scrollbar {
        display: none;
    }


    .account-nav-link {
        width: auto;

        flex-shrink: 0;

        min-height: 38px;

        padding: 0 12px;
    }


    .account-nav-link small {
        margin-left: 3px;
    }


    .account-menu__separator,
    .account-nav-link--logout {
        display: none;
    }


    /* -----------------------------------------
       Sections
    ----------------------------------------- */

    .account-section {
        padding-bottom: 50px;

        margin-bottom: 50px;
    }


    .account-section__header {
        align-items: flex-end;

        margin-bottom: 22px;
    }


    .account-section h2 {
        font-size: 24px;
    }


    /* -----------------------------------------
       BOOKMARKS
       3 COLUMNS ON MOBILE
    ----------------------------------------- */

    .account-bookmarks-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 7px;
    }


    /*
     * Keep images perfectly square
     */

    .bookmark-image {
        aspect-ratio: 1 / 1;
    }


    .bookmark-info {
        padding-top: 7px;
    }


    .bookmark-info span {
        margin-bottom: 3px;

        font-size: 7px;
    }


    .bookmark-info strong {
        font-size: 9px;

        line-height: 1.25;
    }


    /*
     * Touch devices don't have hover,
     * so keep the X visible on mobile.
     */

    .bookmark-delete {
        top: 5px;
        right: 5px;

        width: 23px;
        height: 23px;

        opacity: 1;

        transform: scale(1);
    }


    .bookmark-delete svg {
        width: 11px;
        height: 11px;
    }


    /* -----------------------------------------
       DOWNLOADS
       2 COLUMNS ON MOBILE
    ----------------------------------------- */

    .download-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 7px;
    }


    .download-item {
        min-height: 65px;

        padding: 6px;
    }


    .download-thumbnail {
        width: 44px;
        height: 52px;
    }


    .download-item__info {
        margin-left: 8px;

        margin-right: 4px;

        gap: 4px;
    }


    .download-item__info strong {
        font-size: 10px;
    }


    .download-item__info span {
        font-size: 8px;
    }


    .download-icon {
        display: none;
    }


    /* -----------------------------------------
       Profile
    ----------------------------------------- */

    .profile-field {
        min-height: 52px;
    }


    /* -----------------------------------------
       Settings
    ----------------------------------------- */

    .setting-row {
        min-height: 70px;
    }

}


/* =========================================================
   VERY SMALL PHONES — 430px
========================================================= */

@media (max-width: 430px) {

    .account-container {
        padding-left: 12px;
        padding-right: 12px;
    }


    .account-bookmarks-grid {
        gap: 5px;
    }


    .bookmark-info strong {
        font-size: 8px;
    }


    .download-grid {
        grid-template-columns: 1fr;
    }

}
