/* Ustadhy visual identity refresh — 2026-09-09 */
:root {
  --ustadhy-emerald: #0d594f;
  --ustadhy-emerald-deep: #073b36;
  --ustadhy-ink: #071f20;
  --ustadhy-gold: #c99b43;
  --ustadhy-gold-soft: #e8cf91;
  --ustadhy-ivory: #fbf8f1;
  --ustadhy-mist: #eef4f1;
  --ustadhy-white: #ffffff;
  --ustadhy-radius: 18px;
  --ustadhy-shadow: 0 18px 50px rgba(7, 31, 32, .12);
}

body {
  color: var(--ustadhy-ink);
  background: var(--ustadhy-ivory);
}

a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }

.header {
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 8px 28px rgba(7, 31, 32, .07);
}

.header__logo .ustadhy-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  color: inherit;
  text-decoration: none;
}

.ustadhy-brand__mark {
  display: block;
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
}

.ustadhy-brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.ustadhy-brand__copy strong {
  color: var(--ustadhy-emerald);
  font-family: "Manrope", "Cairo", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.ustadhy-brand__copy small {
  color: #65706d;
  font-family: "Manrope", "Cairo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

body[dir="rtl"] .header__logo .ustadhy-brand {
  direction: rtl;
}

body[dir="rtl"] .ustadhy-brand__copy strong {
  font-family: "Cairo", sans-serif;
  font-size: 20px;
  letter-spacing: 0;
}

.btn,
button[type="submit"],
input[type="submit"] {
  border-radius: 12px !important;
  font-weight: 700;
  letter-spacing: .01em;
}

.btn--primary,
button[type="submit"],
input[type="submit"] {
  background: var(--ustadhy-emerald) !important;
  border-color: var(--ustadhy-emerald) !important;
  color: #fff !important;
}

.btn--primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--ustadhy-emerald-deep) !important;
  border-color: var(--ustadhy-emerald-deep) !important;
}

/* Homepage hero: compact copy directly on the photograph. */
body.home-index .slideshow-content.ustadhy-hero-content {
  width: min(560px, calc(100% - 48px)) !important;
  max-width: 560px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  text-align: left !important;
}

body.home-index .ustadhy-hero-content::before {
  content: "";
  position: absolute;
  inset: -55px -90px -55px -140px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 42% 50%, rgba(7,31,32,.78) 0%, rgba(7,31,32,.50) 48%, transparent 74%);
}

body.home-index .ustadhy-hero-kicker {
  margin: 0 0 12px !important;
  color: var(--ustadhy-gold-soft) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  letter-spacing: .22em !important;
  text-transform: uppercase;
}

body.home-index .ustadhy-hero-title {
  max-width: 540px;
  margin: 0 0 14px !important;
  color: #fff !important;
  font-size: clamp(34px, 3.4vw, 52px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em !important;
  text-shadow: 0 3px 24px rgba(0,0,0,.25);
}

body.home-index .ustadhy-hero-description {
  max-width: 470px;
  margin: 0 0 24px !important;
  color: rgba(255,255,255,.9) !important;
  font-size: clamp(16px, 1.25vw, 19px) !important;
  line-height: 1.55 !important;
}

body.home-index .ustadhy-hero-actions { gap: 12px !important; }

body.home-index .ustadhy-hero-action {
  min-height: 48px !important;
  padding: 12px 22px !important;
  border-radius: 12px !important;
  font-size: 15px !important;
}

body.home-index .ustadhy-hero-action--primary {
  background: var(--ustadhy-gold) !important;
  border-color: var(--ustadhy-gold) !important;
  color: var(--ustadhy-ink) !important;
}

/* Subject cards: artwork fills the tile, copy floats over a calm gradient. */
body.home-index .subject {
  position: relative !important;
  min-height: 245px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(201,155,67,.28) !important;
  border-radius: var(--ustadhy-radius) !important;
  background: var(--ustadhy-ink) !important;
  box-shadow: 0 14px 35px rgba(7,31,32,.13) !important;
  isolation: isolate;
}

body.home-index .subject::after {
  content: "";
  position: absolute;
  inset: 28% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(7,31,32,.35) 30%, rgba(7,31,32,.96) 100%);
  pointer-events: none;
}

body.home-index .subject__media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

