.msd-identification{clear:both;margin:56px 0;color:#292929;scroll-margin-top:190px}
.msd-identification,.msd-identification *{box-sizing:border-box}
.msd-identification h2{font-weight:700}.msd-identification h3{margin:0 0 16px;font-size:24px;line-height:1.25;font-weight:700}
.msd-identification p,.msd-identification li{font-size:17px;line-height:1.55}.msd-identification p{margin:0 0 16px!important}
.msd-id-intro{max-width:960px;color:#555}.msd-id-places,.msd-id-neighbours,.msd-id-photo-grid{display:grid;gap:24px;margin-top:28px;align-items:stretch}
.msd-id-places{grid-template-columns:repeat(2,minmax(0,1fr))}.msd-id-neighbours{grid-template-columns:repeat(3,minmax(0,1fr))}.msd-id-photo-grid{grid-template-columns:repeat(var(--msd-id-columns,3),minmax(0,1fr))}
.msd-id-places>div{padding:28px;background:#f6f6f6;border-radius:10px}.msd-identification ul,.msd-identification ol{padding-left:22px;margin:0}.msd-identification li{padding-left:3px;margin-bottom:9px}.msd-identification li::marker{color:#c94300}
.msd-id-solution{min-width:0;padding:28px;border:1px solid #e4e4e4;border-radius:12px;background:#fff;display:flex;flex-direction:column}
.msd-id-solution--offer{background:#fff7f1;border-color:#f2d5c3}.msd-id-offer{margin-top:auto;padding:22px 0}.msd-id-offer strong{display:block;font-size:32px;line-height:1.2;color:#bd3e00;white-space:nowrap}.msd-id-offer span{display:block;font-size:15px;line-height:1.45;color:#5b5b5b;margin-top:8px}
.msd-identification .msd-service-button{display:inline-flex;justify-content:center;align-items:center;background:#ff5000;border:1px solid #ff5000;color:#fff;font-family:inherit;font-weight:700;cursor:pointer;text-decoration:none;border-radius:8px;min-height:48px;white-space:normal;line-height:1.3;padding:14px 22px;font-size:17px}.msd-id-solution .msd-service-button{width:100%}.msd-identification .msd-service-button:focus-visible{outline:3px solid #b83d00;outline-offset:4px}
.msd-identification .msd-id-note{font-size:15px;color:#666;margin-top:20px;max-width:1000px}
.msd-id-photo-card{min-width:0;border:1px solid #e4e4e4;border-radius:10px;overflow:hidden;background:#fff}.msd-id-photo-card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#f6f6f6}.msd-id-photo-card>div{padding:22px}.msd-id-photo-card h3{font-size:21px}.msd-identification .msd-id-photo-card p:last-child{margin-bottom:0!important}.msd-identification .msd-id-size{font-size:15px;color:#666}.msd-identification .msd-id-method{font-size:15px;padding-top:12px;border-top:1px solid #eee}
.msd-id-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;padding:24px 0}.msd-id-cta p{margin:0;font-weight:700}
@media(max-width:1100px){.msd-id-neighbours{grid-template-columns:repeat(2,minmax(0,1fr))}.msd-id-solution:last-child{grid-column:1/-1}.msd-id-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.msd-identification{margin:36px 0;scroll-margin-top:88px}.msd-id-places,.msd-id-neighbours,.msd-id-photo-grid{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:22px}.msd-id-solution:last-child{grid-column:auto}.msd-id-solution,.msd-id-places>div{padding:22px}.msd-identification h3{font-size:22px}.msd-identification p,.msd-identification li{font-size:16px}.msd-id-offer{padding:18px 0}.msd-id-cta{align-items:stretch;flex-direction:column;gap:16px;padding:8px 0}.msd-id-cta .msd-service-button{width:100%}.msd-id-photo-card>div{padding:20px}}

.msd-identification .msd-service-button:hover{background:#df4600;border-color:#df4600;color:#fff}

#ot-klopov:has(> .msd-identification){border:0!important;padding:0!important}

.msd-identification .msd-id-note{margin:20px 0 16px!important}.msd-identification .msd-id-cta p{margin:0!important}@media(min-width:1101px){.msd-id-offer span{min-height:44px}}

/* Actual object photos are kept separate from the species comparison. */
.msd-id-gallery-heading{margin-top:32px}.msd-id-gallery-heading h3{margin-bottom:10px}.msd-id-gallery-heading p{color:#666}
.msd-id-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:20px}
.msd-id-gallery figure{min-width:0;margin:0}.msd-id-gallery a{display:block;position:relative;border-radius:10px;overflow:hidden;background:#f6f6f6}
#msd-cockroach-species .msd-id-gallery img{display:block;width:100%;height:320px;object-fit:contain}.msd-id-gallery a>span{position:absolute;right:12px;bottom:12px;background:#fff;color:#333;border:1px solid #e5e5e5;border-radius:6px;padding:6px 10px;font-size:14px;line-height:1.4}
.msd-id-gallery a:focus-visible{outline:3px solid #d84400;outline-offset:4px}.msd-id-gallery figcaption{font-size:16px;line-height:1.45;color:#555;margin-top:12px}
@media(max-width:767px){.msd-id-gallery{grid-template-columns:minmax(0,1fr);gap:24px}#msd-cockroach-species .msd-id-gallery img{height:340px}.msd-id-gallery-heading{margin-top:28px}}

/* Text-only signs stay compact when no matching photo is available. */
#msd-bug-signs .msd-id-text-signs .msd-id-photo-grid{margin-top:20px;grid-template-columns:1fr}
#msd-bug-signs .msd-id-text-signs .msd-id-photo-card{background:#f7f7f7;border-color:transparent}
#msd-bug-signs .msd-id-text-signs .msd-id-photo-card>div{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px}
#msd-bug-signs .msd-id-text-signs h3{margin:0}
@media(max-width:767px){#msd-bug-signs .msd-id-text-signs .msd-id-photo-card>div{display:block}#msd-bug-signs .msd-id-text-signs h3{margin-bottom:12px}}
