/*
 * Custom CSS for abdz_2026 theme.
 * You can write your own CSS here.
 */

/* Example:
.my-custom-class {
  color: #333;
}
*/

:root {
  /* Font Family */
  --font-main: 'Google Sans Flex', system-ui, -apple-system, sans-serif;
  --font-secondary: 'Merriweather', 'Libre Caslon Text', system-ui, -apple-system, sans-serif;
  /* Type Scale */
  --h1: 3.25rem;
  /* 64px */
  --h2: 2.0rem;
  /* 48px */
  --h3: 1.75rem;
  /* 36px */
  --h4: 1.5rem;
  /* 24px */
  --h5: 1.25rem;
  /* 20px */
  --p: 1.125rem;
  /* 18px (Body 1) */
  --p2: 1rem;
  /* 16px (Body 2) */
  --cap1: 0.875rem;
  /* 14px */
  --cap2: 0.75rem;
  /* 12px */

  /* Line Heights */
  --lh-tight: 1.2;
  --lh-normal: 1.6;

  /* Colors - Light Theme (Default) */
  --primary-color: #111;
  --secondary-color: #999;
  --background-color: #fff;
  --background-secondary: #f5f5f5;
  --accent-color: #ff0000;
  --border-color: #ccc;
  --border: 1px solid var(--border-color);

  --text-main: #333;
  --text-bold: #000;
  --text-muted: #666;
  --text-light: #888;
  --text-on-dark: #fff;

  --quote-accent: #007bff;
  --code-bg: #111;
  --code-text: #7a98a1;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #eee;
    --secondary-color: #888;
    --background-color: #111;
    --background-secondary: #222;
    --border-color: #444;

    --text-main: #ddd;
    --text-bold: #fff;
    --text-muted: #aaa;
    /* --text-light remains #888 */

    --quote-accent: #007bff;
    --code-bg: #000;
    --code-text: #7a98a1;
  }
}

body {
  font-family: var(--font-main);
  font-size: var(--p);
  line-height: var(--lh-normal);
  color: var(--text-main);
  background-color: var(--background-color);
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1,
h2,
h3,
h4,
h5 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 700;
  line-height: var(--lh-tight);
}

h1,
h1.page-title {
  font-size: var(--h1);
  letter-spacing: -0.02em;

}

h2 {
  font-size: var(--h2);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--h3);
}

h4 {
  font-size: var(--h4);
}

h5 {
  font-size: var(--h5);
}

/* Paragraphs & Text Styles */
p {
  margin-bottom: 1.25em;
}

ul {
  list-style-type: disc;
  margin-bottom: 1.25em;
  padding-left: 1.5rem;
}

ol {
  list-style-type: decimal;
  margin-bottom: 1.25em;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5em;
}

.body-2 {
  font-size: var(--p2);
}

.caption-1 {
  font-size: var(--cap1);
  color: var(--text-muted);
  line-height: 1.4;
}

