/* X115 Magazine static style */

:root {
  --x115-bg: #fbfaf7;
  --x115-card: #ffffff;
  --x115-text: #23201d;
  --x115-muted: #706a63;
  --x115-line: #e6ded3;
  --x115-gold: #b49355;
  --x115-gold-dark: #8a6d34;
  --x115-soft: #f3eee6;
  --x115-green: #00594c;
  --x115-orange: #CE4B12;
  --x115-blue: #1E7CB3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--x115-bg);
  color: var(--x115-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

a {
  color: var(--x115-gold-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img,
video {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 24px 0;
}

figcaption {
  color: var(--x115-muted);
  font-size: 14px;
  text-align: center;
}

/* Header */

.x115-mag-site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 253, 249, .96);
  border-bottom: 1px solid var(--x115-line);
  backdrop-filter: blur(10px);
}

.x115-mag-site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.x115-mag-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--x115-text);
  font-weight: 800;
  letter-spacing: -.04em;
  font-size: 25px;
  white-space: nowrap;
}

.x115-mag-logo span {
  color: var(--x115-gold-dark);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.x115-mag-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  margin-left: auto;
}

.x115-mag-nav a {
  color: var(--x115-text);
  font-weight: 600;
}

.x115-mag-search {
  width: 210px;
}

.x115-mag-search input {
  width: 100%;
  border: 1px solid var(--x115-line);
  border-radius: 999px;
  background: #fff;
  padding: 8px 12px;
  font-size: 14px;
}

/* Article page */

.x115-mag-article-page main {
  max-width: 820px;
  margin: 0 auto;
  padding: 38px 18px 56px;
  background: transparent;
}

.x115-mag-article-page h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 0 0 22px;
}

.x115-mag-article-page h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.16;
  letter-spacing: -.03em;
  margin: 42px 0 16px;
}

.x115-mag-article-page h3 {
  font-size: 24px;
  line-height: 1.22;
  margin: 34px 0 12px;
}

.x115-mag-article-page p,
.x115-mag-article-page li {
  color: #2f2b27;
}

.x115-mag-article-page p {
  margin: 0 0 18px;
}

.x115-mag-article-page ul,
.x115-mag-article-page ol {
  padding-left: 24px;
  margin: 0 0 22px;
}

.x115-mag-article-page blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--x115-gold);
  background: #fff;
  color: var(--x115-muted);
}

.x115-mag-article-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  background: #fff;
  font-size: 15px;
}

.x115-mag-article-page th,
.x115-mag-article-page td {
  border: 1px solid var(--x115-line);
  padding: 10px 12px;
  vertical-align: top;
}

.x115-mag-article-page th {
  background: var(--x115-soft);
}

.x115-mag-article-page .wp-block-image img,
.x115-mag-article-page .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.x115-mag-article-page .wp-block-video video {
  display: block;
  width: 100%;
  border-radius: 16px;
  background: #000;
}

/* ADV / aside boxes */

.x115-mag-article-page aside {
  clear: both;
  margin: 34px 0;
  padding: 24px;
  border: 1px solid var(--x115-line);
  border-radius: 20px;
  background: #fffaf2;
  box-shadow: 0 12px 32px rgba(55, 43, 26, .06);
}

.x115-mag-article-page aside h4 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.x115-mag-article-page aside img {
  border-radius: 14px;
}

.x115-mag-article-page .evidenza {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--x115-line);
  color: var(--x115-text);
  font-size: 15px;
}

.x115-mag-article-page .evidenza .group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.x115-mag-article-page a.adv,
.x115-mag-article-page a.rec,
.x115-mag-article-page a.amazon,
.x115-mag-article-page a.advx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 8px 8px 0 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--x115-green);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.x115-mag-article-page a.amazon {
  background: #232f3e;
}

.x115-mag-article-page a.rec {
  background: var(--x115-blue);
}

.x115-mag-article-page a.adv:empty::after,
.x115-mag-article-page a.advx:empty::after {
  content: "Scopri il prodotto";
}

.x115-mag-article-page a.amazon:empty::after {
  content: "Vedi su Amazon";
}

.x115-mag-article-page a.rec:empty::after {
  content: "Leggi recensioni";
}

.x115-mag-article-page .ebook {
  text-align: center;
}

.x115-mag-article-page .btn,
.x115-sticky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  text-decoration: none !important;
  font-weight: 700;
}

/* Tag pages */

.magazine-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 18px 56px;
}

