html { scroll-behavior: smooth; }

body {
    padding: 0; margin: 0;
    font-family: Ubuntu, sans-serif;
    background: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#main-content { flex: 1; }

header, footer { background: black; color: white; }

#logo {
    font-size: 2em; font-weight: 700;
    letter-spacing: -0.07em; margin: 0; padding: 0;
}

a#logo:link, a#logo:hover, a#logo:visited, a#logo:active {
    text-decoration: none; color: white;
}

/* NAV BASE */
nav {
    background: black; color: white;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(to right, #99cc99, #66cc99, #3399cc) 1;
    position: relative; z-index: 100;
}

nav ul {
    margin: 0 auto; padding: 0;
    max-width: 1100px;
    display: flex; list-style: none;
}

nav ul li { color: white; display: block; position: relative; }

nav ul li a, nav ul li a:link, nav ul li a:visited, nav ul li a:active {
    display: block; padding: 1em; color: white;
    text-decoration: none; white-space: nowrap;
}

nav ul li a:hover { background: #444; }

/* HEADER LAYOUT */
header { padding: 0; }

.header-inner {
    max-width: 1100px; margin: 0 auto; padding: 1em;
    display: flex; align-items: center; justify-content: space-between;
}

.header-brand .tagline {
    font-size: .8em; margin: 0; padding: 0; color: #ccc;
}

.header-mobile-search { display: none; }

/* HAMBURGER */
#nav-toggle {
    display: none; background: none; border: none;
    cursor: pointer; padding: 0.5em; color: white; flex-shrink: 0;
}

#nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: white; margin: 5px 0;
    transition: transform 0.2s, opacity 0.2s;
}

nav.open #nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open #nav-toggle span:nth-child(2) { opacity: 0; }
nav.open #nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* DESKTOP DROPDOWNS & MEGA MENU */

.has-dropdown .dropdown {
    display: none; position: absolute; top: 100%; left: 0;
    background: #1a1a1a; min-width: 200px;
    border-top: 2px solid #33cc99;
    list-style: none; margin: 0; padding: 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.has-dropdown .dropdown li a { padding: 0.75em 1em; font-size: 0.9em; white-space: nowrap; }
.has-dropdown .dropdown li a:hover { background: #333; }
.has-dropdown:hover .dropdown { display: block; }

.has-mega { position: static; }

.mega-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #1a1a1a; border-top: 2px solid #33cc99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    padding: 1.5em 0; z-index: 200;
}

.mega-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; gap: 2em; padding: 0 1em;
}

.mega-col { flex: 1; min-width: 80px; }

.mega-col-title {
    font-size: 0.7em; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: #33cc99; padding: 0 0.5em 0.6em;
    border-bottom: 1px solid #333; margin-bottom: 0.4em;
}