body.home-index .subject__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  transform: scale(1.01);
  transition: transform .45s ease !important;
}

body.home-index .subject__media img[src*="/image/show/42/16/"] { content: url('/images/ustadhy/subject-hifz-v2.jpg'); }
body.home-index .subject__media img[src*="/image/show/42/28/"] { content: url('/images/ustadhy/subject-arabic-kids-v2.jpg'); }
body.home-index .subject__media img[src*="/image/show/42/17/"] { content: url('/images/ustadhy/subject-recitation-v2.jpg'); }
body.home-index .subject__media img[src*="/image/show/42/22/"] { content: url('/images/ustadhy/subject-advanced-arabic-v2.jpg'); }
body.home-index .subject__media img[src*="/image/show/42/18/"] { content: url('/images/ustadhy/subject-tajweed-v2.jpg'); }
body.home-index .subject__media img[src*="/image/show/42/27/"] { content: url('/images/ustadhy/subject-islamic-studies-v2.jpg'); }

body.home-index .subject:hover .subject__media img { transform: scale(1.07); }

body.home-index .subject__name {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 2 !important;
  padding: 64px 18px 18px !important;
  text-align: left !important;
}

body.home-index .subject-title {
  display: block !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body.home-index .subject-count {
  display: block !important;
  margin-top: 5px !important;
  color: var(--ustadhy-gold-soft) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

body.home-index .subject__action { position: absolute !important; inset: 0 !important; z-index: 3 !important; }

/* Find Tutors: search-first layout, refined filters and profile cards. */
body.teachers-index .section--listing { background: linear-gradient(180deg, var(--ustadhy-mist), #fff 32%) !important; }

body.teachers-index .page-title {
  max-width: 820px;
  margin-inline: auto;
  color: var(--ustadhy-ink) !important;
  font-size: clamp(30px, 3.2vw, 46px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.03em;
}

body.teachers-index .filter-panel {
  overflow: visible;
  border: 1px solid rgba(13,89,79,.13) !important;
  border-radius: var(--ustadhy-radius) !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: var(--ustadhy-shadow) !important;
}

body.teachers-index .filter-item__field,
body.teachers-index .filter-item__trigger,
body.teachers-index .search-form-cover {
  border-color: rgba(13,89,79,.16) !important;
  border-radius: 11px !important;
  background: #fff !important;
}

body.teachers-index .box.box-list {
  overflow: hidden;
  border: 1px solid rgba(13,89,79,.11) !important;
  border-radius: var(--ustadhy-radius) !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(7,31,32,.08) !important;
}

body.teachers-index .box.box-list:hover { transform: translateY(-2px); box-shadow: var(--ustadhy-shadow) !important; }
body.teachers-index .avtar { overflow: hidden; border: 3px solid rgba(201,155,67,.45); }
body.teachers-index .avtar img { width: 100% !important; height: 100% !important; object-fit: cover !important; }

/* Apply to Teach: retain the useful form, present it as a compact premium card. */
body.teacherrequest-index .section-full { position: relative; isolation: isolate; }
body.teacherrequest-index .section-full::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7,31,32,.82) 0%, rgba(7,31,32,.48) 45%, rgba(7,31,32,.08) 75%);
}

body.teacherrequest-index .slideshow-content {
  z-index: 1 !important;
  width: min(470px, calc(100% - 40px)) !important;
  max-width: 470px !important;
  padding: 28px !important;
  border: 1px solid rgba(232,207,145,.36) !important;
  border-radius: var(--ustadhy-radius) !important;
  background: rgba(7,31,32,.76) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.25) !important;
  -webkit-backdrop-filter: blur(9px) !important;
  backdrop-filter: blur(9px) !important;
  text-align: left !important;
}

body.teacherrequest-index .slideshow-content h1 {
  margin-bottom: 8px !important;
  color: #fff !important;
  font-size: clamp(32px, 3vw, 44px) !important;
  line-height: 1.08 !important;
}

body.teacherrequest-index .slideshow-content > p { color: rgba(255,255,255,.84) !important; font-size: 16px !important; }
body.teacherrequest-index .form-register { margin-top: 18px !important; }
body.teacherrequest-index .form-register input:not([type="checkbox"]):not([type="hidden"]),
body.teacherrequest-index .form-register select {
  height: 50px !important;
  border: 1px solid rgba(255,255,255,.24) !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,.96) !important;
}