.mag-tag-header {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.mag-kicker {
  margin: 0 0 8px;
  color: var(--x115-gold-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mag-tag-header h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.mag-tag-header p {
  margin: 0 auto;
  max-width: 660px;
  color: var(--x115-muted);
  font-size: 18px;
}

.mag-meta-small {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 12px;
  border: 1px solid var(--x115-line);
  border-radius: 999px;
  background: #fff;
  color: var(--x115-muted);
  font-size: 13px;
}

.mag-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mag-card {
  overflow: hidden;
  border: 1px solid var(--x115-line);
  border-radius: 18px;
  background: var(--x115-card);
  box-shadow: 0 12px 32px rgba(55, 43, 26, .06);
}

.mag-card-img {
  display: block;
  background: var(--x115-soft);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.mag-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mag-card-body {
  padding: 18px 18px 20px;
}

.mag-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -.02em;
}

.mag-card h2 a {
  color: var(--x115-text);
}

.mag-card p {
  margin: 0;
  color: var(--x115-muted);
  font-size: 15px;
}

.mag-card-date {
  margin-top: 14px;
  color: var(--x115-muted);
  font-size: 13px;
}

/* Related posts snippets */

.x115-related-posts {
  margin: 44px 0 26px;
  padding: 28px;
  border: 1px solid var(--x115-line);
  border-radius: 20px;
  background: #fffaf2;
}

.x115-related-posts h3 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
}

.x115-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.x115-related-card {
  overflow: hidden;
  border: 1px solid var(--x115-line);
  border-radius: 15px;
  background: #fff;
}

.x115-related-img {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--x115-soft);
}

.x115-related-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.x115-related-card h4 {
  margin: 14px 14px 8px;
  font-size: 16px;
  line-height: 1.25;
}

.x115-related-card h4 a {
  color: var(--x115-text);
}

.x115-related-card p {
  margin: 0 14px 16px;
  color: var(--x115-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* Footer */

.x115-mag-site-footer {
  margin-top: 30px;
  padding: 42px 18px 110px;
  background: #221f1c;
  color: #fff;
}

.x115-mag-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.x115-mag-footer-brand {
  max-width: 420px;
}

.x115-mag-footer-brand strong {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}

.x115-mag-footer-brand p {
  margin: 0;
  color: #d7d1c8;
}

.x115-mag-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-content: flex-start;
  justify-content: flex-end;
}

.x115-mag-footer-links a {
  color: #f4e4bd;
}

.x115-mag-footer-copy {
  max-width: 1120px;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: #bdb5aa;
  font-size: 14px;
}

/* Sticky banner */

.x115-sticky-banner {
  position: fixed;
  z-index: 10000;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--x115-line);
  box-shadow: 0 -8px 24px rgba(0,0,0,.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease-in-out;
}

.x115-sticky-slide {
  width: 100%;
  text-align: center;
  padding: 11px 12px 12px;
  font-size: 15px;
  line-height: 1.25;
}

.x115-sticky-btn {
  margin-top: 6px;
  padding: 8px 14px;
  color: #fff !important;
  font-size: 14px;
}

.x115-sticky-btn.btn-primary {
  background: var(--x115-gold-dark);
}

.x115-sticky-btn.btn-blue {
  background: var(--x115-blue);
}

.x115-sticky-btn.btn-green {
  background: var(--x115-green);
}

.x115-sticky-btn.btn-orange {
  background: var(--x115-orange);
}

.x115-sticky-btn.btn-facebook {
  background: #4267B2;
}

@media (max-width: 900px) {
  .mag-grid,
  .x115-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .x115-mag-search {
    display: none;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .x115-mag-site-header-inner {
    padding: 11px 14px;
    gap: 12px;
  }

  .x115-mag-logo {
    font-size: 22px;
  }

  .x115-mag-logo span {
    display: none;
  }

  .x115-mag-nav {
    gap: 10px;
    font-size: 13px;
  }

  .x115-mag-article-page main {
    padding: 28px 14px 44px;
  }

  .x115-mag-article-page aside {
    padding: 18px 15px;
    border-radius: 16px;
  }

  .magazine-wrap {
    padding: 24px 14px 42px;
  }

  .mag-grid,
  .x115-related-grid {
    grid-template-columns: 1fr;
  }

  .mag-card-body {
    padding: 16px;
  }

  .x115-related-posts {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .x115-mag-footer-inner {
    display: block;
  }

  .x115-mag-footer-links {
    justify-content: flex-start;
    margin-top: 22px;
  }

  .x115-sticky-slide {
    font-size: 13px;
  }

  .x115-sticky-slide span {
    display: none;
  }
}

/* =========================================================
   X115 MAGAZINE - FIX ADV / EVIDENZA / VIDEO / BOTTONI
   Da tenere in fondo a magazine.css
   ========================================================= */

/* Blocco pubblicitario dentro articolo */
main aside,
article aside,
.nv-content-wrap aside,
.entry-content aside {
    display: block;
    margin: 42px auto;
    padding: 28px 30px;
    max-width: 760px;
    background: #f8f5ef;
    border: 1px solid #ded4c2;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    clear: both;
    box-sizing: border-box;
}

main aside h4,
article aside h4,
.nv-content-wrap aside h4,
.entry-content aside h4 {
    margin: 0 0 18px;
    padding: 0 0 10px;
    font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #6a5526;
    border-bottom: 1px solid #d8cab1;
}

main aside p,
article aside p,
.nv-content-wrap aside p,
.entry-content aside p {
    margin: 0 0 18px;
    line-height: 1.6;
}

/* Immagini e video dentro ADV */
main aside img,
article aside img,
.nv-content-wrap aside img,
.entry-content aside img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border-radius: 4px;
}

main aside figure,
article aside figure,
.nv-content-wrap aside figure,
.entry-content aside figure,
.wp-block-image,
.wp-block-video {
    margin: 24px auto;
    max-width: 100%;
}

.wp-block-video video,
main aside video,
article aside video,
.nv-content-wrap aside video,
.entry-content aside video {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
    background: #000;
}

/* Link immagine ADV */
a.advx {
    display: block;
    text-decoration: none !important;
}

a.advx img {
    transition: opacity .2s ease;
}

a.advx:hover img {
    opacity: .92;
}

/* Box evidenza */
.evidenza {
    position: relative;
    display: block;
    margin: 24px 0 0;
    padding: 20px 22px;
    background: #fff;
    border-left: 5px solid #9a752f;
    color: #2d2d2d;
    font-size: 95%;
    line-height: 1.55;
    box-shadow: inset 0 0 0 1px rgba(154,117,47,.12);
    clear: both;
}

.evidenza p {
    margin: 0 0 12px;
}

.evidenza p:last-child {
    margin-bottom: 0;
}

.evidenza strong {
    color: #171717;
}

.evidenza ul {
    margin: 12px 0 0 20px;
    padding: 0;
}

.evidenza li {
    margin: 6px 0;
}

.evidenza.suprema {
    border-left-color: #ce4b12;
}

/* Gruppo bottoni ADV dentro evidenza */
.evidenza .group,
.group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    align-items: center;
}

/* Vecchi link grafici ADV/Amazon: ora li rendiamo bottoni testuali */
a.adv,
a.amazon,
a.rec {
    display: inline-block;
    min-width: 150px;
    padding: 10px 18px;
    border-radius: 999px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none !important;
    color: #fff !important;
    background: #8b6a2d;
    border: 0;
    box-shadow: none;
}

a.adv:hover,
a.amazon:hover,
a.rec:hover {
    opacity: .88;
    color: #fff !important;
    text-decoration: none !important;
}

a.adv:before {
    content: "Scopri di più";
}

a.adv.est:before {
    content: "Vai al prodotto";
}

a.adv.est.it:before {
    content: "Scopri il prodotto";
}

a.amazon {
    background: #222;
}

a.amazon:before {
    content: "Vedi su Amazon";
}

a.rec {
    background: #00594c;
}

a.rec:before {
    content: "Leggi recensioni";
}

/* Se dentro il link c'è già testo, evita doppionii solo nei casi normali */
a.adv:not(:empty):before,
a.amazon:not(:empty):before,
a.rec:not(:empty):before {
    content: "";
}

/* Pulsanti generici ereditati dal vecchio WP */
.btn,
.btn-success,
.btn-primary,
.btn-green,
.btn-blue,
.btn-orange,
.btn-facebook,
.btn-comparatore {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none !important;
    color: #fff !important;
    border: 0;
}

.btn-success,
.btn-green {
    background: #00594c;
}

.btn-primary {
    background: #9a752f;
}

.btn-blue {
    background: #1e7cb3;
}

.btn-orange {
    background: #ce4b12;
}

.btn-facebook {
    background: #4267b2;
}

.btn:hover,
.btn-success:hover,
.btn-primary:hover,
.btn-green:hover,
.btn-blue:hover,
.btn-orange:hover,
.btn-facebook:hover,
.btn-comparatore:hover {
    opacity: .88;
    color: #fff !important;
    text-decoration: none !important;
}

/* Ebook */
.ebook {
    text-align: center;
    overflow: hidden;
    margin-top: 20px;
}

.ebook .float-left {
    float: left;
}

.ebook .float-right {
    float: right;
}

.ebook img {
    max-width: 100%;
    height: auto;
}

/* Box comparatore generico */
.box-comparatore-generico {
    margin: 42px auto;
    padding: 28px 30px;
    max-width: 760px;
    background: #f5f8f6;
    border: 1px solid #cfded7;
    border-left: 5px solid #00594c;
    border-radius: 6px;
    box-sizing: border-box;
    clear: both;
}

.box-comparatore-generico h4 {
    margin-top: 0;
    color: #00594c;
    font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.box-comparatore-generico .btn-comparatore {
    background: #00594c;
}

/* Revisione scientifica / prove */
.prove {
    font-size: 90%;
    line-height: 1.5;
    color: #555;
    background: #fafafa;
    border-left: 4px solid #ddd;
    padding: 14px 16px;
}

/* Fix Gutenberg base */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.size-medium,
.size-large,
.size-full {
    max-width: 100%;
    height: auto;
}

/* Mobile */
@media only screen and (max-width: 768px) {
    main aside,
    article aside,
    .nv-content-wrap aside,
    .entry-content aside {
        margin: 32px 0;
        padding: 20px 16px;
        border-radius: 4px;
    }

    main aside h4,
    article aside h4,
    .nv-content-wrap aside h4,
    .entry-content aside h4 {
        font-size: 17px;
    }

    .evidenza {
        padding: 16px;
        font-size: 92%;
    }

    .evidenza .group,
    .group {
        display: block;
    }

    a.adv,
    a.amazon,
    a.rec {
        display: block;
        width: 100%;
        margin: 8px 0;
        box-sizing: border-box;
    }

    .ebook .float-left {
        display: none;
    }

    .ebook .float-right {
        width: 100% !important;
        float: none;
    }

    .ebook img {
        width: 233px;
        height: auto;
        margin: -10px auto 20px auto;
    }

    .box-comparatore-generico {
        margin: 32px 0;
        padding: 22px 16px;
    }
}
/* =========================================================
   X115 MAGAZINE - VIDEO YOUTUBE RESPONSIVE
   Recuperato dal vecchio magazine
   ========================================================= */

/* Video YouTube orizzontale 16:9 */
.rwd-video {
    height: 0;
    padding-bottom: 56.25%;
    margin: 35px 0 56px;
    position: relative;
    border: #212632 3px solid;
    border-bottom: #212632 22px solid;
    box-sizing: border-box;
    clear: both;
}

div.rwd-video:after {
    height: 12px;
    width: 12px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    bottom: -17px;
    text-align: center;
    left: 50%;
    margin-left: -6px;
    content: '';
}

.rwd-video embed,
.rwd-video iframe,
.rwd-video object {
    height: 100% !important;
    left: 0;
    position: absolute;
    top: 0;
    width: 100% !important;
}

/* Video YouTube Shorts verticale 9:16 */
iframe.short,
.short {
    aspect-ratio: 9 / 16;
    width: 100%;
    max-width: 380px;
    height: auto;
    min-height: 620px;
    margin: 35px auto 56px;
    text-align: center;
    display: block;
    border: 0;
}

/* Mobile */
@media only screen and (max-width: 468px) {
    iframe.short,
    .short {
        max-width: 100%;
        min-height: auto;
        height: auto;
    }
}

/* =========================================================
   X115 MAGAZINE - LANGUAGE SWITCHER
   ========================================================= */

.x115-mag-language-row {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px 12px;
    box-sizing: border-box;
}

.x115-lang-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 8px 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.2;
}

.x115-lang-switcher-label {
    color: #7a6b54;
    font-weight: 600;
    margin-right: 2px;
}

.x115-lang-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border: 1px solid #d8cbb5;
    border-radius: 999px;
    background: #fff;
    color: #5d4a25;
    text-decoration: none !important;
    font-weight: 700;
}

a.x115-lang-item:hover {
    background: #f7f1e6;
    color: #5d4a25;
    text-decoration: none !important;
}

.x115-lang-current {
    background: #8b6a2d;
    color: #fff;
    border-color: #8b6a2d;
}

.x115-lang-flag {
    font-size: 17px;
    line-height: 1;
}

.x115-lang-code {
    font-size: 11px;
    letter-spacing: .04em;
}

@media only screen and (max-width: 768px) {
    .x115-mag-language-row {
        padding: 0 10px 10px;
    }

    .x115-lang-switcher {
        justify-content: flex-start;
    }

    .x115-lang-switcher-label {
        width: 100%;
        margin-bottom: 2px;
    }
}

/* X115 TAG / ARCHIVE - layout moderno */
.magazine-wrap.magazine-tag-page{
    width:100%;
    max-width:none;
    margin:0;
    padding:0;
    background:#fff;
}

.magazine-tag-page .mag-tag-header{
    max-width:1440px;
    margin:0 auto 42px;
    padding:56px clamp(18px,4vw,56px) 18px;
}

.magazine-tag-page .mag-kicker{
    margin:0 0 12px;
    color:#9b7434;
    font-size:12px;
    line-height:1.2;
    font-weight:700;
    letter-spacing:.16em;
    text-transform:uppercase;
}

.magazine-tag-page .mag-tag-header h1{
    margin:0;
    color:#111;
    font-family:Georgia,"Times New Roman",serif;
    font-size:56px;
    line-height:1.02;
    font-weight:500;
    letter-spacing:-.045em;
}

.magazine-tag-page .mag-tag-header > p{
    max-width:760px;
    margin:16px 0 0;
    color:#444;
    font-size:17px;
    line-height:1.55;
}

.magazine-tag-page .mag-meta-small{
    margin-top:14px;
    color:#777;
    font-size:13px;
    line-height:1.4;
}

.magazine-tag-page .mag-grid{
    max-width:1440px;
    margin:0 auto;
    padding:0 clamp(18px,4vw,56px) 86px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:38px 30px;
}

.magazine-tag-page .mag-card{
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:visible!important;
}

.magazine-tag-page .mag-card-img{
    display:block;
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
    background:#f3f1ec;
    border-radius:0!important;
}

.magazine-tag-page .mag-card-img img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    border:0!important;
    border-radius:0!important;
}

