/*
 * ICM Turkey — the site's OWN rules, loaded after every carried-over theme and
 * plugin stylesheet. Everything visual that came from WordPress lives in the
 * files under assets/theme, assets/plugins, assets/elementor and in
 * assets/css/custom.css (the Customizer CSS); this file only styles what the
 * new site added: the cookie notice, the form notices, the honeypots.
 */

/* Spam traps: present for bots, absent for people. */
.icm-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---- cookie notice — the CookieYes box the old site showed --------------- */
.icm-cookie {
    position: fixed;
    left: 40px;
    bottom: 40px;
    z-index: 99999;
    width: 440px;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
    padding: 24px 24px 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 32px 68px rgba(0, 0, 0, .3);
    font-family: 'Barlow', sans-serif;
    color: #212121;
}
.icm-cookie[hidden] { display: none; }
.icm-cookie__title { margin: 0 0 12px; font-size: 18px; font-weight: 700; line-height: 1.3; color: #212121; }
.icm-cookie__text { margin: 0 0 16px; font-size: 14px; line-height: 24px; color: #212121; }
.icm-cookie__btns { display: flex; gap: 8px; }
.icm-cookie__btn {
    flex: 1;
    padding: 8px 12px;
    font: 500 14px/24px 'Barlow', sans-serif;
    color: #5b3c8c;
    background: transparent;
    border: 2px solid #5b3c8c;
    border-radius: 2px;
    cursor: pointer;
}
.icm-cookie__btn--accept { color: #fff; background: #5b3c8c; }
.icm-cookie__btn:hover { opacity: .85; }
@media (max-width: 480px) {
    .icm-cookie { left: 16px; right: 16px; bottom: 16px; width: auto; }
    .icm-cookie__btns { flex-direction: column; }
}

/* ---- comment form notices ---------------------------------------------- */
.icm-comment-notice { margin: 0 0 16px; padding: 10px 14px; font-weight: 600; }
.icm-comment-notice--ok { background: #eef7ee; color: #2e7d32; }
.icm-comment-notice--err { background: #d35400; color: #fff; }
.comment-respond .logged-in-as { margin: 10px 0 20px; }

/* ---- sign-in, registration, account, setup (/giris, /kayit, /hesabim, /kurulum)
   New pages — the old site had only wp-login.php — so they borrow the theme's
   own parts: its underlined inputs, its black edgtf-btn, its type scale. */
.icm-auth { max-width: 560px; margin: 70px auto 110px; padding: 0 20px; box-sizing: border-box; }
.icm-auth--wide { max-width: 820px; }
.icm-auth .auth__card--wide { max-width: none; }
.icm-auth .auth__logo img { display: block; height: 48px; width: auto; }
.icm-auth .auth__title, .icm-auth h1 { margin: 0 0 10px; font-size: 44px; line-height: 1.1em; letter-spacing: 0; }
.icm-auth .auth__lead, .icm-auth .text-secondary { margin: 0 0 30px; color: #6f6f6f; }
.icm-auth h2 { margin: 0 0 18px; font-size: 24px; line-height: 1.2em; }
.icm-auth .card-block { margin: 0 0 40px; padding: 30px; border: 1px solid #e5e5e5; }
.icm-auth .form-group, .icm-auth fieldset { margin: 0 0 24px; padding: 0; border: 0; }
.icm-auth label, .icm-auth legend { display: block; margin: 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #000; }
.icm-auth .form-control { width: 100%; margin: 0; box-sizing: border-box; }
.icm-auth textarea.form-control { min-height: 110px; }
.icm-auth .auth__code { font-size: 26px; letter-spacing: .4em; text-align: center; }
.icm-auth small, .icm-auth .small { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5em; color: #6f6f6f; }
.icm-auth .text-danger { color: #c0392b; }
.icm-auth .form-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; }
.icm-auth .form-check label { margin: 0; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.icm-auth .form-check input { margin: 4px 0 0; flex: none; }
.icm-auth .alert { margin: 0 0 24px; padding: 14px 18px; border: 1px solid; font-size: 14px; line-height: 1.5em; }
.icm-auth .alert-danger { color: #9b1c1c; border-color: #f1c4c4; background: #fdf3f3; }
.icm-auth .alert-success { color: #14633d; border-color: #bfe3cf; background: #f2faf5; }
.icm-auth .auth__btn { display: flex; justify-content: center; width: 100%; margin: 10px 0 0; }
.icm-auth .auth__btn .edgtf-btn-text { margin: 0 auto; }
.icm-auth .edgtf-btn + form .auth__btn, .icm-auth form + form .auth__btn { margin-top: 12px; }
.icm-auth .auth__foot { margin: 28px 0 0; font-size: 14px; }
.icm-auth .auth__foot a, .icm-auth .alert a, .icm-auth .form-check a { text-decoration: underline; }
.icm-auth .badge-warning, .icm-auth .badge-success, .icm-auth .badge-danger, .icm-auth .badge-secondary {
    display: inline-block; padding: 2px 8px; font-size: 12px; border: 1px solid currentColor; }
.icm-auth .badge-warning { color: #9a6700; } .icm-auth .badge-success { color: #14633d; }
.icm-auth .badge-danger { color: #9b1c1c; } .icm-auth .badge-secondary { color: #6f6f6f; }
@media only screen and (max-width: 680px) {
    .icm-auth { margin: 40px auto 70px; }
    .icm-auth .auth__title, .icm-auth h1 { font-size: 32px; }
    .icm-auth .card-block { padding: 20px; }
}

/* The references filter (the purple bar): every item filters the grid on
   click, so it shows the hand, like the links around it. The theme never
   set it (the old site had the arrow too). */
.edgtf-pl-filter-holder .edgtf-pl-filter { cursor: pointer; }
.icm-auth .auth__btn:active { transform: translateY(1px); }
.icm-auth .auth__btn.is-busy { opacity: .7; cursor: progress; pointer-events: none; }

/* The one H1 of a page keeps the look of the tag it replaced (Blocks::h1). Same specificity as
   the theme's bare h1 rule and later in the cascade: its class rules still win as before. */
h1:where(.icm-h1-h2) { font-size: 85px; line-height: 1em; }
h1:where(.icm-h1-h3) { font-size: 60px; line-height: 1.016em; }
h1:where(.icm-h1-h4) { font-size: 30px; line-height: 1.1em; }
h1:where(.icm-h1-h5) { font-size: 22px; line-height: 1.09em; }
h1:where(.icm-h1-h6) { font-size: 17px; line-height: 1.118em; }
/* the Customizer's sizes per screen (style_dynamic_responsive.css) */
@media only screen and (min-width: 681px) and (max-width: 1024px) {
  h1:where(.icm-h1-h2) { font-size: 75px; }
  h1:where(.icm-h1-h3) { font-size: 52px; }
}
@media only screen and (max-width: 680px) {
  h1:where(.icm-h1-h2) { font-size: 51px; }
  h1:where(.icm-h1-h3) { font-size: 40px; }
  h1:where(.icm-h1-h4) { font-size: 28px; }
}
/* custom.css sizes a post's title by its tag */
.edgtf-blog-holder article .edgtf-post-text-main h1.icm-h1-h3 { font-size: 40px; }
h1.icm-h1-hero { margin: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; text-shadow: inherit; display: block; }
.icm-sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Footer badges (Panel > Ayarlar) */
.icm-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; padding: 8px 0 24px; }
.icm-badges a { display: inline-flex; }
.icm-badges img { display: block; width: auto; height: 85px; max-width: 220px; object-fit: contain; }

/* Front page awards strip (Panel > Ayarlar), right under the counters */
.icm-awards { padding: 10px 24px 70px; background: #2e1c50; text-align: center; }
.icm-awards__title { margin: 0 0 32px; color: #fff; font-size: 30px; line-height: 1.2em; letter-spacing: .02em; }
.icm-awards__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 48px; }
.icm-awards__logo { display: flex; align-items: center; justify-content: center; width: 160px; height: 60px; }
.icm-awards__logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 600px) {
  .icm-awards__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; justify-items: center; }
  .icm-awards__logo { width: 140px; height: 54px; }
}

.icm-cookie__text a { color: inherit; text-decoration: underline; }
/* the home cards' dots: 24px apart, the smallest comfortable tap target (their own rule is !important) */
section.icm-cards .icm-cards-dots { gap: 14px !important; }
