/* Approved marine look preserved: uniform sketches, clear news label and text-only useful links. */
.quick-links .quick-card--project img,
.quick-links .quick-card--project:nth-of-type(3) img{
  display:block;width:75px;height:75px;object-fit:contain;mix-blend-mode:multiply;
}
.important-programs{padding-top:22px;padding-bottom:20px}
.important-programs__top{margin:0}
.news-section .section-heading__left::before{content:'НОВОСТИ И СОБЫТИЯ'}
.news-section .journal-news-subtitle{margin:5px 0 8px;color:#567991;font-size:14px;line-height:1.45;font-weight:500}
/* Uniform nautical resource buttons, no downloaded images and no stretched banners. */
.resource-section .resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.resource-section .resource-card{
  box-sizing:border-box;display:flex;position:relative;flex-direction:column;align-items:flex-start;
  justify-content:center;text-align:left;gap:9px;min-height:114px;height:auto;
  padding:20px 47px 18px 24px;border-radius:15px;
  background:linear-gradient(135deg,#fbfdff 0%,#f1f8fc 75%,#e7f3f8 100%);
  border:1px solid #d3e6ef;box-shadow:0 5px 18px #174b6f0f;
  color:#12476a;text-decoration:none;transition:border-color .18s,box-shadow .18s,transform .18s;
}
.resource-section .resource-card::before{
  content:'';display:block;width:37px;height:3px;border-radius:2px;
  background:linear-gradient(90deg,#d0a166,#62acc8);
}
.resource-section .resource-card:hover{border-color:#85bacc;box-shadow:0 9px 24px #174b6f20;transform:translateY(-2px)}
.resource-section .resource-card>span:not(.external){position:static;display:block;max-width:100%;font-size:15px;line-height:1.35;font-weight:750;overflow-wrap:anywhere;color:#164569}
.resource-section .resource-card .external{position:absolute;display:grid;place-items:center;top:calc(50% - 16px);right:13px;left:auto;bottom:auto;width:32px;height:32px;border:1px solid #c6e0ed;border-radius:50%;font-size:17px;color:#206f94;background:#fff}
.resource-section .more-resources__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:8px 15px 20px}
.resource-section .more-resources__grid>a{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:60px;padding:12px 14px!important;background:#fff;border:1px solid #dbeaf1;border-radius:12px;font-size:13px;line-height:1.4;text-decoration:none;color:#195478}
.resource-section .more-resources__grid>a:hover{background:#f0f9fc;border-color:#a8d4e5}
.resource-section .more-resources__grid>a span{max-width:90%;overflow-wrap:anywhere}
.resource-section .more-resources__grid>a::after{content:'↗';color:#3287a8;font-size:16px}
@media(max-width:860px){.resource-section .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-section .more-resources__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
  .quick-links .quick-card--project img,.quick-links .quick-card--project:nth-of-type(3) img{width:55px;height:51px}
  .important-programs{padding-top:10px}
  .news-section .journal-news-subtitle{font-size:12px}
  .resource-section .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .resource-section .resource-card{min-height:108px;padding:14px 35px 14px 14px;gap:9px}
  .resource-section .resource-card>span:not(.external){font-size:13px}
  .resource-section .resource-card .external{width:25px;height:25px;top:calc(50% - 12px);right:6px;font-size:13px}
  .resource-section .more-resources__grid{grid-template-columns:1fr;gap:8px}
}
@media(max-width:350px){.resource-section .resource-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.resource-section .resource-card{transition:none}}
body.accessible .resource-section :is(.resource-card,.more-resources__grid>a){background:#fff!important;border:2px solid #000!important;color:#000!important}
