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;
}

/* 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: " ▴"; }
}

/*
   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;
}

/* 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 #33cc99;
    padding-top: .75rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.video-section-header .section-label { margin: 0; }

.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; }

.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: 1em 0;
}
.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", "Timew new Roman";
    background: white;
    border-radius: 4px;
    margin-top: 0!important;
    padding: 0.4rem 1.2rem;
    margin-bottom: 1.25rem;
}


/* 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; }

.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: 12pt;
    line-height: 1.37em!important;
    color: #444;
}

.content-container h1,
.content-container h2,
.content-container h3,
.content-container h4 {
    font-family: artial, 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;
}

hr {
    border: none;
    height: 4px;
    background: #efefef;
    margin: 1em 0;
    clear: both;
}
.content-container blockquote {
  margin: 0 0 10px 0;
  padding: 10px 20px;
  border-left: 5px solid #E2E2E2;
  line-height: 22px;
  font-style: italic;
  line-height: 1.5rem;
  background: #efefef;
}

.field-author {
    border-width: 4px 0;
    border-style: solid;
    border-color: #ddd;
    padding: 1em 0;
    margin: 1em 0;
    vertical-align: top;
}

.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;
}