.mega-col ul { flex-direction: column; max-width: none; margin: 0; padding: 0; }
.mega-col ul li a { padding: 0.45em 0.5em; font-size: 0.88em; color: #ccc; white-space: normal; }
.mega-col ul li a:hover { color: white; background: #2a2a2a; }
.has-mega:hover .mega-menu { display: block; }

.has-dropdown > a::after, .has-mega > a::after {
    content: " ▾"; font-size: 0.7em; opacity: 0.6;
}

/* MOBILE */
@media (max-width: 768px) {
    #nav-toggle { display: block; }

    nav ul { flex-direction: column; max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
    nav.open ul { max-height: 1000px; }
    nav ul li { width: 100%; }
    nav ul li a { width: 100%; box-sizing: border-box; border-bottom: 1px solid #222; }

    .has-mega > a::after, .has-dropdown > a::after { display: none; }
    .mega-menu { display: none !important; }

    .has-dropdown .dropdown {
        display: none; position: static; background: #111;
        border-top: none; box-shadow: none;
        max-height: 0; overflow: hidden;
        transition: max-height 0.2s ease;
        min-width: unset; width: 100%;
    }

    .has-dropdown.mob-open .dropdown { display: block; max-height: 400px; }
    .has-dropdown .dropdown li a { padding-left: 2em; font-size: 0.9em; border-bottom: 1px solid #1e1e1e; }

    .has-dropdown > a::after { display: inline; content: " ▾"; font-size: 0.7em; opacity: 0.6; }
    .has-dropdown.mob-open > a::after { content: " ▴"; }

    .header-mobile-search {
        display: block;
        padding: 0 1em 1em;
    }

    .header-mobile-search .search-form {
        display: flex;
        gap: .5em;
        max-width: 1100px;
        margin: 0 auto;
    }

    .header-mobile-search .search-field-query {
        flex: 1;
        min-width: 0;
        box-sizing: border-box;
        padding: .6em .75em;
        border: 1px solid #555;
        border-radius: 3px;
        background: white;
        color: #111;
        font-size: 1rem;
    }

    .header-mobile-search .search-field-query:focus {
        outline: 2px solid #33cc99;
        outline-offset: 1px;
    }

    .header-mobile-search .search-button-submit {
        flex: 0 0 auto;
        box-sizing: border-box;
        padding: .6em 1.1em;
        border: none;
        border-radius: 3px;
        background: #33cc99;
        color: #111;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
    }

    .header-mobile-search .search-button-submit:hover,
    .header-mobile-search .search-button-submit:focus {
        background: #2a9d66;
        color: white;
    }

    .sidebar-search { display: none; }
}

/*
   MAIN CONTENT — REDESIGNED
*/

#main-content {
    flex: 1;
    background: #f2f2ee;
}

main .content-container a,
main .content-container a:active,
main .content-container a:link,
main .content-container a:visited {
    color: black;
    text-decoration: none;
    border-bottom: 2px solid #ccc;
    margin-bottom: -2px;
    transition: border-bottom .15s;
}
main .content-container a:hover {
    border-bottom: 2px solid #66ffcc;
}

.sidebar a,
.sidebar a:active,
.sidebar a:link,
.sidebar a:visited {
    color: black;
    text-decoration: none;
}
.sidebar a:hover {
    color: #39c;
}

.content-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.frontpage,
.content-page {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

/* TAGS */
.tag {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .22rem .65rem;
    border-radius: 2px;
    color: white;
}

.tag-univ  { background: #3399cc; }
.tag-bio   { background: #2a9d66; }
.tag-paleo { background: #c07a20; }
.tag-theo  { background: #7a5cc0; }

/* FEATURED ARTICLE */
.featured-article {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: white;
}

.featured-article img {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
    object-fit: cover; display: block;
}

.featured-article .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,0.90) 0%,
        rgba(0,0,0,0.40) 55%,
        rgba(0,0,0,0.08) 100%);
}

.featured-article .card-body {
    position: relative;
    padding: 2rem;
}

.featured-article h3 {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin: .4rem 0 .65rem;
}

.featured-article p {
    font-size: .95rem;
    color: rgba(255,255,255,.8);
    margin-bottom: .9rem;
    max-width: 520px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .83rem;
    font-weight: 600;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.55);
    padding: .38rem .9rem;
    border-radius: 3px;
    text-decoration: none;
    transition: background .15s, border-color .15s;
}
.read-more:hover { background: rgba(255,255,255,.15); border-color: white; }

.breadcrumb {
    display: block;
    background: #ccc;
    margin-bottom: 1.5rem;
    padding: .7rem;
    border-radius: 4px;
}

.breadcrumb-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem .75rem;
    background: white;
    border: none;
    position: static;
    z-index: auto;
    border-radius: 4px;
    padding: .75rem 1.1rem;
    margin-bottom: 1.25rem;
    font-family: Ubuntu, Arial, Helvetica, sans-serif;
    font-size: .82rem;
    line-height: 1.4;
}

.breadcrumb-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #888;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .2rem .45rem;
    min-width: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: #777;
}

.breadcrumb-list li + li::before {
    content: "\203A";
    color: #bbb;
    font-weight: 700;
}

.breadcrumb-list a,
.breadcrumb-list a:link,
.breadcrumb-list a:visited,
.breadcrumb-list a:active {
    color: #33cc99;
    text-decoration: none;
    border-bottom: none;
}

.breadcrumb-list a:hover {
    color: #2a9d66;
    text-decoration: underline;
}

.breadcrumb-list .breadcrumb-current {
    color: #333;
    font-weight: 600;
}

.breadcrumb-dismiss {
    margin-left: auto;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #efefef;
    color: #9a9a9a;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.breadcrumb-dismiss svg {
    width: .6rem;
    height: .6rem;
    display: block;
}
.breadcrumb-dismiss:hover {
    background: #e0e0e0;
    color: #555;
}
.breadcrumb-dismiss:focus-visible {
    outline: 2px solid #33cc99;
    outline-offset: 2px;
}

.breadcrumb-hidden .breadcrumb-box { display: none; }

.path-toggle-wrap {
    display: none;
    position: absolute;
    top: .55rem;
    right: .8rem;
    z-index: 5;
    margin: 0;
}

.breadcrumb-hidden .path-toggle-wrap { display: block; }

.content-page .content-container { position: relative; }

.path-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.9rem;
    height: 1.35rem;
    padding: 0 .45rem;
    border: none;
    border-radius: 999px;
    background: #efefef;
    color: #9a9a9a;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.path-toggle:hover {
    background: #e0e0e0;
    color: #555;
}
.path-toggle:focus-visible {
    outline: 2px solid #33cc99;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .path-toggle-wrap {
        top: .2rem;
        right: .55rem;
    }
    .path-toggle {
        min-width: 1.7rem;
        height: 1.15rem;
        font-size: .8rem;
    }
}

/* ARTICLE GRID */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

a.article-card-link,
a.article-card-link:link,
a.article-card-link:hover,
a.article-card-link:visited {
    text-decoration: none;
}
.article-card {
    position: relative;
    height: 210px;
    overflow: hidden;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: white;
}

.article-card img {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

.article-card:hover img { transform: scale(1.04); }

.article-card .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.22) 65%,
        transparent 100%);
}

