.header {
position: relative;
background: linear-gradient(
45deg,
var(--primary-color, #333333) 0%,
var(--secondary-color, #111111) 100%
);
color: var(--header-text-color);
z-index: 1001;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
.header a:hover {
color: var(--header-text-color);
}
.header.sticky {
position: sticky;
top: 0;
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
height: var(--header-height);
margin: 0 auto;
padding: var(--container-padding);
} .site {
display: flex;
align-items: center;
}
.site a {
display: flex;
align-items: center;
text-decoration: none;
color: var(--header-text-color);
}
.site__img {
width: 2.5rem;
height: 2.5rem;
margin-right: 0.625rem;
} .toggle-menu,
.close-menu {
display: flex;
align-items: center;
cursor: pointer;
background: none;
border: none;
padding: 0;
margin: 0;
color: var(--header-text-color);
}
.toggle-menu {
margin: 0 0.5rem;
}
.menu-icon {
width: 1.875rem;
height: 1.875rem;
color: var(--header-text-color);
}
.mobile-menu {
position: fixed;
top: 0;
right: -100vw;
width: 100vw;
height: 100vh;
background: linear-gradient(
45deg,
var(--primary-color, #333333) 0%,
var(--secondary-color, #111111) 100%
);
padding: calc(2 * var(--container-padding));
flex-direction: column;
align-items: center;
justify-content: top;
transition: right 0.3s ease-in-out;
z-index: 1002;
visibility: hidden;
}
.mobile-menu.show {
right: 0;
visibility: visible;
}
.mobile-nav-links-container {
width: 100%;
height: 100%;
padding-top: 4rem;
}
.mobile-nav-links {
width: 100%;
height: 100%;
padding-bottom: 2rem;
overflow-y: auto;
overflow-x: hidden;
}
.mobile-nav-links .menu-item {
width: 100%;
border-bottom: 1px solid var(--secondary-color);
}
.mobile-menu a {
display: block;
color: var(--header-text-color);
padding: 0.5rem 0;
text-decoration: none;
}
.mobile-menu .close-menu {
position: absolute;
top: calc(2 * var(--container-padding));
right: calc(2 * var(--container-padding));
cursor: pointer;
color: var(--header-text-color);
z-index: 1003;
}
body.no-scroll {
overflow: hidden;
}
.mobile-nav-links .menu {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.mobile-nav-links .menu a {
text-decoration: none;
color: var(--header-text-color);
}
.mobile-nav-links .menu .current-menu-item > a {
color: var(--complementary-color);
}
.mobile-nav-links .sub-menu {
display: block;
list-style: none;
padding: 0 0 0 1rem;
border: none;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-in-out;
}
.mobile-nav-links .menu-item {
position: relative;
}
.mobile-nav-links .sub-menu .menu-item {
border: none;
}
.mobile-nav-links .menu-item .submenu-toggle {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
right: 0.5rem;
top: 0.625rem;
margin: 0;
padding: 0;
background: none;
border: none;
color: var(--header-text-color);
}
.mobile-menu-item .sub-menu.open {
max-height: 100vh;
}
.mobile-menu-item .submenu-toggle {
transition: transform 0.3s ease-in-out;
}
.mobile-menu-item .submenu-toggle.open {
transform: rotate(180deg);
}
.header-search-form,
.nav-links {
display: none;
} @media (min-width: 1000px) {
.header-container {
max-width: var(--container-width);
padding: var(--container-padding-desktop);
height: var(--header-height-desktop);
}
.header-search-form {
display: flex;
}
.nav-links {
display: flex;
}
.nav-links .menu {
margin: 0;
padding: 0;
list-style: none;
display: flex;
gap: 0.25rem;
}
.nav-links .menu li {
margin: 0;
padding: 0;
}
.nav-links .menu .current-menu-item > a {
color: var(--complementary-color);
}
.nav-links .menu a {
display: block;
padding: 0.25rem 0.75rem;
text-decoration: none;
color: var(--header-text-color);
border-radius: 0.25rem;
transition: background-color 0.3s ease-in-out;
}
.nav-links .menu .menu-item a:hover {
background-color: var(--secondary-color);
}
.nav-links .menu a:active {
color: var(--complementary-color);
background-color: var(--secondary-color);
}
.nav-links .menu .menu-item {
position: relative;
}
.nav-links .menu .menu-item .submenu-toggle {
display: none;
}
.nav-links .menu .menu-item:hover > ul {
display: block;
}
.sub-menu {
display: none;
position: absolute;
left: 0;
padding: 0;
margin: 0 0 0 1rem;
min-width: 200px;
background: linear-gradient(
45deg,
var(--primary-color, #333333) 0%,
var(--secondary-color, #111111) 100%
);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
z-index: 1000;
list-style: none;
border-radius: 0.25rem;
}
.sub-menu li {
display: block;
padding: 0;
margin: 0;
width: 100%;
}
.sub-menu li a {
width: 100%;
}
.toggle-menu,
.mobile-menu {
display: none;
}
}.search-form {
display: flex;
align-items: end;
justify-content: center;
position: relative;
background-color: rgba(255, 255, 255, 0.2); padding: 0.5rem 1rem 0.75rem;
border-radius: 0.25rem;
}
.search-field {
border: none;
border-bottom: 1px solid var(--header-text-color);
padding: 0.5rem 0;
margin: 0;
width: 100%;
height: 100%;
color: var(--header-text-color);
background: none;
outline: none; }
.search-field::-webkit-search-cancel-button {
-webkit-appearance: none;
background-color: var(--header-text-color);
-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'><path d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>");
background-size: 20px 20px;
height: 20px;
width: 20px;
cursor: pointer;
}
.search-field::placeholder {
color: var(--header-text-color);
opacity: 0.75; }
.search-submit {
background: none;
border: none;
border-bottom: 1px solid var(--header-text-color);
cursor: pointer;
height: 100%;
color: var(--header-text-color);
}
.search-icon {
fill: none;
stroke: #000;
stroke-width: 2;
}.footer {
display: flex;
flex-direction: column;
height: 100%;
padding: 0;
margin: 0;
background-color: var(--footer-background-color);
color: var(--footer-text-color);
}
.footer-container {
display: flex;
flex-direction: column;
width: 100%;
margin: 0 auto;
padding: var(--container-padding);
}
.footer-columns {
display: flex;
flex-direction: column;
gap: 1rem;
width: 100%;
margin: 1rem auto;
}
.footer-column {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
margin-bottom: 1rem;
}
.footer-column:last-child {
margin-bottom: 0;
}
.footer-column p,
.footer-column h1,
.footer-column h2,
.footer-column h3,
.footer-column h4,
.footer-column h5,
.footer-column h6 {
margin: 0 0 0.5rem 0;
padding: 0;
color: var(--footer-text-color);
}
.footer-copy {
font-size: 0.75rem;
width: 100%;
text-align: center;
} @media (min-width: 1000px) {
.footer-container {
max-width: var(--container-width);
padding: var(--container-padding-desktop);
}
.footer-columns {
flex-direction: row;
justify-content: space-between;
}
.footer-column {
flex: 1;
margin-bottom: 1rem;
}
.footer-column:last-child {
flex: 2;
}
}.post-container {
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
margin: 2rem auto;
}
.post-container .post-header {
width: 100%;
margin-bottom: 1.5rem;
}
.post-container .post-header.delimiter {
border-bottom: 1px solid var(--border-color);
}
.post-container .post-header .entry-excerpt {
margin-bottom: 1rem;
}
.post-container .post-header .entry-excerpt.delimiter {
border-bottom: 1px solid var(--border-color);
padding-bottom: 1rem;
margin-bottom: 1rem;
}
.post-container .post-header .entry-meta {
display: flex;
flex-direction: column;
opacity: 0.75;
}
.post-container .post-header .entry-meta .entry-author {
font-size: 0.875rem;
display: flex;
align-items: center;
}
.post-container .post-header .entry-meta .entry-author a {
color: var(--text-color);
text-decoration: none;
width: 100%;
border-bottom: 1px solid var(--border-color);
padding-bottom: 0.75rem;
margin-bottom: 0.75rem;
}
.post-container .post-header .entry-meta .entry-author a img {
border-radius: 50%;
vertical-align: middle;
margin-right: 0.5rem;
}
.post-container .post-header .entry-meta .entry-date {
font-size: 0.75rem;
line-height: 1.5;
display: flex;
align-items: center;
justify-content: center;
}
.post-container .post-header .entry-meta .entry-date {
margin-bottom: 1rem;
}
.post-container .post-header .entry-meta .entry-date .modified-date::before {
content: '|';
margin: 0 0.5rem;
}
.post-container .post-content {
overflow-wrap: anywhere;
flex: 1;
}
.post-container .post-content table {
font-size: 0.875rem;
line-height: 1.125rem;
}
.post-container .post-content table td {
border: none;
}
.post-container .post-content table tbody tr:nth-child(even) {
background-color: #f2f2f2;
}
.post-container .post-content table tbody {
border-bottom: 1px solid gray;
}
.post-container .post-content table thead {
background-color: var(--primary-color);
color: var(--complementary-color);
}
@media (min-width: 1000px) {
.post-container {
display: grid;
grid-template-columns: 1fr var(--sidebar-width-desktop);
grid-template-rows: auto 1fr;
grid-template-areas:
'header header'
'content sidebar';
}
.post-container .post-header {
grid-area: header;
margin-bottom: 2rem;
}
.post-container .post-header .entry-excerpt.delimiter {
border-bottom: none;
padding-bottom: 0;
}
.post-container .post-header .entry-meta {
flex-direction: row;
align-items: center;
justify-content: space-between;
padding-bottom: 1rem;
border-bottom: 1px solid var(--border-color);
}
.post-container .post-header .entry-meta .entry-author {
font-size: 1rem;
}
.post-container .post-header .entry-meta .entry-author a {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}
.post-container .post-header .entry-meta .entry-date {
margin-bottom: 0;
font-size: 0.875rem;
}
.post-container .post-content {
grid-area: content;
}
.post-container .post-content table {
font-size: 1rem;
line-height: 1.5rem;
}
.post-container .sidebar {
grid-area: sidebar;
}
}.internal-link {
display: flex;
align-items: center;
margin-bottom: 20px;
font-size: 1rem;
}
.internal-link a {
display: flex;
align-items: center;
text-decoration: none;
color: inherit;
}
.internal-link-image {
margin-right: 15px;
}
.internal-link-image img {
width: 100px;
height: auto;
border-radius: 5px;
}
.internal-link-text {
display: flex;
flex-direction: column;
}
.internal-link-text p {
margin: 0;
font-weight: 300;
}
.internal-link-text .internal-link-title {
font-weight: 500;
} @media (min-width: 1000px) {
.internal-link {
font-size: 1.25rem;
}
}.display-posts .posts-title {
font-size: 1.375rem;
line-height: 1.25;
border-bottom: 1px solid var(--border-color);
margin-bottom: 1.25rem;
}
.display-posts .posts-title span {
line-height: 1.25;
border-bottom: 2px solid var(--primary-color);
}
.display-posts .posts-list {
display: flex;
flex-direction: column;
margin-bottom: 2rem;
}
.display-posts .posts-list .post-item-wrapper:not(:last-child) {
padding-bottom: 1rem;
margin-bottom: 1rem;
border-bottom: 1px solid var(--border-color);
}
.display-posts .posts-list a {
display: flex;
flex-direction: column;
gap: 0.5rem;
color: var(--text-color);
text-decoration: none;
}
.display-posts .posts-list .post-item .post-thumbnail {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
overflow: hidden;
border-radius: 0.25rem;
}
.display-posts .posts-list .post-item .post-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
}
.display-posts .posts-list .post-item .post-info {
display: flex;
flex-direction: column;
justify-content: start;
gap: 0.5rem;
}
.display-posts .posts-list .post-item .post-info .post-meta {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 0 0.5rem 0 0;
}
.display-posts .posts-list .post-item .post-info .post-meta .post-category {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.75rem;
}
.display-posts .posts-list .post-item .post-info .post-meta .post-category__item {
display: inline-block;
color: var(--primary-color);
border: 1px solid var(--primary-color);
padding: 0 0.5rem;
border-radius: 1rem;
line-height: 1.375rem;
font-weight: 500;
}
.display-posts .posts-list .post-item .post-info .post-meta .post-date {
font-size: 0.875rem;
opacity: 0.75;
}
.display-posts .posts-list .post-item .post-info .post-title {
font-size: 1.25rem;
line-height: 1.375;
margin: 0;
}
.display-posts .posts-list .post-item .post-info .post-excerpt {
font-size: 0.875rem;
font-weight: 300;
line-height: 1.5;
margin: 0;
} @media (min-width: 1000px) {
.display-posts .posts-title {
font-size: 1.875rem;
margin-bottom: 2rem;
}
.display-posts .posts-list .post-item {
flex-direction: row;
max-height: 10rem;
}
.display-posts .posts-list .post-item .post-thumbnail {
flex: 1;
max-height: 10rem;
height: auto;
}
.display-posts .posts-list .post-item .post-thumbnail img {
max-height: 10rem;
}
.display-posts .posts-list .post-item .post-info {
flex: 2;
}
.display-posts .posts-list .post-item .post-info .post-title {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
text-overflow: ellipsis;
font-size: 1rem;
line-height: 1.5;
font-size: 1.5rem;
line-height: 1.25;
}
:root {
--meta-height: ;
--title-height: ;
--gap: ;
}
.display-posts .posts-list .post-item .post-info .post-excerpt {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
text-overflow: ellipsis;
max-height: 5.5rem;
font-size: 1rem;
line-height: 1.5;
}
}.breadcrumbs-list {
font-size: 0.875rem;
line-height: 1.125rem;
display: flex;
align-items: center;
flex-wrap: wrap;
margin-bottom: 0.5rem;
}
.breadcrumbs-list__item {
display: inline-block;
color: var(--text-color);
font-weight: 400;
text-transform: uppercase;
}
.breadcrumbs-separator {
display: inline-flex;
align-items: center;
margin: 0 0.25rem 0.125rem 0.375rem;
color: var(--text-color);
font-size: 1rem;
}
.breadcrumbs-separator .arrow {
width: 8px;
height: 8px;
fill: currentColor;
} @media (min-width: 1000px) {
.breadcrumbs-list__item {
font-size: 1rem;
}
.breadcrumbs-separator {
font-size: 1.25rem;
margin: 0 0.375rem 0.125rem 0.375rem;
}
}.sidebar h2,
.sidebar h3 {
font-size: 1.375rem;
border-bottom: 1px solid var(--border-color);
line-height: normal;
}
.sidebar h2 span,
.sidebar h3 span {
border-bottom: 2px solid var(--primary-color);
}
.sidebar h4,
.sidebar h5,
.sidebar h6 {
font-size: 1.25rem;
} @media screen and (min-width: 1000px) {
.sidebar {
width: var(--sidebar-width-desktop);
float: right;
margin-top: 0;
padding-left: 2rem;
display: flex;
flex-direction: column;
position: relative;
font-size: 1rem;
line-height: 1.5rem;
height: 100%;
}
.fixed-sidebar {
margin-bottom: 20px;
}
.sticky-sidebar {
position: -webkit-sticky;
position: sticky;
top: 20px;
z-index: 100;
align-self: flex-start;
width: 100%;
}
.sticky-sidebar.with-sticky-header {
top: calc(var(--container-padding-desktop) * 2 + 4rem);
}
.sidebar .wp-block-heading {
margin-top: 0;
}
}.most-viewed-posts .posts-title {
margin: 0 0 1.5rem;
}
.most-viewed-posts .posts-list {
display: flex;
flex-direction: column;
margin-bottom: 2rem;
}
.most-viewed-posts .post-item-wrapper:not(:last-child) {
padding-bottom: 1rem;
margin-bottom: 1rem;
border-bottom: 1px solid var(--border-color);
}
.most-viewed-posts .post-item {
display: flex;
gap: 0.5rem;
color: var(--text-color);
text-decoration: none;
align-items: flex-start;
}
.most-viewed-posts .post-index {
font-size: 0.875rem;
font-weight: 500;
flex: 0 0 24px;
text-align: center;
background-color: var(--primary-color);
color: var(--complementary-color);
border-radius: 50%;
line-height: 24px;
margin-right: 0.5rem;
}
.most-viewed-posts .post-thumbnail {
display: block;
width: 80px;
height: 80px;
overflow: hidden;
border-radius: 0.25rem;
background-color: lightgray;
flex: 0 0 80px;
}
.most-viewed-posts .post-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
}
.most-viewed-posts .post-title {
font-size: 1rem;
line-height: 1.25;
font-weight: 500;
margin: 0;
border-bottom: none;
flex: 1;
}.content-creator-post-tags {
display: flex;
flex-wrap: wrap;
margin-bottom: 1.5rem;
font-size: 0.875rem;
}
.content-creator-post-tags__link {
display: flex;
justify-content: center;
align-items: center;
padding: 0 0.5rem;
margin-bottom: 0.5rem;
border: 1px solid var(--primary-color);
border-radius: 1rem;
color: var(--primary-color);
line-height: 1.375rem;
font-weight: 500;
transition: all 0.3s;
}
.content-creator-post-tags__link:not(:last-child) {
margin-right: 0.5rem;
}
.content-creator-post-tags__link:hover {
color: var(--secondary-color);
border-color: var(--secondary-color);
}.entry-social-sharing {
margin: 0;
padding: 0.25rem 0;
background: transparent;
border: none;
}
.social-sharing__buttons {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.social-sharing__button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
background: transparent;
color: var(--text-color-muted, #c3c3c3);
text-decoration: none;
border-radius: 50%;
border: none;
cursor: pointer;
transition: all 0.2s ease;
flex-shrink: 0;
overflow: hidden;
padding: 0;
}
.social-sharing__button:hover,
.social-sharing__button:focus {
background: transparent;
color: var(--text-color-muted, #c3c3c3);
text-decoration: none;
}
.social-sharing__button:active { }
.social-sharing__icon {
width: 38px;
height: 38px;
flex-shrink: 0;
display: block;
} @media (min-width: 1000px) {
.social-sharing__buttons {
gap: 0.75rem;
}
}