.caption-2 {
  font-size: var(--cap2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

strong {
  font-weight: 800;
  color: var(--text-bold);
}

i {
  font-style: italic;
}

/* Blockquote */
blockquote {
  margin: 2rem 0;
  padding: 0.5rem 1.5rem;
  border-left: 4px solid var(--quote-accent);
  font-style: italic;
  font-size: var(--h4);
  color: var(--text-muted);
}

/* /////////////////////////////////////////////////////
main area for blog posts
//////////////////////////////////////////////////// */

main,
footer {
  margin: 0 auto;
  max-width: 920px;
}

.layout-container {
  padding: 0 1em;
}

main h1.page-title {
  margin-bottom: 1.5em;
}

.page-node-type-blog .node--type-blog,
.page-node-type-page .node {
  margin: 0 auto;
  max-width: 640px;
}

.post-date {
  display: inline-flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: var(--border);
  text-align: center;
}

.post-date p {
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: var(--cap1);
}

.page-node-type-blog .node__content,
.page-node-type-page .node__content {
  font-family: var(--font-secondary);
}

.page-node-type-blog .node__content p.intro {
  font-family: var(--font-main);
  font-size: var(--h4);
  line-height: 1.4;
  font-weight: 600;
  opacity: 0.5;
}

.page-node-type-blog .node__content p.intro strong {
  font-weight: 600;
}

.page-node-type-blog .node__content p a:not(:has(img)) {
  font-weight: 600;
  border-bottom: var(--border);
}

.page-node-type-blog .field--name-field-tags,
.page-node-type-blog .field--name-field-tags .field__items {
  display: inline-flex;
  gap: 0.5rem;
  border-top: var(--border);
  font-family: var(--font-main);
  padding-top: 0.5rem;
}

.page-node-type-blog .field--name-field-tags .field__items {
  font-weight: 600;
  border-top: none;
  padding-top: 0;
}

main img {
  margin-bottom: 1rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  will-change: transform;
  border-radius: 0.25rem;
}

main img:hover {
  transform: scale(1.05);
  /* 1.1 might be too aggressive for editorial, 1.05 feels premium */
  filter: brightness(1.05);
  cursor: pointer;
}

blockquote {
  font-family: var(--font-main);
  font-style: normal;
  font-size: var(--h3);
  line-height: var(--lh-tight);
  font-weight: 800;
  border-left: none;
  padding: 0;
  color: var(--primary-color);
}

/* --- Breakout & Grid Layouts --- */
/* Elements that expand to the 920px main container width */
@media (min-width: 920px) {

  /* Standalone images and blocks breakout */
  .page-node-type-blog .node--type-blog img,
  .page-node-type-blog .node--type-blog blockquote,
  .page-node-type-blog .node--type-blog .imgsGrid,
  .page-node-type-blog .node--type-blog .sidebyside,
  .page-node-type-page .node--type-page img,
  .page-node-type-page .node--type-page blockquote,
  .page-node-type-page .node--type-page .imgsGrid,
  .page-node-type-page .node--type-page .sidebyside {
    margin-left: -140px;
    margin-right: -140px;
    width: 920px;
    max-width: 920px;
  }

  /* IMPORTANT: Revert the breakout for images inside grids */
  .imgsGrid img,
  .sidebyside img {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* --- Image Grid Layout (.imgsGrid) --- */
.imgsGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Force items to span 2 columns every 3rd starting from 1st (1, 4, 7...) */
.imgsGrid>*:nth-child(3n+1) {
  grid-column: span 2;
}

/* Clean up image margins when inside a grid */
.imgsGrid img {
  margin-bottom: 0 !important;
  height: auto;
  display: block;
}

/* --- Side by Side Layout (.sidebyside) --- */
/* Simple 2-column layout for exactly 2 items */
.sidebyside {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Clean up image margins when inside sidebyside */
.sidebyside img {
  margin-bottom: 0 !important;
  height: auto;
  display: block;
}

/* --- Pullquote Layout (.pullquote) --- */
/* Right-aligned block that breaks out to the 920px edge */
.pullquote {
  display: block;
  float: right;
  width: 320px;
  margin: 1rem 0 1.5rem 1.5rem;
  font-family: var(--font-main);
  font-style: normal;
  font-size: var(--h4);
  line-height: var(--lh-tight);
  font-weight: 800;
  border: none;
  padding: 0;
  font-style: italic;
}

/* Remove default quotes if using <q> */
.pullquote::before,
.pullquote::after {
  content: "";
}

@media (min-width: 1100px) {
  .pullquote {
    margin-right: -140px;
    width: 280px;
  }
}

/* Clearfix for the container if needed */
.node__content::after {
  content: "";
  display: table;
  clear: both;
}

/* /////////////////////////////////////////////////////
Code snippets
//////////////////////////////////////////////////// */

pre {
  background-color: var(--code-bg);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: scroll;
  font-size: var(--cap2);
  font-family: monospace;
  color: var(--code-text);
  margin-bottom: 1rem;
}

/* /////////////////////////////////////////////////////
don't miss these ones block
//////////////////////////////////////////////////// */
.block-views-blockrelated-content-block-1 .view-related-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1rem;
  position: relative;
}

.block-views-blockrelated-content-block-1 .view-related-content div {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  width: 100% !important;
  aspect-ratio: 1;
}

.block-views-blockrelated-content-block-1 .view-related-content div img {
  background-color: var(--border-color);
  margin-bottom: 0 !important;
  width: 100% !important;
}

/* /////////////////////////////////////////////////////
get featured block
//////////////////////////////////////////////////// */
#block-abdz-2026-getfeatured {
  display: flex;
  gap: 1rem;
  flex-flow: row;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

#block-abdz-2026-getfeatured h2 {
  width: 100%;
  clear: both;
}

#block-abdz-2026-getfeatured p {
  width: 60%;
  display: flex;
}

#block-abdz-2026-getfeatured p.cta {
  width: 25%;
  align-self: flex-start;
  justify-content: flex-end;
}

p.cta a {
  display: inline-block;
  background-color: var(--text-bold) !important;
  color: var(--background-color) !important;
  padding: 1rem 2rem !important;
  border-radius: 0.5rem !important;
  text-align: center;
  font-weight: 700;
  font-size: var(--h6);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

p.cta-secondary a {
  display: inline-block;
  padding: 1rem 2rem !important;
  border-radius: 0.5rem !important;
  text-align: center;
  font-weight: 700;
  font-size: var(--h6);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border: var(--border);
}

#block-abdz-2026-getfeatured p.cta a {
  width: 100%;
}

p.cta a:hover {
  transform: scale(1.1);
}

/* /////////////////////////////////////////////////////
header content
//////////////////////////////////////////////////// */
header {
  display: flex;
  justify-content: space-between;
  font-size: var(--cap2);
  line-height: 48px;
  padding: 0.5rem 1rem 0rem 1rem;

}

header h1.site-name {
  font-size: var(--h4);
  margin: 0;
  line-height: 48px;
  text-wrap: nowrap;
}

header nav {
  width: 100%;
  max-width: 920px;
  text-transform: capitalize;
  margin: 0 4rem;
  font-weight: 500;
}

header nav li,
header h1.site-name {
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

header nav li:hover,
header h1.site-name:hover {
  text-align: center;
  transform: scale(1.1);
}

header ul {
  width: 100%;
  display: flex;
  list-style-type: none;
  justify-content: space-between;
}

header ul li {}

.close_menu {
  display: none;
}

header .form-search {
  border: var(--border);
  border-radius: 24px;
  width: 150px;
  height: 40px;
  padding: 0 1rem;
  background-color: var(--background-color);
  color: var(--text-main);
}

header .form-submit {
  display: none;
}

/* /////////////////////////////////////////////////////
foooter content
//////////////////////////////////////////////////// */
footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  font-size: var(--cap1);
  grid-gap: 1rem;
  margin-top: 1.5rem;
}

footer h2 {
  font-size: var(--p);
}

footer a {
  display: inline-block;
  font-weight: 500;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  border-bottom: 1px solid transparent;
}

footer a:hover {
  transform: scale(1.1);
  border-bottom: var(--border);
}

footer #block-abdz-2026-credits {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: var(--cap1);
}