.article-card .card-body {
    position: relative;
    padding: .9rem 1rem;
}

.article-card h3 {
    font-size: .93rem;
    font-weight: 700;
    line-height: 1.3;
    color: white;
    margin: .3rem 0 .2rem;
}

.article-card p {
    font-size: .78rem;
    color: rgba(255,255,255,.72);
}

/* SECTION LABELS */
.section-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #33cc99;
    margin-bottom: .75rem;
    margin-top: 1.5rem;
}

/* TOPIC GRID */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.topic-grid a {
    position: relative;
    height: 88px;
    overflow: hidden;
    border-radius: 4px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: white;
    font-size: .82rem;
    font-weight: 700;
}

.topic-grid a img {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.topic-grid a:hover img { transform: scale(1.05); }

.topic-grid a .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.12) 100%);
}

.topic-grid a span {
    position: relative;
    padding: .55rem .75rem;
    line-height: 1.2;
}

/* VIDEO GRID */
.video-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px solid #2a8fa3;
    padding-top: .75rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.video-section-header .section-label { margin: 0; color: #2a8fa3; }
.video-section-header .view-all-link { color: #2a8fa3; }

.view-all-link {
    font-size: .78rem;
    font-weight: 600;
    color: #33cc99;
    text-decoration: none;
    letter-spacing: .04em;
}
.view-all-link:hover { text-decoration: underline; }

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.video-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: #111;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
}

.video-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.video-card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}

.video-card:hover .video-card-thumb img { transform: scale(1.05); }

.video-card-thumb .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
}

.play-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 48px; height: 48px;
    background: rgba(0,0,0,0.55);
    border: 2px solid rgba(255,255,255,0.75);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, border-color .2s;
}

.video-card:hover .play-circle {
    background: #33cc99;
    border-color: #33cc99;
}

.play-circle svg { fill: white; width: 16px; height: 16px; margin-left: 3px; }

.video-card-body {
    padding: .75rem 1rem .9rem;
    background: #1a1a1a;
}

.video-card-body h3 {
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.35;
    color: white;
    margin: 0 0 .25rem;
}

.video-card-body .video-meta {
    font-size: .74rem;
    color: #888;
}

/* PODS GRID */
.pods-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px solid #339966;
    padding-top: .75rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.pods-section-header .section-label {
    margin: 0;
    color: #339966;
}
.pods-section-header .view-all-link { color: #339966; }


/* SHORTS / REELS */
.shorts-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px solid #c07a20;
    padding-top: .75rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.shorts-section-header .section-label {
    margin: 0;
    color: #c07a20;
}

.shorts-section-header .view-all-link { color: #c07a20; }


/* BLOG POSTS */
.blog-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px solid #33cc99;
    padding-top: .75rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.blog-section-header .section-label {
    margin: 0;
    color: #33cc99;
}

.blog-section-header .view-all-link { color: #33cc99; }

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .75rem;
    margin-bottom: 1.75rem;
}

.short-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
}

.short-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
}

.short-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}

.short-card:hover .short-thumb img { transform: scale(1.05); }

.short-thumb .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
}

.short-play {
    position: absolute;
    top: 10px; right: 10px;
    width: 30px; height: 30px;
    background: rgba(192,122,32,0.85);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.short-play svg { fill: white; width: 11px; height: 11px; margin-left: 2px; }

.short-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: .5rem .6rem;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.25;
    color: white;
    position: absolute;
}

.content-page figure.content-image {
    background: white;
    width: 100%;
    margin: 0;
    margin-bottom: 1.25rem;
    border-radius: 4px;
}

.content-page figure.content-image img {
    width: 100%;
    border-radius: 4px 4px 0 0;
}

figcaption {
    padding: .2em 1.2rem;
    opacity: 0.63;
    color: #777;
    line-height: 1.5em;
    font-size: .8em;
}
figcaption a,
figcaption a:link,
figcaption a:hover,
figcaption a:active,
figcaption a:visited {
    color: #777;
    text-decoration: none;
}