.magazine-tag-page .mag-card-body{
    padding:14px 0 0!important;
    margin:0!important;
}

.magazine-tag-page .mag-card h2{
    margin:0!important;
    padding:0!important;
    color:#111;
    font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;
    font-size:21px;
    line-height:1.18;
    font-weight:600;
    letter-spacing:-.025em;
}

.magazine-tag-page .mag-card h2 a{
    color:#111!important;
    text-decoration:none!important;
}

.magazine-tag-page .mag-card h2 a:hover{
    color:#9b7434!important;
}

.magazine-tag-page .mag-card-body > p,
.magazine-tag-page .mag-card-date{
    display:none!important;
}

/* tablet */
@media only screen and (max-width:1100px){
    .magazine-tag-page .mag-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:34px 24px;
    }
}

/* mobile */
@media only screen and (max-width:700px){
    html,
    body{
        overflow-x:hidden;
    }

    .magazine-wrap.magazine-tag-page{
        width:100%;
        max-width:none;
        margin:0;
        padding:0;
    }

    .magazine-tag-page .mag-tag-header{
        width:100vw;
        max-width:none;
        margin:0 0 24px;
        padding:34px 14px 12px;
        box-sizing:border-box;
    }

    .magazine-tag-page .mag-tag-header h1{
        font-size:36px;
        line-height:1.04;
        letter-spacing:-.045em;
    }

    .magazine-tag-page .mag-tag-header > p{
        margin-top:12px;
        font-size:15px;
        line-height:1.45;
    }

    .magazine-tag-page .mag-meta-small{
        margin-top:10px;
        font-size:12px;
    }

    .magazine-tag-page .mag-grid{
        width:100vw;
        max-width:none;
        margin:0;
        padding:0 0 60px;
        display:grid;
        grid-template-columns:1fr;
        gap:30px;
        box-sizing:border-box;
    }

    .magazine-tag-page .mag-card{
        width:100%;
        max-width:none;
        margin:0!important;
        padding:0!important;
        border:0!important;
        border-radius:0!important;
        box-shadow:none!important;
    }

    .magazine-tag-page .mag-card-img{
        width:100%;
        aspect-ratio:16/9;
        border-radius:0!important;

    }

    .magazine-tag-page .mag-card-body{
        padding:10px 12px 0!important;
    }

    .magazine-tag-page .mag-card h2{
        font-size:20px;
        line-height:1.18;
        font-weight:600;
    }
}