footer #block-abdz-2026-credits p {
  font-size: var(--cap2);
  padding-bottom: 0;
  margin-bottom: 0;
}

footer #block-abdz-2026-credits div {
  margin-bottom: 1rem;
}

footer ul {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0.3rem;
}

footer ul li {
  text-transform: capitalize;
}

footer #block-abdz-2026-credits ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* footer #block-abdz-2026-credits ul li:last-child {
  flex-basis: 100%;
  font-size: 0.7rem;
} */

footer #block-abdz-2026-credits ul li a {
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 0.7rem;
  border: var(--border);
  font-weight: 700;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

footer #block-abdz-2026-credits ul li a:hover {
  transform: scale(1.25);
  cursor: pointer;
  border-bottom: var(--border);
}

#block-abdz-2026-copyrightfooter {
  font-size: var(--cap2);
  display: flex;
  grid-column: span 4;
  border-top: var(--border);
  justify-content: space-between;
  padding-top: 0.5rem;
  margin-top: 1.5rem;
}

/* /////////////////////////////////////////////////////
Taxonomy pages
//////////////////////////////////////////////////// */
.path-taxonomy main .posts {
  margin: 0 auto;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1rem;
}

.path-taxonomy main h1.page-title {
  text-transform: uppercase;
  text-align: center;
}