.content-container figcaption {
    font-family: arial, helvetica, sans-serif;
    font-size: 0.8rem;
    text-align: left;
    line-height: 1.3em;
    margin: 0;
    padding: .55em 1.2rem .15em;
}
.align_right {
    /* width: 37%; */
    max-width: 50%!important;
    float: right;
    margin-left: 1em;
}
.align_left {
    width: 37%;
    float: left;
    margin-right: 1em;
}
.align_center {
    width: 72%;
    margin-left: auto;
    margin-right: auto;
}

.content-page .content-container {
    font-family: "Georgia", "Times New Roman";
    background: white;
    border-radius: 4px;
    margin-top: 0!important;
    padding: 2rem 1.75rem 1.25rem;
    margin-bottom: 1.25rem;
}
@media (max-width: 640px) {
    .content-page .content-container { padding: 1.35rem 1.05rem; }
}


/* SIDEBAR */
.sidebar section {
    background: white;
    border-radius: 4px;
    padding: 1.1rem 1.2rem;
    margin-bottom: 1.25rem;
    border-top: 3px solid #3399cc;
}

.sidebar h2 {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #3399cc;
    margin-bottom: .75rem;
}

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

.sidebar li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    padding: .55rem 0;
    border-bottom: 1px solid #eee;
    font-size: .87rem;
    color: #333;
}
.sidebar li:last-child { border-bottom: none; }

/* EVENT CARDS (calendar) */
.event-list { list-style: none; padding: 0; margin: 0; }

.event-card {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .65rem 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
}
.event-card:last-child { border-bottom: none; }

main .content-container a.event-card,
main .content-container a.event-card:link,
main .content-container a.event-card:visited,
main .content-container a.event-card:active,
main .content-container a.event-card:hover {
    border-bottom: none;
    margin-bottom: 0;
}

.event-date-box {
    flex-shrink: 0;
    width: 42px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #dde;
    text-align: center;
    line-height: 1;
}

.event-date-box .month {
    background: #3399cc;
    color: white;
    font-size: .58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .18rem 0;
    display: block;
}

.event-date-box .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    padding: .15rem 0 .2rem;
}

.event-info { flex: 1; }

