/* Layout container */
.orif-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 14px;
}

.orif-page-title {
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
  margin: 18px 0 18px;
}

/* Grid tiles */
.orif-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

/* Card */
.leaflet-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
  transition: transform .12s ease, box-shadow .12s ease;
}

.leaflet-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0,0,0,.12);
}

.leaflet-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.leaflet-card__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #f2f2f2;
  display: block;
}

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

.leaflet-card__title {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  padding: 14px 14px 16px;
  text-align: center;
}

/* Buttons */
.orif-actions {
  display: flex;
  justify-content: center;
  margin: 18px 0 8px;
}

.orif-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 12px 18px;
  background: #111;
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
}

.orif-btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

/* Sections */
.orif-section-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin: 28px 0 16px;
}

.orif-term-text {
  margin: 22px auto 10px;
  max-width: 900px;
  font-size: 16px;
  line-height: 1.7;
}

/* Single: 3 columns block */
.orif-single-top {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px) 1fr;
  gap: 18px;
  align-items: start;
  margin: 18px 0 18px;
  width: 100%;
  max-width: 100%;
}

.orif-single-top > * {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 900px) {
  .orif-single-top {
    grid-template-columns: 1fr;
  }
}

.orif-center-magazine {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
  padding: 10px;
}

.orif-ad {
  min-height: 250px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
  padding: 10px;
}

/* Social buttons block */
.orif-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 10px 0 22px;
}

.orif-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.orif-end-note{
  text-align:center;
  margin: 14px 0 6px;
  font-weight: 600;
  opacity: .75;
}