.path-taxonomy .view-header {
  display: none;
}

.path-taxonomy main article {}

.path-taxonomy main article img {
  width: 100%;
  background-color: var(--border-color);
  display: block;
  aspect-ratio: 1;
  margin-bottom: 0;
}

.pager ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-between;
  margin: 1rem 0 0 0;
  padding: 0;
  list-style-type: none;
  width: 100%;
  grid-gap: 1rem;
  font-weight: 700;
  font-size: var(--h5);
}

.pager ul li {
  margin-bottom: 0;
  padding-bottom: 0;
}

.pager ul li.pager__item {
  display: none;
}

.pager ul li.pager__item--next {
  display: initial;
  grid-column: 4 / span 1;
  text-align: right;
}

.pager ul li.pager__item--previous {
  display: initial;
}

.pager ul li a {
  display: inline-block;
  border: var(--border);
  padding: 0.5rem 1rem;
  font-size: var(--h6);
  border-radius: 0.5rem !important;
}

.pager .is-active {
  display: none;
}


.feed-icon {
  display: none;
}

/* /////////////////////////////////////////////////////
Home screen
//////////////////////////////////////////////////// */
.path-frontpage {}

.path-frontpage h1.page-title {
  display: none;
}

.path-frontpage .view-frontpage .posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
}

.path-frontpage .view-frontpage .posts article span {
  display: flex;
  flex-direction: column;
}

.path-frontpage .view-frontpage .posts article h3,
.path-frontpage .view-frontpage .posts article h2:first-child,
.path-frontpage .view-frontpage .posts article:not(.post-item-ad) div:last-child {
  display: none;
}

.path-frontpage .view-frontpage .posts article.post-item-ad {
  display: block !important;
}

.path-frontpage .view-frontpage .posts article h2,
.path-frontpage .view-frontpage .posts article h3.date {
  font-size: var(--h4);
  display: block;
}

.path-frontpage .view-frontpage .posts article h3.date {}

/* Cover item */
.path-frontpage .view-frontpage .posts article:nth-child(1) {
  grid-column: span 2;
}

.path-frontpage .view-frontpage .posts article:nth-child(1) span {
  position: relative;
  height: 80vh;
}

.path-frontpage .view-frontpage .posts article:nth-child(1) h2.title {
  display: block;
  font-size: var(--h1);
  margin-bottom: -64px;
  margin-top: 0.5em;
  width: 66%;
  z-index: 100;

}

.path-frontpage .view-frontpage .posts article:nth-child(1) h2.title a {
  color: var(--text-main);
  /* text-shadow: 1px 1px 0px #fff, -1px -1px 0px #fff, 1px -1px 0px #fff, 1px -1px 0px #fff; */
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: var(--background-color);
  paint-order: stroke fill;
}

@media (max-width: 768px) {
  .path-frontpage .view-frontpage .posts article:nth-child(1) h2.title {
    margin-left: 0px;
  }
}

.path-frontpage .view-frontpage .posts article:nth-child(1) h3.date {
  position: absolute;
  bottom: 0;
  font-size: var(--h2);
  margin-bottom: 0.5rem;
}

.path-frontpage .view-frontpage .posts article:nth-child(1) h3:nth-child(5) {
  display: initial;
  position: absolute;
  left: 87%;
  width: 18%;
  top: calc(80vh - 600px);
  margin-bottom: 0;
  margin-top: 0;
  transform-origin: left top;
  transform: rotate(90deg);
  text-transform: uppercase;
  font-size: var(--h5);
  z-index: 100000;
  text-wrap: nowrap;
}

