 :root {
    --maroon-1: #2f1515;
    --maroon-2: #4A2121;
    --maroon-3: #633131;
    --maroon-4: #7a4343;
    --purple-1: #321451;
    --purple-2: #583087;
    --bg: #f4f4f7;
    --card: #ffffff;
    --text: #19191f;
    --muted: #4f5663;
    --border: #dedee6;
    --focus: #ffd166;
    --shadow: 0 10px 30px rgba(37, 19, 31, 0.08);
    --radius: 14px;
    --bs-body-font-family: Arial, Helvetica, sans-serif;
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-link-color-rgb: 25, 25, 31;
    --bs-link-hover-color-rgb: 74, 33, 33;
  }

  * { box-sizing: border-box; }

  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: clip;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  a:hover {
    color: inherit;
  }

  button,
  input {
    font: inherit;
  }

  svg {
    display: block;
  }

  fieldset {
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 0;
  }

  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  summary:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
  }

  .skip-link {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 100;
    transform: translateY(-150%);
    border-radius: 8px;
    background: #ffffff;
    color: #4A2121;
    padding: 10px 14px;
    font-weight: 800;
    box-shadow: var(--shadow);
  }

  .skip-link:focus {
    transform: translateY(0);
  }

  .container {
    width: min(1320px, calc(100% - 32px));
    max-width: none;
    margin: 0 auto;
    padding-right: 0;
    padding-left: 0;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0;
    background: linear-gradient(90deg, #2f1515 0%, #4A2121 58%, #2f1515 100%);
    border-bottom: 0;
  }

  .topbar-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: nowrap;
    min-height: 72px;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border-radius: 10px;
    background: transparent;
    padding: 0;
    flex-shrink: 0;
  }

  .brand-logo {
    display: block;
    width: 170px;
    max-width: 22vw;
    height: auto;
  }

  .main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(10px, 1.25vw, 20px);
    flex: 1;
    flex-wrap: nowrap;
    color: #fff;
    font-size: clamp(0.78rem, 0.9vw, 0.94rem);
    font-weight: 900;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  .main-nav a {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    color: #fff;
    transition: color 0.2s ease;
  }

  .main-nav a:hover,
  .main-nav a[aria-current="page"] {
    color: #ffffff;
  }

  .main-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -11px;
    height: 4px;
    border-radius: 999px;
    background: #ffffff;
  }

  .mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 42px;
    min-height: 42px;
    border: 1px solid rgba(255,255,255,0.30);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    padding: 0;
    box-shadow: none;
  }

  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    color: #fff;
    border-color: rgba(255,255,255,0.55);
  }

  .menu-icon {
    position: relative;
    display: block;
    width: 28px;
    height: 20px;
    border-top: 2px solid currentColor;
    border-radius: 0;
    flex-shrink: 0;
  }

  .menu-icon::before,
  .menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 28px;
    border-top: 2px solid currentColor;
    border-radius: 0;
  }

  .menu-icon::before {
    top: 4px;
  }

  .menu-icon::after {
    top: 11px;
  }

  .mobile-offcanvas {
    width: min(320px, 86vw) !important;
    border: 0;
    background:
      radial-gradient(circle at 18% 0%, rgba(255,255,255,0.14), transparent 30%),
      linear-gradient(180deg, #2f1515 0%, #4A2121 48%, #633131 100%);
    color: #fff;
    z-index: 10052;
    box-shadow: 18px 0 42px rgba(29, 8, 28, 0.32);
  }

  .offcanvas-backdrop {
    z-index: 10051;
  }

  .mobile-offcanvas .offcanvas-header {
    min-height: 66px;
    border-bottom: 1px solid rgba(255,255,255,0.11);
    padding: 14px 16px;
  }

  .mobile-offcanvas-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .mobile-offcanvas .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.85;
  }

  .mobile-menu-panel {
    display: grid;
    gap: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 10px 12px 18px;
  }

  .mobile-links,
  .mobile-grade-links {
    display: grid;
    gap: 0;
  }

  .mobile-links a,
  .mobile-grade-links a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.11);
    background: transparent;
    color: rgba(255,255,255,0.88);
    padding: 0;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: none;
    transition: color 0.18s ease, padding-left 0.18s ease, background 0.18s ease;
  }

  .mobile-links a:hover,
  .mobile-links a:focus-visible,
  .mobile-links a[aria-current="page"],
  .mobile-grade-links a:hover,
  .mobile-grade-links a:focus-visible {
    color: #fff;
    padding-left: 8px;
    background: rgba(255,255,255,0.08);
  }

  .mobile-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    margin-right: 12px;
    color: #ffd166;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-grade-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0;
    border-top: 0;
    padding-top: 0;
  }

  .mobile-grade-label {
    display: inline-flex;
    align-items: center;
    min-height: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.11);
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    white-space: nowrap;
  }

  .mobile-grade-links {
    min-width: 0;
    padding-left: 38px;
  }

  .mobile-grade-links a {
    min-height: 46px;
    color: rgba(255,255,255,0.78);
  }

  .mobile-grade-links a::before {
    content: "»";
    margin-right: 10px;
    color: #ffd166;
    font-weight: 900;
  }

  .grade-nav-wrap {
    overflow-x: clip;
    color: #fff;
    background: linear-gradient(90deg, #633131 0%, #744041 52%, #633131 100%);
    border-top: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 12px rgba(36, 16, 17, 0.16);
  }

  .grade-nav {
    display: grid;
    grid-template-columns: 64px repeat(12, minmax(54px, 1fr));
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 64px;
    padding: 8px 0;
    white-space: normal;
    font-size: 0.95rem;
    font-weight: 800;
    min-width: 0;
  }

  .grade-nav a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border-radius: 10px;
    background: #efe2dc;
    color: #4A2121;
    line-height: 1.05;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.36), 0 6px 14px rgba(47, 21, 21, 0.14);
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .grade-number {
    display: block;
    font-size: 1.08rem;
    font-weight: 900;
  }

  .grade-word {
    display: block;
    margin-top: 3px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    opacity: 0.78;
    text-transform: uppercase;
  }

  .grade-nav a:hover {
    background: #ffffff;
    transform: translateY(-1px);
  }

  .grade-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    min-height: 54px;
    padding: 0;
    border-radius: 16px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,0.20),
      0 6px 14px rgba(36, 16, 17, 0.12);
  }

  .grade-label svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .hero-search {
    position: relative;
    z-index: 9998;
    padding: 8px 0 4px;
    background:
      radial-gradient(circle at left, rgba(255,255,255,0.08), transparent 32%),
      linear-gradient(90deg, #7a4343 0%, #633131 48%, #4A2121 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  }

  .hero-search .container {
    position: relative;
    z-index: 9998;
  }

  .search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 4px;
    align-items: center;
  }

  .search-input {
    grid-column: auto;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    height: 46px;
    border: 0;
    border-radius: 5px;
    padding: 0 12px;
    color: #222;
    font-size: 1rem;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
  }

  .search-input:focus {
    border-color: transparent;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08), 0 0 0 0.2rem rgba(255,209,102,0.35);
  }

  .search-input::placeholder {
    color: #595f6b;
    opacity: 1;
  }

  .search-btn {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 5px;
    background: linear-gradient(180deg, #f6d28f, #c88a2b);
    color: #2f1515;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(38, 0, 12, 0.22);
  }

  .search-btn:hover,
  .search-btn:focus {
    color: #2f1515;
    background: linear-gradient(180deg, #ffe3ac, #d49426);
  }

  .radio-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    grid-column: 1 / -1;
    grid-row: 2;
    gap: clamp(24px, 4vw, 52px);
    min-width: 0;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 800;
  }

  .radio-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
  }

  .radio-group .form-check-input,
  .radio-group input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #ffd166;
  }

  .radio-group .form-check-input:checked {
    background-color: #ffd166;
    border-color: #ffd166;
  }

  #suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 2px;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    padding: 0;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    z-index: 99999;
    -webkit-overflow-scrolling: touch;
  }

  #suggestions:empty {
    border: none !important;
    box-shadow: none !important;
  }

  #suggestions li {
    border-bottom: 1px solid #eee;
    padding: 6px 10px;
    cursor: pointer;
    list-style: none;
  }

  #suggestions li:last-child {
    border-bottom: none;
  }

  #suggestions .suggestion-content {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  #suggestions .suggestion-content img {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover;
    border-radius: 4px;
    flex: 0 0 40px;
  }

  #suggestions .suggestion-content span,
  #suggestions .suggestion-content a {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #suggestions a,
  #suggestions li,
  #suggestions .suggestion-content,
  #suggestions .suggestion-content span {
    cursor: pointer;
  }

  #aramaBlurOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
    z-index: 9997;
    display: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(3px);
    pointer-events: auto;
  }

  .layout {
    padding: 18px 0 0;
    align-items: flex-start;
  }

  .layout > * {
    min-width: 0;
  }

  .section-title {
    margin: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--purple-1), var(--purple-2));
    color: #fff;
    padding: 14px 16px;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: var(--shadow);
  }

  .card-list {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    padding: 0;
    list-style: none;
  }

  .list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    padding: 10px 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .list-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(62, 17, 35, 0.08);
  }

  .list-item-title {
    color: #181820;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.35;
  }

  .item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #fff3f6;
    color: #65112c;
    font-size: 1.25rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  }

  .icon-btn:hover {
    transform: translateY(-1px);
    background: #65112c;
    color: #fff;
  }

  .icon-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  .sidebar-stack {
    display: grid;
    gap: 6px;
  }

  .side-menu-title {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    grid-column: 1 / -1;
    min-height: 58px;
    border-radius: 12px;
    background:
      radial-gradient(circle at 15% 15%, rgba(255,255,255,0.24), transparent 32%),
      linear-gradient(135deg, #7a1836 0%, #4A2121 52%, #2f1515 100%);
    color: #fff;
    padding: 12px 14px;
    box-shadow: 0 10px 20px rgba(74, 33, 33, 0.18);
  }

  .side-menu-title::after {
    content: "";
    position: absolute;
    right: -18px;
    top: -24px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(246, 210, 143, 0.18);
  }

  .side-menu-title-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #f6d28f;
    color: #4A2121;
    font-size: 1.2rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.12);
  }

  .side-menu-title-text {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1px;
  }

  .side-menu-title-text strong {
    font-size: 0.94rem;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .side-menu-title-text span {
    color: rgba(255,255,255,0.82);
    font-size: 0.74rem;
    font-weight: 700;
  }

  .writing-menu .side-menu-title {
    background:
      radial-gradient(circle at 16% 12%, rgba(255,255,255,0.28), transparent 32%),
      linear-gradient(135deg, #b66a05 0%, #8a3d11 48%, #4A2121 100%);
  }

  .writing-menu .side-menu-title-icon {
    background: #fff7df;
    color: #8a3d11;
  }

  .writing-menu .grousp_crs {
    position: relative;
    overflow: hidden;
    border: 1px solid #edd7ad;
    border-left: 5px solid #d49426;
    background: linear-gradient(90deg, #fff7e7 0%, #ffffff 58%, #fffaf2 100%);
    box-shadow: 0 9px 20px rgba(150, 86, 18, 0.10);
  }

  .writing-menu .grousp_crs::after {
    content: "";
    position: absolute;
    right: -18px;
    top: 50%;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(212, 148, 38, 0.10);
    transform: translateY(-50%);
  }

  .writing-menu .grousp_crs:hover {
    box-shadow: 0 14px 26px rgba(150, 86, 18, 0.16);
  }

  .writing-menu .grousp_crs_thumb {
    background: #fff0c7;
  }

  .writing-menu .grousp_crs_thumb .fa-folder {
    width: 22px;
    height: 28px;
    border-radius: 5px;
    background: linear-gradient(180deg, #f8cf76, #d49426);
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.10);
  }

  .writing-menu .grousp_crs_thumb .fa-folder::before {
    left: auto;
    right: 0;
    top: 0;
    width: 8px;
    height: 8px;
    border-radius: 0 5px 0 3px;
    background: #fff0c7;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
  }

  .writing-menu .grousp_crs_thumb .fa-folder::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 9px;
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: rgba(74, 33, 33, 0.38);
    box-shadow: 0 5px 0 rgba(74, 33, 33, 0.28), 0 10px 0 rgba(74, 33, 33, 0.20);
  }

  .writing-menu .grousp_crs_caption h2 {
    color: #5f2d09;
    letter-spacing: 0.01em;
  }

  .group-link {
    display: block;
  }

  .grousp_crs {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
    border-radius: 0.4rem;
    background: #fff;
    padding: 7px 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .grousp_crs:hover {
    transform: translateY(-1px);
  }

  .shadow {
    box-shadow: 0 8px 22px rgba(47, 21, 21, 0.08) !important;
  }

  .grousp_crs_left {
    display: flex;
    align-items: center;
    flex: 1;
    padding-right: 0.75rem;
  }

  .grousp_crs_thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 9px;
    border-radius: 4px;
    background: #f4f5f7;
    flex-shrink: 0;
  }

  .grousp_crs_thumb .fa-folder {
    position: relative;
    display: inline-block;
    width: 26px;
    height: 20px;
    border-radius: 4px;
    background: #894345;
  }

  .grousp_crs_thumb .fa-folder::before {
    content: "";
    position: absolute;
    left: 3px;
    top: -5px;
    width: 12px;
    height: 7px;
    border-radius: 4px 4px 0 0;
    background: #894345;
  }

  .grousp_crs_caption {
    flex: 1;
  }

  .grousp_crs_caption h2 {
    margin: 0;
    color: #17171d;
    font-size: 14px;
    line-height: 1.28;
	font-weight: 700;
  }

  .panel {
    overflow: hidden;
    border: 1px solid #dfdfe5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  }

  .panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 14px 14px 10px;
    font-size: 1rem;
    font-weight: 900;
  }

  .panel-icon {
    position: relative;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    background: #7f1d35;
    flex-shrink: 0;
  }

  .panel-icon.folder::before {
    content: "";
    position: absolute;
    left: 1px;
    top: -3px;
    width: 8px;
    height: 5px;
    border-radius: 3px 3px 0 0;
    background: #7f1d35;
  }

  .contributor-panel {
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fff8ef 100%);
    box-shadow: 0 10px 26px rgba(74, 33, 33, 0.10);
  }

  .contributor-panel .panel-header {
    padding: 15px 16px 12px;
    border-bottom: 1px solid #f0ddbf;
    color: #401b1b;
  }

  .contributor-panel .panel-icon,
  .contributor-panel .panel-icon.folder::before {
    background: #c68121;
  }

  .contributor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 10px;
    min-width: 0;
  }

  .contributor-link {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    border: 1px solid #ead5ac;
    border-left: 5px solid #c68121;
    border-radius: 12px;
    background: linear-gradient(90deg, #fff7e8 0%, #ffffff 68%, #fffaf2 100%);
    color: #301515;
    padding: 8px 9px 8px 8px;
    font-size: 0.9rem;
    font-weight: 800;
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: left;
    box-shadow: 0 6px 14px rgba(154, 92, 22, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  .contributor-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(154, 92, 22, 0.14);
  }

  .contributor-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f7d56c, #c68121);
    color: #4A2121;
    font-size: 0.82rem;
    font-weight: 900;
    flex: 0 0 auto;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.10);
  }

  .contributor-name {
    display: block;
    width: 100%;
    min-width: 0;
    line-height: 1.18;
  }

  .contributor-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    border-radius: 999px;
    background: #f8ead1;
    color: #7b3b08;
    padding: 0 8px;
    font-size: 0.7rem;
    font-weight: 900;
  }

  .resource-area {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
    padding: 22px;
    border-radius: 28px;
    background:
      radial-gradient(circle at 8% 0%, rgba(246,210,143,0.28), transparent 28%),
      radial-gradient(circle at 100% 18%, rgba(122,67,67,0.14), transparent 28%),
      linear-gradient(135deg, rgba(255,255,255,0.88), rgba(239,226,220,0.62));
    box-shadow: 0 18px 36px rgba(47, 21, 21, 0.09);
  }

  .resource-area > * {
    min-width: 0;
  }

  .resource-area::before {
    content: "";
    position: absolute;
    inset: 10px;
    z-index: -1;
    border: 1px solid rgba(255,255,255,0.82);
    border-radius: 22px;
    pointer-events: none;
  }

  .resource-panel {
    --accent: #7a1836;
    --accent-2: #b94f6d;
    --soft: #fff4f7;
    --line: rgba(122, 24, 54, 0.20);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.86)), var(--soft);
    padding: 16px;
    box-shadow: 0 16px 34px rgba(47, 21, 21, 0.10);
  }

  .resource-panel::before {
    content: "";
    position: absolute;
    right: -34px;
    top: -38px;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: var(--line);
  }

  .resource-panel::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 88px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0.22;
  }

  .resource-panel--news {
    --accent: #0d6b61;
    --accent-2: #19a894;
    --soft: #e9fffa;
    --line: rgba(13, 107, 97, 0.20);
  }

  .resource-panel--exam {
    --accent: #8a3d11;
    --accent-2: #d49426;
    --soft: #fff7e7;
    --line: rgba(138, 61, 17, 0.22);
  }

  .resource-panel--teacher {
    --accent: #243b6b;
    --accent-2: #4d6fb1;
    --soft: #eef4ff;
    --line: rgba(36, 59, 107, 0.20);
  }

  .resource-panel h2 {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--accent);
    padding: 0;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .resource-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    flex: 0 0 auto;
    box-shadow: 0 8px 18px rgba(47, 21, 21, 0.12);
  }

  .resource-title-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .resource-title-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .resource-title-copy strong {
    line-height: 1.1;
  }

  .resource-title-copy small {
    color: #5a5f69;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: none;
  }

  .resource-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent;
  }

  .resource-list a {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 54px;
    border: 1px solid rgba(255,255,255,0.76);
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.82)), var(--soft);
    padding: 8px 12px 8px 8px;
    color: #17171d;
    font-size: 0.94rem;
    font-weight: 850;
    box-shadow: 0 6px 14px rgba(47, 21, 21, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .resource-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    flex: 0 0 auto;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.14);
  }

  .resource-item-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .resource-list a:hover {
    border-color: rgba(255,255,255,0.94);
    box-shadow: 0 10px 20px rgba(47, 21, 21, 0.08);
    transform: translateY(-2px);
  }

  .footer-wrap {
    position: relative;
    overflow: hidden;
    margin-top: 34px;
    background:
      radial-gradient(circle at 12% 18%, rgba(246,210,143,0.16), transparent 28%),
      radial-gradient(circle at 88% 10%, rgba(255,255,255,0.10), transparent 24%),
      #2E1414;
    color: #fff;
  }

  .footer-wave {
    display: block;
    width: 100%;
    height: 82px;
    margin-bottom: -18px;
    opacity: 0.88;
  }

  .footer-inner {
    position: relative;
    padding: 32px 0 18px;
    z-index: 1;
  }

  .footer-wrap .container {
    width: min(1320px, calc(100% - 32px));
  }

  .footer-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.45fr) repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .footer-grid > * {
    min-width: 0;
  }

  .footer-about {
    min-width: 0;
    min-height: 100%;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    padding: 22px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
  }

  .footer-desc {
    max-width: 100%;
    margin: 16px 0 0;
    font-size: 1.02rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.88);
  }

  .footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
  }

  .footer-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border-radius: 999px;
    background: rgba(246,210,143,0.14);
    color: #f6d28f;
    padding: 0 12px;
    font-size: 0.86rem;
    font-weight: 800;
  }

  .footer-links {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
    font-size: 0.92rem;
    border-radius: 18px;
    padding: 16px;
    background: rgba(255,255,255,0.055);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
  }

  .footer-link-title {
    margin-bottom: 8px;
    color: #f6d28f;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.72;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border-radius: 12px;
    padding: 0 10px;
    color: rgba(255,255,255,0.88);
    white-space: normal;
    min-width: 0;
    overflow-wrap: anywhere;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .footer-links a:hover {
    background: rgba(246,210,143,0.13);
    color: #fff;
    transform: translateX(2px);
  }

  .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.16);
    padding: 16px 2px 0;
    color: rgba(255,255,255,0.88);
    font-size: 0.95rem;
  }

  .footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
  }

  .ad-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border: 1px solid #e8dcc7;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(74, 33, 33, 0.08);
  }

  .ad-card--sidebar {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  .ad-card--content {
    margin-top: 12px;
  }

  .ad-slot-shell {
    position: relative;
    z-index: 1;
    padding: 12px 14px 14px;
  }

  .ad-slot-embed,
  .ad-slot-embed > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

 

  .my-10 {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  @media (min-width: 1260px) {
    .footer-links a {
      white-space: nowrap;
      overflow-wrap: normal;
    }
  }

  @media (max-width: 1100px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .footer-about {
      grid-column: 1 / -1;
    }

    .resource-area {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resource-panel--teacher {
      grid-column: 1 / -1;
    }

    .grade-nav {
      grid-template-columns: 56px repeat(12, minmax(44px, 1fr));
      gap: 5px;
      font-size: 0.86rem;
    }

    .grade-word {
      font-size: 0.58rem;
    }
  }

  @media (max-width: 991.98px) {
    .topbar {
      position: static;
    }

    .topbar-inner {
      align-items: center;
      flex-direction: row;
      padding: 12px 0;
      gap: 10px;
    }

    .main-nav {
      display: none;
    }

    .mobile-menu-toggle {
      display: inline-flex;
      position: relative;
      z-index: 10050;
      order: 3;
    }

    .grade-nav-wrap {
      display: none;
    }

    .search-row {
      grid-template-columns: minmax(0, 1fr) 64px;
    }

    .resource-area {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      padding: 16px;
    }

    .sidebar-stack {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .panel {
      grid-column: span 2;
    }

    .contributor-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .footer-about {
      grid-column: 1 / -1;
    }

    .footer-links {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-link-title {
      grid-column: 1 / -1;
    }

    .footer-bottom {
      flex-direction: column;
    }
  }

  @media (max-width: 600px) {
    .container {
      width: min(100% - 20px, 1180px);
    }

    .brand-logo {
      width: 170px;
      max-width: 64vw;
    }

    .mobile-links a,
    .mobile-grade-links a {
      min-height: 48px;
      font-size: 0.96rem;
    }

    .hero-search {
      padding-top: 8px;
    }

    .radio-group {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 4px;
      width: 100%;
      align-items: center;
      justify-content: stretch;
      font-size: clamp(0.72rem, 2.8vw, 0.9rem);
    }

    .radio-group label {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      min-width: 0;
      min-height: 34px;
      padding: 0 2px;
      white-space: nowrap;
      overflow: hidden;
    }

    .radio-group .form-check-input,
    .radio-group input {
      width: 14px;
      height: 14px;
      margin: 0;
      flex: 0 0 14px;
    }

    .search-row {
      grid-template-columns: minmax(0, 1fr) 72px;
      gap: 6px;
    }

    .search-btn {
      min-height: 46px;
      font-size: 0.9rem;
    }

    .footer-links,
    .footer-grid,
    .sidebar-stack {
      grid-template-columns: 1fr;
    }

    .footer-about,
    .footer-links {
      padding: 16px;
    }

    .section-title {
      font-size: 1rem;
    }

    .resource-area {
      grid-template-columns: 1fr;
      padding: 12px;
      border-radius: 20px;
    }

    .resource-panel--teacher {
      grid-column: auto;
    }

    .resource-panel {
      border-radius: 18px;
      padding: 13px;
    }

    .resource-title-icon {
      width: 42px;
      height: 42px;
      border-radius: 14px;
    }

    .panel {
      grid-column: auto;
    }

    .contributor-grid {
      grid-template-columns: 1fr;
    }

    .footer-wave {
      height: 64px;
    }

    .ad-slot-shell {
      padding: 11px 12px 12px;
    }
  }

  @media (max-width: 420px) {
    .search-row {
      grid-template-columns: minmax(0, 1fr) 64px;
      gap: 8px;
    }

    .radio-group {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 2px;
      font-size: 0.78rem;
    }

    .radio-group label {
      gap: 3px;
      min-height: 32px;
      padding: 0 1px;
    }

    .radio-group .form-check-input,
    .radio-group input {
      width: 13px;
      height: 13px;
      flex: 0 0 13px;
    }

    .search-btn {
      min-height: 44px;
      font-size: 0.82rem;
    }

    .brand-logo {
      width: 150px;
      max-width: 58vw;
    }

    .icon-btn {
      width: 38px;
      height: 38px;
    }

    .contributor-link {
      min-height: 78px;
      grid-template-columns: 34px minmax(0, 1fr);
    }

    .contributor-pill {
      display: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
    }
  }

 /* İçerik alanı entegrasyonu: Header / arama / footer CSS'ine dokunmaz. */
  main#icerik{padding-top:12px;}
  main#icerik .layout{padding-top:0;}
  main#icerik .layout.row{--bs-gutter-x:.9rem;--bs-gutter-y:.9rem;align-items:flex-start;}
  main#icerik .layout.row > [class*="col-"]{min-width:0;}

  .download-title-bar{display:block;width:100%;min-height:60px;margin:0 0 10px;border-radius:10px;background:linear-gradient(90deg,#84383b 0%,#793a3b 54%,#4A2121 100%);color:#fff8e8;padding:8px 12px;font-size:clamp(1.05rem,1.65vw,1.42rem);font-weight:900;line-height:1.15;text-align:center;letter-spacing:.004em;text-shadow:0 1px 2px rgba(47,21,21,.50);box-shadow:0 6px 14px rgba(74,33,33,.14);}
  .download-title-bar .title-year{display:inline-block;white-space:nowrap;word-break:keep-all;overflow-wrap:normal;color:#ffe09b!important;}

  .download-card{overflow:hidden;border:1px solid #dfdfe5;border-radius:14px;background:#fff;box-shadow:0 10px 26px rgba(74,33,33,.10);}
  .download-card-body{padding:14px 16px 16px;}
  .download-message{position:relative;overflow:hidden;margin-bottom:10px;border:1px solid #d9e2ef;border-left:4px solid #8b5a2b;border-radius:12px;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(247,251,255,.94));color:#063dcf;padding:10px 13px;font-size:.96rem;line-height:1.42;box-shadow:0 8px 18px rgba(36,16,17,.07);}
  .download-message-source{margin-top:4px;color:#c40000;text-align:right;font-weight:700;}

  .sb-kaynak-wrap{padding:3px 6px!important;}
  .sb-kaynak-card{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;margin:3px 0;padding:5px 8px;background:linear-gradient(135deg,#fff 0%,#f8fafc 100%);border:1px solid #e5e7eb;border-left:4px solid #8b5a2b;border-radius:9px;box-shadow:0 2px 8px rgba(0,0,0,.05);overflow:hidden;}
  .sb-kaynak-left{display:flex;align-items:center;gap:10px;min-width:0;flex:1;}
  .sb-kaynak-avatar{width:32px;height:32px;min-width:32px;border-radius:50%;background:linear-gradient(135deg,#8b5a2b,#b56a18);color:#fff;font-size:14px;font-weight:700;line-height:32px;text-align:center;box-shadow:0 2px 6px rgba(139,90,43,.25);}
  .sb-kaynak-text{min-width:0;line-height:1.2;}
  .sb-kaynak-title{margin-bottom:1px;color:#8b5a2b;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .sb-kaynak-desc{color:#666;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .sb-kaynak-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;position:relative;}
  .sb-kaynak-btn{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;height:30px;border-radius:8px;background:#9E2C00;color:#fff!important;padding:0 10px;font-size:12.5px;font-weight:700;text-decoration:none!important;white-space:nowrap;transition:all .2s ease;}
  .sb-kaynak-btn:hover{background:#C73400;color:#fff!important;}
  .sb-kaynak-btn-attention::before{content:"\279C";position:absolute;left:-26px;top:50%;transform:translateY(-50%);font-size:18px;color:#ff7a00;opacity:0;text-shadow:0 0 8px rgba(255,122,0,.45);animation:sbFollowArrow 2.2s infinite;pointer-events:none;}
  .sb-kaynak-btn-attention::after{content:"";position:absolute;left:-42px;top:50%;width:28px;height:3px;border-radius:4px;background:linear-gradient(90deg,rgba(255,180,80,0),rgba(255,140,0,.95),rgba(255,180,80,0));transform:translateY(-50%);opacity:0;filter:blur(.3px);animation:sbFollowBeam 2.2s infinite;pointer-events:none;}
  @keyframes sbFollowArrow{0%{left:-42px;opacity:0;transform:translateY(-50%) scale(.8);}18%{opacity:1;}45%{left:-12px;opacity:1;transform:translateY(-50%) scale(1);}70%{opacity:.35;}100%{left:-2px;opacity:0;transform:translateY(-50%) scale(1.05);}}
  @keyframes sbFollowBeam{0%{left:-55px;opacity:0;width:14px;}15%{opacity:.95;}50%{left:-20px;opacity:.85;width:26px;}100%{left:-4px;opacity:0;width:10px;}}

  .download-info-responsive{width:100%;max-width:100%;overflow-x:hidden!important;margin-top:4px;}
  .download-info-table{width:100%!important;max-width:100%!important;min-width:0!important;margin:0;background:#fff;color:#121212;font-size:.96rem;table-layout:fixed!important;}
  .download-info-table td{border-bottom:1px solid #dee2e6;padding:10px 12px!important;vertical-align:middle;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;}
  .download-info-table td:first-child{width:clamp(68px,18%,92px)!important;min-width:0!important;color:#334155!important;font-weight:600!important;white-space:nowrap!important;overflow-wrap:normal!important;}
  .download-info-table td:nth-child(2){width:auto!important;min-width:0;}
  .download-info-table a{color:#843600;font-weight:900;}
  .download-meta-divider{display:inline-block;margin:0 6px;color:#b8b8c2;font-weight:700;}

  .download-actions{margin-top:10px;border-radius:10px;background:#f8f8f8;padding:10px;text-align:center;}
   .download-owner-note{
    margin:0 0 8px 0;
    padding:7px 12px;
    min-height:42px;
    border:1px solid rgba(180,94,25,.22);
    border-left:5px solid #a85f1c;
    border-radius:10px;
    background:linear-gradient(135deg,#fff8f1 0%,#ffffff 60%,#f7f3ff 100%);
    color:#1f2937;
    box-shadow:0 4px 14px rgba(20,20,20,.05);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    text-align:center;
}
.download-owner-note .owner-medal{
    width:24px;
    height:24px;
    min-width:24px;
    border-radius:50%;
    background:linear-gradient(135deg,#b46b1f,#7b3f10);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    box-shadow:0 3px 8px rgba(123,63,16,.20);
}
.download-owner-note .owner-text{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:15px;
    line-height:1.2;
}
.download-owner-note .owner-name{
    color:#d00000;
    font-weight:800;
}
.download-owner-note .owner-desc{
    color:#374151;
    font-weight:500;
}
.download-owner-note .owner-thanks{
    padding:3px 8px;
    border-radius:999px;
    background:#fff;
    color:#8a4b13;
    border:1px solid rgba(168,95,28,.25);
    font-size:12px;
    font-weight:700;
    white-space:nowrap;
    flex-shrink:0;
}
@media(max-width:768px){
    .download-owner-note{
        padding:7px 10px;
        min-height:40px;
        justify-content:flex-start;
    }
    .download-owner-note .owner-text{
        font-size:14px;
    }
    .download-owner-note .owner-thanks{
        font-size:11px;
        padding:2px 7px;
    }
}
@media(max-width:576px){
    .download-owner-note{
        padding:6px 9px;
        min-height:38px;
        gap:6px;
    }
    .download-owner-note .owner-medal{
        width:21px;
        height:21px;
        min-width:21px;
        font-size:10px;
    }
    .download-owner-note .owner-text{
        font-size:13px;
    }
    .download-owner-note .owner-desc{
        font-size:13px;
    }
    .download-owner-note .owner-thanks{
        display:none;
    }
}
  .download-action-row,.download-action-row.row{width:100%;max-width:100%;margin-left:0!important;margin-right:0!important;display:flex!important;flex-wrap:nowrap!important;}
  .download-action-row>.col-6{flex:0 0 50%!important;width:50%!important;max-width:50%!important;padding-left:4px!important;padding-right:4px!important;}
  .download-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:40px;border:0;border-radius:7px;color:#fff!important;padding:7px 10px;font-size:.94rem;font-weight:900;text-decoration:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .download-btn--primary{background:#1E623F;}
  .download-btn--category{background:#493E8E;}

  .download-ad-shell{display:flex;align-items:stretch;justify-content:center;width:100%;min-width:0;min-height:250px;border:1px solid #e8dcc7;border-radius:12px;background:#fff;padding:8px;box-shadow:0 10px 24px rgba(74,33,33,.08);}
  .ad-sidebar{display:block;min-width:0;}
 
  .ad-sidebar .download-ad-shell{aspect-ratio:auto;min-height:250px;}


  .similar-downloads{margin-top:14px;border:1px solid #dfdfe5;border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.96));padding:14px;box-shadow:0 10px 26px rgba(74,33,33,.10);}
  .similar-downloads .row.g-3{--bs-gutter-x:.65rem;--bs-gutter-y:.65rem;}
  .download-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px;border-bottom:2px solid #6c757d;padding-bottom:8px;}
  .download-section-head h2{margin:0;color:#173653;font-size:1.28rem;font-weight:900;line-height:1.2;}
  .download-section-head p{margin:5px 0 0;color:#697887;font-size:.88rem;}
  .similar-downloads .list-group{display:grid;gap:6px;}
  .similar-downloads .list-group-item{position:relative;overflow:visible;display:grid;grid-template-columns:22px minmax(0,1fr) 12px;align-items:start;gap:7px;min-height:auto;border:1px solid #e5e7eb!important;border-left:0!important;border-radius:9px!important;background:#fff!important;color:#173653;padding:7px 10px 7px 12px!important;font-size:1.0rem;line-height:1.3;box-shadow:0 4px 10px rgba(23,54,83,.05);white-space:normal!important;}
  .similar-downloads .list-group-item.mt-3{margin-top:0!important;}
  .similar-downloads .list-group-item::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,#0d6b61,#d49426);}
  .similar-downloads .list-group-item::after{content:"›";position:static;justify-self:end;color:#c68121;font-size:1.5rem;font-weight:900;line-height:1;}
  .ssorum{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;border:1px solid #0d6b61;border-radius:50%;background:#e9fffa;color:#0d6b61!important;font-size:.78rem;font-weight:900;}
  .similar-file-title{display:block;min-width:0;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:break-word!important;word-break:normal!important;line-height:1.32!important;}
  .similar-downloads .download-ad-shell{min-height:220px;}

  .top-contributors-panel{margin:14px 0 0;border-radius:12px;background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);padding:16px;box-shadow:0 4px 12px rgba(0,0,0,.08);}
  .katkidaslar-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;}
  .katkidas-btn{display:flex;align-items:center;justify-content:center;border:0;border-radius:8px;color:#fff!important;padding:9px 12px;font-weight:900;text-align:center;text-decoration:none!important;box-shadow:0 3px 6px rgba(0,0,0,.12);}
  .download-stats{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:14px;border:1px solid #dee2e6;border-radius:25px;background:#fff;padding:7px 16px;color:#495057;font-weight:700;box-shadow:0 2px 4px rgba(0,0,0,.05);}

@media (min-width:992px){

  main#icerik .layout.row{
    --bs-gutter-x: 1.5rem !important;
    --bs-gutter-y: 1rem !important;
    align-items:flex-start;
  }

  main#icerik .layout.row>aside.ad-sidebar{
    display:block !important;
    overflow:visible !important;
  }

  main#icerik .ad-sidebar .my-10{
    display:block !important;
    width:100% !important;
    min-height:250px !important;
    margin:10px 0 !important;
    padding:0 !important;
    overflow:visible !important;
    text-align:center !important;
  }

}
@media (max-width:991.98px){

  main#icerik{
    padding-top:10px;
  }

  main#icerik .layout.row{
    --bs-gutter-x:0 !important;
    --bs-gutter-y:.75rem !important;
  }

  main#icerik .layout.row>aside.ad-sidebar:first-of-type{
    display:block !important;
    order:1 !important;
    flex:0 0 100% !important;
    width:100% !important;
    max-width:100% !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  main#icerik .layout.row>section{
    order:2 !important;
    flex:0 0 100% !important;
    width:100% !important;
    max-width:100% !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  main#icerik .layout.row>aside.ad-sidebar:last-of-type{
    display:block !important;
    order:3 !important;
    flex:0 0 100% !important;
    width:100% !important;
    max-width:100% !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  main#icerik .ad-sidebar .my-10{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    min-height:250px !important;
    margin:10px 0 !important;
    padding:8px !important;
    overflow:visible !important;
  }



}
  
  @media (max-width:767.98px){
    .download-title-bar{min-height:42px;margin:0 0 8px;padding:7px 8px;border-radius:8px;font-size:clamp(.96rem,4vw,1.18rem);line-height:1.14;}
    .download-card-body{padding:10px;}
    .download-message{padding:8px 10px;font-size:.9rem;}
    .download-info-table{font-size:.92rem;}
    .download-info-table td{padding:5px!important;}
    .download-info-table td:first-child{width:72px!important;font-size:.86rem!important;}
    .download-actions{padding:8px;}
    .download-btn{min-height:38px;padding:6px 7px;font-size:.86rem;}
    .similar-downloads{padding:10px;margin-top:10px;}
    .download-section-head{margin-bottom:8px;}
    .download-section-head h2{font-size:1.08rem;}
  }
  @media (max-width:420px){
    .download-title-bar{font-size:clamp(.9rem,4.7vw,1.08rem);padding:6px 7px;}
    .download-info-table td:first-child{width:68px!important;font-size:.82rem!important;}
    .download-btn{font-size:.8rem;letter-spacing:-.01em;}
    main#icerik .layout.row>aside.ad-sidebar .download-ad-shell, main#icerik .layout.row>aside.ad-sidebar .my-10{min-height:250px!important;}
  }
  .my-10{
  margin-top:10px;
  margin-bottom:10px;
}
.download-info-table,
.download-info-table tbody,
.download-info-table tr,
.download-info-table td{
  background-color:#ffffff !important;
}

.footer-about .sb-footer-play {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 217, 143, .18);
    border-radius: 15px;
    background: rgba(255, 255, 255, .045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.footer-about .sb-footer-play-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}
.footer-about .sb-footer-play-text strong {
    color: #ffd98f;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}
.footer-about .sb-footer-play-text span {
    color: rgba(255, 255, 255, .78);
    font-size: 12.5px;
    line-height: 1.3;
}
.footer-about .sb-footer-play-link {
    display: inline-flex;
    flex-shrink: 0;
    line-height: 0;
    border-radius: 8px;
    transition: transform .18s ease, opacity .18s ease;
}
.footer-about .sb-footer-play-link:hover {
    transform: translateY(-1px);
    opacity: .95;
}
.footer-about .sb-footer-play-link img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    border: 0;
}
@media (max-width: 768px) {
    .footer-about .sb-footer-play {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 16px;
        padding: 10px 12px;
    }
    .footer-about .sb-footer-play-text strong {
        font-size: 13px;
    }
    .footer-about .sb-footer-play-text span {
        font-size: 11.5px;
    }
    .footer-about .sb-footer-play-link img {
        width: 128px;
    }
}
@media (max-width: 480px) {
    .footer-about .sb-footer-play {
        gap: 10px;
        padding: 10px;
    }
    .footer-about .sb-footer-play-text strong {
        font-size: 12.5px;
    }
    .footer-about .sb-footer-play-text span {
        font-size: 11px;
    }
    .footer-about .sb-footer-play-link img {
        width: 118px;
    }
}
.similar-file-source {
    display: inline-block;
    margin-left: 7px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0b5ed7;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    vertical-align: middle;
    white-space: nowrap;
    border: 1px solid #cfe2ff;
}
@media (min-width:992px){
    main#icerik.container{
        width:min(1320px, calc(100% - 32px));
    }

    main#icerik .ad-sidebar .my-10{
        display:block !important;
        width:100% !important;
        min-height:250px !important;
        margin:10px 0 !important;
        padding:0 !important;
        overflow:visible !important;
        text-align:center !important;
    }
}

@media (max-width:991.98px){
    main#icerik .ad-sidebar .my-10{
        display:block !important;
        width:100% !important;
        min-height:250px !important;
        margin:5px 0 !important;
        padding:0 !important;
        overflow:visible !important;
        text-align:center !important;
    }
}