body.teacherrequest-index .service {
  height: calc(100% - 24px);
  margin-bottom: 24px !important;
  padding: 22px !important;
  border: 1px solid rgba(13,89,79,.11) !important;
  border-radius: var(--ustadhy-radius) !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(7,31,32,.07) !important;
}

body.teacherrequest-index .service__media { flex: 0 0 104px !important; width: 104px !important; }
body.teacherrequest-index .service__media img { width: 104px !important; height: 104px !important; object-fit: contain !important; }
body.teacherrequest-index .service__content h3 { color: var(--ustadhy-emerald-deep) !important; font-size: 20px !important; }
body.teacherrequest-index .service__content p,
body.teacherrequest-index .service__content p * { color: #405553 !important; }

body.teacherrequest-index img[src*="1714973652-1695559538Asset43100.jpg"] { content: url('/images/ustadhy/benefit-earn-money.png'); }
body.teacherrequest-index img[src*="1714973683-1695559728Asset44100.jpg"] { content: url('/images/ustadhy/benefit-work-anywhere.png'); }
body.teacherrequest-index img[src*="1714973711-1695559798Asset46100.jpg"] { content: url('/images/ustadhy/benefit-teach-schedule.png'); }
body.teacherrequest-index img[src*="1714973748-1695559950Asset45100.jpg"] { content: url('/images/ustadhy/benefit-manage-students.png'); }
body.teacherrequest-index img[src*="1714973780-1700103736Asset38100.jpg"] { content: url('/images/ustadhy/benefit-find-students.png'); }
body.teacherrequest-index img[src*="1714973807-1700103749Asset37100.jpg"] { content: url('/images/ustadhy/benefit-safety.png'); }
body.teacherrequest-index img[src*="1714973267-1695560407Asset36100.jpg"] { content: url('/images/ustadhy/process-register.png'); }
body.teacherrequest-index img[src*="1714973557-1700104853Asset40100.jpg"] { content: url('/images/ustadhy/process-complete-profile.png'); }
body.teacherrequest-index img[src*="1714973474-1700104932Asset46100.jpg"] { content: url('/images/ustadhy/process-start-teaching.png'); }

/* Replace the old watermarked editorial image with the new academy artwork. */
body.content-index img[src*="1783257744-watermarkedimg17676808274305109911.png"] {
  content: url('/images/ustadhy/about-learning-banner-2000x900.jpg');
  width: 100% !important;
  height: auto !important;
  max-height: 560px;
  object-fit: cover !important;
  border-radius: var(--ustadhy-radius) !important;
  box-shadow: var(--ustadhy-shadow);
}

/* Blog and content pages. */
.section--blog-banner .slideshow-content,
.blog-banner .slideshow-content {
  width: min(560px, calc(100% - 40px)) !important;
  padding: 24px !important;
  border-radius: var(--ustadhy-radius) !important;
  background: rgba(7,31,32,.70) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
}

.blog-card,
.article-card,
.post-card {
  overflow: hidden;
  border: 1px solid rgba(13,89,79,.10) !important;
  border-radius: var(--ustadhy-radius) !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(7,31,32,.08) !important;
}

.blog-card img,
.article-card img,
.post-card img { width: 100% !important; object-fit: cover !important; }

/* App-like teacher profile: videos, compact summary, actions, then details. */
body.teachers-view .section--profile {
  padding: 30px 0 54px !important;
  background: linear-gradient(180deg, #f4f8f6 0%, #fff 42%) !important;
}
body.teachers-view .profile-cover {
  max-width: 1040px;
  margin: 0 auto;
  gap: 18px;
}
.ustadhy-profile-videos {
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(5, 96, 82, .14);
  border-radius: 22px;
  background: linear-gradient(145deg, #f7fbf9, #fffaf0);
  box-shadow: 0 12px 32px rgba(7, 47, 44, .08);
}
.ustadhy-profile-videos h3 {
  margin: 0 0 14px;
  color: var(--ustadhy-ink);
  font-size: 22px;
}
.ustadhy-profile-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ustadhy-profile-videos--legacy .ustadhy-profile-video-grid {
  grid-template-columns: minmax(0, 560px);
}
.ustadhy-profile-video {
  min-width: 0;
  margin: 0;
}
.ustadhy-profile-video strong {
  display: block;
  padding: 0 0 8px;
  overflow: hidden;
  color: var(--ustadhy-ink);
  font-size: 13px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ustadhy-profile-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  background: #071f20;
}
.ustadhy-profile-video .video-media {
  overflow: hidden;
  border-radius: 16px;
  background: #071f20;
}
body.teachers-view .profile-head {
  padding: 22px !important;
  border: 1px solid rgba(5, 96, 82, .12);
  border-radius: 22px;
  background: linear-gradient(135deg, #f8fbf9, #fffaf2);
  box-shadow: 0 10px 28px rgba(7, 47, 44, .06);
}
body.teachers-view .detail-wrapper {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}
body.teachers-view .detail-wrapper .profile__media {
  float: none !important;
  margin: 0 !important;
}
body.teachers-view .detail-wrapper .profile__media .avtar {
  width: 104px;
  height: 104px;
  border: 4px solid #fff;
  box-shadow: 0 8px 22px rgba(7, 47, 44, .13);
}
body.teachers-view .profile-detail__body .info-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 10px;
}
body.teachers-view .profile-detail__body .info-tag,
body.teachers-view .profile-detail__body .list-count {
  margin: 0 !important;
}
body.teachers-view .har-rate,
body.teachers-view .tutor-lang { margin-bottom: 7px !important; }
body.teachers-view .detail-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.teachers-view .detail-actions .btn { margin: 0 !important; }
body.teachers-view .detail-actions > .btn--link:empty { display: none !important; }
.ustadhy-profile-actions {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(5, 96, 82, .12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 47, 44, .06);
}
.ustadhy-profile-actions .right-panel,
.ustadhy-profile-actions .box--book {
  position: static !important;
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
}
.teachers-view .book__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}
.teachers-view .book__actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  height: auto !important;
  margin: 0 !important;
  border-radius: 13px !important;
}
.teachers-view .book__actions .btn--trial { margin-top: 0 !important; }
.teachers-view .book__actions > .btn--link {
  grid-column: 1 / -1;
  justify-self: center;
  height: auto;
  line-height: 1.5;
}
.ustadhy-trial-action p {
  margin: 6px 0 0 !important;
  color: #61716f !important;
  font-size: 12px;
  line-height: 1.35;
}
body.teachers-view .profile-primary .panel-cover {
  margin: 0 0 14px !important;
  padding: 20px;
  border: 1px solid rgba(5, 96, 82, .11) !important;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(7, 47, 44, .05);
}
body.teachers-view .profile-primary .panel-cover__head h3 {
  margin: 0;
  color: var(--ustadhy-emerald-deep) !important;
  font-size: 22px !important;
}
body.teachers-view .profile-primary .panel-cover__body { padding-bottom: 0; }

@media (min-width: 992px) {
  body.teachers-view .profile-cover {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.teachers-view .ustadhy-profile-videos { grid-column: 1; grid-row: 1; }
  body.teachers-view .profile-cover .profile-head {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
  }
  body.teachers-view .ustadhy-profile-actions { grid-column: 1; grid-row: 3; }
  body.teachers-view .profile-cover .profile-primary {
    grid-column: 1 !important;
    grid-row: 4 !important;
    width: 100% !important;
  }
}

@media (max-width: 991px) {
  body.teachers-view .profile-cover { display: flex !important; flex-direction: column; }
  body.teachers-view .ustadhy-profile-videos { order: 1; }
  body.teachers-view .profile-cover .profile-head { order: 2; }
  body.teachers-view .ustadhy-profile-actions { order: 3; }
  body.teachers-view .profile-cover .profile-primary { order: 4; }
}

@media (max-width: 767px) {
  body.teachers-view .section--profile { padding: 18px 0 36px !important; }
  .ustadhy-profile-videos,
  body.teachers-view .profile-head,
  .ustadhy-profile-actions,
  body.teachers-view .profile-primary .panel-cover { border-radius: 17px; }
  .ustadhy-profile-videos { padding: 15px; }
  .ustadhy-profile-video-grid { grid-template-columns: 1fr; gap: 14px; }
  body.teachers-view .detail-wrapper {
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.teachers-view .detail-wrapper .profile__media .avtar { width: 72px; height: 72px; }
  body.teachers-view .detail-wrapper .detail-actions {
    grid-column: 1 / -1;
    flex-flow: row wrap;
  }
  body.teachers-view .detail-wrapper .detail-actions .btn { flex: 1 1 120px; }
  .teachers-view .book__actions { grid-template-columns: 1fr; }
  .teachers-view .book__actions > .btn--link { grid-column: 1; }
  body.teachers-view .profile-primary { border: 0 !important; }
  body.teachers-view .profile-primary .panel-cover { padding: 16px; }
}

.footer { background: var(--ustadhy-ink) !important; }
.footer a:hover { color: var(--ustadhy-gold-soft) !important; }
.ustadhy-legal-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.ustadhy-legal-links a { color: rgba(255,255,255,.72); font-size: 13px; text-decoration: none; }

/* Arabic / RTL identity: mirrored storytelling, native alignment and spacing. */
html[dir="rtl"] body,
body[dir="rtl"] {
  font-family: "Tajawal", "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
  text-align: right;
}

html[dir="rtl"] body.home-index .ustadhy-hero-content,
body[dir="rtl"].home-index .ustadhy-hero-content {
  right: 5vw !important;
  left: auto !important;
  text-align: right !important;
}

html[dir="rtl"] body.home-index .ustadhy-hero-content::before,
body[dir="rtl"].home-index .ustadhy-hero-content::before {
  inset: -55px -140px -55px -90px;
  background: radial-gradient(ellipse at 58% 50%, rgba(7,31,32,.78) 0%, rgba(7,31,32,.50) 48%, transparent 74%);
}

html[dir="rtl"] body.home-index .section-slideshow picture img,
body[dir="rtl"].home-index .section-slideshow picture img {
  transform: scaleX(-1);
}

html[dir="rtl"] body.home-index .subject__name,
body[dir="rtl"].home-index .subject__name { text-align: right !important; }

html[dir="rtl"] body.teacherrequest-index .section-full::after,
body[dir="rtl"].teacherrequest-index .section-full::after {
  background: linear-gradient(270deg, rgba(7,31,32,.82) 0%, rgba(7,31,32,.48) 45%, rgba(7,31,32,.08) 75%);
}

html[dir="rtl"] body.teacherrequest-index .slideshow-content,
body[dir="rtl"].teacherrequest-index .slideshow-content { text-align: right !important; }

html[dir="rtl"] body.teacherrequest-index .section-full picture img,
body[dir="rtl"].teacherrequest-index .section-full picture img { transform: scaleX(-1); }

html[dir="rtl"] body.teachers-index .page-title,
body[dir="rtl"].teachers-index .page-title,
html[dir="rtl"] body.teachers-index .filter-panel,
body[dir="rtl"].teachers-index .filter-panel { text-align: right; }

html[dir="rtl"] .service--horizontal,
body[dir="rtl"] .service--horizontal { direction: rtl; text-align: right; }

html[dir="rtl"] .btn,
body[dir="rtl"] .btn { letter-spacing: 0; }

@media (max-width: 767px) {
  .ustadhy-brand__mark { width: 43px !important; height: 43px !important; }
  .ustadhy-brand__copy strong { font-size: 18px; }
  .ustadhy-brand__copy small { font-size: 8px; }
  body.home-index .slideshow-content.ustadhy-hero-content {
    width: calc(100% - 32px) !important;
    padding: 0 !important;
  }
  html[dir="rtl"] body.home-index .slideshow-content.ustadhy-hero-content,
  body[dir="rtl"].home-index .slideshow-content.ustadhy-hero-content {
    right: 16px !important;
    left: auto !important;
  }
  body.home-index .ustadhy-hero-title { font-size: 34px !important; }
  body.home-index .ustadhy-hero-description { font-size: 16px !important; }
  body.home-index .ustadhy-hero-actions { flex-wrap: wrap; }
  body.home-index .ustadhy-hero-action { width: 100%; justify-content: center; }
  body.home-index .subject { min-height: 220px !important; }
  body.teacherrequest-index .slideshow-content { padding: 22px !important; }
  body.teacherrequest-index .service { display: block !important; }
  body.teacherrequest-index .service__media { margin-bottom: 14px; }
}