.path-frontpage .view-frontpage .posts article:nth-child(1) div.hero_image {
  margin: auto auto 0 auto;
  min-height: 200px;
  width: 65%;
  height: auto;
  bottom: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.path-frontpage .view-frontpage .posts article:nth-child(1) div.hero_image img {
  min-width: 600px;
  min-height: 600px;
  aspect-ratio: 1;
  position: relative;
  object-fit: cover;
  margin-bottom: 0;
}

.path-frontpage .view-frontpage .posts article:nth-child(1) div:last-child {
  display: initial;
  position: absolute;
  width: 18%;
  right: 0;
  bottom: 0;
  padding-left: 1.2rem;
  margin-bottom: 0;
  font-weight: normal;
  font-size: var(--cap2);
  line-height: 1.3;
}

.path-frontpage .view-frontpage .posts article:nth-child(1) div:last-child p {
  margin-bottom: 0.5rem;
}

.path-frontpage .view-frontpage .posts article:nth-child(1) div:last-child p strong {
  font-weight: normal;
}



/* Items from 2 to 12 automatically take 1 column each */

/* Items from 11 onwards span 2 columns */
.path-frontpage .view-frontpage .posts article:nth-child(n+14) {
  grid-column: span 2;
}

.path-frontpage .view-frontpage .posts article:nth-child(n+14) span {
  flex-direction: row;
  gap: 2rem;
  border-bottom: var(--border);
}

.path-frontpage .view-frontpage .posts article:nth-child(n+14) span h2.title {
  max-width: 55%;
}

.path-frontpage .view-frontpage .posts article:nth-child(n+14) span div.hero_image {
  margin-left: auto;
}

.path-frontpage .view-frontpage .posts article:nth-child(n+14) span div img {
  max-width: 200px;
}

/* ads */
.path-frontpage .view-frontpage .posts article.post-item-ad {
  grid-column: span 2;
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 1rem 0;
}

/* /////////////////////////////////////////////////////
Tutorials Block
//////////////////////////////////////////////////// */
.view-tutorials-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  font-size: var(--cap1);
  line-height: 1.3;
}

.view-tutorials-block img {
  background-color: var(--background-secondary);
  margin-bottom: 0;
  aspect-ratio: 1;
}

.view-tutorials-block .views-field-title {
  margin-top: 1rem;
  font-weight: 600;

}

.view-tutorials-block .views-field-title a {
  color: var(--text-light);
}

/* /////////////////////////////////////////////////////
Search results page
//////////////////////////////////////////////////// */
.path-search .view-search-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.path-search main .search-form {
  display: none;
}


.path-search .block-system-main-block h2:not(:first-child) {
  display: none;
}

.path-search .block-system-main-block .posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.path-search .block-system-main-block .posts article {
  position: relative;
}