.event-info strong {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

.event-info span {
    display: block;
    font-size: .74rem;
    color: #888;
    margin-top: .1rem;
}

.event-arrow {
    flex-shrink: 0;
    color: #bbb;
    font-size: .9rem;
    margin-top: 3px;
}

.pod-num {
    font-size: .7rem;
    font-weight: 700;
    color: white;
    background: #666;
    border-radius: 2px;
    padding: .1rem .4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.mag-cover {
    width: 100%;
    object-fit: cover;
    border-radius: 3px;
    display: block;
    margin-bottom: .75rem;
}

.mag-theme { font-size: .82rem; color: #555; margin-bottom: .6rem; }
.mag-theme strong { color: #111; }

a.btn-outline {
    display: inline-block;
    font-size: .82rem; font-weight: 600;
    color: #3399cc;
    border: 1.5px solid #3399cc;
    padding: .3rem .85rem;
    border-radius: 3px;
    text-decoration: none;
}
a.btn-outline:hover { background: #3399cc; color: white; }

@media (max-width: 768px) {
    .frontpage { grid-template-columns: 1fr; }
    .content-page { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .topic-grid { grid-template-columns: 1fr 1fr; }
    .pods-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .shorts-grid { grid-template-columns: repeat(3, 1fr); }
}

/*
   FOOTER
*/
footer {
    background: #0d0d0d; color: #bbb;
    font-size: 0.875em;
    border-top: 4px solid transparent;
    border-image: linear-gradient(to right, #99cc99, #66cc99, #3399cc) 1;
}

.footer-inner { max-width: 1100px; margin: 0 auto; padding: 2.5em 1em 1.5em; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid #222;
}

.footer-col h3 {
    font-size: 0.7em; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: #33cc99; margin: 0 0 0.8em;
}

.footer-col p { margin: 0 0 0.4em; line-height: 1.6; color: #888; font-size: 0.95em; }

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 0.3em; }
.footer-col ul li a, .footer-col ul li a:link, .footer-col ul li a:visited { color: #aaa; text-decoration: none; }
.footer-col ul li a:hover { color: white; }

.footer-social { display: flex; gap: 0.75em; margin-top: 1.2em; flex-wrap: wrap; }

.social-btn {
    display: inline-flex; align-items: center; gap: 0.45em;
    padding: 0.45em 0.8em; border: 1px solid #333; border-radius: 4px;
    color: #ccc; text-decoration: none; font-size: 0.85em;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.social-btn:hover { border-color: #33cc99; color: white; background: #1a1a1a; }
.social-btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

.footer-support {
    background: #111; border-left: 3px solid #33cc99;
    border-radius: 2px; padding: 0.8em 1em; margin-top: 0.6em;
}
.footer-support p { margin: 0.2em 0; color: #999; font-size: 0.9em; }

.footer-bottom {
    padding-top: 1.2em; display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 0.5em;
    color: #555; font-size: 0.85em;
}
.footer-bottom a, .footer-bottom a:link, .footer-bottom a:visited { color: #666; text-decoration: none; }
.footer-bottom a:hover { color: #aaa; }

@media (max-width: 680px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }


/* MAIN TEXT STYLES */

.content-container,
.content-container p,
.content-container ul {
    font-family: "Georgia", "Palatino Linotype", "Times New Roman", "Times"!important;
    font-size: 1.05rem;
    line-height: 1.52!important;
    color: #333;
}

.content-container h1,
.content-container h2,
.content-container h3,
.content-container h4,
.content-container h5,
.content-container h6 {
    font-family: Ubuntu, Arial, Helvetica, sans-serif;
    line-height: 1.3em;
}

/* FROM OLD STYLESHEET */

.share-buttons-mini {
    float: right;
    font-size: 12px;
    font-family: "Arial", "Helvetica", "Sans-Serif";
    color: #aaa;
    margin: 4px 0 0 0;
}
.share-button-mini {
    margin: 8px 0 0 0;
    padding-top: 8px;
    opacity: 0.37;
    text-decoration: none;
    border: none!important;
    -webkit-transition: opacity 200ms ease;
    -moz-transition: opacity 200ms ease;
    -ms-transition: opacity 200ms ease;
    -o-transition: opacity 200ms ease;
    transition: opacity 200ms ease;
}
.share-button-mini:hover {
    opacity: 1;
}
.share-buttons {
    padding: 1em 0;
}
.share-button {
    display: inline-block;
    color: white!important;
    margin: 0 1em 1em 0;
    padding: .4em .8em .2em .8em;
    font-family: arial, helvetica, sans-serif;
    font-weight: bold;
    border: none!important;
}
a.share-button-facebook,
a.share-button-facebook:link,
a.share-button-facebook:visited {
    background: #0066cc;
    color: white;
}
a.share-button-facebook:hover {
    background: #1177dd;
}
a.share-button-twitter,
a.share-button-twitter:link,
a.share-button-twitter:visited {
    background: #0099ff;
    color: white;
}
a.share-button-twitter:hover {
    background: #11aaff;
}

/* TAGS */
.tags {
    font-size: .9em;
    margin-bottom: 2rem;
}
.tags a:link,
.tags a:active,
.tags a:visited {
    display: inline-block;
    font-family: Ubuntu, Arial, Helvetica, "Sans-serif";
    padding: .4em 1em .4em 1em;
    margin: .4em .4em .4em 0;
    background: #ddd;
    border-radius: 3em;
    border: none!important;
    transition: background .2s!important;
}
.tags a:hover {
    color: black;
    background: #6fc;
    border: none!important;
}
.sidebar .tags a:hover {
    background: #6cf;
}

/* TAG HUB */
.tag-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 2.5rem;
    margin: 1.5rem 0 2.5rem;
}

.tag-hub-group { min-width: 0; }

.tag-hub-group-title {
    font-family: Ubuntu, Arial, Helvetica, sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0 0 .85rem;
    padding: 0 0 .5rem;
    border-bottom: 2px solid #e4e4df;
}

.tag-hub-group-title a,
.tag-hub-group-title a:link,
.tag-hub-group-title a:visited {
    color: #111;
    border-bottom: none!important;
}

.tag-hub-group-title a:hover { color: #3399cc; }

/* Cycle accent colors to echo the .tag-* category palette */
.tag-hub-group:nth-child(4n+1) .tag-hub-group-title { border-bottom-color: #3399cc; }
.tag-hub-group:nth-child(4n+2) .tag-hub-group-title { border-bottom-color: #2a9d66; }
.tag-hub-group:nth-child(4n+3) .tag-hub-group-title { border-bottom-color: #c07a20; }
.tag-hub-group:nth-child(4n+4) .tag-hub-group-title { border-bottom-color: #7a5cc0; }

.tag-hub-group .tags { margin-bottom: 0; }

/* Muted "Övrigt" group */
.tag-hub-group.tag-hub-group--other .tag-hub-group-title {
    color: #888;
    border-bottom-color: #ccc;
}
.tag-hub-group--other .tag-hub-group-title a,
.tag-hub-group--other .tag-hub-group-title a:link,
.tag-hub-group--other .tag-hub-group-title a:visited {
    color: #888;
}

@media (max-width: 700px) {
    .tag-hub-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

hr {
    border: none;
    height: 4px;
    background: #efefef;
    margin: 1em 0;
    clear: both;
}
.content-container blockquote {
  margin: 1.25rem 0;
  padding: .2em 0 .2em 1.25rem;
  border-left: 4px solid #33cc99;
  line-height: 1.5;
  font-style: italic;
  color: #555;
}

.field-author {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    clear: both;
    background: linear-gradient(135deg, #d6d6d6 0%, #ececec 50%, #f7f7f7 100%);
    border-radius: 10px;
    padding: 1.25rem 1.4rem;
    margin: 2em 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 2px 6px rgba(0,0,0,0.06);
}

.author-item {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}

.author-item + .author-item {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 1rem;
}

.author-photo {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #c6c6c6;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.16);
}

.author-details {
    flex: 1 1 auto;
    min-width: 0;
}

.author-name {
    display: block;
    font-family: Ubuntu, Arial, Helvetica, sans-serif;
    font-size: .95rem;
    color: #333;
    line-height: 1.3;
}

.author-name a,
.author-name a:link,
.author-name a:visited,
.author-name a:active {
    color: inherit;
    text-decoration: none;
    border-bottom: none;
}

.author-name a:hover {
    color: #2a8fa3;
    border-bottom: none;
}

.author-byline {
    margin-top: .25rem;
    font-size: .92rem;
    line-height: 1.45;
    color: #555;
}

.field-easy-summary {
    border-width: 4px 0;
    border-style: solid;
    border-color: #cef;
    padding: 1em;
    margin: 2em 0 2em 0;
    background: #f0fcff;
}
.field-easy-summary h2 {
    font-size: 1.2em;
}

.field-related-content {
    clear: both;
}
.field-related-content .content-item {
    border: 4px solid #eee;
    padding: 1em;
}

.search-field-query {
    min-width: 208px;
}

/* button */
a.button {
    display: inline-block;
    padding: 1em;
    margin: 0 1em 1em 0;
    border: 1px solid #ccc;
    background: #efefef;
    text-decoration: none;
}
a.button:hover {
    background: #cef;
    border: 1px solid #09c;
}
a.button:link,
a.button:visited {
    border: none;
    text-decoration: none;
}

/* button-small */
a.button-small,
a.button-small:link,
a.button-small:visited {
    display: inline-block;
    border: none;
    text-decoration: none;
    padding: .2em .8em;
    margin: 0 .8em 0 0;
    text-decoration: none;
    font-family: arial, helvetica, 'sans-serif';
    font-size: .9em;
    font-weight: bold;
    background: #bbb;
    color: #fff;
}
a.button-small:hover {
    background: #ddd;
    color: #fff;
}

a.button-green,
a.button-green:link,
a.button-green:visited {
    background: #0d0;
    color: #fff;
}
a.button-green:hover {
    background: #3f3!important;
    color: white!important;
}

/* VIDEO HUB LISTING */
.video-list-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.video-list-item,
.content-container a.video-list-item,
.content-container a.video-list-item:link,
.content-container a.video-list-item:visited,
.content-container a.video-list-item:active,
.content-container a.video-list-item:hover {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: inherit;
    background: white;
    border: none;
    border-bottom: none;
    margin-bottom: 0;
    box-shadow: 0 0 0 1px #eee;
    border-radius: 4px;
    padding: .85rem;
    transition: box-shadow .15s;
}

.video-list-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }

.video-list-item-odd { flex-direction: row-reverse; }

.video-list-thumb {
    position: relative;
    flex-shrink: 0;
    width: 280px;
    max-width: 42%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 3px;
    background: #111;
}

.video-list-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}

.video-list-item:hover .video-list-thumb img { transform: scale(1.05); }

.video-list-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 42px; height: 42px;
    background: rgba(0,0,0,.55);
    border: 2px solid rgba(255,255,255,.8);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, border-color .2s;
}

.video-list-item:hover .video-list-play {
    background: #33cc99;
    border-color: #33cc99;
}

.video-list-play svg { fill: white; width: 14px; height: 14px; margin-left: 2px; }

.video-list-description { flex: 1; min-width: 0; }

.video-list-title {
    font-family: arial, helvetica, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    margin-bottom: .35rem;
}

.video-list-description p {
    font-family: arial, helvetica, sans-serif !important;
    font-size: .85rem !important;
    line-height: 1.5 !important;
    color: #666;
    margin: 0 0 .5rem;
}

.video-list-date {
    font-size: .74rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .04em;
}

@media (max-width: 680px) {
    .video-list-item,
    .video-list-item-odd {
        flex-direction: column;
        align-items: stretch;
    }
    .video-list-thumb { width: 100%; max-width: none; }
}

/* SHOP */


.product-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.product-list-item {
    width: calc(50% - 0.5em);
    display: flex;
    flex-direction: column;
    min-height: 320px;
    border: 4px solid #efefef;
    padding: 1em;
    margin: 0;
    box-sizing: border-box;
    justify-content: space-between;
    border-radius: 8px;
    border: none;
    box-shadow: 0 0 12px rgba(0,0,0,0.16);
}

.product-image-listitem {
    /* float: right; */
    display: block;
    border-bottom: none;
    margin: 1em auto;
}

@media (max-width: 479px) {
    .product-list {
        flex-direction: column;
        gap: 0;
    }
    .product-list-item {
        width: calc(100% - 1em);
        margin: 0 0 1em 0;
    }
}

.product-image-container {
    margin-top: 1em;
}

.product-image {
    display: block;
    margin-left: auto!important;
    margin-right: auto!important;
}

.field-price-sek {
    display: block;
    font-weight: bold;
    padding: 1em 0;
    border-top: 1px solid #ddd;
    font-family: arial, helvetica, sans-serif;
}


.product-list-item-description {
    font-size: .9em;
    line-height: 1.2em;
}

.shop-button-container {
    padding: 0;
    color: white!important;
}
.shop-button {
    display: inline-block;
    margin: 1em 0;
    padding: .2em .8em;
    font-family: arial, helvetica, sans-serif;
    font-weight: bold;
    border: none!important;
    color: white!important;
}

a.order-button,
a.order-button:link,
a.order-button:visited {
    background: #00cc00;
    color: white!important;
}
a.order-button:hover {
    background: #009900;
}

a.more-info-button,
a.more-info-button:link,
a.more-info-button:visited {
    background: #00ccff;
    color: white;
}
a.more-info-button:hover {
    background: #0099cc;
}

.product-list-item h3 a:link {
    border: none;
}

a.product-list-item-link {
    text-decoration: none;
    border: none!important;
}

a.back-to-shop-link {
    display: inline-block;
    padding: .4em 1em;
    background: #efefef;
    border: none!important;
    margin: 1em 0;
}
a.back-to-shop-link:link,
a.back-to-shop-link:visited {
    text-decoration: none;
    border: none;
    color: black;
}
a.back-to-shop-link:hover {
    background: #e0e0e0;
}

.order-info {
    border: 1px solid #E5E56A;
    padding: 1em;
    margin: 1.4em 0;
    background: #FFFFEE;
    font-size: .95em;
}

/* TAG CLOUD */
.tag-cloud-tag {
    font-family: "Ubuntu";
    color: #ccc;
    display: inline-block;
    margin: 0 .2em 0 0;
    font-weight: bold;
    white-space: nowrap;
}
/*
.tag-cloud-tag a:link,
.tag-cloud-tag a:active,
.tag-cloud-tag a:visited {
    color: #777;
}
*/


/* Fields */

.field-page-created-content {
    font-family: "Arial", "Helvetica", "Sans-Serif";
    font-size: .8em;
    color: #777;
}
.field-article-info-content p {
    color: #999!important;
}

/* PAGINATION */
.pager-wrapper {
    display: flex;
    justify-content: center;
    margin: 1.75rem 0;
}

main .content-container .pager-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

main .content-container .pager-nav li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

main .content-container .pager-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 .55rem;
    box-sizing: border-box;
    border: 1.5px solid #33cc99;
    border-radius: 4px;
    background: transparent;
    color: #33cc99;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    margin: 0;
    transition: background .15s, color .15s, border-color .15s;
}

main .content-container .pager-nav a:hover,
main .content-container .pager-nav a:focus {
    background: #33cc99;
    border-color: #33cc99;
    color: white;
}

main .content-container .pager-nav .MarkupPagerNavOn a {
    background: #33cc99;
    border-color: #33cc99;
    color: white;
}

main .content-container .pager-nav .MarkupPagerNavSeparator {
    border: none;
    color: #33cc99;
    font-weight: 700;
    padding: 0 .2rem;
}

@media (max-width: 480px) {
    .pager-wrapper {
        margin: 1.25rem 0;
    }

    main .content-container .pager-nav {
        gap: .4rem;
    }

    main .content-container .pager-nav a {
        min-width: 2.1rem;
        height: 2.1rem;
        font-size: .82rem;
    }
}


/* ============================================================
   ARTICLE TYPOGRAPHY — sharpened
   ============================================================ */

/* Title: Ubuntu display face (pairs with Georgia body), tight tracking */
.content-page .content-title-h1 {
    font-family: Ubuntu, Arial, Helvetica, sans-serif;
    font-size: clamp(1.7rem, 4.5vw, 2.15rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: #1a1a1a;
    margin: .5rem 0 1.1rem;
    text-wrap: balance;
}

/* Meta kicker: date + reading time as a small-caps editorial byline row */
.field-page-created-content {
    font-family: Ubuntu, Arial, Helvetica, sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #85857e;
    margin: 0 0 1.4rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid #ecece7;
}

/* Intro deck (article_info): lead-style paragraph */
.field-article-info-content p {
    color: #666!important;
    font-size: 1.08rem;
    font-style: italic;
    line-height: 1.5;
    max-width: 60ch;
    margin: 0 0 1.5rem;
}

/* In-body headings: Ubuntu for hierarchy against the Georgia body */
.content-page .field-body-content h1,
.content-page .content-container > h1:not(.content-title-h1),
.content-page .field-body-content h2,
.content-page .content-container > h2,
.content-page .field-body-content h3,
.content-page .content-container > h3,
.content-page .field-body-content h4,
.content-page .content-container > h4,
.content-page .field-body-content h5,
.content-page .content-container > h5,
.content-page .field-body-content h6,
.content-page .content-container > h6 {
    font-family: Ubuntu, Arial, Helvetica, sans-serif;
    line-height: 1.25;
    color: #222;
    margin: 1.75em 0 .5em;
    text-wrap: balance;
}
.content-page .field-body-content h1,
.content-page .content-container > h1:not(.content-title-h1) { font-size: 1.6rem; margin-top: 2em; }
.content-page .field-body-content h2,
.content-page .content-container > h2 { font-size: 1.4rem; margin-top: 2em; }
.content-page .field-body-content h3,
.content-page .content-container > h3 { font-size: 1.15rem; }
.content-page .field-body-content h4,
.content-page .content-container > h4 { font-size: 1rem; }
.content-page .field-body-content h5,
.content-page .content-container > h5 { font-size: .95rem; }
.content-page .field-body-content h6,
.content-page .content-container > h6 { font-size: .9rem; }

/* Comfortable reading measure (~70 chars) for running text */
.content-page .field-body-content > p,
.content-page .field-body-content > ul,
.content-page .field-body-content > ol,
.content-page .field-body-content > blockquote,
.content-page .field-body-content > h1,
.content-page .field-body-content > h2,
.content-page .field-body-content > h3,
.content-page .field-body-content > h4,
.content-page .content-container > p,
.content-page .content-container > ul,
.content-page .content-container > ol,
.content-page .content-container > h1:not(.content-title-h1),
.content-page .content-container > h2,
.content-page .content-container > h3,
.content-page .content-container > h4 {
    max-width: 66ch;
}

/* Small text details */
.content-page .content-container p { text-wrap: pretty; }
.content-page .content-container p,
.content-page .content-container li { hyphens: auto; }
.content-page .field-body-content li,
.content-page .content-container > ul > li { margin: .3em 0; }
.content-page .field-body-content ul,
.content-page .field-body-content ol { padding-left: 1.4em; }
.content-page .field-body-content figure { margin: 1.25rem auto; }

/* Keep embedded media inside the content column */
.content-page .field-body-content img,
.content-page .field-body-content video,
.content-page .field-body-content iframe,
.content-page .content-container img,
.content-page .content-container video,
.content-page .content-container iframe {
    max-width: 100%;
}
.content-page .field-body-content img,
.content-page .content-container img {
    height: auto;
}
.content-page ::selection { background: #33cc99; color: white; }

/* Easy-read summary box: kicker heading to match meta line */
.content-page .field-easy-summary { border-color: #bfe0f2; }
.content-page .field-easy-summary h2 {
    font-family: Ubuntu, Arial, Helvetica, sans-serif;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #2b7cb0;
    margin: 0 0 .6em;
}
.content-page .field-easy-summary h2 small {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

/* Blog hub: list of blog posts with consistent profile pictures */
.blog-post-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.blog-post-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eee;
}

.blog-post-list-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.blog-post-list-content {
    flex: 1 1 auto;
    min-width: 0;
}

.blog-post-list-title {
    font-family: Ubuntu, Arial, Helvetica, sans-serif;
    font-size: 1.15rem;
    line-height: 1.3em;
    margin: 0 0 .25rem;
}

.blog-post-list-meta {
    margin: 0 0 .5rem;
    font-size: .85rem;
    line-height: 1.4;
    color: #777;
}

.blog-post-list-excerpt {
    margin: 0;
}

.blog-post-list-photo {
    order: 2;
    flex: 0 0 auto;
}

.content-page .content-container .blog-post-list-photo img {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: cover;
    border: 4px solid #e0e0e0;
    border-radius: 4px;
}

@media (max-width: 479px) {
    .blog-post-list-item { gap: .85rem; }
    .content-page .content-container .blog-post-list-photo img {
        width: 64px;
        height: 64px;
        border-width: 3px;
    }
}