.path-search .block-system-main-block .posts article h2 {
  font-size: var(--h5);
  line-clamp: 2;
  min-height: calc(2 * 1.2em);
  display: flex;
  align-items: flex-end;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.path-search .block-system-main-block .posts .post-date {
  border-bottom: 0px;
  font-size: var(--h5);
  align-items: flex-start;
  display: none;
  ;
}

.path-search .block-system-main-block .posts .post-date p:last-child {
  display: none;
}

/* /////////////////////////////////////////////////////
Mobile Adjustments
//////////////////////////////////////////////////// */
@media (max-width: 768px) {
  :root {
    --h1: 2.5rem;
    /* 40px */
    --h2: 2rem;
    /* 32px */
    --h3: 1.75rem;
    /* 28px */
    --h4: 1.25rem;
    /* 20px */
    --h5: 1.125rem;
    /* 18px */
  }

  header {
    padding: 0;
    height: 56px;
    line-height: 56px;
    margin: 0;
    border-bottom: var(--border);
    margin-bottom: 1rem;
  }

  header h1 {
    padding: 0;
    height: 56px;
    line-height: 56px !important;
    margin: 0;
  }

  header nav.menu--main-menu {
    display: none;
  }

  header .search-block-form {
    display: none;
  }

  .layout-container {
    padding: 0 1rem;
  }

  .block-views-blockrelated-content-block-1 .view-related-content {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  footer nav {
    grid-column: 1 / all;
  }

  footer nav.menu--collections {
    grid-row: 1
  }

  footer nav.menu--collections a {
    display: block;
    border-bottom: var(--border);
    line-height: 2.5em;
  }

  footer nav.menu--collections li:last-child a {
    border-bottom: 0;
  }

  footer nav.menu--main,
  footer nav.menu--native-apps {
    grid-row: 2;
    grid-column: 1 / span 1;
  }

  footer nav.menu--native-apps {
    grid-column: 2 / span 1;
  }

  footer #block-abdz-2026-credits {
    grid-row: 3;
  }

  footer #block-abdz-2026-getfeatured {
    gap: 0;
  }

  #block-abdz-2026-getfeatured p,
  #block-abdz-2026-getfeatured p.cta {
    width: 100%;
  }

  #block-abdz-2026-getfeatured p.cta {
    justify-content: flex-start;
    margin-top: 1rem;
  }

  #block-abdz-2026-credits {
    grid-column: 1 / span 4;
    grid-row: 2;

  }

  #block-abdz-2026-credits div {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  footer #block-abdz-2026-credits h2 {
    margin-top: 0;
    margin-bottom: 0;
  }

  #block-abdz-2026-credits div,
  #block-abdz-2026-credits ul,
  #block-abdz-2026-credits ul li {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  footer #block-abdz-2026-credits ul li a {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: var(--h6);
    border: var(--border);
  }

  .path-taxonomy main .posts {
    grid-template-columns: repeat(2, 1fr);
  }

  .path-frontpage .view-frontpage .posts {
    grid-template-columns: repeat(1, 1fr) !important;
    grid-gap: 1rem;
  }

  .path-frontpage .view-frontpage .posts article {
    grid-column: 1 / span all !important;
  }

  .path-frontpage .view-frontpage .posts article:nth-child(n+14) span {
    flex-direction: column;
    gap: 0;
  }

  .path-frontpage .view-frontpage .posts article:nth-child(n+14) span h2.title {
    max-width: 100%;

  }

  .path-frontpage .view-frontpage .posts article:nth-child(n+14) span div img {
    max-width: 100%;
  }

  .path-frontpage .view-frontpage .posts article:nth-child(1) {
    grid-column: 1 / span all !important;

  }

  .path-frontpage .view-frontpage .posts article:nth-child(1) span {
    height: 90dvh;
    display: flex;

  }

  .path-frontpage .view-frontpage .posts article:nth-child(1) h2,
  .path-frontpage .view-frontpage .posts article:nth-child(1) h3 {
    position: initial;
    width: initial;
    height: initial;
    font-size: initial !important;
    line-height: initial !important;
    margin-top: initial !important;
    margin-bottom: initial !important;
  }

  .path-frontpage .view-frontpage .posts article:nth-child(1) h2.title {
    font-size: var(--h3) !important;
  }

  .path-frontpage .view-frontpage .posts article:nth-child(1) span h3.tags {
    display: none;

  }

  .path-frontpage .view-frontpage .posts article:nth-child(1) div.hero_image {
    position: initial;
    width: 100%;
    height: 60%;
    overflow: none;
    aspect-ratio: 1;
  }

  .path-frontpage .view-frontpage .posts article div.hero_image img {
    margin-bottom: 0;
  }


  .path-frontpage .view-frontpage .posts article:nth-child(1) div.hero_image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1;
  }

  .path-frontpage .view-frontpage .posts article:nth-child(1) div:last-child {
    display: none;
  }

  .view-tutorials-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    font-size: var(--cap1);
    line-height: 1.3;
  }
}